fix out-of-bounds in VKGSRenderTypes.hpp

This commit is contained in:
oltolm 2023-01-22 09:56:36 +01:00 committed by kd-11
commit 19ded3809f

View file

@ -364,7 +364,7 @@ namespace vk
inline command_buffer_chunk* get() inline command_buffer_chunk* get()
{ {
return &m_cb_list[m_current_index]; return &m_cb_list[m_current_index % Count];
} }
}; };
} }