Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5780 in orxonox.OLD for trunk/src/lib/graphics/text_engine


Ignore:
Timestamp:
Nov 26, 2005, 3:47:51 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: no more segfault in the Shell

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/text_engine/text_engine.cc

    r5779 r5780  
    6868  {
    6969    while(textList->size() > 0)
    70     {
    7170      delete dynamic_cast<Text*>(textList->front());
    72     }
    7371  }
    7472  // delete all remaining fonts (There should not be Anything to do here)
     
    7674  if (fontList != NULL)
    7775  {
     76    ///FIXME
    7877//    while (fontList->size() > 0)
    7978    {
    80       Font* font = dynamic_cast<Font*>(fontList->front());
     79      Font* font = dynamic_cast<Font*>(fontList->back());
    8180      if (likely(font != Font::getDefaultFont()))
    8281        ResourceManager::getInstance()->unload(font, RP_GAME);
Note: See TracChangeset for help on using the changeset viewer.