This is an automated email from the git hooks/post-receive script. odyx pushed a commit to branch debian/master in repository colobot.
commit 59c106f7a7c0024e00e15fa2332601721f39064d Author: krzys-h <krzy...@interia.pl> Date: Sat May 21 18:58:35 2016 +0200 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 b7d0e56..5e773dc 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<float>(m_size.x) / static_cast<float>(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() -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/colobot.git _______________________________________________ Pkg-games-commits mailing list Pkg-games-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits