diff options
author | Brian Paul <[email protected]> | 2009-03-02 11:47:52 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-03-02 11:49:37 -0700 |
commit | 91e61f435a71436c209934a0ece165b540aba3e0 (patch) | |
tree | 7b928dbc64441b36007d7ba45276554c927c1ee7 /src/mesa/drivers/dri/tdfx/tdfx_state.c | |
parent | f352a80aec10c3faf2d84e0b35d59b4edc0395ef (diff) |
mesa: use Stencil._Enabled field instead of Stencil.Enabled
Diffstat (limited to 'src/mesa/drivers/dri/tdfx/tdfx_state.c')
-rw-r--r-- | src/mesa/drivers/dri/tdfx/tdfx_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/tdfx/tdfx_state.c b/src/mesa/drivers/dri/tdfx/tdfx_state.c index a2d7bcd97d9..591df8a905a 100644 --- a/src/mesa/drivers/dri/tdfx/tdfx_state.c +++ b/src/mesa/drivers/dri/tdfx/tdfx_state.c @@ -459,7 +459,7 @@ static void tdfxUpdateStencil( GLcontext *ctx ) } if (fxMesa->haveHwStencil) { - if (ctx->Stencil.Enabled) { + if (ctx->Stencil._Enabled) { fxMesa->Stencil.Function = ctx->Stencil.Function[0] - GL_NEVER + GR_CMP_NEVER; fxMesa->Stencil.RefValue = ctx->Stencil.Ref[0] & 0xff; fxMesa->Stencil.ValueMask = ctx->Stencil.ValueMask[0] & 0xff; |