devilhorns pushed a commit to branch master.

commit 394ce6a170f570c8e69af64ce59c4ee873936667
Author: Chris Michael <[email protected]>
Date:   Wed Jun 26 13:55:27 2013 +0100

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

diff --git a/src/bin/engine_wayland_shm.c b/src/bin/engine_wayland_shm.c
index 55b9449..395ca9f 100644
--- a/src/bin/engine_wayland_shm.c
+++ b/src/bin/engine_wayland_shm.c
@@ -92,6 +92,7 @@ void
 engine_wayland_shm_loop(void)
 {
    assert(wl_display_dispatch_pending(wl.display) != -1);
+   wl_display_flush(wl.display);
 }
 
 

-- 

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

Build for Windows Store.

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

Reply via email to