r200: fix some cube map issues
[mesa.git] / src / mesa / drivers / dri / ffb / ffb_state.c
index ee0fe4e0dbe73ed1362c0b6e71a030d676cb0994..5eb8f417ffb76015bcb38c497bd48d54e50a3d21 100644 (file)
@@ -275,7 +275,7 @@ ffbDDStencilFuncSeparate(GLcontext *ctx, GLenum face, GLenum func,
        /* We will properly update sw/hw state when stenciling is
         * enabled.
         */
-       if (! ctx->Stencil.Enabled)
+       if (! ctx->Stencil._Enabled)
                return;
 
        stencilctl = fmesa->stencilctl;
@@ -333,7 +333,7 @@ ffbDDStencilOpSeparate(GLcontext *ctx, GLenum face, GLenum fail,
        /* We will properly update sw/hw state when stenciling is
         * enabled.
         */
-       if (! ctx->Stencil.Enabled)
+       if (! ctx->Stencil._Enabled)
                return;
 
        stencilctl = fmesa->stencilctl;