Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vk: Hotfix for fullscreen not working on non-windows platforms #5618

Merged
merged 1 commit into from Jan 31, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 7 additions & 0 deletions rpcs3/Emu/RSX/VK/VKGSRender.cpp
Expand Up @@ -1127,6 +1127,9 @@ void VKGSRender::check_window_status()

#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_height = m_frame->client_height();

Expand Down Expand Up @@ -1965,7 +1968,11 @@ void VKGSRender::on_init_thread()
m_frame->disable_wm_event_queue();
m_shaders_cache->load(&helper, *m_device, pipeline_layout);
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();
#endif
}
}

Expand Down