Merge pull request #5439 from thedax/win32CrashFix

WinUI: Don't crash by referencing a nullptr when changing the rendering resolution.
This commit is contained in:
Henrik Rydgård committed 2014-02-13 22:50:31 +01:00
commit 39d1f4986d
1 file changed
+3 -1
+3 -1
View File
@@ -275,7 +275,9 @@ namespace MainWindow
if (g_Config.iTexScalingLevel == TEXSCALING_AUTO)
setTexScalingMultiplier(0);
gpu->Resized();
if (gpu)
gpu->Resized();
UpdateRenderResolution();
ShowScreenResolution();
}