mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 22:08:26 +02:00
intel: Use FRONT_AND_BACK for StencilOp as well.
This commit is contained in:
parent
d866abeffc
commit
64980125c7
1 changed files with 2 additions and 1 deletions
|
|
@ -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]);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue