From b67c03cc75368f56a3d89fb1005ec11223dc5b3c Mon Sep 17 00:00:00 2001 From: TheLastRar Date: Fri, 2 May 2025 17:01:21 +0100 Subject: [PATCH] FSUI: Fix CenterImage() fill when using ImRect for fit --- pcsx2/ImGui/ImGuiFullscreen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/ImGui/ImGuiFullscreen.cpp b/pcsx2/ImGui/ImGuiFullscreen.cpp index aa78332ed2..2e7f51c954 100644 --- a/pcsx2/ImGui/ImGuiFullscreen.cpp +++ b/pcsx2/ImGui/ImGuiFullscreen.cpp @@ -671,7 +671,7 @@ ImRect ImGuiFullscreen::CenterImage(const ImVec2& fit_size, const ImVec2& image_ ImRect ImGuiFullscreen::CenterImage(const ImRect& fit_rect, const ImVec2& image_size, bool fill) { - ImRect ret(CenterImage(fit_rect.Max - fit_rect.Min, image_size)); + ImRect ret(CenterImage(fit_rect.Max - fit_rect.Min, image_size, fill)); ret.Translate(fit_rect.Min); return ret; }