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/accum.c | |
parent | edf8c06270a0e62f33e3f45e1f0307acfeff3b5d (diff) |
more warning fixes (Karl Schultz)
Diffstat (limited to 'src/mesa/main/accum.c')
-rw-r--r-- | src/mesa/main/accum.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/main/accum.c b/src/mesa/main/accum.c index 85b856a20a3..d190508a615 100644 --- a/src/mesa/main/accum.c +++ b/src/mesa/main/accum.c @@ -1,4 +1,4 @@ -/* $Id: accum.c,v 1.37 2001/03/12 00:48:37 gareth Exp $ */ +/* $Id: accum.c,v 1.38 2001/09/14 21:36:43 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -47,10 +47,10 @@ _mesa_ClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) GET_CURRENT_CONTEXT(ctx); ASSERT_OUTSIDE_BEGIN_END(ctx); - tmp[0] = CLAMP( red, -1.0, 1.0 ); - tmp[1] = CLAMP( green, -1.0, 1.0 ); - tmp[2] = CLAMP( blue, -1.0, 1.0 ); - tmp[3] = CLAMP( alpha, -1.0, 1.0 ); + tmp[0] = CLAMP( red, -1.0F, 1.0F ); + tmp[1] = CLAMP( green, -1.0F, 1.0F ); + tmp[2] = CLAMP( blue, -1.0F, 1.0F ); + tmp[3] = CLAMP( alpha, -1.0F, 1.0F ); if (TEST_EQ_4V(tmp, ctx->Accum.ClearColor)) return; |