mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
Fix from Grievre.
This commit is contained in:
parent
29502c8f5a
commit
6c6047ccb8
1 changed files with 2 additions and 1 deletions
|
@ -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];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue