Skip to content

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
bkaradzic committed Dec 21, 2020
1 parent 40259e3 commit 534733f
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions src/renderer_d3d11.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6155,8 +6155,6 @@ namespace bgfx { namespace d3d11
}
}

currentState.m_numVertices = numVertices;

if (0 < numStreams)
{
deviceCtx->IASetVertexBuffers(0, numStreams, buffers, strides, offsets);
Expand Down
2 changes: 0 additions & 2 deletions src/renderer_d3d9.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 0 additions & 2 deletions src/renderer_mtl.mm
Original file line number Diff line number Diff line change
Expand Up @@ -4430,8 +4430,6 @@ static void setTimestamp(void* _data)
rce.setVertexBuffer(vb.m_ptr, offset, idx+1);
}

currentState.m_numVertices = numVertices;

if (!isValid(currentProgram) )
{
continue;
Expand Down
2 changes: 0 additions & 2 deletions src/renderer_webgpu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4478,8 +4478,6 @@ namespace bgfx { namespace webgpu
rce.SetVertexBuffer(idx, vb.m_ptr, offset);
}

currentState.m_numVertices = numVertices;

if (!isValid(currentProgram))
{
continue;
Expand Down

0 comments on commit 534733f

Please sign in to comment.