mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-10-29 10:52:38 +08:00
@@ -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{}
|
||||
|
||||
Reference in New Issue
Block a user