diff --git a/src/rendering/vulkan/system/vk_buffers.cpp b/src/rendering/vulkan/system/vk_buffers.cpp index 57086017aa..79d5af4f14 100644 --- a/src/rendering/vulkan/system/vk_buffers.cpp +++ b/src/rendering/vulkan/system/vk_buffers.cpp @@ -110,6 +110,7 @@ void VKBuffer::Unmap() void *VKBuffer::Lock(unsigned int size) { + SetData(size, nullptr, false); if (!mPersistent) map = mBuffer->Map(0, size); return map;