Mercurial > games > semicongine
diff src/semicongine/engine.nim @ 558:affa6571a2c9
add: swapchain, images, fix some destroctors
author | Sam <sam@basx.dev> |
---|---|
date | Thu, 02 Mar 2023 23:16:45 +0700 |
parents | 7c44f714bd03 |
children | baaa620887b4 |
line wrap: on
line diff
--- a/src/semicongine/engine.nim Wed Mar 01 23:58:39 2023 +0700 +++ b/src/semicongine/engine.nim Thu Mar 02 23:16:45 2023 +0700 @@ -252,8 +252,7 @@ layerCount: 1, ), ) - checkVkResult device.vkCreateImageView(addr(imageViewCreateInfo), nil, addr( - result.imageviews[i])) + checkVkResult device.vkCreateImageView(addr(imageViewCreateInfo), nil, addr(result.imageviews[i])) proc setupRenderPass(device: VkDevice, format: VkFormat): VkRenderPass = var