Skip to content

Commit

Permalink
log device scale factor upon bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
quasilyte committed Apr 1, 2024
1 parent d56189a commit 2eff54e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/scenes/menus/bootload.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ func (c *BootloadController) Init(scene *ge.Scene) {

d := c.scene.Dict()

{
scaleFactor := ebiten.DeviceScaleFactor()
c.state.Logf("device scale factor is %.2f", scaleFactor)
}

smallFont := assets.BitmapFont1
normalFont := assets.BitmapFont2

Expand Down

0 comments on commit 2eff54e

Please sign in to comment.