[colobot] 11/62: Apply shadow mapping performance counter patch from #923

Didier Raboud odyx at moszumanska.debian.org
Fri Nov 10 11:53:54 UTC 2017


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

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

commit 4faabf2185c78858205302233fc5aeb50252f0b8
Author: krzys-h <krzys_h at interia.pl>
Date:   Sat Jun 3 21:11:18 2017 +0200

    Apply shadow mapping performance counter patch from #923
---
 src/graphics/engine/engine.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/graphics/engine/engine.cpp b/src/graphics/engine/engine.cpp
index 0c80c30..a145838 100644
--- a/src/graphics/engine/engine.cpp
+++ b/src/graphics/engine/engine.cpp
@@ -3738,6 +3738,7 @@ void CEngine::RenderShadowMap()
                 m_shadowMapping = false;
                 m_offscreenShadowRendering = false;
                 m_qualityShadows = false;
+                CProfiler::StopPerformanceCounter(PCNT_RENDER_SHADOW_MAP);
                 return;
             }
 

-- 
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