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

This commit is contained in:
The Dax 2014-02-13 16:23:16 -05:00
parent 3b2d61af09
commit 965a3333b4

View file

@ -275,7 +275,9 @@ namespace MainWindow
if (g_Config.iTexScalingLevel == TEXSCALING_AUTO)
setTexScalingMultiplier(0);
gpu->Resized();
if (gpu)
gpu->Resized();
UpdateRenderResolution();
ShowScreenResolution();
}