gsdx: miss a part of the previous patch...

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5672 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gregory.hainaut 2013-06-16 09:43:34 +00:00
parent 09571dac0b
commit f4b173bbd1
1 changed files with 6 additions and 3 deletions

View File

@ -179,11 +179,14 @@ EXPORT_C GSclose()
s_gs->m_dev = NULL;
s_gs->m_wnd->Detach();
if (s->gs_m_wnd)
{
s_gs->m_wnd->Detach();
delete s_gs->m_wnd;
delete s_gs->m_wnd;
s_gs->m_wnd = NULL;
s_gs->m_wnd = NULL;
}
}
static int _GSopen(void** dsp, char* title, int renderer, int threads = -1)