mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 01:03:57 +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
|
||||
if (_validAmbientTexture || _validSkyboxTexture) {
|
||||
if (_ambientLightMode != BACKGROUND_MODE_INHERIT) {
|
||||
if (_ambientLightMode != COMPONENT_MODE_INHERIT) {
|
||||
_stage->_currentFrame.pushAmbientLight(_ambientIndex);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue