mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2025-05-15 01:08:31 +00:00
Merge pull request #320 from jeroenbakker-atmind/blender-fix-gnu-compilation-warning
Fix compilation warning.
This commit is contained in:
commit
708428c219
1 changed files with 2 additions and 2 deletions
|
@ -13364,8 +13364,8 @@ bool VmaDefragmentationContext_T::IncrementCounters(VkDeviceSize bytes)
|
||||||
// Early return when max found
|
// Early return when max found
|
||||||
if (++m_PassStats.allocationsMoved >= m_MaxPassAllocations || m_PassStats.bytesMoved >= m_MaxPassBytes)
|
if (++m_PassStats.allocationsMoved >= m_MaxPassAllocations || m_PassStats.bytesMoved >= m_MaxPassBytes)
|
||||||
{
|
{
|
||||||
VMA_ASSERT(m_PassStats.allocationsMoved == m_MaxPassAllocations ||
|
VMA_ASSERT((m_PassStats.allocationsMoved == m_MaxPassAllocations ||
|
||||||
m_PassStats.bytesMoved == m_MaxPassBytes && "Exceeded maximal pass threshold!");
|
m_PassStats.bytesMoved == m_MaxPassBytes) && "Exceeded maximal pass threshold!");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue