mirror of
https://github.com/Almamu/linux-wallpaperengine.git
synced 2025-07-13 21:02:34 +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
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user