projects
/
platform
/
core
/
uifw
/
libtpl-egl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
295d42d
)
tpl_wayland_egl: Fix misused return value of wl_display_roundtrip_queue() on buffer_...
91/90991/2
author
joonbum.ko
<joonbum.ko@samsung.com>
Wed, 5 Oct 2016 08:44:52 +0000
(17:44 +0900)
committer
Gwan-gyeong Mun
<kk.moon@samsung.com>
Wed, 5 Oct 2016 08:54:38 +0000
(
01:54
-0700)
- If there are errors on wl_display_roundtrip_queue then it returns values as '-1'.
Change-Id: I754df1768b46f0d815af84255255997429eefa7b
Signed-off-by: joonbum.ko <joonbum.ko@samsung.com>
src/tpl_wayland_egl.c
patch
|
blob
|
history
diff --git
a/src/tpl_wayland_egl.c
b/src/tpl_wayland_egl.c
index
4ff75bd
..
7119bf2
100644
(file)
--- a/
src/tpl_wayland_egl.c
+++ b/
src/tpl_wayland_egl.c
@@
-1298,7
+1298,7
@@
__tpl_wayland_egl_display_buffer_flusher_init(tpl_display_t *display)
}
ret = wl_display_roundtrip_queue(wayland_egl_display->wl_dpy, queue);
- if (ret) {
+ if (ret
== -1
) {
TPL_ERR("Failed to wl_display_roundtrip_queue ret:%d, err:%d", ret, errno);
goto fini;
}