Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 30, 2005, 3:02:58 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: ResourceManager not totally static anymore, list-iterators, and so on

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/graphics/importer/material.cc

    r3658 r3672  
    6262    delete []this->name;
    6363  if (this->diffuseTexture)
    64     ResourceManager::unload(this->diffuseTexture);
     64    ResourceManager::getInstance()->unload(this->diffuseTexture);
    6565  if (this->nextMat)
    6666    delete this->nextMat;
     
    339339  //! \todo check if RESOURCE MANAGER is availiable
    340340  //! \todo Textures from .mtl-file need special care.
    341   this->diffuseTextureSet = this->diffuseTexture = (Texture*)ResourceManager::load(dMap, IMAGE);
     341  this->diffuseTextureSet = this->diffuseTexture = (Texture*)ResourceManager::getInstance()->load(dMap, IMAGE);
    342342}
    343343
Note: See TracChangeset for help on using the changeset viewer.