mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Merge pull request #2000 from degasus/master
VideoBackends: set GLInterface to zero after deleting it
This commit is contained in:
commit
031422c596
@ -226,6 +226,7 @@ void VideoBackend::Shutdown()
|
||||
|
||||
GLInterface->Shutdown();
|
||||
delete GLInterface;
|
||||
GLInterface = nullptr;
|
||||
}
|
||||
|
||||
void VideoBackend::Video_Cleanup()
|
||||
|
@ -164,6 +164,7 @@ void VideoSoftware::Shutdown()
|
||||
|
||||
GLInterface->Shutdown();
|
||||
delete GLInterface;
|
||||
GLInterface = nullptr;
|
||||
}
|
||||
|
||||
void VideoSoftware::Video_Cleanup()
|
||||
|
Loading…
Reference in New Issue
Block a user