nouveau: make sure to invalidate any vbo state as well
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 16 Aug 2014 05:00:39 +0000 (01:00 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sat, 16 Aug 2014 06:33:12 +0000 (02:33 -0400)
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: <mesa-stable@lists.freedesktop.org>
src/mesa/drivers/dri/nouveau/nouveau_state.c

index 596b3c4b2120f5eb5582c41d04d3490ec26f4d1c..db4915fc753a8263b218e619afdf3d4023193479 100644 (file)
@@ -492,6 +492,7 @@ nouveau_update_state(struct gl_context *ctx, GLbitfield new_state)
 
        _swrast_InvalidateState(ctx, new_state);
        _tnl_InvalidateState(ctx, new_state);
+       _vbo_InvalidateState(ctx, new_state);
 
        nouveau_state_emit(ctx);
 }