mirror of
https://github.com/stenzek/duckstation.git
synced 2024-11-23 13:59:49 +00:00
Qt: Use game start fullscreen flag for BP too
This commit is contained in:
parent
f889136227
commit
a854ed2da1
@ -776,9 +776,12 @@ void EmuThread::startFullscreenUI()
|
||||
m_is_rendering_to_main = shouldRenderToMain();
|
||||
m_run_fullscreen_ui = true;
|
||||
|
||||
// borrow the game start fullscreen flag
|
||||
const bool start_fullscreen =
|
||||
(s_start_fullscreen_ui_fullscreen || Host::GetBaseBoolSettingValue("Main", "StartFullscreen", false));
|
||||
|
||||
Error error;
|
||||
if (!Host::CreateGPUDevice(Settings::GetRenderAPIForRenderer(g_settings.gpu_renderer),
|
||||
s_start_fullscreen_ui_fullscreen, &error) ||
|
||||
if (!Host::CreateGPUDevice(Settings::GetRenderAPIForRenderer(g_settings.gpu_renderer), start_fullscreen, &error) ||
|
||||
!FullscreenUI::Initialize())
|
||||
{
|
||||
Host::ReportErrorAsync("Error", error.GetDescription());
|
||||
|
Loading…
Reference in New Issue
Block a user