Make sure disabling attribute arrays also resets the counter so we don't
do it twice.
This commit is contained in:
parent
2fa593a6f7
commit
86c828d9fd
|
@ -1364,6 +1364,7 @@ void GPU_buffer_unbind(void)
|
|||
else
|
||||
break;
|
||||
}
|
||||
attribData[0].index = -1;
|
||||
|
||||
/* not guaranteed we used VBOs but in that case it's just a no-op */
|
||||
if (GLEW_ARB_vertex_buffer_object)
|
||||
|
|
Loading…
Reference in New Issue