Changeset 5767 in orxonox.OLD for trunk/src/lib/graphics/graphics_engine.cc
- Timestamp:
- Nov 24, 2005, 7:43:08 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/graphics_engine.cc
r5755 r5767 313 313 if (texList != NULL) 314 314 { 315 316 317 318 319 320 321 322 315 tIterator<BaseObject>* texIt = texList->getIterator(); 316 Texture* reTex = static_cast<Texture*>(texIt->firstElement()); 317 while (reTex != NULL) 318 { 319 reTex->rebuild(); 320 321 reTex = static_cast<Texture*>(texIt->nextElement()); 322 } 323 323 } 324 324 #endif /* __WIN32__ */ … … 584 584 if (this->geTextCFPS == NULL) 585 585 { 586 this->geTextCFPS = new Text("fonts/arial_black.ttf", 15 , TEXT_RENDER_DYNAMIC);586 this->geTextCFPS = new Text("fonts/arial_black.ttf", 15); 587 587 this->geTextCFPS->setName("curFPS"); 588 588 this->geTextCFPS->setAlignment(TEXT_ALIGN_LEFT); … … 591 591 if (this->geTextMaxFPS == NULL) 592 592 { 593 this->geTextMaxFPS = new Text("fonts/arial_black.ttf", 15 , TEXT_RENDER_DYNAMIC);593 this->geTextMaxFPS = new Text("fonts/arial_black.ttf", 15); 594 594 this->geTextMaxFPS->setName("MaxFPS"); 595 595 this->geTextMaxFPS->setAlignment(TEXT_ALIGN_LEFT); … … 598 598 if (this->geTextMinFPS == NULL) 599 599 { 600 this->geTextMinFPS = new Text("fonts/arial_black.ttf", 15 , TEXT_RENDER_DYNAMIC);600 this->geTextMinFPS = new Text("fonts/arial_black.ttf", 15); 601 601 this->geTextMinFPS->setName("MinFPS"); 602 602 this->geTextMinFPS->setAlignment(TEXT_ALIGN_LEFT);
Note: See TracChangeset
for help on using the changeset viewer.