Color3iv: set the alpha value to 1.0
authorXiang, Haihao <haihao.xiang@intel.com>
Sun, 25 Mar 2007 13:31:36 +0000 (21:31 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Sun, 25 Mar 2007 13:31:36 +0000 (21:31 +0800)
src/mesa/main/api_loopback.c

index 717ef1fc8f006d45cd4cb4b4a42242bb3e6445bb..efe5a77d5811af1c4d3d6e7bb1cc3133d47e347f 100644 (file)
@@ -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