# HG changeset patch # User Sam # Date 1682764900 -25200 # Node ID fd7e5761457cb524b1eb82a2d8e6c61bad4b03ac # Parent 2a6133d06229cd540a4ee0ea4238eeed4227cf99 fix: super stupid error diff -r 2a6133d06229 -r fd7e5761457c src/semicongine/vulkan/buffer.nim --- a/src/semicongine/vulkan/buffer.nim Sat Apr 29 17:36:09 2023 +0700 +++ b/src/semicongine/vulkan/buffer.nim Sat Apr 29 17:41:40 2023 +0700 @@ -81,7 +81,7 @@ sType: VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO, flags: VkBufferCreateFlags(0), size: size, - usage: toBits(usage), + usage: toBits(result.usage), sharingMode: VK_SHARING_MODE_EXCLUSIVE, )