Linting fix

This commit is contained in:
Dr. Chat 2017-02-17 23:38:21 -06:00
parent c62c4fe741
commit f12d795a9f
1 changed files with 3 additions and 4 deletions

View File

@ -209,9 +209,8 @@ VkResult VulkanGraphicsSystem::CreateCaptureBuffer(VkCommandBuffer cmd,
// Bind memory to buffer.
VkMemoryRequirements mem_requirements;
vkGetBufferMemoryRequirements(*device_, capture_buffer_, &mem_requirements);
capture_buffer_memory_ =
device_->AllocateMemory(mem_requirements,
VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT |
capture_buffer_memory_ = device_->AllocateMemory(
mem_requirements, VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT |
VK_MEMORY_PROPERTY_HOST_COHERENT_BIT);
assert_not_null(capture_buffer_memory_);