mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 13:40:02 +02:00
Fixed Ubuntu warning.
This commit is contained in:
parent
2eb74647f0
commit
e102b8c087
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ void ZoneEntityRenderer::doRender(RenderArgs* args) {
|
||||||
|
|
||||||
// The ambient light only if it has a valid texture to render with
|
// The ambient light only if it has a valid texture to render with
|
||||||
if (_validAmbientTexture || _validSkyboxTexture) {
|
if (_validAmbientTexture || _validSkyboxTexture) {
|
||||||
if (_ambientLightMode != BACKGROUND_MODE_INHERIT) {
|
if (_ambientLightMode != COMPONENT_MODE_INHERIT) {
|
||||||
_stage->_currentFrame.pushAmbientLight(_ambientIndex);
|
_stage->_currentFrame.pushAmbientLight(_ambientIndex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue