summaryrefslogtreecommitdiffstats
path: root/src/compositor/hardware_integration/wayland_egl/waylandeglintegration.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/compositor/hardware_integration/wayland_egl/waylandeglintegration.cpp')
-rw-r--r--src/compositor/hardware_integration/wayland_egl/waylandeglintegration.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compositor/hardware_integration/wayland_egl/waylandeglintegration.cpp b/src/compositor/hardware_integration/wayland_egl/waylandeglintegration.cpp
index f8dfa398a..c9bbbe14a 100644
--- a/src/compositor/hardware_integration/wayland_egl/waylandeglintegration.cpp
+++ b/src/compositor/hardware_integration/wayland_egl/waylandeglintegration.cpp
@@ -215,6 +215,8 @@ bool WaylandEglIntegration::setDirectRenderSurface(WaylandSurface *surface)
if (client)
eglRequestClientBufferFormatWL(d->egl_display, client, buffer_format);
d->directRenderSurface = surface;
+#else
+ Q_UNUSED(surface);
#endif
return flipper;
}