mirror of
https://github.com/love2d/love.git
synced 2026-08-19 12:14:20 +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;
|
uint32 divisorbit = divisor << i;
|
||||||
instanceattribbits |= divisorbit;
|
instanceattribbits |= divisorbit;
|
||||||
|
|
||||||
if ((state.enabledAttribArrays & bit) ^ divisorbit)
|
if ((state.instancedAttribArrays & bit) ^ divisorbit)
|
||||||
glVertexAttribDivisor(i, divisor);
|
glVertexAttribDivisor(i, divisor);
|
||||||
|
|
||||||
GLboolean normalized = GL_FALSE;
|
GLboolean normalized = GL_FALSE;
|
||||||
|
|||||||
Reference in New Issue
Block a user