projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
401fc93
)
fixed ColorMask test in update_rasterflags()
author
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 23 Jun 2000 20:28:30 +0000
(20:28 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 23 Jun 2000 20:28:30 +0000
(20:28 +0000)
src/mesa/main/state.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/state.c
b/src/mesa/main/state.c
index 1d04e2338852daf0f21f5868512ae7fa20716e99..b64eaa623eb59b6d0be451f3ff64e0ef1feea989 100644
(file)
--- a/
src/mesa/main/state.c
+++ b/
src/mesa/main/state.c
@@
-1,4
+1,4
@@
-/* $Id: state.c,v 1.1
6 2000/06/12 15:31:2
0 brianp Exp $ */
+/* $Id: state.c,v 1.1
7 2000/06/23 20:28:3
0 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@
-846,7
+846,7
@@
static void update_rasterflags( GLcontext *ctx )
ctx->RasterMask |= MULTI_DRAW_BIT;
ctx->TriangleCaps |= DD_MULTIDRAW;
}
- else if (ctx->Visual->RGBAflag &&
ctx->Color.ColorMask==
0) {
+ else if (ctx->Visual->RGBAflag &&
*((GLuint *) ctx->Color.ColorMask) ==
0) {
/* all RGBA channels disabled */
ctx->RasterMask |= MULTI_DRAW_BIT;
ctx->TriangleCaps |= DD_MULTIDRAW;