tpl_wayland_egl: Fix error check for dispatch queue 14/91114/1 accepted/tizen/3.0/mobile/20161015.033645 accepted/tizen/3.0/tv/20161016.004915 accepted/tizen/3.0/wearable/20161015.083546 accepted/tizen/common/20161006.153722 accepted/tizen/ivi/20161007.103754 accepted/tizen/mobile/20161007.103743 accepted/tizen/tv/20161007.103752 accepted/tizen/wearable/20161007.103749 submit/tizen/20161006.041545 submit/tizen_3.0_mobile/20161015.000004 submit/tizen_3.0_tv/20161015.000003 submit/tizen_3.0_wearable/20161015.000004
authorSangjin Lee <lsj119@samsung.com>
Thu, 6 Oct 2016 01:56:33 +0000 (10:56 +0900)
committerSangjin Lee <lsj119@samsung.com>
Thu, 6 Oct 2016 01:56:33 +0000 (10:56 +0900)
Change-Id: I8b2f684a160358b632e1edf2d1f28a8843b409ed

src/tpl_wayland_egl.c

index 35c8556..bc5507f 100644 (file)
@@ -1350,7 +1350,7 @@ static void __cb_tizen_surface_shm_flusher_flush_callback(void *data,
        */
        ret = wl_display_dispatch_queue_pending(wayland_egl_display->wl_dpy,
                                                                                        wayland_egl_display->wl_tbm_event_queue);
-       if (ret) {
+       if (ret == -1) {
                TPL_ERR("Failed to wl_display_dispatch_queue_pending ret:%d, err:%d", ret,
                                errno);
                return;