mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 06:53:59 +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
|
||||
auto backgroundStage = renderContext->_scene->getStage<BackgroundStage>("BACKGROUND_STAGE");
|
||||
auto backgroundStage = renderContext->_scene->getStage<BackgroundStage>();
|
||||
model::SunSkyStagePointer background;
|
||||
model::SkyboxPointer skybox;
|
||||
if (backgroundStage->_currentFrame._backgrounds.size()) {
|
||||
|
|
Loading…
Reference in a new issue