diff pytouhou/ui/gamerunner.pyx @ 504:69c73023f7a0

Make ANM garbage collectable.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 23 Oct 2013 18:24:17 +0200
parents c622eaf64428
children 1bc014f9d572
line wrap: on
line diff
--- a/pytouhou/ui/gamerunner.pyx
+++ b/pytouhou/ui/gamerunner.pyx
@@ -49,7 +49,7 @@ cdef class GameRunner(Runner):
         self.game = game
         self.background = background
 
-        self.renderer.texture_manager.load(self.resource_loader.instanced_anms.values())
+        self.renderer.texture_manager.load(self.resource_loader.instanced_anms)
         self.renderer.load_background(background)
 
         self.set_input(replay)