path: root/tests/auto/tools/qdbuscpp2xml/
diff options
authorPaul Olav Tvete <>2020-11-23 12:50:48 +0100
committerPaul Olav Tvete <>2020-11-26 03:38:11 +0100
commit6493b93b483d65862a22a480b3e72f2967c22f32 (patch)
tree7fb9314074bcc2766251f0db7f0c42a300d18504 /tests/auto/tools/qdbuscpp2xml/
parent5023c0beb52eed82e1e8ed1680878d2f7e0f693a (diff)
RHI: Reset attribute instancing properly for OpenGL ESHEADdev
Enabling instanced drawing will set glVertexAttribDivisor to 1 for the PerInstance attributes. This is of course a persistent state, because GL, so it will apply to all subsequent draw calls that uses attributes with the same location number, introducing weird and wonderful randomness. Therefore, make sure we set the divisor back to 0 for non-instanced attributes. Change-Id: I2d9115369fa24e8d57396d2a5f88d1435fe98971 Reviewed-by: Laszlo Agocs <>
Diffstat (limited to 'tests/auto/tools/qdbuscpp2xml/')
0 files changed, 0 insertions, 0 deletions