diff options
author | Karl Schultz <[email protected]> | 2003-01-30 15:47:06 +0000 |
---|---|---|
committer | Karl Schultz <[email protected]> | 2003-01-30 15:47:06 +0000 |
commit | 839bef921c67c59eb6d8dfbce3e8ef8925df308f (patch) | |
tree | cda25ae7fef20142b61acfe6f0f28f5e7104e810 /src/mesa/drivers/windows | |
parent | 4c3bb69a94d665b794e38024d7e99ef4722adb72 (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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/windows/wmesa.c b/src/mesa/drivers/windows/wmesa.c index 1b8671ebe62..4baa547f285 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 ); |