summaryrefslogtreecommitdiff
path: root/src/code/z_debug.c
diff options
context:
space:
mode:
authorDerek Hensley <hensley.derek58@gmail.com>2024-01-31 16:07:12 -0800
committerGitHub <noreply@github.com>2024-01-31 19:07:12 -0500
commit06379c310941c031451c87c09d32cc7a8860e7fe (patch)
tree99abb62045709a4e095606299425ae241593b0e2 /src/code/z_debug.c
parenta0d31dba680fdddb354dc8aae6ae0efe1663ef3f (diff)
Gamealloc, Graph, and Graphalloc retail OK (#1675)
* Gamealloc OK * Graph + Graphalloc OK * PR review * gfxalloc * new lines * Remove imposter
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) {}