From: Brian Paul Date: Sat, 4 Dec 1999 21:23:17 +0000 (+0000) Subject: minor stencil-related changes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c63a8693bb2e26b703fcbb99df731f1fe7a81a26;p=mesa.git minor stencil-related changes --- 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 */