gdkglcontext-win32.c: Fix running under GLES
authorChun-wei Fan <fanchunwei@src.gnome.org>
Thu, 9 Mar 2023 03:14:58 +0000 (11:14 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Thu, 9 Mar 2023 03:14:58 +0000 (11:14 +0800)
...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.

gdk/win32/gdkglcontext-win32.c

index 2f62262a9b41bd16024b46873be049834c822baf..233468731a7bd6852133205bc2c068a36ccd2352 100644 (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"));