summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_save_draw.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-12-27 17:01:25 +0100
committerMarek Olšák <[email protected]>2011-02-14 21:50:07 +0100
commit5a01361ceaf29614ba008278e31cf2ffe85f251b (patch)
treeca242fe958256d593fab54d3dd17774b4d048e3a /src/mesa/vbo/vbo_save_draw.c
parentd123959ff75b2a83e02f4594f3e072c31c7fd8d9 (diff)
vbo: notify a driver that we change buffer offsets, strides, etc.
Diffstat (limited to 'src/mesa/vbo/vbo_save_draw.c')
-rw-r--r--src/mesa/vbo/vbo_save_draw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/vbo/vbo_save_draw.c b/src/mesa/vbo/vbo_save_draw.c
index d0454bf6212..634a6d3f84b 100644
--- a/src/mesa/vbo/vbo_save_draw.c
+++ b/src/mesa/vbo/vbo_save_draw.c
@@ -202,6 +202,7 @@ static void vbo_bind_vertex_list(struct gl_context *ctx,
buffer_offset += node->attrsz[src] * sizeof(GLfloat);
varying_inputs |= 1<<attr;
+ ctx->NewState |= _NEW_ARRAY;
}
}