Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Vulkan: Add missing increment of draw call count
  • Loading branch information
stenzek committed Oct 28, 2018
1 parent 756a2fe commit 7c4607a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/Core/VideoBackends/Vulkan/VertexManager.cpp
Expand Up @@ -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();
Expand Down

0 comments on commit 7c4607a

Please sign in to comment.