diff options
author | Paul Berry <[email protected]> | 2011-12-20 16:23:17 -0800 |
---|---|---|
committer | Paul Berry <[email protected]> | 2011-12-21 13:33:35 -0800 |
commit | d44878e754e65550c0725feb76fe0cbab0ae5d93 (patch) | |
tree | 89d35409bfc69c526bf6ae3a2b00176d416f302b /src/mesa/main/enable.c | |
parent | aee96806f049c17384a8edc11acce76257d98a57 (diff) |
mesa: Add _NEW_RASTERIZER_DISCARD as synonym for _NEW_TRANSFORM.
This makes it easier to keep track of which dirty bits correspond to
which pieces of context, since it makes _NEW_RASTERIZER_DISCARD
correspond with ctx->RasterDiscard.
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/main/enable.c')
-rw-r--r-- | src/mesa/main/enable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/enable.c b/src/mesa/main/enable.c index 749ae98f5ec..270b24045ba 100644 --- a/src/mesa/main/enable.c +++ b/src/mesa/main/enable.c @@ -890,7 +890,7 @@ _mesa_set_enable(struct gl_context *ctx, GLenum cap, GLboolean state) case GL_RASTERIZER_DISCARD: CHECK_EXTENSION(EXT_transform_feedback, cap); if (ctx->RasterDiscard != state) { - FLUSH_VERTICES(ctx, _NEW_TRANSFORM); + FLUSH_VERTICES(ctx, _NEW_RASTERIZER_DISCARD); ctx->RasterDiscard = state; } break; |