summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/windows
diff options
context:
space:
mode:
authorKarl Schultz <kschultz@freedesktop.org>2003-01-30 15:47:06 +0000
committerKarl Schultz <kschultz@freedesktop.org>2003-01-30 15:47:06 +0000
commit839bef921c67c59eb6d8dfbce3e8ef8925df308f (patch)
treecda25ae7fef20142b61acfe6f0f28f5e7104e810 /src/mesa/drivers/windows
parent4c3bb69a94d665b794e38024d7e99ef4722adb72 (diff)
Check only LEFT bits for clearing alpha buffer. (Evgeny Kotsuba)
Diffstat (limited to 'src/mesa/drivers/windows')
-rw-r--r--src/mesa/drivers/windows/wmesa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/windows/wmesa.c b/src/mesa/drivers/windows/wmesa.c
index 1b8671ebe6..4baa547f28 100644
--- a/src/mesa/drivers/windows/wmesa.c
+++ b/src/mesa/drivers/windows/wmesa.c
@@ -1,4 +1,4 @@
-/* $Id: wmesa.c,v 1.42 2002/10/29 22:32:50 brianp Exp $ */
+/* $Id: wmesa.c,v 1.43 2003/01/30 15:47:06 kschultz Exp $ */
/*
* Windows (Win32) device driver for Mesa 3.4
@@ -407,7 +407,7 @@ static clear(GLcontext* ctx, GLbitfield mask,
assert((mask & (DD_FRONT_RIGHT_BIT | DD_BACK_RIGHT_BIT)) == 0);
/* clear alpha */
- if ((mask & (DD_FRONT_LEFT_BIT | DD_BACK_RIGHT_BIT)) &&
+ if ((mask & (DD_FRONT_LEFT_BIT | DD_BACK_LEFT_BIT)) &&
ctx->DrawBuffer->UseSoftwareAlphaBuffers &&
ctx->Color.ColorMask[ACOMP]) {
_mesa_clear_alpha_buffers( ctx );