Fix SwapBuffers

This commit is contained in:
Laurent Le Goff 2015-04-17 16:54:29 +02:00
parent 0bbef16af2
commit 5990ba619c

View file

@ -111,7 +111,7 @@ func main() {
reshape(window, 800, 800) reshape(window, 800, 800)
for !window.ShouldClose() { for !window.ShouldClose() {
display() display()
//window.SwapBuffers() window.SwapBuffers()
glfw.PollEvents() glfw.PollEvents()
// time.Sleep(2 * time.Second) // time.Sleep(2 * time.Second)
} }