summaryrefslogtreecommitdiffstats
path: root/src/compositor/wayland_wrapper/qwlclientbuffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/compositor/wayland_wrapper/qwlclientbuffer.cpp')
-rw-r--r--src/compositor/wayland_wrapper/qwlclientbuffer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compositor/wayland_wrapper/qwlclientbuffer.cpp b/src/compositor/wayland_wrapper/qwlclientbuffer.cpp
index d52950388..f1c55f547 100644
--- a/src/compositor/wayland_wrapper/qwlclientbuffer.cpp
+++ b/src/compositor/wayland_wrapper/qwlclientbuffer.cpp
@@ -114,7 +114,9 @@ QWaylandBufferRef::BufferFormatEgl ClientBuffer::bufferFormatEgl() const
SharedMemoryBuffer::SharedMemoryBuffer(wl_resource *bufferResource)
: ClientBuffer(bufferResource)
+#if QT_CONFIG(opengl)
, m_shmTexture(nullptr)
+#endif
{
}