mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-01 14:45:33 +00:00
don't update input during loading. Fixes the OSX crash, and doesn't suffer from the issue anymore that I had while implementing this, so let's accept it as a hotfix for now. Note this means we can't switch the window during loading anymore.
This commit is contained in:
parent
32de090079
commit
1d012d1680
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ namespace MWGui
|
||||||
|
|
||||||
// always update input before rendering something, otherwise mygui goes crazy when something was entered in the frame before
|
// always update input before rendering something, otherwise mygui goes crazy when something was entered in the frame before
|
||||||
// (e.g. when using "coc" console command, it would enter an infinite loop and crash due to overflow)
|
// (e.g. when using "coc" console command, it would enter an infinite loop and crash due to overflow)
|
||||||
MWBase::Environment::get().getInputManager()->update(0, true);
|
//MWBase::Environment::get().getInputManager()->update(0, true);
|
||||||
|
|
||||||
Ogre::CompositorChain* chain = Ogre::CompositorManager::getSingleton().getCompositorChain(mWindow->getViewport(0));
|
Ogre::CompositorChain* chain = Ogre::CompositorManager::getSingleton().getCompositorChain(mWindow->getViewport(0));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue