From c7fee5301706e3ba4b4ee051811625c1db0a1de1 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sun, 3 Jul 2016 03:57:09 +0900 Subject: [PATCH] mobile: Update a comment about units --- mobile/mobile.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mobile/mobile.go b/mobile/mobile.go index ed6de64d6..040b06bda 100644 --- a/mobile/mobile.go +++ b/mobile/mobile.go @@ -21,6 +21,10 @@ import ( // Start starts the game and returns immediately. // // 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 { return start(f, width, height, scale, title) }