Cleanup.
This commit is contained in:
parent
40259e35f8
commit
534733fe3c
@ -6155,8 +6155,6 @@ namespace bgfx { namespace d3d11
|
||||
}
|
||||
}
|
||||
|
||||
currentState.m_numVertices = numVertices;
|
||||
|
||||
if (0 < numStreams)
|
||||
{
|
||||
deviceCtx->IASetVertexBuffers(0, numStreams, buffers, strides, offsets);
|
||||
|
@ -4251,8 +4251,6 @@ namespace bgfx { namespace d3d9
|
||||
DX_CHECK(device->SetStreamSource(numStreams, vb.m_ptr, 0, stride) );
|
||||
}
|
||||
|
||||
currentState.m_numVertices = numVertices;
|
||||
|
||||
if (0 < numStreams)
|
||||
{
|
||||
if (instanced)
|
||||
|
@ -4430,8 +4430,6 @@ namespace bgfx { namespace mtl
|
||||
rce.setVertexBuffer(vb.m_ptr, offset, idx+1);
|
||||
}
|
||||
|
||||
currentState.m_numVertices = numVertices;
|
||||
|
||||
if (!isValid(currentProgram) )
|
||||
{
|
||||
continue;
|
||||
|
@ -4478,8 +4478,6 @@ namespace bgfx { namespace webgpu
|
||||
rce.SetVertexBuffer(idx, vb.m_ptr, offset);
|
||||
}
|
||||
|
||||
currentState.m_numVertices = numVertices;
|
||||
|
||||
if (!isValid(currentProgram))
|
||||
{
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user