Make --windowed available on all platform and make sure to trigger resize

This commit is contained in:
iota97 committed 2020-10-10 15:52:30 +02:00
1 parent dfb5cd37d9
commit cd42f8b3a6
2 files changed
+7 -4

No files matched your search

-3
View File
@@ -564,9 +564,6 @@ int WINAPI WinMain(HINSTANCE _hInstance, HINSTANCE hPrevInstance, LPSTR szCmdLin
break;
}
if (wideArgs[i] == L"--windowed")
g_Config.bFullScreen = false;
if (wideArgs[i].find(gpuBackend) != std::wstring::npos && wideArgs[i].size() > gpuBackend.size()) {
const std::wstring restOfOption = wideArgs[i].substr(gpuBackend.size());