diff options
author | Brian Paul <[email protected]> | 1999-12-04 21:23:17 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 1999-12-04 21:23:17 +0000 |
commit | c63a8693bb2e26b703fcbb99df731f1fe7a81a26 (patch) | |
tree | efc6571404f278e3d6e677816b6f4b06c497e319 /src | |
parent | b22ac10c1a3c72efa91633a861aea29e28f50fd2 (diff) |
minor stencil-related changes
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/context.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 6a93f61985f..69d0a0320de 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -1,4 +1,4 @@ -/* $Id: context.c,v 1.25 1999/12/02 20:33:06 brianp Exp $ */ +/* $Id: context.c,v 1.26 1999/12/04 21:23:17 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -872,9 +872,9 @@ static void initialize_context( GLcontext *ctx ) ctx->Stencil.ZPassFunc = GL_KEEP; ctx->Stencil.ZFailFunc = GL_KEEP; ctx->Stencil.Ref = 0; - ctx->Stencil.ValueMask = 0xff; + ctx->Stencil.ValueMask = STENCIL_MAX; ctx->Stencil.Clear = 0; - ctx->Stencil.WriteMask = 0xff; + ctx->Stencil.WriteMask = STENCIL_MAX; /* Texture group */ ctx->Texture.CurrentUnit = 0; /* multitexture */ |