// Exit executes when the scene is being changed or the game is closing func (s *DemoScene) Exit() { log.Println("Demo // Freeing Texture") // Free the logo texture texture.Free("kaori") log.Println("Demo // Bye :(") }
// Free free the loaded image texture func (t *Tileset) Free() { texture.Free(t.Name) }