mirror of
https://github.com/Almamu/linux-wallpaperengine.git
synced 2025-09-14 05:46:48 +08:00
Added Missing braces that caused crashing on non-bloom backgrounds
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
This commit is contained in:
parent
b5b7824233
commit
e24c19ff81
@ -156,13 +156,16 @@ CScene::CScene (Core::CScene* scene, CContext* context) :
|
|||||||
|
|
||||||
// create image for bloom passes
|
// create image for bloom passes
|
||||||
if (this->getScene ()->isBloom () == true)
|
if (this->getScene ()->isBloom () == true)
|
||||||
|
{
|
||||||
this->m_bloomObject = this->createObject (
|
this->m_bloomObject = this->createObject (
|
||||||
WallpaperEngine::Core::CObject::fromJSON (
|
WallpaperEngine::Core::CObject::fromJSON (
|
||||||
json, this->getContainer ()
|
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;
|
this->_rt_FullFrameBuffer = this->m_sceneFBO;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user