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/mapi/glapi | |
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/mapi/glapi')
-rw-r--r-- | src/mapi/glapi/gen/gl_marshal.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapi/glapi/gen/gl_marshal.py b/src/mapi/glapi/gen/gl_marshal.py index 5b35357ac54..4fd2bc2a5b9 100644 --- a/src/mapi/glapi/gen/gl_marshal.py +++ b/src/mapi/glapi/gen/gl_marshal.py @@ -249,7 +249,7 @@ class PrintCode(gl_XML.gl_print_base): out('if ({0}) {{'.format(func.marshal_fail)) with indent(): out('_mesa_glthread_finish(ctx);') - out('_mesa_glthread_restore_dispatch(ctx);') + out('_mesa_glthread_restore_dispatch(ctx, __func__);') self.print_sync_dispatch(func) out('return;') out('}') |