mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-09-08 11:26:23 -05: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:
@@ -226,6 +226,7 @@ void VideoBackend::Shutdown()
|
||||
|
||||
GLInterface->Shutdown();
|
||||
delete GLInterface;
|
||||
GLInterface = nullptr;
|
||||
}
|
||||
|
||||
void VideoBackend::Video_Cleanup()
|
||||
|
||||
Reference in New Issue
Block a user