diff options
author | Andy Nichols <andy.nichols@nokia.com> | 2012-01-12 19:24:28 +0100 |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@nokia.com> | 2012-01-13 09:22:46 +0100 |
commit | e93a4d213037d79442423a4625619c6a5d2c0577 (patch) | |
tree | 2054ead85040fa9c1ee1d13d8760fda070de56d3 /src/compositor/hardware_integration | |
parent | d9ffcb468824b2d2199c202c755a4faeea7c77fb (diff) |
Replaced missed instance of Wayland::Surface->clientHandle()
This was if EGL_WL_request_client_buffer_format was defined.
Change-Id: Ic96be10a981b79d0d2f62bc165b57130398c385a
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Paul Olav Tvete <paul.tvete@nokia.com>
Diffstat (limited to 'src/compositor/hardware_integration')
-rw-r--r-- | src/compositor/hardware_integration/wayland_egl/waylandeglintegration.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compositor/hardware_integration/wayland_egl/waylandeglintegration.cpp b/src/compositor/hardware_integration/wayland_egl/waylandeglintegration.cpp index a5808471e..b62a75b62 100644 --- a/src/compositor/hardware_integration/wayland_egl/waylandeglintegration.cpp +++ b/src/compositor/hardware_integration/wayland_egl/waylandeglintegration.cpp @@ -206,11 +206,11 @@ bool WaylandEglIntegration::setDirectRenderSurface(WaylandSurface *surface) int buffer_format = surface ? EGL_SCANOUT_FORMAT_WL : EGL_RENDER_FORMAT_WL; struct wl_client *client = 0; if (surface) { - client = surface->handle()->clientHandle(); + client = surface->handle()->base()->resource.client; } else { WaylandSurface *oldSurface = d->directRenderSurface.data(); if (oldSurface) - client = oldSurface->handle()->clientHandle(); + client = oldSurface->handle()->base()->resource.client; } if (client) eglRequestClientBufferFormatWL(d->egl_display, client, buffer_format); |