- Timestamp:
- Jul 14, 2009, 3:56:50 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core4/src/orxonox/GraphicsManager.cc
r3291 r3294 73 73 using boost::shared_ptr; 74 74 75 class _OrxonoxExport OgreWindowEventListener : public Ogre::WindowEventListener 76 { 75 class OgreWindowEventListener : public Ogre::WindowEventListener 76 { 77 public: 77 78 void windowResized (Ogre::RenderWindow* rw) 78 79 { orxonox::WindowEventListener::resizeWindow(rw->getWidth(), rw->getHeight()); } … … 351 352 352 353 this->renderWindow_ = ogreRoot_->initialise(true, "Orxonox"); 354 this->ogreWindowEventListener_->windowResized(renderWindow_); 353 355 354 356 Ogre::WindowEventUtilities::addWindowEventListener(this->renderWindow_, ogreWindowEventListener_);
Note: See TracChangeset
for help on using the changeset viewer.