summaryrefslogtreecommitdiff
path: root/src/code/z_debug_mode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/code/z_debug_mode.c')
-rw-r--r--src/code/z_debug_mode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_debug_mode.c b/src/code/z_debug_mode.c
index a1b464463..a40bd29bd 100644
--- a/src/code/z_debug_mode.c
+++ b/src/code/z_debug_mode.c
@@ -128,7 +128,7 @@ void Debug_DrawText(GraphicsContext* gfxCtx) {
Gfx* gfxHead;
GfxPrint printer;
- if (THGA_GetSize(&gfxCtx->polyOpa) >= 0x2800) {
+ if (THGA_GetRemaining(&gfxCtx->polyOpa) >= 0x2800) {
GfxPrint_Init(&printer);
OPEN_DISPS(gfxCtx);