Correct size for flushed memory range (Fixes #272)
This commit is contained in:
parent
70f7f54276
commit
127ed7b483
1 changed files with 1 additions and 1 deletions
|
|
@ -506,7 +506,7 @@ public:
|
|||
// Flush to make changes visible to the host
|
||||
VkMappedMemoryRange memoryRange = vkTools::initializers::mappedMemoryRange();
|
||||
memoryRange.memory = uniformBuffers.dynamic.memory;
|
||||
memoryRange.size = sizeof(uboDataDynamic);
|
||||
memoryRange.size = uniformBuffers.dynamic.size;
|
||||
vkFlushMappedMemoryRanges(device, 1, &memoryRange);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue