- Timestamp:
- Oct 25, 2008, 9:50:26 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/orxonox/gamestates/GSGraphics.cc
r2007 r2013 489 489 it->windowResized(this->renderWindow_->getWidth(), this->renderWindow_->getHeight()); 490 490 491 492 491 // OIS needs this under linux even if we only use relative input measurement. 492 if (this->inputManager_) 493 493 this->inputManager_->setWindowExtents(renderWindow_->getWidth(), renderWindow_->getHeight()); 494 494 } … … 506 506 507 507 // instruct InputManager to clear the buffers (core library so we cannot use the interface) 508 508 if (this->inputManager_) 509 509 this->inputManager_->clearBuffers(); 510 510 } … … 518 518 void GSGraphics::windowClosed(Ogre::RenderWindow *rw) 519 519 { 520 // using CommandExecutor in order to avoid depending on Orxonox.h.521 //CommandExecutor::execute("exit", false);522 520 this->requestState("root"); 523 521 }
Note: See TracChangeset
for help on using the changeset viewer.