diff options
| author | JosJuice <josjuice@gmail.com> | 2024-10-15 17:08:55 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-15 17:08:55 +0200 |
| commit | 07605bf67c6815510688ebf3e71583624c3bfab0 (patch) | |
| tree | 45d3c7260daf088cbf44febda937f1a4c34c5141 /Source/Core/VideoCommon/VertexManagerBase.cpp | |
| parent | ef8b753cd778179e1c2980b1ec2615f80a314714 (diff) | |
| parent | e572081ac322253d65bf767a88887fedd4e97c2e (diff) | |
Merge pull request #13090 from mitaclaw/ranges-modernization-1-trivial
Ranges Algorithms Modernization - Trivial
Diffstat (limited to 'Source/Core/VideoCommon/VertexManagerBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexManagerBase.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/VertexManagerBase.cpp b/Source/Core/VideoCommon/VertexManagerBase.cpp index 0e69c4fdd0..b08e413e24 100644 --- a/Source/Core/VideoCommon/VertexManagerBase.cpp +++ b/Source/Core/VideoCommon/VertexManagerBase.cpp @@ -965,8 +965,7 @@ void VertexManagerBase::OnDraw() // Check if this draw is scheduled to kick a command buffer. // The draw counters will always be sorted so a binary search is possible here. - if (std::binary_search(m_scheduled_command_buffer_kicks.begin(), - m_scheduled_command_buffer_kicks.end(), m_draw_counter)) + if (std::ranges::binary_search(m_scheduled_command_buffer_kicks, m_draw_counter)) { // Kick a command buffer on the background thread. g_gfx->Flush(); |
