summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/attrib.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-09-13 04:42:09 +0000
committerBrian Paul <[email protected]>2005-09-13 04:42:09 +0000
commit878c371e6cf6eb28afacc482d8aeaa0119f00d5b (patch)
tree61c5d8f5e55e426e51a8601566e2a6a71ebf7415 /src/mesa/main/attrib.c
parent42c34efd23d7ad05df9f3c71f7d52dd259e179d8 (diff)
Replace ctx->Driver.StencilOp/Func/Mask() functions with
ctx->Driver.Stencil*Separate() functions.
Diffstat (limited to 'src/mesa/main/attrib.c')
-rw-r--r--src/mesa/main/attrib.c17
1 files changed, 10 insertions, 7 deletions
diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c
index a9786db27a0..b98d40c65a2 100644
--- a/src/mesa/main/attrib.c
+++ b/src/mesa/main/attrib.c
@@ -1081,14 +1081,17 @@ _mesa_PopAttrib(void)
? GL_BACK : GL_FRONT);
}
/* front state */
- _mesa_StencilFunc(stencil->Function[0], stencil->Ref[0],
- stencil->ValueMask[0]);
- _mesa_StencilMask(stencil->WriteMask[0]);
- _mesa_StencilOp(stencil->FailFunc[0],
- stencil->ZFailFunc[0],
- stencil->ZPassFunc[0]);
+ _mesa_StencilFuncSeparate(GL_FRONT,
+ stencil->Function[0],
+ stencil->Ref[0],
+ stencil->ValueMask[0]);
+ _mesa_StencilMaskSeparate(GL_FRONT, stencil->WriteMask[0]);
+ _mesa_StencilOpSeparate(GL_FRONT, stencil->FailFunc[0],
+ stencil->ZFailFunc[0],
+ stencil->ZPassFunc[0]);
/* back state */
- _mesa_StencilFuncSeparate(GL_BACK, stencil->Function[1],
+ _mesa_StencilFuncSeparate(GL_BACK,
+ stencil->Function[1],
stencil->Ref[1],
stencil->ValueMask[1]);
_mesa_StencilMaskSeparate(GL_BACK, stencil->WriteMask[1]);