gsdx-ogl: only print same tex/rt message when prims overlaps

Avoid most of the false positive
This commit is contained in:
Gregory Hainaut 2015-07-27 17:55:15 +02:00
parent 350e373e3f
commit 88bd0996f5
1 changed files with 1 additions and 1 deletions

View File

@ -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
m_prim_overlap = PrimitiveOverlap();
#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!");
}
#endif