mirror of
https://github.com/love2d/love.git
synced 2026-08-18 11:44:15 +02:00
Fix a typo causing mesh attribute instancing to behave weirdly.
This commit is contained in:
@@ -727,7 +727,7 @@ void OpenGL::setVertexAttributes(const vertex::Attributes &attributes, const ver
|
||||
uint32 divisorbit = divisor << i;
|
||||
instanceattribbits |= divisorbit;
|
||||
|
||||
if ((state.enabledAttribArrays & bit) ^ divisorbit)
|
||||
if ((state.instancedAttribArrays & bit) ^ divisorbit)
|
||||
glVertexAttribDivisor(i, divisor);
|
||||
|
||||
GLboolean normalized = GL_FALSE;
|
||||
|
||||
Reference in New Issue
Block a user