mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-09-25 10:48:58 +00:00
vk: Hotfix for fullscreen not working on non-windows platforms
This commit is contained in:
parent
27f6f497a2
commit
f47d3a761b
1 changed files with 7 additions and 0 deletions
|
@ -1127,6 +1127,9 @@ void VKGSRender::check_window_status()
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
// If the queue is in use, it should be properly consumed
|
||||||
|
verify(HERE), !m_frame->has_wm_events();
|
||||||
|
|
||||||
const auto frame_width = m_frame->client_width();
|
const auto frame_width = m_frame->client_width();
|
||||||
const auto frame_height = m_frame->client_height();
|
const auto frame_height = m_frame->client_height();
|
||||||
|
|
||||||
|
@ -1965,7 +1968,11 @@ void VKGSRender::on_init_thread()
|
||||||
m_frame->disable_wm_event_queue();
|
m_frame->disable_wm_event_queue();
|
||||||
m_shaders_cache->load(&helper, *m_device, pipeline_layout);
|
m_shaders_cache->load(&helper, *m_device, pipeline_layout);
|
||||||
m_frame->enable_wm_event_queue();
|
m_frame->enable_wm_event_queue();
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
// On windows switching to fullscreen is done by the renderer, not the UI
|
||||||
m_frame->disable_wm_fullscreen();
|
m_frame->disable_wm_fullscreen();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue