mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-12 22:17:26 +01:00
ui: Fix comments
This commit is contained in:
parent
5ae03494f2
commit
8a1da77b67
7
run.go
7
run.go
@ -166,9 +166,14 @@ func IsFullscreen() bool {
|
|||||||
// On fullscreen mode, the game screen is automatically enlarged
|
// On fullscreen mode, the game screen is automatically enlarged
|
||||||
// to fit with the monitor. The current scale value is ignored.
|
// 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.
|
// 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.
|
// This function is concurrent-safe.
|
||||||
func SetFullscreen(fullscreen bool) {
|
func SetFullscreen(fullscreen bool) {
|
||||||
ui.SetFullscreen(fullscreen)
|
ui.SetFullscreen(fullscreen)
|
||||||
|
Loading…
Reference in New Issue
Block a user