devilhorns pushed a commit to branch master.

commit 3c7b6797daf4243a7bbf6f527b926fecdf535754
Author: Chris Michael <[email protected]>
Date:   Wed Jun 26 13:54:59 2013 +0100

    Flush display events after dispatching
    
    NB: slight speedup in fps.
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/bin/engine_wayland_egl.c | 1 +
 1 file changed, 1 insertion(+)

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
 engine_wayland_egl_loop(void)
 {
    assert(wl_display_dispatch_pending(wl.display) != -1);
+   wl_display_flush(wl.display);
 }
 
 void

-- 

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

Reply via email to