mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
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:
commit
39d1f4986d
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