mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-24 19:29:19 +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()
|
inline command_buffer_chunk* get()
|
||||||
{
|
{
|
||||||
return &m_cb_list[m_current_index];
|
return &m_cb_list[m_current_index % Count];
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue