Skip to content

Commit

Permalink
Fix alpha side of GX_BLEND equation
Browse files Browse the repository at this point in the history
  • Loading branch information
Extrems committed Jun 23, 2024
1 parent 814c76b commit cb23a1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libogc/gx.c
Original file line number Diff line number Diff line change
Expand Up @@ -3947,7 +3947,7 @@ void GX_SetTevOp(u8 tevstage,u8 mode)
break;
case GX_BLEND:
GX_SetTevColorIn(tevstage,defcolor,GX_CC_ONE,GX_CC_TEXC,GX_CC_ZERO);
GX_SetTevAlphaIn(tevstage,GX_CA_ZERO,GX_CA_TEXA,defalpha,GX_CA_RASA);
GX_SetTevAlphaIn(tevstage,GX_CA_ZERO,GX_CA_TEXA,defalpha,GX_CA_ZERO);
break;
case GX_REPLACE:
GX_SetTevColorIn(tevstage,GX_CC_ZERO,GX_CC_ZERO,GX_CC_ZERO,GX_CC_TEXC);
Expand Down

0 comments on commit cb23a1c

Please sign in to comment.