diff options
Diffstat (limited to 'src/mesa/swrast/s_alphabuf.c')
-rw-r--r-- | src/mesa/swrast/s_alphabuf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/swrast/s_alphabuf.c b/src/mesa/swrast/s_alphabuf.c index 0da11a5f250..9002d9099ac 100644 --- a/src/mesa/swrast/s_alphabuf.c +++ b/src/mesa/swrast/s_alphabuf.c @@ -1,4 +1,4 @@ -/* $Id: s_alphabuf.c,v 1.3 2001/01/23 23:39:37 brianp Exp $ */ +/* $Id: s_alphabuf.c,v 1.4 2001/01/24 00:04:59 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -136,7 +136,7 @@ _mesa_alloc_alpha_buffers( GLcontext *ctx ) void _mesa_clear_alpha_buffers( GLcontext *ctx ) { - const GLchan aclear = (GLint) (ctx->Color.ClearColor[3] * CHAN_MAXF); + const GLchan aclear = ctx->Color.ClearColor[3]; GLuint bufferBit; ASSERT(ctx->DrawBuffer->UseSoftwareAlphaBuffers); |