Remove unused variable

Fixes #67
This commit is contained in:
Adam Sawicki 2019-06-28 17:01:50 +02:00
parent 294a0ad239
commit 9b1e702e0b

View File

@ -12447,7 +12447,6 @@ void VmaBlockVector::Defragment(
const VkMemoryPropertyFlags memPropFlags =
m_hAllocator->m_MemProps.memoryTypes[m_MemoryTypeIndex].propertyFlags;
const bool isHostVisible = (memPropFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT) != 0;
const bool isHostCoherent = (memPropFlags & VK_MEMORY_PROPERTY_HOST_COHERENT_BIT) != 0;
const bool canDefragmentOnCpu = maxCpuBytesToMove > 0 && maxCpuAllocationsToMove > 0 &&
isHostVisible;