[colobot] 61/100: Fix sky rendering artifact
Didier Raboud
odyx at moszumanska.debian.org
Thu Jun 1 18:10:19 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 6bebbb3f7011cbf9fcd42cb24fd7f39e52015e05
Author: krzys-h <krzys_h at interia.pl>
Date: Thu May 18 19:03:19 2017 +0200
Fix sky rendering artifact
---
src/graphics/engine/cloud.cpp | 2 --
src/graphics/engine/engine.cpp | 4 +++-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/graphics/engine/cloud.cpp b/src/graphics/engine/cloud.cpp
index 110f39b..20cd6aa 100644
--- a/src/graphics/engine/cloud.cpp
+++ b/src/graphics/engine/cloud.cpp
@@ -234,8 +234,6 @@ void CCloud::Create(const std::string& fileName,
m_lines.clear();
for (int y = 0; y < m_brickCount; y++)
CreateLine(0, y, m_brickCount);
-
- return;
}
void CCloud::Flush()
diff --git a/src/graphics/engine/engine.cpp b/src/graphics/engine/engine.cpp
index 768897f..943491b 100644
--- a/src/graphics/engine/engine.cpp
+++ b/src/graphics/engine/engine.cpp
@@ -3266,7 +3266,9 @@ void CEngine::Draw3DScene()
m_device->SetTransform(TRANSFORM_PROJECTION, m_matProj);
m_device->SetTransform(TRANSFORM_VIEW, m_matView);
- m_water->DrawBack(); // draws water background
+ // TODO: This causes a rendering artifact and I can't see anything that breaks if you just comment it out
+ // So I'll just leave it like that for now ~krzys_h
+ //m_water->DrawBack(); // draws water background
CProfiler::StartPerformanceCounter(PCNT_RENDER_TERRAIN);
--
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