cleanup
This commit is contained in:
parent
055c815406
commit
1aea67f7f0
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user