mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +01:00
doc: Fix DeviceScale comment
This commit is contained in:
parent
7ba811e5ba
commit
5dfb361aca
3
run.go
3
run.go
@ -298,7 +298,8 @@ func SetWindowIcon(iconImages []image.Image) {
|
||||
|
||||
// DeviceScale returns a device scale value.
|
||||
//
|
||||
// This returns a meaningful value on high-DPI display environment.
|
||||
// DeviceScale returns a meaningful value on high-DPI display environment,
|
||||
// otherwise DeviceScale returns 1.
|
||||
//
|
||||
// This function is concurrent-safe.
|
||||
func DeviceScale() float64 {
|
||||
|
Loading…
Reference in New Issue
Block a user