summaryrefslogtreecommitdiffstats
path: root/src/gui/egl/qegl_qws.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/egl/qegl_qws.cpp')
-rw-r--r--src/gui/egl/qegl_qws.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/egl/qegl_qws.cpp b/src/gui/egl/qegl_qws.cpp
index 56383a5f1a..50db397a4e 100644
--- a/src/gui/egl/qegl_qws.cpp
+++ b/src/gui/egl/qegl_qws.cpp
@@ -94,7 +94,7 @@ void QEglProperties::setPaintDeviceFormat(QPaintDevice *dev)
EGLNativeDisplayType QEgl::nativeDisplay()
{
- return EGL_DEFAULT_DISPLAY;
+ return EGLNativeDisplayType(EGL_DEFAULT_DISPLAY);
}
EGLNativeWindowType QEgl::nativeWindow(QWidget* widget)