Merge pull request #7523 from stenzek/vulkan-draw-calls
Vulkan: Add missing increment of draw call count
This commit is contained in:
commit
48862850ca
|
@ -178,6 +178,7 @@ void VertexManager::vFlush()
|
||||||
// Execute the draw
|
// Execute the draw
|
||||||
vkCmdDrawIndexed(g_command_buffer_mgr->GetCurrentCommandBuffer(), index_count, 1,
|
vkCmdDrawIndexed(g_command_buffer_mgr->GetCurrentCommandBuffer(), index_count, 1,
|
||||||
m_current_draw_base_index, m_current_draw_base_vertex, 0);
|
m_current_draw_base_index, m_current_draw_base_vertex, 0);
|
||||||
|
INCSTAT(stats.thisFrame.numDrawCalls);
|
||||||
}
|
}
|
||||||
|
|
||||||
StateTracker::GetInstance()->OnDraw();
|
StateTracker::GetInstance()->OnDraw();
|
||||||
|
|
Loading…
Reference in New Issue