diff options
author | ninerider <qt-info@nokia.com> | 2010-03-05 12:37:17 (GMT) |
---|---|---|
committer | ninerider <qt-info@nokia.com> | 2010-03-05 12:42:13 (GMT) |
commit | 1a802007ca53aa0bd5fa5e474700660df6edf97b (patch) | |
tree | ac6d7122cc7e7543e5a409f9eacb9a0dd6c87167 /src/gui/egl | |
parent | dd1f2a39b90e22337773153b9f655ee74717b57c (diff) | |
download | Qt-1a802007ca53aa0bd5fa5e474700660df6edf97b.zip Qt-1a802007ca53aa0bd5fa5e474700660df6edf97b.tar.gz Qt-1a802007ca53aa0bd5fa5e474700660df6edf97b.tar.bz2 |
Compile fix for Windows Mobile and OpenGLES2
The native device is now the default screen device.
Diffstat (limited to 'src/gui/egl')
-rw-r--r-- | src/gui/egl/qegl_wince.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/egl/qegl_wince.cpp b/src/gui/egl/qegl_wince.cpp index dfef39f..87ec648 100644 --- a/src/gui/egl/qegl_wince.cpp +++ b/src/gui/egl/qegl_wince.cpp @@ -89,9 +89,7 @@ EGLSurface QEglContext::createSurface(QPaintDevice *device, const QEglProperties EGLNativeDisplayType QEglContext::nativeDisplay() { - //HWND win = (static_cast<QWidget*>(device))->winId(); - //HDC myDc = GetDC(win); - HDC myDc = GetWindowDC(0); + HDC myDc = GetDC(0); if (!myDc) { qWarning("QEglContext::nativeDisplay(): WinCE display is not open"); |