mirror of
https://github.com/libretro/ppsspp.git
synced 2024-12-11 10:24:43 +00:00
Minor typo fix
This commit is contained in:
parent
b832cf1f84
commit
38f94ea0bf
@ -193,7 +193,7 @@ void TransformDrawEngine::ApplyDrawState(int prim) {
|
|||||||
if (blendFuncB > GE_DSTBLEND_FIXB) blendFuncB = GE_DSTBLEND_FIXB;
|
if (blendFuncB > GE_DSTBLEND_FIXB) blendFuncB = GE_DSTBLEND_FIXB;
|
||||||
|
|
||||||
float constantAlpha = 1.0f;
|
float constantAlpha = 1.0f;
|
||||||
int replaceAlphaWithStencil = gstate.isStencilTestEnabled() ? ReplaceAlphaWithStencil() : REPLACE_ALPHA_NO;
|
ReplaceAlphaType replaceAlphaWithStencil = gstate.isStencilTestEnabled() ? ReplaceAlphaWithStencil() : REPLACE_ALPHA_NO;
|
||||||
if (gstate.isStencilTestEnabled() && replaceAlphaWithStencil == REPLACE_ALPHA_NO) {
|
if (gstate.isStencilTestEnabled() && replaceAlphaWithStencil == REPLACE_ALPHA_NO) {
|
||||||
if (ReplaceAlphaWithStencilType() == STENCIL_VALUE_UNIFORM) {
|
if (ReplaceAlphaWithStencilType() == STENCIL_VALUE_UNIFORM) {
|
||||||
constantAlpha = (float) gstate.getStencilTestRef() * (1.0f / 255.0f);
|
constantAlpha = (float) gstate.getStencilTestRef() * (1.0f / 255.0f);
|
||||||
|
Loading…
Reference in New Issue
Block a user