tasn pushed a commit to branch master.


commit 4a92415d12bffefa6fcf216656b0a4b1e618d226
Author: Tom Hacohen <t...@stosb.com>
Date:   Fri Oct 9 14:22:36 2015 +0100

    Evas engine wayland_shm: pass the correct enum value.
    Following this patch, the correct enum type is now passed to this
    function. It's also passing the same value (0), but now from the correct
    enum. This doesn't change behaviour, and looks like what was intended.
    This fixes the clang warning.
 src/modules/evas/engines/wayland_shm/evas_outbuf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/evas/engines/wayland_shm/evas_outbuf.c 
index 59f1a35..99b42e4 100644
--- a/src/modules/evas/engines/wayland_shm/evas_outbuf.c
+++ b/src/modules/evas/engines/wayland_shm/evas_outbuf.c
@@ -82,7 +82,7 @@ _evas_outbuf_free(Outbuf *ob)
-   _evas_outbuf_flush(ob, NULL, MODE_FULL);
+   _evas_outbuf_flush(ob, NULL, EVAS_RENDER_MODE_UNDEF);
    if (ob->surface) _evas_shm_surface_destroy(ob->surface);


Reply via email to