Changeset 7123 in orxonox.OLD for trunk/src/world_entities/skybox.cc
- Timestamp:
- Feb 11, 2006, 8:57:26 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/skybox.cc
r6863 r7123 27 27 #include "network_game_manager.h" 28 28 #include "converter.h" 29 #include "resource_manager.h" 30 29 31 30 32 using namespace std; … … 107 109 if( this->material[i]) 108 110 delete this->material[i]; 109 //if( this->cubeTexture[i])110 // delete this->cubeTexture[i];111 if( this->cubeTexture[i]) 112 ResourceManager::getInstance()->unload(this->cubeTexture[i]); 111 113 } 112 114 } … … 169 171 this->loadCubeMapTextures(top, bottom, left, right, front, back); 170 172 } 171 172 173 #include "resource_manager.h"174 173 175 174 void SkyBox::loadCubeMapTextures(const char* top, const char* bottom, const char* left,
Note: See TracChangeset
for help on using the changeset viewer.