mesa: update state after binding vertex list in dlist path
authorKeith Whitwell <keith@tungstengraphics.com>
Tue, 7 Oct 2008 15:33:17 +0000 (16:33 +0100)
committerKeith Whitwell <keith@tungstengraphics.com>
Tue, 7 Oct 2008 15:33:53 +0000 (16:33 +0100)
src/mesa/vbo/vbo_save_draw.c

index b015bf278648ae7dc2d7004a545cb8faee4eaaca..68f3a965a5df6873aa9d26e5d56db8cae1c4d13d 100644 (file)
@@ -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,