egl/wayland: fix return value in dri2_wl_swrast_commit_backbuffer
authorEmil Velikov <emil.velikov@collabora.com>
Fri, 11 Nov 2016 16:27:59 +0000 (16:27 +0000)
committerDaniel Stone <daniels@collabora.com>
Fri, 11 Nov 2016 17:33:37 +0000 (17:33 +0000)
commit6ff948ece11042476acbdf218f60ce7c03a147c5
tree92388d99d34b6d7483386f37c40a05d608c17165
parent92ec47a6bad2f1198148dbbab4271d87c5a469a3
egl/wayland: fix return value in dri2_wl_swrast_commit_backbuffer

The function returns "void" rather than int. We could rework that, yet
again there will be no benefit since all the callers have no use of it.

Fixes: 9ca6711faa0 ("Revert "wayland: Block for the frame callback in
get_back_bo not dri2_swap_buffers"")
Reviewed-by: Daniel Stone <daniels@collabora.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/egl/drivers/dri2/platform_wayland.c