Wx: Reset/restore API state after window resize

This commit is contained in:
Connor McLaughlin 2022-04-15 13:57:59 +10:00 committed by refractionpcsx2
parent 800b458d3d
commit f7ee35e578
1 changed files with 2 additions and 0 deletions

View File

@ -207,7 +207,9 @@ void Host::CheckForGSWindowResize()
if (!s_host_display)
return;
GSResetAPIState();
s_host_display->ResizeRenderWindow(width, height, scale);
GSRestoreAPIState();
ImGuiManager::WindowResized();
}