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)
|
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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue