mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-03 11:13:44 +01:00
Set float for gstate.getStencilTestRef() * (1.0f / 255.0f);
This commit is contained in:
1 parent
1d7cffe805
commit
7f828a6b66
1 file changed
+1
-1
@@ -195,7 +195,7 @@ void TransformDrawEngine::ApplyDrawState(int prim) {
|
||||
float constantAlpha = 1.0f;
|
||||
if (gstate.isStencilTestEnabled() && !CanReplaceAlphaWithStencil()) {
|
||||
if (gstate.isStencilTestEnabled() == STENCIL_VALUE_UNIFORM) {
|
||||
constantAlpha = gstate.getStencilTestRef() * (1.0f / 255.0f);
|
||||
constantAlpha = (float) gstate.getStencilTestRef() * (1.0f / 255.0f);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user