diff options
author | brianp <brianp> | 2000-10-31 00:06:44 +0000 |
---|---|---|
committer | brianp <brianp> | 2000-10-31 00:06:44 +0000 |
commit | 6e25e8980050b0481bf158d61b471395f1f22d9d (patch) | |
tree | d60c8c0bbb05049d4e7910c2c3b4d5d067215d08 | |
parent | b700b5b49beb5696d095ebe1bf0229c82a3f8a88 (diff) |
pass 0xff to grStencilMask() in fxDDClear()
-rw-r--r-- | xc/lib/GL/mesa/src/drv/tdfx/fxdd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xc/lib/GL/mesa/src/drv/tdfx/fxdd.c b/xc/lib/GL/mesa/src/drv/tdfx/fxdd.c index 19c534c2f..607376a84 100644 --- a/xc/lib/GL/mesa/src/drv/tdfx/fxdd.c +++ b/xc/lib/GL/mesa/src/drv/tdfx/fxdd.c @@ -203,7 +203,7 @@ fxDDClear(GLcontext * ctx, GLbitfield mask, GLboolean all, * in the OGL state. */ if (mask & DD_STENCIL_BIT) { - FX_grStencilMask(fxMesa, ctx->Stencil.WriteMask); + FX_grStencilMask(fxMesa, 0xff /*ctx->Stencil.WriteMask*/); /* set stencil ref value = desired clear value */ FX_grStencilFunc(fxMesa, GR_CMP_ALWAYS, ctx->Stencil.Clear, 0xff); FX_grStencilOp(fxMesa, GR_STENCILOP_REPLACE, |