mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-03-25 20:14:26 -06: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 New Issue
Block a user