mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-13 17:50:13 +01:00
gsdx-ogl-wnd:
* add a new config define ENABLE_OGL_MT_HACK to replace the define OGL_MT_HACK git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl-wnd@5511 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
1 parent
b65ad2c3e5
commit
fb9c4e5a61
4 files changed
+11
-10
No files matched your search
@@ -23,7 +23,7 @@
|
||||
#include "GSState.h"
|
||||
#include "GSdx.h"
|
||||
|
||||
#ifdef OGL_MT_HACK
|
||||
#ifdef ENABLE_OGL_MT_HACK
|
||||
|
||||
#include "GSRendererOGL.h"
|
||||
extern GSRenderer* s_gs;
|
||||
@@ -1260,7 +1260,7 @@ void GSState::GIFRegHandlerTRXDIR(const GIFReg* RESTRICT r)
|
||||
break;
|
||||
case 1: // local -> host
|
||||
m_tr.Init(m_env.TRXPOS.SSAX, m_env.TRXPOS.SSAY);
|
||||
#ifdef OGL_MT_HACK
|
||||
#ifdef ENABLE_OGL_MT_HACK
|
||||
s_gs->m_wnd->DetachContext();
|
||||
#endif
|
||||
break;
|
||||
@@ -1767,7 +1767,7 @@ static hash_map<uint64, uint64> s_tags;
|
||||
template<int index> void GSState::Transfer(const uint8* mem, uint32 size)
|
||||
{
|
||||
GSPerfMonAutoTimer pmat(&m_perfmon);
|
||||
#ifdef OGL_MT_HACK
|
||||
#ifdef ENABLE_OGL_MT_HACK
|
||||
s_gs->m_wnd->AttachContext();
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user