diff options
author | jaanttil <janne.anttila@digia.com> | 2011-09-12 12:02:14 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-31 16:31:38 (GMT) |
commit | 1ac0ae47bd2271149241ae715f03252d7015459c (patch) | |
tree | 34682bc89cfdf1d83e28380cbaf046bdf6023842 /src | |
parent | 3190a7a921daeeb4f54140b17d12110dce4d0e00 (diff) | |
download | Qt-1ac0ae47bd2271149241ae715f03252d7015459c.zip Qt-1ac0ae47bd2271149241ae715f03252d7015459c.tar.gz Qt-1ac0ae47bd2271149241ae715f03252d7015459c.tar.bz2 |
Fixed EGL build for WEC7
Task-number: QTBUG-22504
Change-Id: I4a88a76f208e7040ff941651973591d30bff30d6
Reviewed-by: Andreas Holzammer <andreas.holzammer@kdab.com>
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/egl/qegl_wince.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/egl/qegl_wince.cpp b/src/gui/egl/qegl_wince.cpp index 2b47b3b..e54a1cb 100644 --- a/src/gui/egl/qegl_wince.cpp +++ b/src/gui/egl/qegl_wince.cpp @@ -56,7 +56,7 @@ EGLNativeDisplayType QEgl::nativeDisplay() HDC myDc = GetDC(0); if (!myDc) { qWarning("QEglContext::nativeDisplay(): WinCE display is not open"); - return EGL_DEFAULT_DISPLAY; + return EGLNativeDisplayType(EGL_DEFAULT_DISPLAY); } return EGLNativeDisplayType(myDc); } |