From a8a0afc2e18d753e9fafa9ce74de1f75c49cd048 Mon Sep 17 00:00:00 2001 From: raven02 Date: Fri, 30 Aug 2013 20:47:38 +0800 Subject: [PATCH] Apply gstate.isAntiAliasEnabled() --- GPU/GLES/GLES_GPU.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GPU/GLES/GLES_GPU.cpp b/GPU/GLES/GLES_GPU.cpp index eb4e3c80dc..17bfec1340 100644 --- a/GPU/GLES/GLES_GPU.cpp +++ b/GPU/GLES/GLES_GPU.cpp @@ -649,11 +649,11 @@ void GLES_GPU::ExecuteOp(u32 op, u32 diff) { // Discard AA lines as we can't do anything that makes sense with these anyway. The SW plugin might, though. // Discard AA lines in DOA - if ((prim == GE_PRIM_LINE_STRIP) && (gstate.antiAliasEnable & 1)) + if ((prim == GE_PRIM_LINE_STRIP) && gstate.isAntiAliasEnabled()) break; // Discard AA lines in Summon Night 5 - if ((prim == GE_PRIM_LINES) && (gstate.antiAliasEnable & 1) && gstate.isSkinningEnabled()) + if ((prim == GE_PRIM_LINES) && gstate.isAntiAliasEnabled() && gstate.isSkinningEnabled()) break; // This also make skipping drawing very effective.