summaryrefslogtreecommitdiff
path: root/src/code/z_sample.c
diff options
context:
space:
mode:
authorglank <tommy.bergman91@gmail.com>2020-04-05 21:41:49 +0200
committerglank <tommy.bergman91@gmail.com>2020-04-05 23:40:06 +0200
commit6b04aba0ea3f5c6d450045d4440249e28e2be85c (patch)
tree6bf0a9097d31046ed6e0dd5e7c98fefecf993947 /src/code/z_sample.c
parent5aaaa4ef93a167205d46bf6891647433144db71a (diff)
Tidy up known render and combine modes
Diffstat (limited to 'src/code/z_sample.c')
-rw-r--r--src/code/z_sample.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/code/z_sample.c b/src/code/z_sample.c
index fa995e06e..ee7bf3caa 100644
--- a/src/code/z_sample.c
+++ b/src/code/z_sample.c
@@ -37,8 +37,7 @@ void Sample_Draw(SampleContext* this) {
gDPSetCycleType(gfxCtx->polyOpa.p++, G_CYC_1CYCLE);
gDPSetRenderMode(gfxCtx->polyOpa.p++, G_RM_AA_ZB_OPA_SURF, G_RM_AA_ZB_OPA_SURF2);
- gDPSetCombineLERP(gfxCtx->polyOpa.p++, 0, 0, 0, PRIMITIVE, 0, 0, 0, PRIMITIVE, 0, 0, 0, PRIMITIVE, 0, 0, 0,
- PRIMITIVE);
+ gDPSetCombineMode(gfxCtx->polyOpa.p++, G_CC_PRIMITIVE, G_CC_PRIMITIVE);
gDPSetPrimColor(gfxCtx->polyOpa.p++, 0, 0, 0xFF, 0xFF, 0x00, 0x00);
Graph_CloseDisps(dispRefs, gfxCtx, "../z_sample.c", 111);