mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 08:11:51 +00:00
vk: Open CB before doing frame cleanup so that callbacks work (#9041)
This commit is contained in:
parent
ffea52dc36
commit
bca3a3f4ed
@ -166,10 +166,10 @@ void VKGSRender::queue_swap_request()
|
||||
m_current_cb_index = (m_current_cb_index + 1) % VK_MAX_ASYNC_CB_COUNT;
|
||||
m_current_command_buffer = &m_primary_cb_list[m_current_cb_index];
|
||||
m_current_command_buffer->reset();
|
||||
m_current_command_buffer->begin();
|
||||
|
||||
// Set up new pointers for the next frame
|
||||
advance_queued_frames();
|
||||
open_command_buffer();
|
||||
}
|
||||
|
||||
void VKGSRender::frame_context_cleanup(vk::frame_context_t *ctx, bool free_resources)
|
||||
|
Loading…
Reference in New Issue
Block a user