|
|
@ -1576,12 +1576,13 @@ namespace MWGui
|
|
|
|
bool cursorWasVisible = mCursorVisible;
|
|
|
|
bool cursorWasVisible = mCursorVisible;
|
|
|
|
setCursorVisible(false);
|
|
|
|
setCursorVisible(false);
|
|
|
|
|
|
|
|
|
|
|
|
while (mVideoWidget->update())
|
|
|
|
while (mVideoWidget->update() && !MWBase::Environment::get().getStateManager()->hasQuitRequest())
|
|
|
|
{
|
|
|
|
{
|
|
|
|
MWBase::Environment::get().getInputManager()->update(0, true, false);
|
|
|
|
MWBase::Environment::get().getInputManager()->update(0, true, false);
|
|
|
|
|
|
|
|
|
|
|
|
mRendering->getWindow()->update();
|
|
|
|
mRendering->getWindow()->update();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mVideoWidget->cleanup();
|
|
|
|
|
|
|
|
|
|
|
|
setCursorVisible(cursorWasVisible);
|
|
|
|
setCursorVisible(cursorWasVisible);
|
|
|
|
|
|
|
|
|
|
|
|