Merge branch 'windows-gles-debug-fix' into 'gtk-3-24'
gdkglcontext-win32.c: Fix running under GLES with GDK_DEBUG=opengl See merge request GNOME/gtk!5622
This commit is contained in:
commit
8a5619d981
@ -1239,7 +1239,7 @@ gdk_win32_gl_context_realize_egl (GdkGLContext *context,
|
|||||||
if (compat_bit)
|
if (compat_bit)
|
||||||
flags |= EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR;
|
flags |= EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR;
|
||||||
|
|
||||||
GDK_NOTE (OPENGL, g_message ("Creating EGL context version %d.%d (debug:%s, forward:%s, legacy:%s)",
|
GDK_NOTE (OPENGL, g_message ("Creating EGL context version %d.%d (debug:%s, forward:%s)",
|
||||||
major, minor,
|
major, minor,
|
||||||
debug_bit ? "yes" : "no",
|
debug_bit ? "yes" : "no",
|
||||||
compat_bit ? "yes" : "no"));
|
compat_bit ? "yes" : "no"));
|
||||||
|
Loading…
Reference in New Issue
Block a user