From e15df27c4aa0a70a02533d16d3c36e2f152f9259 Mon Sep 17 00:00:00 2001 From: raven02 Date: Wed, 27 Feb 2013 22:37:17 +0800 Subject: [PATCH] New isAlphaBlendEnabled() & isDitherEnabled() --- GPU/GPUState.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/GPU/GPUState.h b/GPU/GPUState.h index 6522ae567..7ddb5853c 100644 --- a/GPU/GPUState.h +++ b/GPU/GPUState.h @@ -209,6 +209,8 @@ struct GPUgstate int getDepthTestFunc() const { return ztestfunc & 0x7; } bool isFogEnabled() const { return fogEnable & 1; } bool isStencilTestEnabled() const { return stencilTestEnable & 1; } + bool isAlphaBlendEnabled() const { return alphaBlendEnable & 1; } + bool isDitherEnabled() const { return ditherEnable & 1; } // UV gen int getUVGenMode() const { return texmapmode & 3;} // 2 bits