render: simplify pool wrapping and scissor clipping

This commit is contained in:
nmzik committed 2026-09-05 14:37:11 +04:00
1 parent 1c68c94c05
commit d93812b0bd
2 files changed
+3 -6

No files matched your search

@@ -87,10 +87,7 @@ vk::CommandBuffer CommandScheduler::CommandPool::Commit() {
m_ticks[*found] = m_master.CurrentTick();
}
m_hint = *found + 1;
if (m_hint == m_ticks.size()) {
m_hint = 0;
}
m_hint = (*found + 1) % m_ticks.size();
return m_buffers[*found];
}