examples/windowsize: Bug fix: Strange delta of window size

This commit is contained in:
Hajime Hoshi 2018-10-14 17:34:02 +09:00
parent 0c4ef7ee8e
commit 443e3ae3a4

View File

@ -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()