diff options
Diffstat (limited to 'src/mesa/main/api_loopback.c')
-rw-r--r-- | src/mesa/main/api_loopback.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/main/api_loopback.c b/src/mesa/main/api_loopback.c index ecd701da3bf..010a49399ad 100644 --- a/src/mesa/main/api_loopback.c +++ b/src/mesa/main/api_loopback.c @@ -1642,31 +1642,31 @@ loopback_VertexAttribs4ubvNV(GLuint index, GLsizei n, const GLubyte *v) static void loopback_VertexAttrib4bvARB(GLuint index, const GLbyte * v) { - ATTRIB(index, v[0], v[1], v[2], v[3]); + ATTRIB(index, (GLfloat) v[0], (GLfloat) v[1], (GLfloat) v[2], (GLfloat) v[3]); } static void loopback_VertexAttrib4ivARB(GLuint index, const GLint * v) { - ATTRIB(index, v[0], v[1], v[2], v[3]); + ATTRIB(index, (GLfloat) v[0], (GLfloat) v[1], (GLfloat) v[2], (GLfloat) v[3]); } static void loopback_VertexAttrib4ubvARB(GLuint index, const GLubyte * v) { - ATTRIB(index, v[0], v[1], v[2], v[3]); + ATTRIB(index, (GLfloat) v[0], (GLfloat) v[1], (GLfloat) v[2], (GLfloat) v[3]); } static void loopback_VertexAttrib4usvARB(GLuint index, const GLushort * v) { - ATTRIB(index, v[0], v[1], v[2], v[3]); + ATTRIB(index, (GLfloat) v[0], (GLfloat) v[1], (GLfloat) v[2], (GLfloat) v[3]); } static void loopback_VertexAttrib4uivARB(GLuint index, const GLuint * v) { - ATTRIB(index, v[0], v[1], v[2], v[3]); + ATTRIB(index, (GLfloat) v[0], (GLfloat) v[1], (GLfloat) v[2], (GLfloat) v[3]); } static void |