mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
examples/windowsize: Bug fix: Strange delta of window size
This commit is contained in:
parent
0c4ef7ee8e
commit
443e3ae3a4
@ -81,7 +81,7 @@ func update(screen *ebiten.Image) error {
|
||||
}
|
||||
|
||||
screenScale := ebiten.ScreenScale()
|
||||
d := int(32 / screenScale)
|
||||
const d = 16
|
||||
screenWidth, screenHeight := screen.Size()
|
||||
fullscreen := ebiten.IsFullscreen()
|
||||
runnableInBackground := ebiten.IsRunnableInBackground()
|
||||
|
Loading…
Reference in New Issue
Block a user