Skip to content
Permalink
Browse files
fix
  • Loading branch information
NEDJIMAbelgacem authored and wonder-sk committed May 13, 2022
1 parent 6b330ca commit 99d3bf7b921eee96c083ed205240f910a10a1ecf
Showing with 2 additions and 3 deletions.
  1. +2 −3 src/3d/qgsshadowrenderingframegraph.cpp
@@ -49,9 +49,6 @@ Qt3DRender::QFrameGraphNode *QgsShadowRenderingFrameGraph::constructTexturesPrev

Qt3DRender::QFrameGraphNode *QgsShadowRenderingFrameGraph::constructForwardRenderPass()
{
// cppcheck wrongly believes transparentObjectsRenderStateSet will leak
// cppcheck-suppress memleak

// The branch structure:
// mMainCameraSelector
// mForwardRenderLayerFilter
@@ -154,6 +151,8 @@ Qt3DRender::QFrameGraphNode *QgsShadowRenderingFrameGraph::constructForwardRende
transparentObjectsRenderStateSet->addRenderState( blenEquationArgs );
}

// cppcheck wrongly believes transparentObjectsRenderStateSet will leak
// cppcheck-suppress memleak
return mMainCameraSelector;
}

0 comments on commit 99d3bf7

Please sign in to comment.