diff options
| author | Tharo <17233964+Thar0@users.noreply.github.com> | 2024-07-18 00:45:22 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-17 19:45:22 -0400 |
| commit | 17a88746e78ccbcba139c1fae37926636565a5b3 (patch) | |
| tree | 60d4cc3060b544a4a4bc43cfefbd02f02b67bb97 /src/code | |
| parent | a1c7937dba74f265e0bdc07518784ce82a7fd0d7 (diff) | |
Fix a couple of render modes (#1994)
Diffstat (limited to 'src/code')
| -rw-r--r-- | src/code/PreRender.c | 2 | ||||
| -rw-r--r-- | src/code/z_vismono.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/code/PreRender.c b/src/code/PreRender.c index e960acfec..527b9c867 100644 --- a/src/code/PreRender.c +++ b/src/code/PreRender.c @@ -267,7 +267,7 @@ void PreRender_CoverageRgba16ToI8(PreRender* this, Gfx** gfxP, void* img, void* gDPSetOtherMode(gfx++, G_AD_DISABLE | G_CD_DISABLE | G_CK_NONE | G_TC_FILT | G_TF_POINT | G_TT_NONE | G_TL_TILE | G_TD_CLAMP | G_TP_NONE | G_CYC_1CYCLE | G_PM_NPRIMITIVE, - G_AC_NONE | G_ZS_PRIM | G_RM_PASS | G_RM_OPA_CI2); + G_AC_NONE | G_ZS_PRIM | G_RM_OPA_CI | G_RM_OPA_CI2); // Set the combiner to draw the texture as-is, discarding alpha channel gDPSetCombineLERP(gfx++, 0, 0, 0, TEXEL0, 0, 0, 0, 0, 0, 0, 0, TEXEL0, 0, 0, 0, 0); diff --git a/src/code/z_vismono.c b/src/code/z_vismono.c index a35cdcd10..b0c91de60 100644 --- a/src/code/z_vismono.c +++ b/src/code/z_vismono.c @@ -79,7 +79,7 @@ Gfx* VisMono_DesaturateDList(VisMono* this, Gfx* gfx) { gDPSetOtherMode(gfx++, G_AD_DISABLE | G_CD_DISABLE | G_CK_NONE | G_TC_FILT | G_TF_POINT | G_TT_IA16 | G_TL_TILE | G_TD_CLAMP | G_TP_NONE | G_CYC_2CYCLE | G_PM_1PRIMITIVE, - G_AC_NONE | G_ZS_PRIM | GBL_c1(G_BL_CLR_IN, G_BL_0, G_BL_CLR_IN, G_BL_1) | G_RM_CLD_SURF2); + G_AC_NONE | G_ZS_PRIM | G_RM_PASS | G_RM_CLD_SURF2); // First color cycle sums texel 1 alpha and texel 0 color // By using IA16 palettes, this means summing A (from the IA16 color texel 1 maps to) // with I (from the IA16 color texel 0 maps to) |
