diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 1999-12-04 21:13:44 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 1999-12-04 21:13:44 +0000 |
commit | 33cd8a54905b1920a1973166e3af22a005368ead (patch) | |
tree | 26247d7e3eefa24ac035fa30f35d34797e008df1 | |
parent | dd25e9852a4a7a21ff218bc5a1bea0929ef39243 (diff) |
minor stencil-related changes
-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 dcb0eeffac6..a3a11bfb9e3 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -1,4 +1,4 @@ -/* $Id: context.c,v 1.18.2.5 1999/12/01 12:45:42 keithw Exp $ */ +/* $Id: context.c,v 1.18.2.6 1999/12/04 21:13:44 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -918,9 +918,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 */ |