Fix show_overlay function

actually hide the overlay window
experimental
Peter Repukat 7 years ago
parent 39761fe37d
commit 7cff788b87

@ -146,7 +146,7 @@ void SteamTargetRenderer::RunSfWindowLoop()
SetWindowPos(sfWindow.getSystemHandle(), HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_ASYNCWINDOWPOS);
else
{
ShowWindow(consoleHwnd, SW_SHOW);
ShowWindow(sfWindow.getSystemHandle(), SW_HIDE);
sfWindow.setFramerateLimit(1); //Window is not shown anyway,
}

Loading…
Cancel
Save