Fix from Grievre.

This commit is contained in:
Ragnvald Maartmann-Moe IV 2004-03-15 21:44:56 +00:00
parent 29502c8f5a
commit 6c6047ccb8

View file

@ -164,7 +164,8 @@ qfgl_ColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *ptr)
return;
}
color_pointer = ptr;
color_stride = stride + size * bytes;
// color_stride = stride + size * bytes;
color_stride = stride ? stride : size * bytes;
color_func = *color_functions[size - 3][index];
}