Changeset 5076 in orxonox.OLD for trunk/src/lib/graphics
- Timestamp:
- Aug 19, 2005, 3:52:54 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/text_engine.cc
r5075 r5076 72 72 Text::~Text() 73 73 { 74 ResourceManager::getInstance()->unload(this->font); 75 76 // if (this->text) 77 //delete []this->text; 74 78 TextEngine::getInstance()->deleteText(this); 75 79 } … … 846 850 void TextEngine::deleteText(Text* text) 847 851 { 848 ResourceManager::getInstance()->unload(text->font);849 852 textList->remove(text); 850 853 }
Note: See TracChangeset
for help on using the changeset viewer.