mirror of https://github.com/PCSX2/pcsx2.git
zzogl: gl resources must be deleted before the destruction of the GL context
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5264 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
ef976706f6
commit
0fff99f4f3
|
@ -350,10 +350,12 @@ EXPORT_C_(void) GSclose()
|
|||
FUNCLOG
|
||||
|
||||
ZZDestroy();
|
||||
// Clean shader. Must be done before the context is delete
|
||||
ZZshExitCleaning();
|
||||
|
||||
GLWin.CloseWindow();
|
||||
|
||||
// Free alocated memory. We could close plugin without closing pcsx2, so we SHOULD free all allocated resources
|
||||
ZZshExitCleaning();
|
||||
SaveStateFile = NULL;
|
||||
SaveStateExists = true; // default value
|
||||
g_LastCRC = 0;
|
||||
|
|
Loading…
Reference in New Issue