Mercurial > games > semicongine
changeset 654:7973a17f76e6
add: correct cleanup
author | Sam <sam@basx.dev> |
---|---|
date | Sun, 07 May 2023 00:22:58 +0700 |
parents | ac7dfbd56cc6 |
children | 53e08e6c5ae6 |
files | src/semicongine/renderer.nim |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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()