Fix formatting string bug in debug overlay

This commit is contained in:
Henrik Rydgård committed 2025-10-21 15:04:15 +02:00
1 parent 2bc2d9c6f9
commit 9467643bd4
1 file changed
+2 -2
+2 -2
View File
@@ -143,8 +143,8 @@ static void DrawFrameTiming(UIContext *ctx, const Bounds &bounds) {
"Presentation mode: %s Needs skip: %s\n"
"Actual presentation mode: %s",
Draw::PresentModeToString(g_frameTiming.PresentMode()),
g_frameTiming.FastForwardNeedsSkipFlip() ? "true" : "false"),
Draw::PresentModeToString(draw->GetCurrentPresentMode());
g_frameTiming.FastForwardNeedsSkipFlip() ? "true" : "false",
Draw::PresentModeToString(draw->GetCurrentPresentMode()));
ctx->Draw()->DrawTextRect(ubuntu24, statBuf, bounds.x + 10, bounds.y + 50, bounds.w - 20, bounds.h - 30, 0xFFFFFFFF, FLAG_DYNAMIC_ASCII);