mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
fix out-of-bounds in VKGSRenderTypes.hpp
This commit is contained in:
parent
40cd255051
commit
19ded3809f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue