[Mesa-dev] [PATCH] glxinfo: print debug/no-error contex flags

Brian Paul brianp at vmware.com
Fri Jun 30 14:44:37 UTC 2017


---
 src/xdemos/glinfo_common.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/xdemos/glinfo_common.c b/src/xdemos/glinfo_common.c
index fe7b9c9..413a3e0 100644
--- a/src/xdemos/glinfo_common.c
+++ b/src/xdemos/glinfo_common.c
@@ -721,6 +721,12 @@ context_flags_string(int mask)
 #ifdef GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB
       { GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB, "robust-access" },
 #endif
+#ifdef GL_CONTEXT_FLAG_DEBUG_BIT
+      { GL_CONTEXT_FLAG_DEBUG_BIT, "debug" },
+#endif
+#ifdef GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR
+      { GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR, "no-error" },
+#endif
    };
 
    return bitmask_to_string(bits, ELEMENTS(bits), mask);
-- 
1.9.1



More information about the mesa-dev mailing list