From 59c106f7a7c0024e00e15fa2332601721f39064d Mon Sep 17 00:00:00 2001 From: krzys-h Date: Sat, 21 May 2016 18:58:35 +0200 Subject: [PATCH] Fixed pause blur image not updating correctly on resolution change --- src/graphics/engine/engine.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/graphics/engine/engine.cpp b/src/graphics/engine/engine.cpp index b7d0e563..5e773dc6 100644 --- a/src/graphics/engine/engine.cpp +++ b/src/graphics/engine/engine.cpp @@ -362,7 +362,7 @@ void CEngine::ResetAfterVideoConfigChanged() m_mouseSize = Math::Point(0.04f, 0.04f * (static_cast(m_size.x) / static_cast(m_size.y))); // Update the camera projection matrix for new aspect ratio - SetFocus(m_focus); + ApplyChange(); // This needs to be recreated on resolution change m_device->DeleteFramebuffer("multisample"); @@ -3081,7 +3081,10 @@ void CEngine::ApplyChange() // recapture 3D scene if (m_worldCaptured) + { m_captureWorld = true; + m_worldCaptured = false; + } } void CEngine::ClearDisplayCrashSpheres()