summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qx11embed_x11.h
diff options
context:
space:
mode:
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>2009-10-16 15:53:10 (GMT)
committerKim Motoyoshi Kalland <kim.kalland@nokia.com>2009-10-16 16:03:42 (GMT)
commit4a0e3170c779a6a37954c3dfcfd0b9f0ce144701 (patch)
tree4ce0a56d99f079df6d593f66ef99b6691d901595 /src/gui/kernel/qx11embed_x11.h
parent943290b3e72c9d9081ad95489a4319889e1a073a (diff)
downloadQt-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/kernel/qx11embed_x11.h')
0 files changed, 0 insertions, 0 deletions