mesa: don't flag _NEW_TRANSFORM for Transform.RasterPositionUnclipped
authorMarek Olšák <marek.olsak@amd.com>
Sat, 10 Jun 2017 09:55:50 +0000 (11:55 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 21 Jun 2017 23:51:02 +0000 (01:51 +0200)
It's not a driver state, it's for glRasterPos.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/mesa/main/enable.c

index 861d46e23f73460bf442006d69e784f40f8d5736..f5bd48cd90f7d81c6667c3aad76af998c8b5e4be 100644 (file)
@@ -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;