From 55f1106637a122f6b6c91d45acb721398328cc17 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Sat, 10 Jun 2017 11:55:50 +0200 Subject: mesa: don't flag _NEW_TRANSFORM for Transform.RasterPositionUnclipped MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It's not a driver state, it's for glRasterPos. Reviewed-by: Nicolai Hähnle Reviewed-by: Brian Paul Reviewed-by: Timothy Arceri --- src/mesa/main/enable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/main/enable.c') 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; -- cgit v1.2.3