Skip to content

Commit

Permalink
- fixed: VkBuffer::mPersistent was not initialized.
Browse files Browse the repository at this point in the history
  • Loading branch information
coelckers committed Mar 22, 2019
1 parent 24a52d6 commit 10e62e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rendering/vulkan/system/vk_buffers.h
Expand Up @@ -27,7 +27,7 @@ class VKBuffer : virtual public IBuffer
VkBufferUsageFlags mBufferType = 0;
std::unique_ptr<VulkanBuffer> mBuffer;
std::unique_ptr<VulkanBuffer> mStaging;
bool mPersistent;
bool mPersistent = false;
};

class VKVertexBuffer : public IVertexBuffer, public VKBuffer
Expand Down

0 comments on commit 10e62e7

Please sign in to comment.