diff --git a/interfaces/Crafter.Graphics-PipelineRTVulkan.cppm b/interfaces/Crafter.Graphics-PipelineRTVulkan.cppm index 755768c..c24b7d9 100644 --- a/interfaces/Crafter.Graphics-PipelineRTVulkan.cppm +++ b/interfaces/Crafter.Graphics-PipelineRTVulkan.cppm @@ -110,6 +110,10 @@ export namespace Crafter { callableRegion.stride = 0; callableRegion.size = 0; } + + ~PipelineRTVulkan() { + vkDestroyPipeline(Device::device, pipeline, nullptr); + } }; }