gl: Enable GL_FRAMEBUFFER_SRGB

It seems that we need this for GL_SRGB to work in GLX.
This commit is contained in:
Matthias Clasen
2024-06-19 20:20:50 -04:00
parent 7f71443d6b
commit b5f5e6e34b

View File

@@ -1758,6 +1758,8 @@ gdk_gl_context_check_extensions (GdkGLContext *context)
priv->features = supported_features & ~disabled_features;
glEnable (GL_FRAMEBUFFER_SRGB);
gdk_gl_context_init_memory_flags (context);
if ((priv->features & GDK_GL_FEATURE_DEBUG) && gl_debug)