comparison pytouhou/ui/sdl/gamerenderer.py @ 618:0ea591b0b29e

Fix a build issue introduced in the previous commit. Damn you, cython dependency tracking!
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Mon, 30 Mar 2015 21:00:29 +0200
parents d1f0bb0b7a17
children
comparison
equal deleted inserted replaced
617:a6af3ff86612 618:0ea591b0b29e
136 nb_vertices += 4 136 nb_vertices += 4
137 137
138 138
139 def render_text(self, texts): 139 def render_text(self, texts):
140 if self.font_manager is None: 140 if self.font_manager is None:
141 return 141 return False
142 142
143 self.font_manager.load(texts) 143 self.font_manager.load(texts)
144 144
145 for label in texts.values(): 145 for label in texts.values():
146 texture = label.texture 146 texture = label.texture