From 7f080b995862f2b5de34a681813c21c5b298bac9 Mon Sep 17 00:00:00 2001 From: raven02 Date: Fri, 30 Aug 2013 20:46:36 +0800 Subject: [PATCH] Add isAntiAliasEnabled() --- GPU/GPUState.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/GPU/GPUState.h b/GPU/GPUState.h index 1a011040d..a595d61f2 100644 --- a/GPU/GPUState.h +++ b/GPU/GPUState.h @@ -235,6 +235,9 @@ struct GPUgstate GEBlendDstFactor getBlendFuncB() const { return (GEBlendDstFactor)((blend >> 4) & 0xF); } int getBlendEq() const { return (blend >> 8) & 0x7; } bool isAlphaBlendEnabled() const { return alphaBlendEnable & 1; } + + // AntiAlias + bool isAntiAliasEnabled() const { return antiAliasEnable & 1; } // Dither bool isDitherEnabled() const { return ditherEnable & 1; }