summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_exec.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-12-01 13:26:15 -0700
committerBrian Paul <[email protected]>2009-12-01 13:27:32 -0700
commitc8cdce665790263bb2142d894a81c87abc4da9fb (patch)
tree5af432e626c7023b11b2b68a42cecaf82da7a98e /src/mesa/vbo/vbo_exec.h
parent8c26cefec7ad52c4fa52fd1a89e18f463b85257b (diff)
vbo: make flush recursion check code per-context
This fixes invalid failed assertions when running multi-threaded apps.
Diffstat (limited to 'src/mesa/vbo/vbo_exec.h')
-rw-r--r--src/mesa/vbo/vbo_exec.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/vbo/vbo_exec.h b/src/mesa/vbo/vbo_exec.h
index 0a05b8df894..98c1f363d98 100644
--- a/src/mesa/vbo/vbo_exec.h
+++ b/src/mesa/vbo/vbo_exec.h
@@ -138,6 +138,10 @@ struct vbo_exec_context
*/
const struct gl_client_array *inputs[VERT_ATTRIB_MAX];
} array;
+
+#ifdef DEBUG
+ GLint flush_call_depth;
+#endif
};