fix out-of-bounds in VKGSRenderTypes.hpp
This commit is contained in:
@@ -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];
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user