Commit f92cf558 by Razvan Aguridan Committed by omarzohdi

Fixed UIRenderer memory leak.

The pipeline cache object allocated by the UIRenderer to create the sprite rendering pipeline is not deallocated in the destroy function. This causes the Vulkan validation layers to output a message and terminate the application with an exception when running in debug mode.
parent 19fa694e
......@@ -275,6 +275,7 @@ public:
_uboMaterialLayout.reset();
_pipelineLayout.reset();
_pipeline.reset();
_pipelineCache.reset();
_samplerBilinear.reset();
_samplerTrilinear.reset();
_activeCommandBuffer.reset();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment