summaryrefslogtreecommitdiff
path: root/src/mesa/main/mtypes.h
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2011-02-12 03:57:19 +0100
committerMarek Olšák <maraeo@gmail.com>2011-02-14 21:50:07 +0100
commitcfaf217135d8a8e903b3fbf380f18170df018f0c (patch)
tree1447b05de44ae5a0b47b595be041bf3b7f0475cb /src/mesa/main/mtypes.h
parent5a01361ceaf29614ba008278e31cf2ffe85f251b (diff)
vbo: bind arrays only when necessary
We don't need to call bind_arrays in the vbo module if the states which the function depends on are not dirty.
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r--src/mesa/main/mtypes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 09e17d9110..b7473e1ca8 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -1643,6 +1643,7 @@ struct gl_array_attrib
GLuint RestartIndex;
GLbitfield NewState; /**< mask of _NEW_ARRAY_* values */
+ GLboolean RebindArrays; /**< whether the VBO module should rebind arrays */
/* GL_ARB_vertex_buffer_object */
struct gl_buffer_object *ArrayBufferObj;