summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-06-10 11:55:50 +0200
committerMarek Olšák <[email protected]>2017-06-22 01:51:02 +0200
commit55f1106637a122f6b6c91d45acb721398328cc17 (patch)
treedba6cdb1476bc8206d6f37b0eec401f94cb31d2b
parent1f3dc332f5b5c7fd9defd0cebeee92ff8511cee8 (diff)
mesa: don't flag _NEW_TRANSFORM for Transform.RasterPositionUnclipped
It's not a driver state, it's for glRasterPos. Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
-rw-r--r--src/mesa/main/enable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/enable.c b/src/mesa/main/enable.c
index 861d46e23f7..f5bd48cd90f 100644
--- a/src/mesa/main/enable.c
+++ b/src/mesa/main/enable.c
@@ -872,7 +872,7 @@ _mesa_set_enable(struct gl_context *ctx, GLenum cap, GLboolean state)
goto invalid_enum_error;
if (ctx->Transform.RasterPositionUnclipped == state)
return;
- FLUSH_VERTICES(ctx, _NEW_TRANSFORM);
+ FLUSH_VERTICES(ctx, 0);
ctx->Transform.RasterPositionUnclipped = state;
break;