summaryrefslogtreecommitdiffstats
path: root/src/compositor/wayland_wrapper/qwlclientbuffer_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compositor/wayland_wrapper/qwlclientbuffer_p.h')
-rw-r--r--src/compositor/wayland_wrapper/qwlclientbuffer_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compositor/wayland_wrapper/qwlclientbuffer_p.h b/src/compositor/wayland_wrapper/qwlclientbuffer_p.h
index 78e07ee98..dafb3c5e5 100644
--- a/src/compositor/wayland_wrapper/qwlclientbuffer_p.h
+++ b/src/compositor/wayland_wrapper/qwlclientbuffer_p.h
@@ -97,7 +97,7 @@ public:
bool isSharedMemory() const { return wl_shm_buffer_get(m_buffer); }
-#ifdef QT_WAYLAND_COMPOSITOR_GL
+#if QT_CONFIG(opengl)
virtual QOpenGLTexture *toOpenGlTexture(int plane = 0) = 0;
#endif
@@ -132,7 +132,7 @@ public:
QWaylandSurface::Origin origin() const Q_DECL_OVERRIDE;
QImage image() const;
-#ifdef QT_WAYLAND_COMPOSITOR_GL
+#if QT_CONFIG(opengl)
QOpenGLTexture *toOpenGlTexture(int plane = 0) Q_DECL_OVERRIDE;
private: