First render

This commit is contained in:
Dynamitos committed 2020-10-23 01:47:56 +02:00
1 parent 8d4c43361b
commit b4fc5df74e
21 files changed
+128 -43

No files matched your search

+2 -2
View File
@@ -210,10 +210,10 @@ IndexBuffer::IndexBuffer(QueueFamilyMapping mapping, uint32 size, Gfx::SeIndexTy
switch (indexType)
{
case SE_INDEX_TYPE_UINT16:
numIndices = size / 16;
numIndices = size / sizeof(uint16);
break;
case SE_INDEX_TYPE_UINT32:
numIndices = size / 32;
numIndices = size / sizeof(uint32);
default:
break;
}