summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjaanttil <janne.anttila@digia.com>2011-09-12 12:02:14 (GMT)
committerQt by Nokia <qt-info@nokia.com>2012-01-31 16:31:38 (GMT)
commit1ac0ae47bd2271149241ae715f03252d7015459c (patch)
tree34682bc89cfdf1d83e28380cbaf046bdf6023842 /src
parent3190a7a921daeeb4f54140b17d12110dce4d0e00 (diff)
downloadQt-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.cpp2
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);
}