mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +01:00
Update comments
This commit is contained in:
parent
b2055e3719
commit
7ab96a28cb
4
run.go
4
run.go
@ -23,6 +23,10 @@ import (
|
||||
// The argument (*Image) is the render target that represents the screen.
|
||||
//
|
||||
// This function must be called from the main thread.
|
||||
//
|
||||
// The given function f is expected to be called 60 times a second,
|
||||
// but this is not strictly guaranteed.
|
||||
// If you need to care about time, you need to check the current time in f.
|
||||
func Run(f func(*Image) error, width, height, scale int, title string) error {
|
||||
err := startUI(width, height, scale, title)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user