raw-gl-context
raw-gl-context copied to clipboard
GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB frame buffer attribute causes window creation to fail
I am using Fedora 35 with Radeon graphics.
Window creation fails even when you switch to using X11 on winit.
This is fixed by removing the frame buffer attribute GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB from the list of attributes in the call to glXChooseFBConfig. Otherwise the methods returns no valid configurations.
I don't know if this is unsupported by my GPU or my system but if the flag is not essential to getting the opengl context to function correctly then could it be removed?
Thanks!
This happens even when you pass srgb: false
in the config?