changeset 623:fd7e5761457c

fix: super stupid error
author Sam <sam@basx.dev>
date Sat, 29 Apr 2023 17:41:40 +0700
parents 2a6133d06229
children 3f13de7d8ec4
files src/semicongine/vulkan/buffer.nim
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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,
   )