summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2013-06-26 13:54:59 +0100
committerChris Michael <cp.michael@samsung.com>2013-06-26 13:54:59 +0100
commit3c7b6797daf4243a7bbf6f527b926fecdf535754 (patch)
tree45998eff30777c9e89b9d07cea2c151661126d16
parent504bb0e2bb64f31eeee7bf4c2c301eca3068645a (diff)
Flush display events after dispatching
NB: slight speedup in fps. Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r--src/bin/engine_wayland_egl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/engine_wayland_egl.c b/src/bin/engine_wayland_egl.c
index bce50ba..3bb1972 100644
--- a/src/bin/engine_wayland_egl.c
+++ b/src/bin/engine_wayland_egl.c
@@ -82,6 +82,7 @@ void
82engine_wayland_egl_loop(void) 82engine_wayland_egl_loop(void)
83{ 83{
84 assert(wl_display_dispatch_pending(wl.display) != -1); 84 assert(wl_display_dispatch_pending(wl.display) != -1);
85 wl_display_flush(wl.display);
85} 86}
86 87
87void 88void