summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/glthread.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2020-03-05 15:59:49 -0500
committerMarge Bot <[email protected]>2020-03-20 00:00:22 +0000
commitefaeac9e847a8234b1ea1cf32304c91f92b840a3 (patch)
treeacf620378cc37adcc797f1715044bd0d9eeea66f /src/mesa/main/glthread.c
parentb00d219ec0da21c1bab89dc36aa20c9138b92226 (diff)
glthread: clean up debug_print_sync code
Reviewed-by: Timothy Arceri <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4251>
Diffstat (limited to 'src/mesa/main/glthread.c')
-rw-r--r--src/mesa/main/glthread.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/main/glthread.c b/src/mesa/main/glthread.c
index 4288c9aedbb..c7466025086 100644
--- a/src/mesa/main/glthread.c
+++ b/src/mesa/main/glthread.c
@@ -258,5 +258,7 @@ void
_mesa_glthread_finish_before(struct gl_context *ctx, const char *func)
{
_mesa_glthread_finish(ctx);
- debug_print_sync_fallback(func);
+
+ /* Uncomment this if you want to know where glthread syncs. */
+ /*printf("fallback to sync: %s\n", func);*/
}