Added Missing braces that caused crashing on non-bloom backgrounds

Signed-off-by: Alexis Maiquez <almamu@almamu.com>
This commit is contained in:
Alexis Maiquez 2022-11-03 23:34:21 +01:00
parent b5b7824233
commit e24c19ff81

View File

@ -156,13 +156,16 @@ CScene::CScene (Core::CScene* scene, CContext* context) :
// create image for bloom passes
if (this->getScene ()->isBloom () == true)
{
this->m_bloomObject = this->createObject (
WallpaperEngine::Core::CObject::fromJSON (
json, this->getContainer ()
)
);
this->_rt_imageCompositeLayer_bloom = this->findFBO ("_rt_imageLayerComposite_-1_b");
this->_rt_imageCompositeLayer_bloom = this->findFBO ("_rt_imageLayerComposite_-1_b");
}
this->_rt_FullFrameBuffer = this->m_sceneFBO;
}