diff options
author | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2010-02-03 12:27:43 (GMT) |
---|---|---|
committer | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2010-02-04 14:26:43 (GMT) |
commit | 392123ef5432643d1047d1e1dd71512ec39d382d (patch) | |
tree | a41d4c5b6957a14c4b52f9eda063814100b45899 /src/opengl | |
parent | 10ca680e00fe514c32eb6364c4cca3ce46814076 (diff) | |
download | Qt-392123ef5432643d1047d1e1dd71512ec39d382d.zip Qt-392123ef5432643d1047d1e1dd71512ec39d382d.tar.gz Qt-392123ef5432643d1047d1e1dd71512ec39d382d.tar.bz2 |
Fixed bug where GL widget was not fully updated on Vista.
There were cases where the QGLWidget would not be fully
updated on screen on Windows Vista and Windows 7 with Aero
disabled.
Task-number: QTBUG-7865
Reviewed-by: Prasanth
Diffstat (limited to 'src/opengl')
-rw-r--r-- | src/opengl/qgl_mac.mm | 2 | ||||
-rw-r--r-- | src/opengl/qgl_p.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/opengl/qgl_mac.mm b/src/opengl/qgl_mac.mm index dd9d9ff..3329ff9 100644 --- a/src/opengl/qgl_mac.mm +++ b/src/opengl/qgl_mac.mm @@ -882,8 +882,6 @@ void QGLWidgetPrivate::init(QGLContext *context, const QGLWidget *shareWidget) break; current = current->parentWidget(); } - - isGLWidget = 1; } bool QGLWidgetPrivate::renderCxPm(QPixmap*) diff --git a/src/opengl/qgl_p.h b/src/opengl/qgl_p.h index 793c4d7..56fe11f 100644 --- a/src/opengl/qgl_p.h +++ b/src/opengl/qgl_p.h @@ -160,7 +160,9 @@ public: #if defined(Q_WS_X11) && defined(QT_OPENGL_ES) , eglSurfaceWindowId(0) #endif - {} + { + isGLWidget = 1; + } ~QGLWidgetPrivate() {} |