diff options
author | Chris Michael <cp.michael@samsung.com> | 2013-06-26 13:54:59 +0100 |
---|---|---|
committer | Chris Michael <cp.michael@samsung.com> | 2013-06-26 13:54:59 +0100 |
commit | 3c7b6797daf4243a7bbf6f527b926fecdf535754 (patch) | |
tree | 45998eff30777c9e89b9d07cea2c151661126d16 /src | |
parent | 504bb0e2bb64f31eeee7bf4c2c301eca3068645a (diff) |
Flush display events after dispatching
NB: slight speedup in fps.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/engine_wayland_egl.c | 1 |
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 | |||
82 | engine_wayland_egl_loop(void) | 82 | engine_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 | ||
87 | void | 88 | void |