summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2018-09-06 13:43:22 +0200
committerJohan Helsing <johan.helsing@qt.io>2018-09-07 06:23:53 +0000
commit3bbb85c3f1374eaf1dc23e94cddaaa90b9908c13 (patch)
tree487ad35a7275eef0d0746aa4ae88fcfe0d7285c5
parent88a30a8fe059f758190b73ea6c2c13bb70df07a6 (diff)
downloadqtwayland-3bbb85c3f1374eaf1dc23e94cddaaa90b9908c13.tar.gz
Fix eglGetError call in error handling
Change-Id: I215db1d8bb321e0fe9d49d09c8b5f0d2492e901d Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
-rw-r--r--src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.cpp b/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.cpp
index e2b13196..f10a7469 100644
--- a/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.cpp
+++ b/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.cpp
@@ -142,7 +142,7 @@ void QWaylandEglWindow::updateSurface(bool create)
EGLNativeWindowType eglw = (EGLNativeWindowType) m_waylandEglWindow;
m_eglSurface = eglCreateWindowSurface(m_clientBufferIntegration->eglDisplay(), m_eglConfig, eglw, 0);
if (Q_UNLIKELY(m_eglSurface == EGL_NO_SURFACE))
- qCWarning(lcQpaWayland, "Could not create EGL surface (EGL error 0x%x)\n", eglGetError);
+ qCWarning(lcQpaWayland, "Could not create EGL surface (EGL error 0x%x)\n", eglGetError());
}
}
}