Fixed compilation of wayland plugin when there's no GL support.
authorSamuel Rødal <samuel.rodal@nokia.com>
Fri, 1 Apr 2011 12:26:42 +0000 (14:26 +0200)
committerSamuel Rødal <samuel.rodal@nokia.com>
Fri, 1 Apr 2011 12:27:55 +0000 (14:27 +0200)
src/plugins/platforms/wayland/qwaylanddisplay.cpp

index d54a0fe..e3b2d46 100644 (file)
@@ -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,