From 150b780ebe46ee593fdd62385cbe7a4d47b4607f Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sat, 17 Apr 2021 17:33:30 +0900 Subject: [PATCH] ebiten: Add comments about #1575 Updates #1575 --- run.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/run.go b/run.go index da8d14f0a..9bbd0306d 100644 --- a/run.go +++ b/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() }