From c7deef1a8b3932820ee93267916aaa248f360b19 Mon Sep 17 00:00:00 2001 From: Timmy Welch Date: Tue, 8 Mar 2016 10:40:29 -0800 Subject: [PATCH] Update main.go --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 86ca3af..f5ffbf4 100644 --- a/main.go +++ b/main.go @@ -218,9 +218,9 @@ func glInit() { qml.Func1 = func() int { if !win.ShouldClose() { + glfw.PollEvents() drawSlide() win.SwapBuffers() - glfw.PollEvents() return 0 } else { win.Hide()