summaryrefslogtreecommitdiffstats
path: root/src/compositor/hardware_integration
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2012-03-01 13:11:01 +0100
committerLaszlo Agocs <laszlo.p.agocs@nokia.com>2012-03-02 13:25:44 +0100
commit05eb5da1c80411242947a604fa41eaab7a0bd48f (patch)
tree939e26eb96fb15b8b519c97b0f1ad8200cf94b0d /src/compositor/hardware_integration
parent02f4909bc693f15a0e532e1ba47faef1da6a15aa (diff)
Get rid of warnings in compositor source.
Change-Id: I8977e370e1036bf1722b5e88fc6cc3ade9a2d9a9 Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>
Diffstat (limited to 'src/compositor/hardware_integration')
-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;
}