예제 #1
0
// 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 :(")
}
예제 #2
0
// Free free the loaded image texture
func (t *Tileset) Free() {
	texture.Free(t.Name)
}