Renamed bx::uint32_min/max/clamp/cntlz/cnttz/mod to typed equivalents. (#3692)

This commit is contained in:
Branimir Karadžić
2026-04-27 04:19:08 +00:00
committed by GitHub
parent 43fbfaba41
commit 331783cf9a
23 changed files with 117 additions and 117 deletions
+2 -2
View File
@@ -305,7 +305,7 @@ public:
void* ptr = ::malloc(_size);
bx::debugPrintf("%s(%d): ALLOC %p of %d byte(s)\n", _file, _line, ptr, _size);
++m_numBlocks;
m_maxBlocks = bx::uint32_max(m_maxBlocks, m_numBlocks);
m_maxBlocks = bx::max(m_maxBlocks, m_numBlocks);
return ptr;
}
@@ -321,7 +321,7 @@ public:
if (NULL == _ptr)
{
++m_numBlocks;
m_maxBlocks = bx::uint32_max(m_maxBlocks, m_numBlocks);
m_maxBlocks = bx::max(m_maxBlocks, m_numBlocks);
}
return ptr;