diff options
author | Bea Lam <bea.lam@nokia.com> | 2009-10-21 00:43:19 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2009-10-21 00:43:19 (GMT) |
commit | f6b1582d726f97d8be4b30f0f6da2350220f27c5 (patch) | |
tree | 64bcea1b8b3cc8f94073a9e83b36b2b40ad990e8 /src/opengl/qgl_qws.cpp | |
parent | 110c58a20f3158143d83ebea4f2ece4f7925f913 (diff) | |
parent | 7bd7f5ec6eb520b7d9940a24817b17132d9ed6a2 (diff) | |
download | Qt-f6b1582d726f97d8be4b30f0f6da2350220f27c5.zip Qt-f6b1582d726f97d8be4b30f0f6da2350220f27c5.tar.gz Qt-f6b1582d726f97d8be4b30f0f6da2350220f27c5.tar.bz2 |
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'src/opengl/qgl_qws.cpp')
-rw-r--r-- | src/opengl/qgl_qws.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/opengl/qgl_qws.cpp b/src/opengl/qgl_qws.cpp index bb23ace..5e59975 100644 --- a/src/opengl/qgl_qws.cpp +++ b/src/opengl/qgl_qws.cpp @@ -73,7 +73,8 @@ static QGLScreen *glScreenForDevice(QPaintDevice *device) screenNumber = 0; screen = screen->subScreens()[screenNumber]; } - while (screen->classId() == QScreen::ProxyClass) { + while (screen->classId() == QScreen::ProxyClass || + screen->classId() == QScreen::TransformedClass) { screen = static_cast<QProxyScreen *>(screen)->screen(); } if (screen->classId() == QScreen::GLClass) |