mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-22 06:03:45 +00:00
Format all C++ and Java code via clang-format
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
@@ -14,7 +14,7 @@ IndexBufferMutator::IndexBufferMutator(uint32_t baseSize)
|
||||
void IndexBufferMutator::AppendIndexes(void const * indexes, uint32_t count)
|
||||
{
|
||||
uint32_t dstActiveSize = m_activeSize + count;
|
||||
if (dstActiveSize > m_buffer.Size())
|
||||
if (dstActiveSize > m_buffer.Size())
|
||||
m_buffer.Resize(std::max(m_buffer.Size() * 2, dstActiveSize));
|
||||
|
||||
memcpy(m_buffer.GetRaw(m_activeSize), indexes, count * IndexStorage::SizeOfIndex());
|
||||
|
||||
Reference in New Issue
Block a user