summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2011-04-01 12:26:42 (GMT)
committerSamuel Rødal <samuel.rodal@nokia.com>2011-04-01 12:27:55 (GMT)
commit33ca59cd1827195cb7ef91a18c0775568471d4ce (patch)
treefa62b139b92e61dff0962d0ef455cf02115a5dc4 /src/plugins/platforms
parentfaeabd9d202b1af002cd73da148ca4c27715470d (diff)
downloadQt-33ca59cd1827195cb7ef91a18c0775568471d4ce.zip
Qt-33ca59cd1827195cb7ef91a18c0775568471d4ce.tar.gz
Qt-33ca59cd1827195cb7ef91a18c0775568471d4ce.tar.bz2
Fixed compilation of wayland plugin when there's no GL support.
Diffstat (limited to 'src/plugins/platforms')
-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 d54a0fe..e3b2d46 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,