summaryrefslogtreecommitdiffstats
path: root/src/gui/egl/qegl_wince.cpp
diff options
context:
space:
mode:
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)
{