NoGUI: Fix crash on startup with exclusive fullscreen

This commit is contained in:
Connor McLaughlin
2021-05-21 13:10:23 +10:00
parent 79549a2a51
commit 6aa78b11fe
8 changed files with 17 additions and 16 deletions

View File

@ -57,7 +57,7 @@ bool Win32HostInterface::RegisterWindowClass()
return true;
}
bool Win32HostInterface::CreatePlatformWindow(bool fullscreen)
bool Win32HostInterface::CreatePlatformWindow()
{
m_hwnd = CreateWindowExW(WS_EX_CLIENTEDGE, WINDOW_CLASS_NAME, _T("DuckStation"), WS_OVERLAPPEDWINDOW, CW_USEDEFAULT,
CW_USEDEFAULT, DEFAULT_WINDOW_WIDTH, DEFAULT_WINDOW_HEIGHT, nullptr, nullptr,