mesa: remove 'normalized' parameter from _mesa_VertexAttribIPointer()
authorBrian Paul <brianp@vmware.com>
Fri, 29 Oct 2010 03:17:41 +0000 (21:17 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 29 Oct 2010 03:17:41 +0000 (21:17 -0600)
src/mesa/main/varray.c
src/mesa/main/varray.h

index 56749355cdf11ed5d8915e75982a864e49e460f0..d02c77c101cfbeb2b905975493351eae3cf580d9 100644 (file)
@@ -719,13 +719,12 @@ _mesa_VertexAttribPointerARB(GLuint index, GLint size, GLenum type,
  */
 void GLAPIENTRY
 _mesa_VertexAttribIPointer(GLuint index, GLint size, GLenum type,
-                           GLboolean normalized,
                            GLsizei stride, const GLvoid *ptr)
 {
    /* NOTE: until we have integer-valued vertex attributes, just
     * route this through the regular glVertexAttribPointer() function.
     */
-   _mesa_VertexAttribPointerARB(index, size, type, normalized, stride, ptr);
+   _mesa_VertexAttribPointerARB(index, size, type, GL_FALSE, stride, ptr);
 }
 
 
index a5fa33fa00e0c50fee4bc9a8830180f7df8464b3..fb96478cfc33dd2aec161a9a6f55bd6af4643386 100644 (file)
@@ -118,7 +118,6 @@ _mesa_VertexAttribPointerARB(GLuint index, GLint size, GLenum type,
 
 void GLAPIENTRY
 _mesa_VertexAttribIPointer(GLuint index, GLint size, GLenum type,
-                           GLboolean normalized,
                            GLsizei stride, const GLvoid *ptr);