mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2025-05-14 16:58:34 +00:00
Simplify the code to keep xcode happy
This commit is contained in:
parent
54d356e2f3
commit
11cbcfcfc5
1 changed files with 6 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue