mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-02-09 09:24:43 +01:00
mobile: Update a comment about units
This commit is contained in:
parent
22655682fb
commit
c7fee53017
@ -21,6 +21,10 @@ import (
|
|||||||
// Start starts the game and returns immediately.
|
// Start starts the game and returns immediately.
|
||||||
//
|
//
|
||||||
// Different from ebiten.Run, this invokes only the game loop and not the main (UI) loop.
|
// Different from ebiten.Run, this invokes only the game loop and not the main (UI) loop.
|
||||||
|
//
|
||||||
|
// On Android, width/height is in pixels (px).
|
||||||
|
//
|
||||||
|
// On iOS, width/height is in points.
|
||||||
func Start(f func(*ebiten.Image) error, width, height int, scale float64, title string) error {
|
func Start(f func(*ebiten.Image) error, width, height int, scale float64, title string) error {
|
||||||
return start(f, width, height, scale, title)
|
return start(f, width, height, scale, title)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user