summaryrefslogtreecommitdiffstats
path: root/src/gui/egl/qegl_wince.cpp
diff options
context:
space:
mode:
authorTom Cooksey <thomas.cooksey@nokia.com>2010-03-02 12:42:05 (GMT)
committerTom Cooksey <thomas.cooksey@nokia.com>2010-03-02 12:44:16 (GMT)
commita140e37fab6a1d028fd1b751a98774dacb4f1a89 (patch)
tree24adfa7090f4b071e53703609bace8e75d047dc7 /src/gui/egl/qegl_wince.cpp
parent3708ff474a987ddb82f7b66d8c686f499b65eeb6 (diff)
downloadQt-a140e37fab6a1d028fd1b751a98774dacb4f1a89.zip
Qt-a140e37fab6a1d028fd1b751a98774dacb4f1a89.tar.gz
Qt-a140e37fab6a1d028fd1b751a98774dacb4f1a89.tar.bz2
Fix & move QEgl::native* to platform-specific files
This should fix build on Symbian & WinCE Reviewed-By: TrustMe
Diffstat (limited to 'src/gui/egl/qegl_wince.cpp')
-rw-r--r--src/gui/egl/qegl_wince.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gui/egl/qegl_wince.cpp b/src/gui/egl/qegl_wince.cpp
index b201153..c07b20b 100644
--- a/src/gui/egl/qegl_wince.cpp
+++ b/src/gui/egl/qegl_wince.cpp
@@ -62,6 +62,17 @@ EGLNativeDisplayType QEgl::nativeDisplay()
return EGLNativeDisplayType(myDc);
}
+EGLNativeWindowType QEgl::nativeWindow(QWidget* widget)
+{
+ return (EGLNativeWindowType)(widget->winId());
+}
+
+EGLNativePixmapType QEgl::nativePixmap(QPixmap*)
+{
+ qWarning("QEgl: EGL pixmap surfaces not supported on WinCE");
+ return (EGLNativePixmapType)0;
+}
+
// Set pixel format and other properties based on a paint device.
void QEglProperties::setPaintDeviceFormat(QPaintDevice *dev)
{