mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-13 07:49:19 +01:00
Vulkan: Add missing increment of draw call count
This commit is contained in:
parent
756a2fe14d
commit
7c4607a05a
@ -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…
x
Reference in New Issue
Block a user