We should use numVertices here rather than draw.m_numVertices
This commit is contained in:
parent
a4776e297d
commit
4226bb242d
@ -4066,7 +4066,7 @@ namespace bgfx { namespace mtl
|
||||
numInstances = draw.m_numInstances;
|
||||
numPrimsRendered = numPrimsSubmitted*draw.m_numInstances;
|
||||
|
||||
rce.drawPrimitives(prim.m_type, 0, draw.m_numVertices, draw.m_numInstances);
|
||||
rce.drawPrimitives(prim.m_type, 0, numVertices, draw.m_numInstances);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user