Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5303 in orxonox.OLD for trunk/src/util/resource_manager.cc


Ignore:
Timestamp:
Oct 7, 2005, 2:42:30 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: less output on quit… still some strange effecs caused by unloading textures

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/util/resource_manager.cc

    r5302 r5303  
    7171  // deleting the Resources-List
    7272  this->unloadAllByPriority(RP_GAME);
     73
     74  if (this->resourceList->getSize() > 0)
     75    PRINTF(1)("Not removed all Textures, since there are still %d resources registered\n", this->resourceList->getSize());
     76
    7377  delete this->resourceList;
    7478  // deleting the Directorie Lists
     
    7781  while(tmpDir)
    7882    {
    79       delete []tmpDir;
     83      delete[] tmpDir;
    8084      tmpDir = tmpIt->nextElement();
    8185    }
Note: See TracChangeset for help on using the changeset viewer.