- fixed: VkBuffer::mPersistent was not initialized.

This commit is contained in:
Christoph Oelckers 2019-03-22 20:32:59 +01:00
parent 24a52d65a5
commit 10e62e7b5d

View file

@ -27,7 +27,7 @@ public:
VkBufferUsageFlags mBufferType = 0; VkBufferUsageFlags mBufferType = 0;
std::unique_ptr<VulkanBuffer> mBuffer; std::unique_ptr<VulkanBuffer> mBuffer;
std::unique_ptr<VulkanBuffer> mStaging; std::unique_ptr<VulkanBuffer> mStaging;
bool mPersistent; bool mPersistent = false;
}; };
class VKVertexBuffer : public IVertexBuffer, public VKBuffer class VKVertexBuffer : public IVertexBuffer, public VKBuffer