diff --git a/src/rendering/vulkan/system/vk_buffers.h b/src/rendering/vulkan/system/vk_buffers.h index eb90f8935..139924bc3 100644 --- a/src/rendering/vulkan/system/vk_buffers.h +++ b/src/rendering/vulkan/system/vk_buffers.h @@ -27,7 +27,7 @@ public: VkBufferUsageFlags mBufferType = 0; std::unique_ptr mBuffer; std::unique_ptr mStaging; - bool mPersistent; + bool mPersistent = false; }; class VKVertexBuffer : public IVertexBuffer, public VKBuffer