Switch index/vertex count to UInt32

This commit is contained in:
SirLynix
2022-10-31 19:54:25 +01:00
parent dc6ce8427c
commit 6b8be23fa0
28 changed files with 129 additions and 128 deletions

View File

@@ -67,7 +67,7 @@ namespace Nz
}
}
IndexMapper::IndexMapper(IndexBuffer& indexBuffer, std::size_t indexCount) :
IndexMapper::IndexMapper(IndexBuffer& indexBuffer, UInt32 indexCount) :
m_indexCount((indexCount != 0) ? indexCount : indexBuffer.GetIndexCount())
{
NAZARA_USE_ANONYMOUS_NAMESPACE
@@ -127,7 +127,7 @@ namespace Nz
return m_mapper.GetBuffer();
}
std::size_t IndexMapper::GetIndexCount() const
UInt32 IndexMapper::GetIndexCount() const
{
return m_indexCount;
}