glthread: don't insert _mesa_post_marshal_hook into every function
[mesa.git] / src / mesa / main / marshal.h
index 10c508327a7301483048ea5e545dc210919104da..c15253f397361e6a164e838788392e243aca2fce 100644 (file)
@@ -132,17 +132,6 @@ debug_print_marshal(const char *func)
 struct _glapi_table *
 _mesa_create_marshal_table(const struct gl_context *ctx);
 
-static inline void
-_mesa_post_marshal_hook(struct gl_context *ctx)
-{
-   /* This can be enabled for debugging whether a failure is a synchronization
-    * problem between the main thread and the worker thread, or a failure in
-    * how we actually marshal.
-    */
-   if (false)
-      _mesa_glthread_finish(ctx);
-}
-
 
 /**
  * Checks whether we're on a compat context for code-generated