mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18:54 +01:00
Bug fix: blocks/main.go
This commit is contained in:
parent
1e6f51ed23
commit
2d667a399c
@ -42,7 +42,7 @@ func main() {
|
||||
}
|
||||
|
||||
game := blocks.NewGame()
|
||||
update = ebitenutil.RecordScreenAsGIF(update, f, 360)
|
||||
update := game.Update
|
||||
if err := ebiten.Run(update, blocks.ScreenWidth, blocks.ScreenHeight, 2, "Blocks (Ebiten Demo)"); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user