Merge pull request #3470 from raven02/patch-28

Discard AA lines
This commit is contained in:
Henrik Rydgård committed 2013-08-29 09:11:12 -07:00
commit 9fbfcacbc6
1 file changed
+7 -1
+7 -1
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.