Mercurial > games > semicongine
changeset 621:a15094bc47b4
fix: wrong parantheses
author | Sam <sam@basx.dev> |
---|---|
date | Sat, 29 Apr 2023 17:30:15 +0700 |
parents | a2afa6337503 |
children | 2a6133d06229 |
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: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,