- 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
1 changed files with 1 additions and 1 deletions

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