gdkglcontext-win32.c: Fix running under GLES

...when GDK_DEBUG=opengl is enabled.  There was an extraneous "legacy: %s" in
the GDK_NOTE (OPENGL, g_message("...")) line that should not have been there,
due to a copy-and-paste mishap.  Get rid of it.
This commit is contained in:
Chun-wei Fan 2023-03-09 11:14:58 +08:00
parent bc1f17972c
commit 2ebf7c29e1

View File

@ -1239,7 +1239,7 @@ gdk_win32_gl_context_realize_egl (GdkGLContext *context,
if (compat_bit)
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,
debug_bit ? "yes" : "no",
compat_bit ? "yes" : "no"));