summaryrefslogtreecommitdiff
path: root/src/code/z_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/code/z_debug.c')
-rw-r--r--src/code/z_debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code/z_debug.c b/src/code/z_debug.c
index 9581ec854..011a87d39 100644
--- a/src/code/z_debug.c
+++ b/src/code/z_debug.c
@@ -283,7 +283,7 @@ void Debug_DrawText(GraphicsContext* gfxCtx) {
GfxPrint_Init(&printer);
opaStart = POLY_OPA_DISP;
- gfx = Graph_GfxPlusOne(POLY_OPA_DISP);
+ gfx = Gfx_Open(POLY_OPA_DISP);
gSPDisplayList(OVERLAY_DISP++, gfx);
GfxPrint_Open(&printer, gfx);
@@ -299,7 +299,7 @@ void Debug_DrawText(GraphicsContext* gfxCtx) {
gfx = GfxPrint_Close(&printer);
gSPEndDisplayList(gfx++);
- Graph_BranchDlist(opaStart, gfx);
+ Gfx_Close(opaStart, gfx);
POLY_OPA_DISP = gfx;
if (1) {}