powervr-graphics / Native_SDK

C++ cross-platform 3D graphics SDK. Includes demos & helper code (resource loading etc.) to speed up development of Vulkan, OpenGL ES 2.0 & 3.x applications
https://docs.imgtec.com/sdk-documentation/html/introduction.html
MIT License
705 stars 199 forks source link

Fix UIRenderer memory leak. #26

Closed razvan1024 closed 5 years ago

razvan1024 commented 5 years ago

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.

PVRDevTech commented 5 years ago

Thanks @razvan1024 for the pull request fixing the issue you've identified.