tpl_wayland_egl_thread: Fixed an error related to prepared flag. 78/144778/1
authorjoonbum.ko <joonbum.ko@samsung.com>
Fri, 18 Aug 2017 01:46:56 +0000 (10:46 +0900)
committerjoonbum.ko <joonbum.ko@samsung.com>
Fri, 18 Aug 2017 01:47:01 +0000 (10:47 +0900)
commit5ca4e4b40b2ccbef718540f71a5216e65c5bdf88
tree1670516b99a8ad87c411782905b877821ad57086
parentf7b14ff7f7dbebff03b0ff20ae79dd4252509370
tpl_wayland_egl_thread: Fixed an error related to prepared flag.

 - The code that set prepared to TRUE was wrong.
 - Fixed an issue where wl_display_cancel_read() could be called multiple times,
  even if wl_display_prepare_read_queue was only called once due to the prepared flag.

Change-Id: Ibdbe92ed3bbe00ffac6570fac5f76cf8f243d706
Signed-off-by: joonbum.ko <joonbum.ko@samsung.com>
src/tpl_wayland_egl_thread.c