Changeset 5780 in orxonox.OLD for trunk/src/lib/graphics/text_engine
- Timestamp:
- Nov 26, 2005, 3:47:51 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/text_engine/text_engine.cc
r5779 r5780 68 68 { 69 69 while(textList->size() > 0) 70 {71 70 delete dynamic_cast<Text*>(textList->front()); 72 }73 71 } 74 72 // delete all remaining fonts (There should not be Anything to do here) … … 76 74 if (fontList != NULL) 77 75 { 76 ///FIXME 78 77 // while (fontList->size() > 0) 79 78 { 80 Font* font = dynamic_cast<Font*>(fontList-> front());79 Font* font = dynamic_cast<Font*>(fontList->back()); 81 80 if (likely(font != Font::getDefaultFont())) 82 81 ResourceManager::getInstance()->unload(font, RP_GAME);
Note: See TracChangeset
for help on using the changeset viewer.