diff options
author | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2009-10-16 15:53:10 (GMT) |
---|---|---|
committer | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2009-10-16 16:03:42 (GMT) |
commit | 4a0e3170c779a6a37954c3dfcfd0b9f0ce144701 (patch) | |
tree | 4ce0a56d99f079df6d593f66ef99b6691d901595 /src/gui/embedded/qscreenproxy_qws.h | |
parent | 943290b3e72c9d9081ad95489a4319889e1a073a (diff) | |
download | Qt-4a0e3170c779a6a37954c3dfcfd0b9f0ce144701.zip Qt-4a0e3170c779a6a37954c3dfcfd0b9f0ce144701.tar.gz Qt-4a0e3170c779a6a37954c3dfcfd0b9f0ce144701.tar.bz2 |
Fixed crash in the Boxes demo when using -graphicssystem opengl.
QGLWindowSurface::flush() assumed that updateGeometry() had been
called, but in some cases it hadn't. It would therefore dereference a
null pointer and crash. This has been fixed by returning from flush()
if updateGeometry() has not been called. This fixes the symptom rather
than the bug, so we still need to find out why it hasn't been called.
Reviewed-by: Trond
Diffstat (limited to 'src/gui/embedded/qscreenproxy_qws.h')
0 files changed, 0 insertions, 0 deletions