mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 08:51:28 +12:00
vk: Open CB before doing frame cleanup so that callbacks work (#9041)
This commit is contained in:
parent
ffea52dc36
commit
bca3a3f4ed
1 changed files with 1 additions and 1 deletions
|
@ -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_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 = &m_primary_cb_list[m_current_cb_index];
|
||||||
m_current_command_buffer->reset();
|
m_current_command_buffer->reset();
|
||||||
|
m_current_command_buffer->begin();
|
||||||
|
|
||||||
// Set up new pointers for the next frame
|
// Set up new pointers for the next frame
|
||||||
advance_queued_frames();
|
advance_queued_frames();
|
||||||
open_command_buffer();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void VKGSRender::frame_context_cleanup(vk::frame_context_t *ctx, bool free_resources)
|
void VKGSRender::frame_context_cleanup(vk::frame_context_t *ctx, bool free_resources)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue