summaryrefslogtreecommitdiffstats
path: root/src/plugins/sqldrivers/odbc/main.cpp
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@qt.io>2020-11-23 12:50:48 +0100
committerPaul Olav Tvete <paul.tvete@qt.io>2020-11-26 03:38:11 +0100
commit6493b93b483d65862a22a480b3e72f2967c22f32 (patch)
tree7fb9314074bcc2766251f0db7f0c42a300d18504 /src/plugins/sqldrivers/odbc/main.cpp
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 <laszlo.agocs@qt.io>
Diffstat (limited to 'src/plugins/sqldrivers/odbc/main.cpp')
0 files changed, 0 insertions, 0 deletions