diff options
author | Marek Olšák <[email protected]> | 2018-11-10 01:17:13 -0500 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-11-20 21:17:38 -0500 |
commit | 247d5a8e94787aad8a91f447853539f7932a99f5 (patch) | |
tree | 20eda9e5165f41ef093c60295aea2f1f64302143 /src/mesa/main/marshal.c | |
parent | 25d95ed5359b88b297277fceac7c33f35d1d59ba (diff) |
mesa/glthread: pass the function name to _mesa_glthread_restore_dispatch
If you insert printf there, you'll know why glthread was disabled.
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/main/marshal.c')
-rw-r--r-- | src/mesa/main/marshal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/marshal.c b/src/mesa/main/marshal.c index 8f8e8c78ed2..1827585ef0a 100644 --- a/src/mesa/main/marshal.c +++ b/src/mesa/main/marshal.c @@ -89,7 +89,7 @@ _mesa_marshal_Enable(GLenum cap) if (cap == GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB) { _mesa_glthread_finish(ctx); - _mesa_glthread_restore_dispatch(ctx); + _mesa_glthread_restore_dispatch(ctx, "Enable(DEBUG_OUTPUT_SYNCHRONOUS)"); } else { cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_Enable, sizeof(*cmd)); |