Fixed problem with pause blur after changing some graphic settings

master
Tomasz Kapuściński 2016-06-19 16:52:01 +02:00
parent 125d1a32c7
commit a0b3f7a769
1 changed files with 7 additions and 0 deletions
src/graphics/engine

View File

@ -376,6 +376,13 @@ void CEngine::ReloadAllTextures()
m_app->GetEventQueue()->AddEvent(Event(EVENT_RELOAD_TEXTURES));
UpdateGroundSpotTextures();
LoadAllTextures();
// recapture 3D scene
if (m_worldCaptured)
{
m_captureWorld = true;
m_worldCaptured = false;
}
}
bool CEngine::ProcessEvent(const Event &event)