summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/varray.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-06-10 11:51:40 +0200
committerMarek Olšák <[email protected]>2017-06-22 01:51:02 +0200
commit1f3dc332f5b5c7fd9defd0cebeee92ff8511cee8 (patch)
tree181cf79cc71de7877e1b1d6ae121578a0c4c6ac1 /src/mesa/main/varray.c
parent29db5c1dcc5940fd18e72d1a7295cbb9edb424d8 (diff)
mesa: don't flag _NEW_TRANSFORM for primitive restart
It's a draw state. Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/main/varray.c')
-rw-r--r--src/mesa/main/varray.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c
index 0d767ad7fcf..a02dbb2fda8 100644
--- a/src/mesa/main/varray.c
+++ b/src/mesa/main/varray.c
@@ -1898,7 +1898,7 @@ _mesa_PrimitiveRestartIndex(GLuint index)
}
if (ctx->Array.RestartIndex != index) {
- FLUSH_VERTICES(ctx, _NEW_TRANSFORM);
+ FLUSH_VERTICES(ctx, 0);
ctx->Array.RestartIndex = index;
}
}