projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9e35d5
)
intel: Use FRONT_AND_BACK for StencilOp as well.
author
Eric Anholt
<eric@anholt.net>
Thu, 14 May 2009 02:08:17 +0000
(19:08 -0700)
committer
Eric Anholt
<eric@anholt.net>
Wed, 17 Jun 2009 17:52:56 +0000
(10:52 -0700)
(cherry picked from commit
64980125c76b05501a6fe7fe20fe52438f459129
)
src/mesa/drivers/dri/intel/intel_clear.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_clear.c
b/src/mesa/drivers/dri/intel/intel_clear.c
index 488db2cf452672cf99ad28df151d6bbb1d0219e4..4dfaee8a4a3728c1638fe837f15d52c5f06fb184 100644
(file)
--- 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]);