Update main.go

This commit is contained in:
Timmy Welch 2016-03-08 10:40:29 -08:00
parent cdc44b6693
commit c7deef1a8b

View File

@ -218,9 +218,9 @@ func glInit() {
qml.Func1 = func() int { qml.Func1 = func() int {
if !win.ShouldClose() { if !win.ShouldClose() {
glfw.PollEvents()
drawSlide() drawSlide()
win.SwapBuffers() win.SwapBuffers()
glfw.PollEvents()
return 0 return 0
} else { } else {
win.Hide() win.Hide()