[colobot] 28/377: Fixed rendering camera overlay color, closes #157
Didier Raboud
odyx at moszumanska.debian.org
Wed Mar 30 13:33:54 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 58035f3cd1ef6d5f89ae2cd116d487ba065007a5
Author: krzys-h <krzys_h at interia.pl>
Date: Wed Sep 30 21:41:00 2015 +0200
Fixed rendering camera overlay color, closes #157
---
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 daa0f39..f5a6dc2 100644
--- a/src/graphics/engine/engine.cpp
+++ b/src/graphics/engine/engine.cpp
@@ -4580,6 +4580,7 @@ void CEngine::DrawOverColor()
m_device->SetTransform(TRANSFORM_VIEW, m_matViewInterface);
m_device->SetTransform(TRANSFORM_PROJECTION, m_matProjInterface);
m_device->SetTransform(TRANSFORM_WORLD, m_matWorldInterface);
+ m_device->SetRenderState(RENDER_STATE_LIGHTING, false);
VertexCol vertex[4] =
{
--
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