We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54d356e commit 11cbcfcCopy full SHA for 11cbcfc
1 file changed
include/vk_mem_alloc.h
@@ -5879,9 +5879,14 @@ class VmaMappingHysteresis
5879
void PostMinorCounter()
5880
{
5881
if(m_MinorCounter < m_MajorCounter)
5882
+ {
5883
++m_MinorCounter;
5884
+ }
5885
else if(m_MajorCounter > 0)
- --m_MajorCounter, --m_MinorCounter;
5886
5887
+ --m_MajorCounter;
5888
+ --m_MinorCounter;
5889
5890
}
5891
};
5892
0 commit comments