summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2000-05-04 14:09:41 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2000-05-04 14:09:41 +0000
commitd78acfa3655733ac862fc688b1082efc8083e275 (patch)
tree36701f55c6be42e3e56c6af1e04cc6647ca69158 /src/mesa
parent065607e884e26f0df38c455cab83de8398c68ff2 (diff)
removed software alpha flag from GLvisual struct
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/state.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c
index 595cce8335..87e1137967 100644
--- a/src/mesa/main/state.c
+++ b/src/mesa/main/state.c
@@ -1,4 +1,4 @@
-/* $Id: state.c,v 1.10 2000/05/04 13:48:49 brianp Exp $ */
+/* $Id: state.c,v 1.11 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;