mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-27 00:03:37 +01:00
Prevent rendering and multiple WM_SIZE events when switching between windowed and fullscreen
May help #6295 but also it may not, I can't test it as I don't have that GPU. Also gets rid of some outdated code.
This commit is contained in:
1 parent
498136bbf8
commit
56cee3c00e
5 files changed
+42
-42
No files matched your search
@@ -335,9 +335,9 @@ bool WindowsHost::CreateDesktopShortcut(std::string argumentPath, std::string ga
|
||||
|
||||
void WindowsHost::GoFullscreen(bool viewFullscreen) {
|
||||
if (viewFullscreen)
|
||||
MainWindow::_ViewFullScreen(MainWindow::GetHWND());
|
||||
MainWindow::SwitchToFullscreen(MainWindow::GetHWND());
|
||||
else
|
||||
MainWindow::_ViewNormal(MainWindow::GetHWND());
|
||||
MainWindow::SwitchToWindowed(MainWindow::GetHWND());
|
||||
}
|
||||
|
||||
void WindowsHost::ToggleDebugConsoleVisibility() {
|
||||
|
||||
Reference in new issue
Block a user