Another typo fix

This commit is contained in:
Henrik Rydgard 2013-12-16 23:40:30 +01:00
parent 0d2ec01e83
commit 068d4f0ee5

View file

@ -194,7 +194,7 @@ void TransformDrawEngine::ApplyDrawState(int prim) {
float constantAlpha = 1.0f;
if (gstate.isStencilTestEnabled() && ReplaceAlphaWithStencil() == REPLACE_ALPHA_NO) {
if (gstate.isStencilTestEnabled() == STENCIL_VALUE_UNIFORM) {
if (ReplaceAlphaWithStencilType() == STENCIL_VALUE_UNIFORM) {
constantAlpha = (float) gstate.getStencilTestRef() * (1.0f / 255.0f);
}
}