summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXiang, Haihao <[email protected]>2007-03-25 21:31:36 +0800
committerXiang, Haihao <[email protected]>2007-03-25 21:31:36 +0800
commitbb59d81d2d1baaed98e7a2990540a4bb1394222c (patch)
tree25bacb48f76ef9e655b3b43af6ba8e31ec07dcf1
parent8a4546b5610aff82a8d61e692ccdf1ca0e06a3e1 (diff)
Color3iv: set the alpha value to 1.0
-rw-r--r--src/mesa/main/api_loopback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/api_loopback.c b/src/mesa/main/api_loopback.c
index 717ef1fc8f0..efe5a77d581 100644
--- a/src/mesa/main/api_loopback.c
+++ b/src/mesa/main/api_loopback.c
@@ -146,7 +146,7 @@ static void GLAPIENTRY
loopback_Color3iv_f( const GLint *v )
{
COLORF( INT_TO_FLOAT(v[0]), INT_TO_FLOAT(v[1]),
- INT_TO_FLOAT(v[2]), INT_TO_FLOAT(v[3]) );
+ INT_TO_FLOAT(v[2]), 1.0 );
}
static void GLAPIENTRY