mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
NativeShutdownGraphics: Check screenManager for nullptr.
This commit is contained in:
parent
25cf61f8c7
commit
ebaef49516
1 changed files with 3 additions and 1 deletions
|
@ -985,7 +985,9 @@ bool CreateGlobalPipelines() {
|
|||
void NativeShutdownGraphics() {
|
||||
INFO_LOG(SYSTEM, "NativeShutdownGraphics");
|
||||
|
||||
screenManager->deviceLost();
|
||||
if (screenManager) {
|
||||
screenManager->deviceLost();
|
||||
}
|
||||
|
||||
if (gpu)
|
||||
gpu->DeviceLost();
|
||||
|
|
Loading…
Add table
Reference in a new issue