Minor fixes

This commit is contained in:
SirLynix
2022-08-23 18:17:10 +02:00
committed by Jérôme Leclercq
parent 8d39441bd1
commit 133caac5b5
5 changed files with 9 additions and 8 deletions

View File

@@ -88,7 +88,7 @@ namespace Nz
for (auto& drawCall : m_drawCalls)
{
builder.BindVertexBuffer(0, *drawCall.vertexBuffer);
builder.Draw(drawCall.vertexCount);
builder.Draw(SafeCast<UInt32>(drawCall.vertexCount));
}
}