cleanup
This commit is contained in:
parent
055c815406
commit
1aea67f7f0
@ -122,9 +122,6 @@ func (s *scene) updateTexture() error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
platform.Initialize()
|
|
||||||
defer platform.Shutdown()
|
|
||||||
|
|
||||||
var (
|
var (
|
||||||
palettePath = flag.String("palette", "", "path to palette file")
|
palettePath = flag.String("palette", "", "path to palette file")
|
||||||
)
|
)
|
||||||
@ -142,6 +139,9 @@ func main() {
|
|||||||
os.Exit(2)
|
os.Exit(2)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
platform.Initialize()
|
||||||
|
defer platform.Shutdown()
|
||||||
|
|
||||||
animation, err := loadAnimation(flag.Arg(0))
|
animation, err := loadAnimation(flag.Arg(0))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Fprintln(os.Stderr, err)
|
fmt.Fprintln(os.Stderr, err)
|
||||||
|
Loading…
Reference in New Issue
Block a user