forked from Dynamitos/Seele
There is a memory leak
This commit is contained in:
1 parent
d1475d506e
commit
1493627ceb
20 files changed
+91
-102
No files matched your search
@@ -165,8 +165,9 @@ void BasePass::render()
|
||||
{
|
||||
if (meshData.numIndices > 0)
|
||||
{
|
||||
command->drawIndexed(meshData.numIndices, 1, meshData.firstIndex, meshData.indicesOffset, instanceOffset++);
|
||||
command->drawIndexed(meshData.numIndices, 1, meshData.firstIndex, meshData.indicesOffset, instanceOffset);
|
||||
}
|
||||
instanceOffset++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user