summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIlia Mirkin <imirkin@alum.mit.edu>2014-08-16 01:00:39 -0400
committerEmil Velikov <emil.l.velikov@gmail.com>2014-08-27 13:38:29 +0100
commit301a23c624fa23c0630de2b1b4833ec21418fe2f (patch)
tree1a5a7deec88b5a54b4786518b4e288effde04519 /src
parent12e4e88c958e3b1301dd168ffd41ef42d132a534 (diff)
nouveau: make sure to invalidate any vbo state as well
Reviewed-by: Francisco Jerez <currojerez@riseup.net> Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Cc: <mesa-stable@lists.freedesktop.org> (cherry picked from commit 8867ffbf95808dfa82029ad89d1571799a242d4d)
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/nouveau/nouveau_state.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_state.c b/src/mesa/drivers/dri/nouveau/nouveau_state.c
index 596b3c4b212..db4915fc753 100644
--- a/src/mesa/drivers/dri/nouveau/nouveau_state.c
+++ b/src/mesa/drivers/dri/nouveau/nouveau_state.c
@@ -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);
}