Changeset 5344 in orxonox.OLD for trunk/src/lib/graphics/graphics_engine.cc
- Timestamp:
- Oct 10, 2005, 12:39:21 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/graphics_engine.cc
r5318 r5344 27 27 #include "ini_parser.h" 28 28 #include "substring.h" 29 29 #include "text.h" 30 30 31 31 using namespace std; … … 564 564 if (this->geTextCFPS == NULL) 565 565 { 566 this->geTextCFPS = TextEngine::getInstance()->createText("fonts/arial_black.ttf", 15, TEXT_RENDER_DYNAMIC);566 this->geTextCFPS = new Text("fonts/arial_black.ttf", 15, TEXT_RENDER_DYNAMIC); 567 567 this->geTextCFPS->setName("curFPS"); 568 568 this->geTextCFPS->setAlignment(TEXT_ALIGN_LEFT); … … 571 571 if (this->geTextMaxFPS == NULL) 572 572 { 573 this->geTextMaxFPS = TextEngine::getInstance()->createText("fonts/arial_black.ttf", 15, TEXT_RENDER_DYNAMIC);573 this->geTextMaxFPS = new Text("fonts/arial_black.ttf", 15, TEXT_RENDER_DYNAMIC); 574 574 this->geTextMaxFPS->setName("MaxFPS"); 575 575 this->geTextMaxFPS->setAlignment(TEXT_ALIGN_LEFT); … … 578 578 if (this->geTextMinFPS == NULL) 579 579 { 580 this->geTextMinFPS = TextEngine::getInstance()->createText("fonts/arial_black.ttf", 15, TEXT_RENDER_DYNAMIC);580 this->geTextMinFPS = new Text("fonts/arial_black.ttf", 15, TEXT_RENDER_DYNAMIC); 581 581 this->geTextMinFPS->setName("MinFPS"); 582 582 this->geTextMinFPS->setAlignment(TEXT_ALIGN_LEFT);
Note: See TracChangeset
for help on using the changeset viewer.