fix breakage from Brians changes earlier
authorDave Airlie <airliedfreedesktop.org>
Wed, 14 Sep 2005 12:08:32 +0000 (12:08 +0000)
committerDave Airlie <airliedfreedesktop.org>
Wed, 14 Sep 2005 12:08:32 +0000 (12:08 +0000)
src/mesa/drivers/dri/r300/r300_state.c

index 03319f74f8d15ac92e81e9affa0be5541e5e49a7..c0b4dcc8cab3f4771151a149b2bca8c97d294551 100644 (file)
@@ -1942,9 +1942,9 @@ void r300ResetHwState(r300ContextPtr r300)
        
        /* stencil */
        r300Enable(ctx, GL_STENCIL_TEST, ctx->Stencil.Enabled);
-       r300StencilMask(ctx, ctx->Stencil.WriteMask[0]);
-       r300StencilFunc(ctx, ctx->Stencil.Function[0], ctx->Stencil.Ref[0], ctx->Stencil.ValueMask[0]);
-       r300StencilOp(ctx, ctx->Stencil.FailFunc[0], ctx->Stencil.ZFailFunc[0], ctx->Stencil.ZPassFunc[0]);
+       r300StencilMaskSeparate(ctx, 0, ctx->Stencil.WriteMask[0]);
+       r300StencilFuncSeparate(ctx, 0, ctx->Stencil.Function[0], ctx->Stencil.Ref[0], ctx->Stencil.ValueMask[0]);
+       r300StencilOpSeparate(ctx, 0, ctx->Stencil.FailFunc[0], ctx->Stencil.ZFailFunc[0], ctx->Stencil.ZPassFunc[0]);
 
        r300UpdateCulling(ctx);