This commit is contained in:
Alex Yatskov 2019-01-08 19:21:30 -08:00
parent 055c815406
commit 1aea67f7f0

View File

@ -122,9 +122,6 @@ func (s *scene) updateTexture() error {
}
func main() {
platform.Initialize()
defer platform.Shutdown()
var (
palettePath = flag.String("palette", "", "path to palette file")
)
@ -142,6 +139,9 @@ func main() {
os.Exit(2)
}
platform.Initialize()
defer platform.Shutdown()
animation, err := loadAnimation(flag.Arg(0))
if err != nil {
fmt.Fprintln(os.Stderr, err)