mirror of
https://github.com/overte-org/overte.git
synced 2025-04-26 11:56:17 +02:00
One less constant
This commit is contained in:
parent
904f22985c
commit
a2fc44703d
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ void DrawBackgroundStage::run(const render::RenderContextPointer& renderContext,
|
||||||
|
|
||||||
|
|
||||||
// Background rendering decision
|
// Background rendering decision
|
||||||
auto backgroundStage = renderContext->_scene->getStage<BackgroundStage>("BACKGROUND_STAGE");
|
auto backgroundStage = renderContext->_scene->getStage<BackgroundStage>();
|
||||||
model::SunSkyStagePointer background;
|
model::SunSkyStagePointer background;
|
||||||
model::SkyboxPointer skybox;
|
model::SkyboxPointer skybox;
|
||||||
if (backgroundStage->_currentFrame._backgrounds.size()) {
|
if (backgroundStage->_currentFrame._backgrounds.size()) {
|
||||||
|
|
Loading…
Reference in a new issue