From 219c3585f456cbd9eb9245835923861fcddb6eaf Mon Sep 17 00:00:00 2001
From: Simon McVittie <[EMAIL REDACTED]>
Date: Mon, 24 Oct 2022 14:51:10 +0100
Subject: [PATCH] Fix missing format string argument in low-bit-depth
workaround
Signed-off-by: Simon McVittie <smcv@collabora.com>
---
src/SDL12_compat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/SDL12_compat.c b/src/SDL12_compat.c
index 612d190fa..eae326ca6 100644
--- a/src/SDL12_compat.c
+++ b/src/SDL12_compat.c
@@ -4994,7 +4994,7 @@ SDL_CreateRGBSurface(Uint32 flags12, int width, int height, int depth, Uint32 Rm
!!! FIXME: least one game function correctly. */
if (depth < 8) {
if (WantDebugLogging) {
- SDL20_Log("This app is creating an %d-bit SDL_Surface, but we are bumping it to 8-bits. If you see rendering issues, please report them!");
+ SDL20_Log("This app is creating an %d-bit SDL_Surface, but we are bumping it to 8-bits. If you see rendering issues, please report them!", depth);
}
depth = 8;
}