mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
ui: Fix comments
This commit is contained in:
parent
6250dd9f9b
commit
90dba581e2
4
run.go
4
run.go
@ -470,6 +470,8 @@ func SetMaxTPS(tps int) {
|
||||
}
|
||||
|
||||
// IsScreenTransparent reports whether the window is transparent.
|
||||
//
|
||||
// IsScreenTransparent is concurrent-safe.
|
||||
func IsScreenTransparent() bool {
|
||||
return uiDriver().IsScreenTransparent()
|
||||
}
|
||||
@ -479,6 +481,8 @@ func IsScreenTransparent() bool {
|
||||
// SetScreenTransparent panics if SetScreenTransparent is called after the main loop.
|
||||
//
|
||||
// SetScreenTransparent does nothing on mobiles.
|
||||
//
|
||||
// SetScreenTransparent is concurrent-safe.
|
||||
func SetScreenTransparent(transparent bool) {
|
||||
uiDriver().SetScreenTransparent(transparent)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user