diff options
author | Eric Anholt <[email protected]> | 2009-05-13 19:08:17 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2009-06-17 10:52:56 -0700 |
commit | 320a303be0805b5746f357653cf09ad9d7f0e8bc (patch) | |
tree | dd054df172e6db0501f3473ec82065e596f84997 /src | |
parent | d9e35d51fd9bb5d67865a451d16cf61c66f16a11 (diff) |
intel: Use FRONT_AND_BACK for StencilOp as well.
(cherry picked from commit 64980125c76b05501a6fe7fe20fe52438f459129)
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_clear.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_clear.c b/src/mesa/drivers/dri/intel/intel_clear.c index 488db2cf452..4dfaee8a4a3 100644 --- a/src/mesa/drivers/dri/intel/intel_clear.c +++ b/src/mesa/drivers/dri/intel/intel_clear.c @@ -255,7 +255,8 @@ intel_clear_tris(GLcontext *ctx, GLbitfield mask) /* Control writing of the stencil clear value to stencil. */ if (this_mask & BUFFER_BIT_STENCIL) { _mesa_Enable(GL_STENCIL_TEST); - _mesa_StencilOp(GL_REPLACE, GL_REPLACE, GL_REPLACE); + _mesa_StencilOpSeparate(GL_FRONT_AND_BACK, + GL_REPLACE, GL_REPLACE, GL_REPLACE); _mesa_StencilFuncSeparate(GL_FRONT_AND_BACK, GL_ALWAYS, ctx->Stencil.Clear, ctx->Stencil.WriteMask[0]); |