mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 18:01:15 +00:00
Advance the vertex attrib index.
Disabling the array right after enabling it was causing things to just not work :P
This commit is contained in:
parent
d1d4c6142c
commit
099ef348c6
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ set_arrays (iqm_t *iqm)
|
|||
Sys_Error ("iqm: array order bogus");
|
||||
while (j < va->type)
|
||||
qfeglDisableVertexAttribArray (vertex_attribs[j++].attr->location);
|
||||
attr = &vertex_attribs[j];
|
||||
attr = &vertex_attribs[j++];
|
||||
qfeglEnableVertexAttribArray (attr->attr->location);
|
||||
qfeglVertexAttribPointer (attr->attr->location, attr->size,
|
||||
attr->type, attr->normalized, iqm->stride,
|
||||
|
|
Loading…
Reference in a new issue