mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-13 17:49:29 +01:00
Win32/NVidia: switch to fullscreen after showing the window. Fixes a weird issue with vsync being ignored otherwise.
This commit is contained in:
1 parent
382db79307
commit
bda7db293d
1 file changed
+4
-3
@@ -806,9 +806,6 @@ namespace MainWindow
|
||||
hideCursor = true;
|
||||
SetTimer(hwndMain, TIMER_CURSORUPDATE, CURSORUPDATE_INTERVAL_MS, 0);
|
||||
|
||||
if(g_Config.bFullScreen)
|
||||
_ViewFullScreen(hwndMain);
|
||||
|
||||
ShowWindow(hwndMain, nCmdShow);
|
||||
|
||||
W32Util::MakeTopMost(hwndMain, g_Config.bTopMost);
|
||||
@@ -818,6 +815,10 @@ namespace MainWindow
|
||||
WindowsRawInput::Init();
|
||||
|
||||
SetFocus(hwndMain);
|
||||
|
||||
if (g_Config.bFullScreen)
|
||||
_ViewFullScreen(hwndMain);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user