mirror of https://github.com/PCSX2/pcsx2.git
gsdx-ogl: always issue a barrier when requested
Safer this way
This commit is contained in:
parent
28fbae4791
commit
aa8f5848d1
|
@ -348,7 +348,11 @@ void GSRendererOGL::SendDraw(bool require_barrier)
|
|||
{
|
||||
GSDeviceOGL* dev = (GSDeviceOGL*)m_dev;
|
||||
|
||||
if (!require_barrier || (m_prim_overlap == PRIM_OVERLAP_NO)) {
|
||||
if (!require_barrier) {
|
||||
dev->DrawIndexedPrimitive();
|
||||
} else if (m_prim_overlap == PRIM_OVERLAP_NO) {
|
||||
ASSERT(GLLoader::found_GL_ARB_texture_barrier);
|
||||
gl_TextureBarrier();
|
||||
dev->DrawIndexedPrimitive();
|
||||
} else {
|
||||
ASSERT(GLLoader::found_geometry_shader);
|
||||
|
|
Loading…
Reference in New Issue