gsdx-debug: print an error on unsupported draw call

Typically GTA
This commit is contained in:
Gregory Hainaut 2015-06-12 08:58:08 +02:00
parent 93168069db
commit c6220bf836
1 changed files with 5 additions and 0 deletions

View File

@ -358,6 +358,11 @@ void GSRendererHW::Draw()
if(PRIM->TME)
{
#ifdef ENABLE_OGL_DEBUG
if ((context->FRAME.Block() == context->TEX0.TBP0) && (m_vertex.next > 2)) {
GL_INS("ERROR: Source and Target are the same!");
}
#endif
/*
// m_tc->LookupSource will mess with the palette, should not, but we do this after, until it is sorted out