mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 02:38:53 +01:00
parent
54ac6bed1e
commit
150b780ebe
4
run.go
4
run.go
@ -318,6 +318,10 @@ func SetRunnableOnUnfocused(runnableOnUnfocused bool) {
|
||||
//
|
||||
// DeviceScaleFactor must be called on the main thread before the main loop, and is concurrent-safe after the main
|
||||
// loop.
|
||||
//
|
||||
// DeviceScaleFactor is concurrent-safe.
|
||||
//
|
||||
// BUG: DeviceScaleFactor value is not affected by SetWindowPosition before RunGame (#1575).
|
||||
func DeviceScaleFactor() float64 {
|
||||
return uiDriver().DeviceScaleFactor()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user