From e650a1d8a080b3f0d52877b497ddfbb90e8eace7 Mon Sep 17 00:00:00 2001 From: "gregory.hainaut" Date: Sun, 19 Aug 2012 13:06:40 +0000 Subject: [PATCH] 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 --- plugins/GSdx/GS.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/GSdx/GS.cpp b/plugins/GSdx/GS.cpp index 7668d00f15..32bf9ab2e0 100644 --- a/plugins/GSdx/GS.cpp +++ b/plugins/GSdx/GS.cpp @@ -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)