summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2011-04-01 14:26:42 +0200
committerSamuel Rødal <samuel.rodal@nokia.com>2011-04-01 14:27:55 +0200
commit33ca59cd1827195cb7ef91a18c0775568471d4ce (patch)
treefa62b139b92e61dff0962d0ef455cf02115a5dc4
parentfaeabd9d202b1af002cd73da148ca4c27715470d (diff)
downloadqt4-tools-33ca59cd1827195cb7ef91a18c0775568471d4ce.tar.gz
Fixed compilation of wayland plugin when there's no GL support.
-rw-r--r--src/plugins/platforms/wayland/qwaylanddisplay.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/wayland/qwaylanddisplay.cpp b/src/plugins/platforms/wayland/qwaylanddisplay.cpp
index d54a0fec64..e3b2d46df8 100644
--- a/src/plugins/platforms/wayland/qwaylanddisplay.cpp
+++ b/src/plugins/platforms/wayland/qwaylanddisplay.cpp
@@ -82,10 +82,12 @@ struct wl_visual *QWaylandDisplay::argbPremultipliedVisual()
return wl_display_get_premultiplied_argb_visual(mDisplay);
}
+#ifdef QT_WAYLAND_GL_SUPPORT
QWaylandGLIntegration * QWaylandDisplay::eglIntegration()
{
return mEglIntegration;
}
+#endif
void QWaylandDisplay::shellHandleConfigure(void *data, struct wl_shell *shell,
uint32_t time, uint32_t edges,