static void ARRAYSPU_APIENTRY arrayspu_VertexAttribPointerARB(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer) { crStateVertexAttribPointerARB( index, size, type, normalized, stride, pointer ); }
void STATE_APIENTRY crStateVertexAttribPointerNV(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *p) { GLboolean normalized = GL_FALSE; /* Extra error checking for NV arrays */ if (type != GL_UNSIGNED_BYTE && type != GL_SHORT && type != GL_FLOAT && type != GL_DOUBLE) { crStateError(__LINE__, __FILE__, GL_INVALID_ENUM, "glVertexAttribPointerNV: invalid type: 0x%x", type); return; } crStateVertexAttribPointerARB(index, size, type, normalized, stride, p); }
void PACKSPU_APIENTRY packspu_VertexAttribPointerARB( GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer ) { #if CR_ARB_vertex_buffer_object GET_CONTEXT(ctx); if (ctx->clientState->extensions.ARB_vertex_buffer_object) { if (pack_spu.swap) crPackVertexAttribPointerARBSWAP( index, size, type, normalized, stride, pointer ); else crPackVertexAttribPointerARB( index, size, type, normalized, stride, pointer ); } #endif crStateVertexAttribPointerARB( index, size, type, normalized, stride, pointer ); }