mirror of
https://github.com/lubosz/overte.git
synced 2025-04-19 03:57:04 +02:00
remove useless comment
This commit is contained in:
parent
07a36158e6
commit
74f04c0c84
1 changed files with 0 additions and 1 deletions
|
@ -535,7 +535,6 @@ void DeferredLightingEffect::loadLightProgram(const char* fragSource, bool limit
|
|||
}
|
||||
|
||||
void DeferredLightingEffect::setAmbientLightMode(int preset) {
|
||||
//if ((preset >= -1) && (preset < model::SphericalHarmonics::NUM_PRESET)) {
|
||||
if ((preset >= 0) && (preset < model::SphericalHarmonics::NUM_PRESET)) {
|
||||
_ambientLightMode = preset;
|
||||
auto light = _allocatedLights.front();
|
||||
|
|
Loading…
Reference in a new issue