#endif
}
-public void GLVertexPointer(int numCoords, int glType, int stride, void *pointer, int numVertices)
+public void GLVertexPointer(int numCoords, int glType, int stride, void *ptr, int numVertices)
{
#ifdef __ANDROID__
if(type == GL_DOUBLE)
glesVertexPointerd(numCoords, stride, pointer, numVertices);
- else if(type == GL_UNSIGNED_INT)
+ else if(type == GL_INT)
glesVertexPointeri(numCoords, stride, pointer, numVertices);
else
#endif
- glVertexPointer(numCoords, glType, stride, pointer);
+ glVertexPointer(numCoords, glType, stride, ptr);
}
public void GLBufferData(int type, GLenum target, int size, const GLvoid *data, GLenum usage)