Don't crash by reading a nullptr when changing the rendering resolution.

This commit is contained in:
The Dax committed 2014-02-13 16:30:08 -05:00
1 parent 3b2d61af09
commit 965a3333b4
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();
}