diff options
author | Marek Olšák <[email protected]> | 2013-04-15 13:00:54 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-04-24 03:23:23 +0200 |
commit | 99bd76d834e0c771274f327e1efe9b089ff273d4 (patch) | |
tree | d58b554df1dc0ead07965381e5a6110d784eacf3 /src/mesa/main/enable.c | |
parent | b95cbe5e800e95d888d148e20e6a4e34c8857a9e (diff) |
mesa: convert _NEW_RASTERIZER_DISCARD to a driver flag
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/main/enable.c')
-rw-r--r-- | src/mesa/main/enable.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/enable.c b/src/mesa/main/enable.c index 1b8ccc31aef..8fdd3070e0f 100644 --- a/src/mesa/main/enable.c +++ b/src/mesa/main/enable.c @@ -956,7 +956,8 @@ _mesa_set_enable(struct gl_context *ctx, GLenum cap, GLboolean state) goto invalid_enum_error; CHECK_EXTENSION(EXT_transform_feedback, cap); if (ctx->RasterDiscard != state) { - FLUSH_VERTICES(ctx, _NEW_RASTERIZER_DISCARD); + FLUSH_VERTICES(ctx, 0); + ctx->NewDriverState |= ctx->DriverFlags.NewRasterizerDiscard; ctx->RasterDiscard = state; } break; |