Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 22, 2008, 9:16:35 PM (16 years ago)
Author:
rgrieder
Message:

some de-bugging
added enum for joy stick buttons
some more little fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gui/src/orxonox/GraphicsEngine.cc

    r1640 r1641  
    2222 *   Author:
    2323 *      Reto Grieder
     24 *      Benjamin Knecht <beni_at_orxonox.net>, (C) 2007
    2425 *   Co-authors:
    25  *      Benjamin Knecht <beni_at_orxonox.net>, (C) 2007, Felix Schulthess
     26 *      Felix Schulthess
    2627 *
    2728 */
     
    8990        RegisterObject(GraphicsEngine);
    9091
     92        assert(singletonRef_s == 0);
    9193        singletonRef_s = this;
    9294
     
    305307        //Ogre::TextureManager::getSingleton().setDefaultNumMipmaps(5);
    306308
    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);
    311311
    312312        return true;
Note: See TracChangeset for help on using the changeset viewer.