Changeset 9396 in orxonox.OLD for branches/proxy/src/lib/graphics/graphics_engine.cc
- Timestamp:
- Jul 23, 2006, 10:07:23 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/graphics/graphics_engine.cc
r9351 r9396 66 66 this->bDisplayFPS = false; 67 67 this->bAntialiasing = false; 68 this->bDedicated = false; 68 69 this->minFPS = 9999; 69 70 this->maxFPS = 0; … … 163 164 MultiType textures = Preferences::getInstance()->getString(CONFIG_SECTION_VIDEO_ADVANCED, CONFIG_NAME_TEXTURES, "1"); 164 165 Texture::setTextureEnableState(textures.getBool()); 166 167 // check it is a dedicated network node: so no drawings are made 168 MultiType dedicated = Preferences::getInstance()->getString(CONFIG_SECTION_VIDEO, CONFIG_NAME_NO_RENDER, "0"); 169 this->bDedicated = dedicated.getBool(); 165 170 166 171 // searching for a usefull resolution … … 603 608 } 604 609 610 /** 611 * this draws the graphics engines graphics effecs 612 */ 605 613 void GraphicsEngine::draw() const 606 614 { 607 // LightManager::getInstance()->draw(); 608 609 if (this->graphicsEffects != NULL) 615 if( this->graphicsEffects != NULL) 610 616 { 611 617 //draw the graphics effects
Note: See TracChangeset
for help on using the changeset viewer.