summaryrefslogtreecommitdiff
path: root/soh/src/code/z_sample.c
diff options
context:
space:
mode:
authorGarrett Cox <garrettjcox@gmail.com>2022-11-29 17:29:36 -0600
committerGitHub <noreply@github.com>2022-11-30 00:29:36 +0100
commit3cb9f93ff47fa1483de997d667c0f7b8318cd081 (patch)
tree754c27405935ec97fdbacadb342c4bdb939eeea1 /soh/src/code/z_sample.c
parentd7c35221421bf712b5ead56a360f81f624aca4bc (diff)
[docs] Pull upstream updates: SetupDL (#2048)
Diffstat (limited to 'soh/src/code/z_sample.c')
-rw-r--r--soh/src/code/z_sample.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/soh/src/code/z_sample.c b/soh/src/code/z_sample.c
index 0387d986b..ecd379443 100644
--- a/soh/src/code/z_sample.c
+++ b/soh/src/code/z_sample.c
@@ -16,7 +16,7 @@ void Sample_Draw(SampleContext* this) {
gSPSegment(POLY_OPA_DISP++, 0x00, NULL);
gSPSegment(POLY_OPA_DISP++, 0x01, this->staticSegment);
- func_80095248(gfxCtx, 0, 0, 0);
+ Gfx_SetupFrame(gfxCtx, 0, 0, 0);
view->flags = 1 | 2 | 4;
func_800AAA50(view, 15);
@@ -29,7 +29,7 @@ void Sample_Draw(SampleContext* this) {
}
POLY_OPA_DISP = Gfx_SetFog2(POLY_OPA_DISP, 255, 255, 255, 0, 0, 0);
- func_80093D18(gfxCtx);
+ Gfx_SetupDL_25Opa(gfxCtx);
gDPSetCycleType(POLY_OPA_DISP++, G_CYC_1CYCLE);
gDPSetRenderMode(POLY_OPA_DISP++, G_RM_AA_ZB_OPA_SURF, G_RM_AA_ZB_OPA_SURF2);