mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-01-04 15:50:21 +01:00
fix out-of-bounds in VKGSRenderTypes.hpp
This commit is contained in:
parent
40cd255051
commit
19ded3809f
|
|
@ -364,7 +364,7 @@ namespace vk
|
|||
|
||||
inline command_buffer_chunk* get()
|
||||
{
|
||||
return &m_cb_list[m_current_index];
|
||||
return &m_cb_list[m_current_index % Count];
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue