aboutsummaryrefslogtreecommitdiffstats
path: root/xorg-server-hwcursor-gamma/xserver-glamor-Disable-debugging-messages-other-than-GL-API-errors.patch
blob: 41a67c74b33f096971a9d347d308ab12ae9a683d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/glamor/glamor.c b/glamor/glamor.c
index 116d10c..81aba2d 100644
--- a/glamor/glamor.c
+++ b/glamor/glamor.c
@@ -393,6 +393,9 @@ glamor_setup_debug_output(ScreenPtr screen)
         return;
 
     glEnable(GL_DEBUG_OUTPUT_SYNCHRONOUS);
+    /* Disable debugging messages other than GL API errors */
+    glDebugMessageControl(GL_DONT_CARE, GL_DONT_CARE, GL_DONT_CARE, 0, NULL,
+                          GL_FALSE);
     glDebugMessageControl(GL_DEBUG_SOURCE_API,
                           GL_DEBUG_TYPE_ERROR,
                           GL_DONT_CARE,