summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_context.c
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2016-07-07 09:25:31 +0200
committerNicolai Hähnle <[email protected]>2016-07-08 10:59:29 +0200
commit084ca0d8e51ae0a5cca6cfc7e9d018d0b22b6fb7 (patch)
treed35eb7f51ef43475a2855f10e2a3a50bac10d0cf /src/mesa/state_tracker/st_context.c
parent2909e292fc53490d0bc6d433a5ecc1e51e18c34b (diff)
st/mesa: set debug callback async flag
Reviewed-by: Edward O'Callaghan <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_context.c')
-rw-r--r--src/mesa/state_tracker/st_context.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c
index 472121581eb..f1d2084d6bb 100644
--- a/src/mesa/state_tracker/st_context.c
+++ b/src/mesa/state_tracker/st_context.c
@@ -90,7 +90,8 @@ static void st_Enable(struct gl_context * ctx, GLenum cap, GLboolean state)
switch (cap) {
case GL_DEBUG_OUTPUT:
- st_enable_debug_output(st, state);
+ case GL_DEBUG_OUTPUT_SYNCHRONOUS:
+ st_update_debug_callback(st);
break;
default:
break;