mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +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