remove sleep call
This commit is contained in:
parent
5299d653aa
commit
b1ac211369
2
main.go
2
main.go
|
@ -14,7 +14,6 @@ import (
|
||||||
"encoding/binary"
|
"encoding/binary"
|
||||||
"io"
|
"io"
|
||||||
"os"
|
"os"
|
||||||
"time"
|
|
||||||
"unsafe"
|
"unsafe"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -78,6 +77,5 @@ func main() {
|
||||||
|
|
||||||
C.projectm_opengl_render_frame(handle)
|
C.projectm_opengl_render_frame(handle)
|
||||||
window.GLSwap()
|
window.GLSwap()
|
||||||
time.Sleep(1 / 60 * time.Second)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue