Blame SOURCES/0001-examples-cogl-crate.c-fix-bug-when-waiting-for-next-.patch

821e46
From 9d33312a2b78960d2cb840f60d2e5d6eb6ac87da Mon Sep 17 00:00:00 2001
821e46
From: "Owen W. Taylor" <otaylor@fishsoup.net>
821e46
Date: Wed, 10 Feb 2016 17:20:00 -0500
821e46
Subject: [PATCH 1/6] examples/cogl-crate.c: fix bug when waiting for next
821e46
 frame
821e46
821e46
The swap_ready variable was never reset, meaning that we weren't
821e46
effectively waiting for SYNC events that signal frame completion.
821e46
---
821e46
 examples/cogl-crate.c | 1 +
821e46
 1 file changed, 1 insertion(+)
821e46
821e46
diff --git a/examples/cogl-crate.c b/examples/cogl-crate.c
821e46
index 0836b82..1933c7c 100644
821e46
--- a/examples/cogl-crate.c
821e46
+++ b/examples/cogl-crate.c
821e46
@@ -285,6 +285,7 @@ main (int argc, char **argv)
821e46
         {
821e46
           paint (&data);
821e46
           cogl_onscreen_swap_buffers (COGL_ONSCREEN (fb));
821e46
+          data.swap_ready = FALSE;
821e46
         }
821e46
 
821e46
       cogl_poll_renderer_get_info (cogl_context_get_renderer (ctx),
821e46
-- 
821e46
1.8.3.1
821e46