From 1ac0ae47bd2271149241ae715f03252d7015459c Mon Sep 17 00:00:00 2001 From: jaanttil Date: Mon, 12 Sep 2011 15:02:14 +0300 Subject: Fixed EGL build for WEC7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Task-number: QTBUG-22504 Change-Id: I4a88a76f208e7040ff941651973591d30bff30d6 Reviewed-by: Andreas Holzammer Reviewed-by: Samuel Rødal --- src/gui/egl/qegl_wince.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v0.12