wayland_shm: Fix dmabuf orientation
authorDerek Foreman <derekf@osg.samsung.com>
Fri, 19 Aug 2016 19:51:55 +0000 (14:51 -0500)
committerDerek Foreman <derekf@osg.samsung.com>
Fri, 19 Aug 2016 19:51:55 +0000 (14:51 -0500)
So apparently when dmabuf support went into weston it went in with a
Y axis inversion that has since been corrected.

This updates our code to match.

src/modules/evas/engines/wayland_shm/evas_dmabuf.c

index f0dea42..7f73047 100644 (file)
@@ -638,7 +638,7 @@ _evas_dmabuf_buffer_init(Dmabuf_Surface *s, int w, int h)
    Dmabuf_Buffer *out;
    struct zwp_linux_buffer_params_v1 *dp;
    Buffer_Manager *bm = _buffer_manager_get();
-   uint32_t flags = ZWP_LINUX_BUFFER_PARAMS_V1_FLAGS_Y_INVERT;
+   uint32_t flags = 0;
 
    if (!bm) return NULL;