mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +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
|
// DeviceScaleFactor must be called on the main thread before the main loop, and is concurrent-safe after the main
|
||||||
// loop.
|
// loop.
|
||||||
|
//
|
||||||
|
// DeviceScaleFactor is concurrent-safe.
|
||||||
|
//
|
||||||
|
// BUG: DeviceScaleFactor value is not affected by SetWindowPosition before RunGame (#1575).
|
||||||
func DeviceScaleFactor() float64 {
|
func DeviceScaleFactor() float64 {
|
||||||
return uiDriver().DeviceScaleFactor()
|
return uiDriver().DeviceScaleFactor()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user