1
0
mirror of https://github.com/Yours3lf/rpi-vk-driver.git synced 2025-02-18 15:54:21 +01:00

copy cleanup

This commit is contained in:
Unknown 2020-04-23 18:30:40 +01:00
parent 00054f1175
commit d1a223865f

View File

@ -1226,6 +1226,7 @@ VKAPI_ATTR void VKAPI_CALL rpi_vkCmdBlitImage(
rpi_vkCmdEndRenderPass(commandBuffer);
//free up resources
rpi_vkDestroySampler(device, mipSampler, 0);
rpi_vkDestroyPipelineLayout(device, blitPipelineLayout, 0);
rpi_vkDestroyPipeline(device, blitPipeline, 0);
rpi_vkFreeDescriptorSets(device, device->emulDescriptorPool, 1, &blitDescriptorSet);