[colobot] 118/145: Fixed problem with pause blur after changing some graphic settings

Didier Raboud odyx at moszumanska.debian.org
Mon Jul 11 12:56:24 UTC 2016


This is an automated email from the git hooks/post-receive script.

odyx pushed a commit to branch debian/master
in repository colobot.

commit a0b3f7a769b87639159c1774f18b4880dd1465bd
Author: Tomasz Kapuściński <tomaszkax86 at gmail.com>
Date:   Sun Jun 19 16:52:01 2016 +0200

    Fixed problem with pause blur after changing some graphic settings
---
 src/graphics/engine/engine.cpp | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/graphics/engine/engine.cpp b/src/graphics/engine/engine.cpp
index bb6319a..ac5cf52 100644
--- a/src/graphics/engine/engine.cpp
+++ b/src/graphics/engine/engine.cpp
@@ -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)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/colobot.git



More information about the Pkg-games-commits mailing list