diff options
author | Paul Olav Tvete <paul.tvete@digia.com> | 2014-03-11 12:23:29 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-13 13:27:36 +0100 |
commit | daff5656e2ffbec65db73cad3c0f997e6a1e7667 (patch) | |
tree | 3401d1607d7b5dd0510da4bb585e4085a07b2a99 /qmake/qmake.pri | |
parent | afbad00a4d9ff28967ca15e0f9029925e86f2cf4 (diff) |
QQuickWidget: fix crash on exit
Make sure that the correct context is current when freeing GL resources.
Otherwise, on shutdown, QOpenGLVertexArrayObject would try to use the
previously current context, which mmay already have been deleted.
Task-number: QTBUG-37385
Change-Id: Ib2332f54636738a1a4b1041a7dcbffd0af00261d
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Diffstat (limited to 'qmake/qmake.pri')
0 files changed, 0 insertions, 0 deletions