Skip to content

Commit

Permalink
ebiten: Add comments about hajimehoshi#1575
Browse files Browse the repository at this point in the history
  • Loading branch information
hajimehoshi committed Apr 17, 2021
1 parent 54ac6be commit 150b780
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions run.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down

0 comments on commit 150b780

Please sign in to comment.