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

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

// The branch structure:
// mMainCameraSelector
// mForwardRenderLayerFilter
@@ -152,8 +155,6 @@ Qt3DRender::QFrameGraphNode *QgsShadowRenderingFrameGraph::constructForwardRende
}

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

Qt3DRender::QFrameGraphNode *QgsShadowRenderingFrameGraph::constructShadowRenderPass()

0 comments on commit 6b330ca

Please sign in to comment.