Discard AA lines

This commit is contained in:
raven02 2013-08-29 22:30:47 +08:00
parent de65d0df0e
commit f94193731d

View File

@ -647,7 +647,13 @@ void GLES_GPU::ExecuteOp(u32 op, u32 diff) {
GEPrimitiveType prim = static_cast<GEPrimitiveType>(data >> 16);
// Discard AA lines as we can't do anything that makes sense with these anyway. The SW plugin might, though.
if ((prim == GE_PRIM_LINE_STRIP || prim == GE_PRIM_LINES) && (gstate.antiAliasEnable & 1))
// Discard AA lines in DOA
if ((prim == GE_PRIM_LINE_STRIP) && (gstate.antiAliasEnable & 1))
break;
// Discard AA lines in Summon Night 5
if ((prim == GE_PRIM_LINES) && (gstate.antiAliasEnable & 1) && gstate.isSkinningEnabled())
break;
// This also make skipping drawing very effective.