# HG changeset patch # User Sam # Date 1683393778 -25200 # Node ID 7973a17f76e6bc6f27f54912bbd6167a914fecb3 # Parent ac7dfbd56cc6807cf66622177a32b82d7bedf02e add: correct cleanup diff -r ac7dfbd56cc6 -r 7973a17f76e6 src/semicongine/renderer.nim --- a/src/semicongine/renderer.nim Sat May 06 23:06:33 2023 +0700 +++ b/src/semicongine/renderer.nim Sun May 07 00:22:58 2023 +0700 @@ -295,5 +295,7 @@ for buffer in data.uniformBuffers.mitems: assert buffer.vk.valid buffer.destroy() + for texture in data.textures.mvalues: + texture.destroy() renderer.renderPass.destroy() renderer.swapchain.destroy()