# HG changeset patch # User Sam # Date 1682764215 -25200 # Node ID a15094bc47b41ced22739c0feeb13180f4b58654 # Parent a2afa6337503251dced5e49c1f02157c4a04cbc1 fix: wrong parantheses diff -r a2afa6337503 -r a15094bc47b4 src/semicongine/vulkan/buffer.nim --- a/src/semicongine/vulkan/buffer.nim Sat Apr 29 17:20:25 2023 +0700 +++ b/src/semicongine/vulkan/buffer.nim Sat Apr 29 17:30:15 2023 +0700 @@ -75,7 +75,7 @@ result.device = device result.size = size result.usage = usage.toSeq - if (not requireMappable) or (VK_BUFFER_USAGE_TRANSFER_DST_BIT in result.usage): + if not requireMappable: result.usage.add VK_BUFFER_USAGE_TRANSFER_DST_BIT var createInfo = VkBufferCreateInfo( sType: VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO,