aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2008-10-07 16:33:17 +0100
committerKeith Whitwell <[email protected]>2008-10-07 16:33:53 +0100
commit4070dba28a486bc0d14df028a085601ae7299f46 (patch)
tree0108ed664802f24238e229942a0a7e7f79638462
parenta381c9e8b32af6e98879940eba5f11680d4b89b6 (diff)
mesa: update state after binding vertex list in dlist path
-rw-r--r--src/mesa/vbo/vbo_save_draw.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/vbo/vbo_save_draw.c b/src/mesa/vbo/vbo_save_draw.c
index b015bf27864..68f3a965a5d 100644
--- a/src/mesa/vbo/vbo_save_draw.c
+++ b/src/mesa/vbo/vbo_save_draw.c
@@ -241,6 +241,11 @@ void vbo_save_playback_vertex_list( GLcontext *ctx, void *data )
vbo_bind_vertex_list( ctx, node );
+ /* Again...
+ */
+ if (ctx->NewState)
+ _mesa_update_state( ctx );
+
vbo_context(ctx)->draw_prims( ctx,
save->inputs,
node->prim,