summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Matsumura <gmmatsumura01@bvsd.org>2019-10-06 17:43:24 +0000
committerMatt Turner <mattst88@gmail.com>2021-04-26 16:29:15 +0000
commit7c0dc184bb6f8d17ebc5bd67cee5a637d3a82ac4 (patch)
treede671a2ea18dfea75a88c8627d77fda1cc9bf538
parentfbe3995a27bdd81701dbb3b5e26556a00cfdf1d3 (diff)
Fix debugging traces
Without this change, the compiler emits an error about pPict being undefined when fallback messages are turned on.
-rw-r--r--src/atimach64render.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/atimach64render.c b/src/atimach64render.c
index 39d0c5b..08c7cc9 100644
--- a/src/atimach64render.c
+++ b/src/atimach64render.c
@@ -701,8 +701,8 @@ Mach64PrepareComposite
break;
}
if (i == MACH64_NR_TEX_FORMATS)
- MACH64_FALLBACK(("Unsupported picture format 0x%x\n",
- (int)pPict->format));
+ MACH64_FALLBACK(("Unsupported dst format 0x%x\n",
+ (int)pDstPicture->format));
dstFormat = Mach64TexFormats[i].dstFormat;
m3d->dp_pix_width = SetBits(dstFormat, DP_DST_PIX_WIDTH) |