summaryrefslogtreecommitdiff
path: root/src/mesa/main/blend.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2001-09-14 21:36:43 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2001-09-14 21:36:43 +0000
commit7c276329e815c84ea2403bb08c44ff60179c0cd6 (patch)
tree9c4327b36e71c5c265fba1f1c8cbb9ae2497142a /src/mesa/main/blend.c
parentedf8c06270a0e62f33e3f45e1f0307acfeff3b5d (diff)
more warning fixes (Karl Schultz)
Diffstat (limited to 'src/mesa/main/blend.c')
-rw-r--r--src/mesa/main/blend.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/main/blend.c b/src/mesa/main/blend.c
index d99d078748..b00e834d4f 100644
--- a/src/mesa/main/blend.c
+++ b/src/mesa/main/blend.c
@@ -1,4 +1,4 @@
-/* $Id: blend.c,v 1.33 2001/06/18 17:26:08 brianp Exp $ */
+/* $Id: blend.c,v 1.34 2001/09/14 21:36:43 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -326,10 +326,10 @@ _mesa_BlendColor( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha )
GET_CURRENT_CONTEXT(ctx);
ASSERT_OUTSIDE_BEGIN_END(ctx);
- tmp[0] = CLAMP( red, 0.0, 1.0 );
- tmp[1] = CLAMP( green, 0.0, 1.0 );
- tmp[2] = CLAMP( blue, 0.0, 1.0 );
- tmp[3] = CLAMP( alpha, 0.0, 1.0 );
+ tmp[0] = CLAMP( red, 0.0F, 1.0F );
+ tmp[1] = CLAMP( green, 0.0F, 1.0F );
+ tmp[2] = CLAMP( blue, 0.0F, 1.0F );
+ tmp[3] = CLAMP( alpha, 0.0F, 1.0F );
if (TEST_EQ_4V(tmp, ctx->Color.BlendColor))
return;