projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b22ac10
)
minor stencil-related changes
author
Brian Paul
<brian.paul@tungstengraphics.com>
Sat, 4 Dec 1999 21:23:17 +0000
(21:23 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Sat, 4 Dec 1999 21:23:17 +0000
(21:23 +0000)
src/mesa/main/context.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/context.c
b/src/mesa/main/context.c
index
6a93f61
..
69d0a03
100644
(file)
--- a/
src/mesa/main/context.c
+++ b/
src/mesa/main/context.c
@@
-1,4
+1,4
@@
-/* $Id: context.c,v 1.2
5 1999/12/02 20:33:06
brianp Exp $ */
+/* $Id: context.c,v 1.2
6 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 */