GSdx ogl: Fix a nasty crash because of the multithread hack.

canditate for 1.0 branch


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5381 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gregory.hainaut 2012-08-19 13:06:40 +00:00
parent d465c18228
commit e650a1d8a0
1 changed files with 3 additions and 0 deletions

View File

@ -549,6 +549,9 @@ EXPORT_C GSvsync(int field)
#endif
#ifdef OGL_MT_HACK
s_gs->m_wnd.AttachContext();
#endif
s_gs->VSync(field);
}
catch (GSDXRecoverableError)