mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Don't crash by reading a nullptr when changing the rendering resolution.
This commit is contained in:
parent
3b2d61af09
commit
965a3333b4
1 changed files with 3 additions and 1 deletions
|
@ -275,7 +275,9 @@ namespace MainWindow
|
|||
if (g_Config.iTexScalingLevel == TEXSCALING_AUTO)
|
||||
setTexScalingMultiplier(0);
|
||||
|
||||
gpu->Resized();
|
||||
if (gpu)
|
||||
gpu->Resized();
|
||||
|
||||
UpdateRenderResolution();
|
||||
ShowScreenResolution();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue