diff options
Diffstat (limited to 'src/mesa/main/api_loopback.c')
-rw-r--r-- | src/mesa/main/api_loopback.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/api_loopback.c b/src/mesa/main/api_loopback.c index 6838f4f7c16..0addf1ef55d 100644 --- a/src/mesa/main/api_loopback.c +++ b/src/mesa/main/api_loopback.c @@ -1,4 +1,4 @@ -/* $Id: api_loopback.c,v 1.15 2002/01/14 16:06:35 brianp Exp $ */ +/* $Id: api_loopback.c,v 1.16 2002/10/17 22:26:06 kschultz Exp $ */ /* * Mesa 3-D graphics library @@ -1408,7 +1408,7 @@ loopback_VertexAttrib2fNV(GLuint index, GLfloat x, GLfloat y) static void loopback_VertexAttrib2dNV(GLuint index, GLdouble x, GLdouble y) { - ATTRIB(index, (GLfloat) x, y, 0.0F, 1.0F); + ATTRIB(index, (GLfloat) x, (GLfloat) y, 0.0F, 1.0F); } static void @@ -1481,7 +1481,7 @@ loopback_VertexAttrib2fvNV(GLuint index, const GLfloat *v) static void loopback_VertexAttrib2dvNV(GLuint index, const GLdouble *v) { - ATTRIB(index, (GLfloat) v[0], (GLdouble) v[1], 0.0F, 1.0F); + ATTRIB(index, (GLfloat) v[0], (GLfloat) v[1], 0.0F, 1.0F); } static void |