diff options
author | Brian Paul <[email protected]> | 2001-09-14 21:36:43 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2001-09-14 21:36:43 +0000 |
commit | 7c276329e815c84ea2403bb08c44ff60179c0cd6 (patch) | |
tree | 9c4327b36e71c5c265fba1f1c8cbb9ae2497142a /src/mesa/main/buffers.c | |
parent | edf8c06270a0e62f33e3f45e1f0307acfeff3b5d (diff) |
more warning fixes (Karl Schultz)
Diffstat (limited to 'src/mesa/main/buffers.c')
-rw-r--r-- | src/mesa/main/buffers.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/buffers.c b/src/mesa/main/buffers.c index 075cc66adf2..2fa540250ab 100644 --- a/src/mesa/main/buffers.c +++ b/src/mesa/main/buffers.c @@ -1,4 +1,4 @@ -/* $Id: buffers.c,v 1.30 2001/06/18 17:26:08 brianp Exp $ */ +/* $Id: buffers.c,v 1.31 2001/09/14 21:36:43 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -123,7 +123,7 @@ _mesa_Clear( GLbitfield mask ) } ASSERT(ctx->Driver.Clear); - ctx->Driver.Clear( ctx, ddMask, !ctx->Scissor.Enabled, + ctx->Driver.Clear( ctx, ddMask, (GLboolean) !ctx->Scissor.Enabled, x, y, width, height ); } } @@ -416,7 +416,7 @@ _mesa_SampleCoverageARB(GLclampf value, GLboolean invert) } ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH( ctx ); - ctx->Multisample.SampleCoverageValue = CLAMP(value, 0.0, 1.0); + ctx->Multisample.SampleCoverageValue = (GLfloat) CLAMP(value, 0.0, 1.0); ctx->Multisample.SampleCoverageInvert = invert; ctx->NewState |= _NEW_MULTISAMPLE; } |