diff options
author | Giulio Camuffo <giulio.camuffo@jollamobile.com> | 2014-07-29 15:52:01 +0300 |
---|---|---|
committer | Giulio Camuffo <giulio.camuffo@jollamobile.com> | 2014-07-29 16:12:51 +0200 |
commit | 58616a794e69223903a59f5281ce39f2bffcfda3 (patch) | |
tree | 59b018be6f0790f87d65afd2988d6183e0c377e1 /src/hardwareintegration | |
parent | 7845ef2a7b4cd2d6550e18ed03ae4bcd500a1e82 (diff) |
Fix fetching of the y-inverted value fomr the wayland-egl integration
The default return value of isYInverted() is true, but we want to return
false by that point, unless the ifdeffed part was thrown away.
Change-Id: Ia875c1e3083c7c378cc7dd1f4b634f6fa7500f5b
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Diffstat (limited to 'src/hardwareintegration')
-rw-r--r-- | src/hardwareintegration/compositor/wayland-egl/waylandeglclientbufferintegration.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hardwareintegration/compositor/wayland-egl/waylandeglclientbufferintegration.cpp b/src/hardwareintegration/compositor/wayland-egl/waylandeglclientbufferintegration.cpp index caff5df12..37aa3ffca 100644 --- a/src/hardwareintegration/compositor/wayland-egl/waylandeglclientbufferintegration.cpp +++ b/src/hardwareintegration/compositor/wayland-egl/waylandeglclientbufferintegration.cpp @@ -206,6 +206,7 @@ bool WaylandEglClientBufferIntegration::isYInverted(struct ::wl_resource *buffer // and EGL_TRUE in value. if (ret == EGL_FALSE || isYInverted == EGL_TRUE) return true; + return false; #endif return QtWayland::ClientBufferIntegration::isYInverted(buffer); |