summaryrefslogtreecommitdiffstats
path: root/src/graphics/engine/lightman.cpp
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2012-09-09 12:56:09 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2012-09-09 12:56:09 +0200
commitc6673b9aee483cfa64b49395c5c96b023bb09549 (patch)
tree5a469b1ce32a149b28c327cff38ba43b6d984b75 /src/graphics/engine/lightman.cpp
parentc2c1294ec99e3dae593bb31d2f331738d5be91d5 (diff)
downloadcolobot-c6673b9aee483cfa64b49395c5c96b023bb09549.tar.gz
colobot-c6673b9aee483cfa64b49395c5c96b023bb09549.tar.bz2
colobot-c6673b9aee483cfa64b49395c5c96b023bb09549.zip
Texture format detection; minor fixes
- detection of texture format - fixed depth mask bug - minor refactoring
Diffstat (limited to 'src/graphics/engine/lightman.cpp')
-rw-r--r--src/graphics/engine/lightman.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/graphics/engine/lightman.cpp b/src/graphics/engine/lightman.cpp
index b9796d2..46000d7 100644
--- a/src/graphics/engine/lightman.cpp
+++ b/src/graphics/engine/lightman.cpp
@@ -148,8 +148,6 @@ bool Gfx::CLightManager::DeleteLight(int lightRank)
return true;
}
-// Specifies a light.
-
bool Gfx::CLightManager::SetLight(int lightRank, const Gfx::Light &light)
{
if ( (lightRank < 0) || (lightRank >= static_cast<int>( m_dynLights.size() )) )