buffer size fix
This commit is contained in:
parent
db1616ff0e
commit
770313ca40
1 changed files with 1 additions and 1 deletions
|
|
@ -117,7 +117,7 @@ namespace Crafter {
|
|||
|
||||
descriptor.offset = 0;
|
||||
descriptor.buffer = buffer;
|
||||
descriptor.range = memReqs.size;
|
||||
descriptor.range = VK_WHOLE_SIZE;
|
||||
|
||||
VulkanDevice::CheckVkResult(vkBindBufferMemory(VulkanDevice::device, buffer, memory, 0));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue