diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2010-05-06 12:17:47 (GMT) |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2010-05-06 12:17:47 (GMT) |
commit | 4a934cb8bb610119367f918957d871fbbc2799ff (patch) | |
tree | 074d77a3ae63cd8fbe03b9d74433047971db0204 /src/gui | |
parent | 8f53bf1b99d32caaebe8cbd1d9bd3a7381821988 (diff) | |
download | Qt-4a934cb8bb610119367f918957d871fbbc2799ff.zip Qt-4a934cb8bb610119367f918957d871fbbc2799ff.tar.gz Qt-4a934cb8bb610119367f918957d871fbbc2799ff.tar.bz2 |
Some EGL implementations does not return a EGLNativeDisplayType
when using EGL_DEFAULT_DISPLAY. Actualy what was being returned was a
void *
Reviewed-by: Andy Nichols <andy.nichols@nokia.com>
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/egl/qegl_qws.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/egl/qegl_qws.cpp b/src/gui/egl/qegl_qws.cpp index 56383a5..50db397 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) |