Skip to content
Permalink
Browse files
Merge pull request #7523 from stenzek/vulkan-draw-calls
Vulkan: Add missing increment of draw call count
  • Loading branch information
delroth committed Oct 28, 2018
2 parents 756a2fe + 7c4607a commit 4886285
Showing 1 changed file with 1 addition and 0 deletions.
@@ -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();

0 comments on commit 4886285

Please sign in to comment.