minor stencil-related changes
authorBrian Paul <brian.paul@tungstengraphics.com>
Sat, 4 Dec 1999 21:23:17 +0000 (21:23 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sat, 4 Dec 1999 21:23:17 +0000 (21:23 +0000)
src/mesa/main/context.c

index 6a93f61985f07079e1c247dbed7b2da57b1aaf36..69d0a0320ded0627996475b5f6ccffdeadeae8bd 100644 (file)
@@ -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 */