mirror of https://github.com/PCSX2/pcsx2.git
gsdx-ogl: only print same tex/rt message when prims overlaps
Avoid most of the false positive
This commit is contained in:
parent
350e373e3f
commit
88bd0996f5
|
@ -418,7 +418,7 @@ void GSRendererOGL::DrawPrims(GSTexture* rt, GSTexture* ds, GSTextureCache::Sour
|
||||||
// Except 2D games, sprites are often use for special post-processing effect
|
// Except 2D games, sprites are often use for special post-processing effect
|
||||||
m_prim_overlap = PrimitiveOverlap();
|
m_prim_overlap = PrimitiveOverlap();
|
||||||
#ifdef ENABLE_OGL_DEBUG
|
#ifdef ENABLE_OGL_DEBUG
|
||||||
if ((context->FRAME.Block() == context->TEX0.TBP0) && (m_vertex.next > 2)) {
|
if ((m_prim_overlap != PRIM_OVERLAP_NO) && (context->FRAME.Block() == context->TEX0.TBP0) && (m_vertex.next > 2)) {
|
||||||
GL_INS("ERROR: Source and Target are the same!");
|
GL_INS("ERROR: Source and Target are the same!");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue