summaryrefslogtreecommitdiffstats
path: root/src/plugins/renderers/rhi/renderer/rhigraphicspipeline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/renderers/rhi/renderer/rhigraphicspipeline.cpp')
-rw-r--r--src/plugins/renderers/rhi/renderer/rhigraphicspipeline.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/renderers/rhi/renderer/rhigraphicspipeline.cpp b/src/plugins/renderers/rhi/renderer/rhigraphicspipeline.cpp
index 62da8aa12..19fd39d8e 100644
--- a/src/plugins/renderers/rhi/renderer/rhigraphicspipeline.cpp
+++ b/src/plugins/renderers/rhi/renderer/rhigraphicspipeline.cpp
@@ -68,6 +68,9 @@ void RHIGraphicsPipeline::cleanup()
m_rvUbo = nullptr;
m_cmdUbo = nullptr;
m_pipeline = nullptr;
+ m_shaderResourceBindings = nullptr;
+ m_ubos.clear();
+ m_attributeNameIdToBindingIndex.clear();
}
} // Rhi