Changeset 6011 in orxonox.OLD
- Timestamp:
- Dec 10, 2005, 5:35:36 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/graphics_engine.cc
r5944 r6011 312 312 #ifdef __WIN32__ 313 313 // REBUILDING TEXTURES (ON WINDOWS CONTEXT SWITCH) 314 std::list<BaseObject*>* texList = ClassList::getList(CL_TEXTURE);314 const std::list<BaseObject*>* texList = ClassList::getList(CL_TEXTURE); 315 315 if (texList != NULL) 316 316 { 317 std::list<BaseObject*>:: iterator reTex;317 std::list<BaseObject*>::const_iterator reTex; 318 318 for (reTex = texList->begin(); reTex != texList->end(); reTex++) 319 319 dynamic_cast<Texture*>(*reTex)->rebuild(); 320 320 } 321 321 // REBUILDING MODELS 322 std::list<BaseObject*>* modelList = ClassList::getList(CL_MODEL);322 const std::list<BaseObject*>* modelList = ClassList::getList(CL_MODEL); 323 323 if (texList != NULL) 324 324 { 325 std::list<BaseObject*>:: iterator reModel;325 std::list<BaseObject*>::const_iterator reModel; 326 326 for (reModel = modelList->begin(); reModel != modelList->end(); reModel++) 327 327 dynamic_cast<Model*>(*reModel)->rebuild();
Note: See TracChangeset
for help on using the changeset viewer.