ebiten: deprecate (*Image).Size

Closes #2351
This commit is contained in:
Hajime Hoshi
2023-01-19 23:42:35 +09:00
parent 8d61d43371
commit f054a7634a
43 changed files with 111 additions and 114 deletions

View File

@@ -141,7 +141,7 @@ func (g *Game) Draw(screen *ebiten.Image) {
return
}
w, h := screen.Size()
w, h := screen.Bounds().Dx(), screen.Bounds().Dy()
cx, cy := ebiten.CursorPosition()
op := &ebiten.DrawRectShaderOptions{}