From: Samuel Rødal Date: Fri, 1 Apr 2011 12:26:42 +0000 (+0200) Subject: Fixed compilation of wayland plugin when there's no GL support. X-Git-Tag: qt-v5.0.0-alpha1~222^2^2~79 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7d072a190d95d951b0bc39baa2b3ba3aea970099;p=profile%2Fivi%2Fqtwayland.git Fixed compilation of wayland plugin when there's no GL support. --- 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,