From 5990ba619c27379c0eec582d8e79b5f110eb3447 Mon Sep 17 00:00:00 2001 From: Laurent Le Goff Date: Fri, 17 Apr 2015 16:54:29 +0200 Subject: [PATCH] Fix SwapBuffers --- cmd/draw2dgl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/draw2dgl.go b/cmd/draw2dgl.go index fd45f44..964fbc7 100644 --- a/cmd/draw2dgl.go +++ b/cmd/draw2dgl.go @@ -111,7 +111,7 @@ func main() { reshape(window, 800, 800) for !window.ShouldClose() { display() - //window.SwapBuffers() + window.SwapBuffers() glfw.PollEvents() // time.Sleep(2 * time.Second) }