ui: Fix comments

This commit is contained in:
Hajime Hoshi 2017-07-22 02:15:09 +09:00
parent 5ae03494f2
commit 8a1da77b67

7
run.go
View File

@ -166,9 +166,14 @@ func IsFullscreen() bool {
// On fullscreen mode, the game screen is automatically enlarged
// to fit with the monitor. The current scale value is ignored.
//
// Ebiten uses 'windowed' fullscreen mode, which doesn't change
// On desktops, Ebiten uses 'windowed' fullscreen mode, which doesn't change
// your monitor's resolution.
//
// On browsers, the game screen is resized to fit with the body element (client) size.
// Additionally, the game screen is automatically resized when the body element is resized.
//
// SetFullscreen doesn't work on mobiles.
//
// This function is concurrent-safe.
func SetFullscreen(fullscreen bool) {
ui.SetFullscreen(fullscreen)