Fix SwapBuffers
This commit is contained in:
parent
0bbef16af2
commit
5990ba619c
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue