diff options
Diffstat (limited to 'src/mesa/main/texstate.c')
-rw-r--r-- | src/mesa/main/texstate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/texstate.c b/src/mesa/main/texstate.c index e5c82e1514d..0da213404b9 100644 --- a/src/mesa/main/texstate.c +++ b/src/mesa/main/texstate.c @@ -1,4 +1,4 @@ -/* $Id: texstate.c,v 1.80 2002/10/04 19:10:08 brianp Exp $ */ +/* $Id: texstate.c,v 1.81 2002/10/17 22:26:06 kschultz Exp $ */ /* * Mesa 3-D graphics library @@ -554,7 +554,7 @@ _mesa_TexEnviv( GLenum target, GLenum pname, const GLint *param ) p[3] = INT_TO_FLOAT( param[3] ); } else { - p[0] = (GLint) param[0]; + p[0] = (GLfloat) param[0]; p[1] = p[2] = p[3] = 0; /* init to zero, just to be safe */ } _mesa_TexEnvfv( target, pname, p ); |