diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2011-04-01 14:26:42 +0200 |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2011-04-01 14:27:55 +0200 |
commit | 33ca59cd1827195cb7ef91a18c0775568471d4ce (patch) | |
tree | fa62b139b92e61dff0962d0ef455cf02115a5dc4 | |
parent | faeabd9d202b1af002cd73da148ca4c27715470d (diff) | |
download | qt4-tools-33ca59cd1827195cb7ef91a18c0775568471d4ce.tar.gz |
Fixed compilation of wayland plugin when there's no GL support.
-rw-r--r-- | src/plugins/platforms/wayland/qwaylanddisplay.cpp | 2 |
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, |