diff pytouhou/ui/anmrenderer.pyx @ 426:5d7bb2fd74f7

Never keep texture on the host when it has been uploaded, and prevent them from being decoded again.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Tue, 16 Jul 2013 21:11:35 +0200
parents 1104dc2553ee
children c9433188ffdb
line wrap: on
line diff
--- a/pytouhou/ui/anmrenderer.pyx
+++ b/pytouhou/ui/anmrenderer.pyx
@@ -37,7 +37,7 @@ class ANMRenderer(Renderer):
         Renderer.__init__(self, resource_loader)
 
         self.window = window
-        self.texture_manager.preload(resource_loader.instanced_anms.values())
+        self.texture_manager.load(resource_loader.instanced_anms.values())
 
         self._anm_wrapper = anm_wrapper
         self.sprites = sprites