projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
065607e
)
removed software alpha flag from GLvisual struct
author
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 4 May 2000 14:09:41 +0000
(14:09 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 4 May 2000 14:09:41 +0000
(14:09 +0000)
src/mesa/main/state.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/state.c
b/src/mesa/main/state.c
index 595cce83353b4d544226ab62cbae43a9a485b5e5..87e1137967f978e19873a0d5595e114994ee18e0 100644
(file)
--- a/
src/mesa/main/state.c
+++ b/
src/mesa/main/state.c
@@
-1,4
+1,4
@@
-/* $Id: state.c,v 1.1
0 2000/05/04 13:48:49
brianp Exp $ */
+/* $Id: state.c,v 1.1
1 2000/05/04 14:09:41
brianp Exp $ */
/*
* Mesa 3-D graphics library
@@
-799,7
+799,8
@@
static void update_rasterflags( GLcontext *ctx )
if (ctx->Stencil.Enabled) ctx->RasterMask |= STENCIL_BIT;
if (ctx->Color.SWmasking) ctx->RasterMask |= MASKING_BIT;
- if (ctx->Visual->SoftwareAlpha && ctx->Color.ColorMask[ACOMP]
+ if (ctx->DrawBuffer->UseSoftwareAlphaBuffers
+ && ctx->Color.ColorMask[ACOMP]
&& ctx->Color.DrawBuffer != GL_NONE)
ctx->RasterMask |= ALPHABUF_BIT;