mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 04:38:49 +00:00
OGL: Fix a memory leak that would occur every time a game is launched
This commit is contained in:
parent
a277172b49
commit
9476756d43
3 changed files with 3 additions and 0 deletions
|
@ -225,6 +225,7 @@ void VideoBackend::Shutdown()
|
|||
OSD::DoCallbacks(OSD::OSD_SHUTDOWN);
|
||||
|
||||
GLInterface->Shutdown();
|
||||
delete GLInterface;
|
||||
}
|
||||
|
||||
void VideoBackend::Video_Cleanup()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue