Changeset 1641 for code/branches/gui/src/orxonox/GraphicsEngine.cc
- Timestamp:
- Jul 22, 2008, 9:16:35 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gui/src/orxonox/GraphicsEngine.cc
r1640 r1641 22 22 * Author: 23 23 * Reto Grieder 24 * Benjamin Knecht <beni_at_orxonox.net>, (C) 2007 24 25 * Co-authors: 25 * Benjamin Knecht <beni_at_orxonox.net>, (C) 2007,Felix Schulthess26 * Felix Schulthess 26 27 * 27 28 */ … … 89 90 RegisterObject(GraphicsEngine); 90 91 92 assert(singletonRef_s == 0); 91 93 singletonRef_s = this; 92 94 … … 305 307 //Ogre::TextureManager::getSingleton().setDefaultNumMipmaps(5); 306 308 307 // create a full screen viewport in which to render the scene and the loading screen 308 // The GUI uses its own one to be able to render on top of everything. 309 // That explains why the Z order here is only 1 and not 0 (top most) 310 this->viewport_ = this->renderWindow_->addViewport(0, 1); 309 // create a full screen viewport 310 this->viewport_ = this->renderWindow_->addViewport(0, 0); 311 311 312 312 return true;
Note: See TracChangeset
for help on using the changeset viewer.