diff options
author | Laszlo Agocs <laszlo.agocs@digia.com> | 2014-08-06 10:23:43 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@digia.com> | 2014-08-07 09:03:59 +0200 |
commit | 37023a096d5fec6937bca25047973a05041db66f (patch) | |
tree | dea33d5ee214410ad38f70db17cd431452490af3 /examples/opengl | |
parent | 4ff12977d820d817ea235c6fea3a7441ec19b80a (diff) |
Avoid repaints and swapbuffers when the platform window is already gone
On Linux at least the qopenglwindow example sometimes shows
"QOpenGLContext::swapBuffers() called with non-exposed window, behavior is undefined"
when closing the window and exiting the application. This patch avoids
this by not triggering repaints anymore when the platform window is destroyed.
Change-Id: I54bd41e5c1471f7cdfec89f8ec3be48d1438be39
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
Diffstat (limited to 'examples/opengl')
0 files changed, 0 insertions, 0 deletions