- Timestamp:
- Oct 27, 2008, 10:56:51 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/orxonox/overlays/OrxonoxOverlay.cc
r2019 r2023 44 44 #include "core/XMLPort.h" 45 45 #include "core/ConsoleCommand.h" 46 #include "GraphicsEngine.h"47 46 48 47 namespace orxonox … … 115 114 116 115 // We'll have to get the aspect ratio manually for the first time. Afterwards windowResized() gets 117 // called automatically by the GraphicsEngine. 118 this->windowResized(GraphicsEngine::getInstance().getWindowWidth(), 119 GraphicsEngine::getInstance().getWindowHeight()); 116 // called automatically by GSGraphics. 117 //this->windowResized(GraphicsEngine::getInstance().getWindowWidth(), 118 // GraphicsEngine::getInstance().getWindowHeight()); 119 this->windowAspectRatio_ = Ogre::OverlayManager::getSingleton().getViewportAspectRatio(); 120 this->sizeCorrectionChanged(); 120 121 121 122 this->changedVisibility();
Note: See TracChangeset
for help on using the changeset viewer.