summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2001-03-01 18:30:47 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2001-03-01 18:30:47 +0000
commit6a2d72ecff29038a131bc4b4609e7368950dec96 (patch)
tree42730a9380bd6a368bf1d194534e681af60b02c5 /src/mesa
parent6da33b12495e5a205732e23318e6dfee44a1ed9c (diff)
fixed mistake in alpha buffer clear test
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/x11/xm_dd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/x11/xm_dd.c b/src/mesa/drivers/x11/xm_dd.c
index 0d06860b64..a6108e00f7 100644
--- a/src/mesa/drivers/x11/xm_dd.c
+++ b/src/mesa/drivers/x11/xm_dd.c
@@ -1,4 +1,4 @@
-/* $Id: xm_dd.c,v 1.16 2001/03/01 00:05:05 brianp Exp $ */
+/* $Id: xm_dd.c,v 1.17 2001/03/01 18:30:47 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -749,7 +749,7 @@ clear_buffers( GLcontext *ctx, GLbitfield mask,
const XMesaContext xmesa = (XMesaContext) ctx->DriverCtx;
const GLuint *colorMask = (GLuint *) &ctx->Color.ColorMask;
- if ((mask & (DD_FRONT_LEFT_BIT | DD_FRONT_RIGHT_BIT)) &&
+ if ((mask & (DD_FRONT_LEFT_BIT | DD_BACK_LEFT_BIT)) &&
xmesa->xm_buffer->gl_buffer->UseSoftwareAlphaBuffers &&
ctx->Color.ColorMask[ACOMP]) {
_mesa_clear_alpha_buffers(ctx);