mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-04 03:33:44 +01:00
NativeShutdownGraphics: Check screenManager for nullptr.
This commit is contained in:
1 parent
25cf61f8c7
commit
ebaef49516
1 file changed
+3
-1
+3
-1
@@ -985,7 +985,9 @@ bool CreateGlobalPipelines() {
|
||||
void NativeShutdownGraphics() {
|
||||
INFO_LOG(SYSTEM, "NativeShutdownGraphics");
|
||||
|
||||
screenManager->deviceLost();
|
||||
if (screenManager) {
|
||||
screenManager->deviceLost();
|
||||
}
|
||||
|
||||
if (gpu)
|
||||
gpu->DeviceLost();
|
||||
|
||||
Reference in new issue
Block a user