mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 12:08:58 +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()
|
screenScale := ebiten.ScreenScale()
|
||||||
d := int(32 / screenScale)
|
const d = 16
|
||||||
screenWidth, screenHeight := screen.Size()
|
screenWidth, screenHeight := screen.Size()
|
||||||
fullscreen := ebiten.IsFullscreen()
|
fullscreen := ebiten.IsFullscreen()
|
||||||
runnableInBackground := ebiten.IsRunnableInBackground()
|
runnableInBackground := ebiten.IsRunnableInBackground()
|
||||||
|
Loading…
Reference in New Issue
Block a user