diff options
author | Karl Schultz <[email protected]> | 2002-10-18 17:02:00 +0000 |
---|---|---|
committer | Karl Schultz <[email protected]> | 2002-10-18 17:02:00 +0000 |
commit | 8eaa2902162e145cd07a9427ec99ab0ca85aa35a (patch) | |
tree | c7c9232d307178623242d1be57d6e1b0d186d986 /src/mesa/swrast/s_alphabuf.c | |
parent | 6ac04f2fc6e9a5448691df59495d680ddcc740c8 (diff) |
Add casts to quiet compiler warnings.
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 4bf3368cb28..d68e6bf82b2 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.13 2002/10/11 17:41:06 brianp Exp $ */ +/* $Id: s_alphabuf.c,v 1.14 2002/10/18 17:02:01 kschultz Exp $ */ /* * Mesa 3-D graphics library @@ -103,7 +103,7 @@ _mesa_alloc_alpha_buffers( GLframebuffer *buffer ) void _mesa_clear_alpha_buffers( GLcontext *ctx ) { - const GLchan aclear = ctx->Color.ClearColor[3]; + const GLchan aclear = (GLchan) ctx->Color.ClearColor[3]; GLuint bufferBit; ASSERT(ctx->DrawBuffer->UseSoftwareAlphaBuffers); |