[Piglit] [PATCH] tests/spec: ARB_debug_output fix false fail
Timothy Arceri
t_arceri at yahoo.com.au
Fri Sep 6 02:32:23 PDT 2013
Updates to the implementation after implementing KHR_debug means that either
GL_DEBUG_OUTPUT needs to be enabled or CONTEXT_DEBUG_BIT bit set for the message
log to be enabled.
Signed-off-by: Timothy Arceri <t_arceri at yahoo.com.au>
---
tests/spec/arb_debug_output/api_error.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/spec/arb_debug_output/api_error.c b/tests/spec/arb_debug_output/api_error.c
index 61467c3..bd69965 100644
--- a/tests/spec/arb_debug_output/api_error.c
+++ b/tests/spec/arb_debug_output/api_error.c
@@ -149,6 +149,7 @@ void piglit_init(int argc, char **argv)
piglit_require_extension("GL_ARB_debug_output");
glEnable(GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB);
+ glEnable(GL_DEBUG_OUTPUT);
if (!piglit_check_gl_error(GL_NO_ERROR))
piglit_report_result(PIGLIT_FAIL);
--
1.7.9.5
More information about the Piglit
mailing list