Merge pull request #7523 from stenzek/vulkan-draw-calls

Vulkan: Add missing increment of draw call count
This commit is contained in:
Pierre Bourdon
2018-10-28 02:42:21 +01:00
committed by GitHub

View File

@ -178,6 +178,7 @@ void VertexManager::vFlush()
// Execute the draw
vkCmdDrawIndexed(g_command_buffer_mgr->GetCurrentCommandBuffer(), index_count, 1,
m_current_draw_base_index, m_current_draw_base_vertex, 0);
INCSTAT(stats.thisFrame.numDrawCalls);
}
StateTracker::GetInstance()->OnDraw();