mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
synced 2024-11-05 04:10:06 +00:00
Simplify the code to keep xcode happy
This commit is contained in:
parent
54d356e2f3
commit
11cbcfcfc5
@ -5879,9 +5879,14 @@ private:
|
||||
void PostMinorCounter()
|
||||
{
|
||||
if(m_MinorCounter < m_MajorCounter)
|
||||
{
|
||||
++m_MinorCounter;
|
||||
}
|
||||
else if(m_MajorCounter > 0)
|
||||
--m_MajorCounter, --m_MinorCounter;
|
||||
{
|
||||
--m_MajorCounter;
|
||||
--m_MinorCounter;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user