mirror of https://github.com/PCSX2/pcsx2.git
gsdx-ogl: fix potential build failure on MS
git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl@5185 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
f5ee23aa37
commit
f303da1c45
|
@ -441,12 +441,14 @@ EXPORT_C GSreadFIFO(uint8* mem)
|
||||||
if (theApp.GetConfig("renderer", 0) / 3 == 4) {
|
if (theApp.GetConfig("renderer", 0) / 3 == 4) {
|
||||||
fprintf(stderr, "Disable FIFO1 on opengl\n");
|
fprintf(stderr, "Disable FIFO1 on opengl\n");
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
s_gs->m_wnd.AttachContext();
|
s_gs->m_wnd.AttachContext();
|
||||||
|
#endif
|
||||||
|
|
||||||
s_gs->ReadFIFO(mem, 1);
|
s_gs->ReadFIFO(mem, 1);
|
||||||
|
|
||||||
|
#ifdef _LINUX
|
||||||
s_gs->m_wnd.DetachContext();
|
s_gs->m_wnd.DetachContext();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
EXPORT_C GSreadFIFO2(uint8* mem, uint32 size)
|
EXPORT_C GSreadFIFO2(uint8* mem, uint32 size)
|
||||||
|
@ -460,12 +462,14 @@ EXPORT_C GSreadFIFO2(uint8* mem, uint32 size)
|
||||||
#endif
|
#endif
|
||||||
//return;
|
//return;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
s_gs->m_wnd.AttachContext();
|
s_gs->m_wnd.AttachContext();
|
||||||
|
#endif
|
||||||
|
|
||||||
s_gs->ReadFIFO(mem, size);
|
s_gs->ReadFIFO(mem, size);
|
||||||
|
|
||||||
|
#ifdef _LINUX
|
||||||
s_gs->m_wnd.DetachContext();
|
s_gs->m_wnd.DetachContext();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
EXPORT_C GSgifTransfer(const uint8* mem, uint32 size)
|
EXPORT_C GSgifTransfer(const uint8* mem, uint32 size)
|
||||||
|
|
Loading…
Reference in New Issue