mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-04 11:43:47 +01: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 file changed
+3
-1
@@ -275,7 +275,9 @@ namespace MainWindow
|
||||
if (g_Config.iTexScalingLevel == TEXSCALING_AUTO)
|
||||
setTexScalingMultiplier(0);
|
||||
|
||||
gpu->Resized();
|
||||
if (gpu)
|
||||
gpu->Resized();
|
||||
|
||||
UpdateRenderResolution();
|
||||
ShowScreenResolution();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user