summaryrefslogtreecommitdiff
path: root/gdk/gdk.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-09-21 21:17:16 -0400
committerMatthias Clasen <mclasen@redhat.com>2022-09-21 21:17:16 -0400
commitf50b0a0bcbfd3bad3677561f18c28c6ff4ccdeaa (patch)
tree105c3fe4ac9130c06aab490e925ee8e67fe4feef /gdk/gdk.c
parent01054c9c79bc11eb10fdb1b14e47fb798ca3ce68 (diff)
downloadgtk+-f50b0a0bcbfd3bad3677561f18c28c6ff4ccdeaa.tar.gz
Make the gl-debug debug flag always available
No need to restrict this to debug builds.
Diffstat (limited to 'gdk/gdk.c')
-rw-r--r--gdk/gdk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/gdk.c b/gdk/gdk.c
index cc2a81f1d4..d4045fea5c 100644
--- a/gdk/gdk.c
+++ b/gdk/gdk.c
@@ -119,9 +119,9 @@ static const GdkDebugKey gdk_debug_keys[] = {
{ "nograbs", GDK_DEBUG_NOGRABS, "Disable pointer and keyboard grabs (X11)", TRUE },
{ "portals", GDK_DEBUG_PORTALS, "Force the use of portals", TRUE },
{ "gl-disable", GDK_DEBUG_GL_DISABLE, "Disable OpenGL support", TRUE },
+ { "gl-debug", GDK_DEBUG_GL_DEBUG, "Insert debugging information in OpenGL", TRUE },
{ "gl-legacy", GDK_DEBUG_GL_LEGACY, "Use a legacy OpenGL context", TRUE },
{ "gl-gles", GDK_DEBUG_GL_GLES, "Only allow OpenGL GLES API", TRUE },
- { "gl-debug", GDK_DEBUG_GL_DEBUG, "Insert debugging information in OpenGL" },
{ "gl-egl", GDK_DEBUG_GL_EGL, "Use EGL on X11 or Windows" },
{ "gl-glx", GDK_DEBUG_GL_GLX, "Use GLX on X11" },
{ "gl-wgl", GDK_DEBUG_GL_WGL, "Use WGL on Windows" },