Bug fix: blocks/main.go

This commit is contained in:
Hajime Hoshi 2014-12-29 18:52:56 +09:00
parent 1e6f51ed23
commit 2d667a399c

View File

@ -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)
}