tpl_wayland_egl_thread: Changed the result of handle_events() to assert checking. 57/194257/1
authorJoonbum Ko <joonbum.ko@samsung.com>
Fri, 30 Nov 2018 08:47:27 +0000 (17:47 +0900)
committerJoonbum Ko <joonbum.ko@samsung.com>
Fri, 30 Nov 2018 08:47:36 +0000 (17:47 +0900)
commite7cda051435c924df01e318e0225e86062c48de4
treec4415176e4d34e51758658d298a813401a91dd29
parentaac49a92e6a5278177461d76f7d9f9ad6efc9971
tpl_wayland_egl_thread: Changed the result of handle_events() to assert checking.

 - If tdm_source is destroyed when the result of tdm_client_handle_events()
  is not TDM_ERROR_NONE, tdm releated functions can not be recovered.
 - Unless error is unexpected, tdm_client_handle_events() should always return ERROR_NONE,
  otherwise it should be checked with assert to make debugging easier for unknown ERROR.

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