mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
VideoBackends: set GLInterface to zero after deleting it
This fixes a crash on opening the gfx settings after closing a game.
This commit is contained in:
parent
3c475b91ea
commit
081137bd4f
@ -226,6 +226,7 @@ void VideoBackend::Shutdown()
|
|||||||
|
|
||||||
GLInterface->Shutdown();
|
GLInterface->Shutdown();
|
||||||
delete GLInterface;
|
delete GLInterface;
|
||||||
|
GLInterface = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
void VideoBackend::Video_Cleanup()
|
void VideoBackend::Video_Cleanup()
|
||||||
|
@ -164,6 +164,7 @@ void VideoSoftware::Shutdown()
|
|||||||
|
|
||||||
GLInterface->Shutdown();
|
GLInterface->Shutdown();
|
||||||
delete GLInterface;
|
delete GLInterface;
|
||||||
|
GLInterface = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
void VideoSoftware::Video_Cleanup()
|
void VideoSoftware::Video_Cleanup()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user