diff options
| author | Paul Olav Tvete <paul.tvete@qt.io> | 2020-11-26 13:03:56 +0100 |
|---|---|---|
| committer | Paul Olav Tvete <paul.tvete@qt.io> | 2020-11-27 13:26:51 +0100 |
| commit | 16fa6e2f62c8850e319624332ecceef835c5847b (patch) | |
| tree | 48f4e8c53049b5072b502c5817772bb3cacd7937 /src/gui/doc/snippets/textdocument-find/main.cpp | |
| parent | 420e27c9efc1ef1a6400dc287345e897036abc71 (diff) | |
RHI: Fix attribute instancing cleanup for OpenGL ES
The previous attribute instancing patch (6493b93) performed the
cleanup too late for the case where the command buffer ends with an
EndFrame command and core profile is used. Resetting the attribute
divisors needs to be done before the vertex array is unbound.
Otherwise the state will be wrong at the start of the next call
to executeCommandBuffer(), which is normally the start of the next
frame.
Change-Id: Ic76695b4d334ed1c1e816e747417d957c387a88b
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/gui/doc/snippets/textdocument-find/main.cpp')
0 files changed, 0 insertions, 0 deletions
