From f2d19187146e535bda0f7e0220771c6a039130a0 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Sat, 15 Mar 2025 17:23:39 +0100 Subject: [PATCH] Fix broken merge of PR #13181 This undoes one of the changes of PR #13181. I'm guessing the relevant code changed between when the PR was last pushed to and when it was merged. --- Source/Core/VideoCommon/OnScreenUI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/VideoCommon/OnScreenUI.cpp b/Source/Core/VideoCommon/OnScreenUI.cpp index 868ca3c079..d1c15f7f80 100644 --- a/Source/Core/VideoCommon/OnScreenUI.cpp +++ b/Source/Core/VideoCommon/OnScreenUI.cpp @@ -252,7 +252,7 @@ void OnScreenUI::DrawImGui() static_cast(cmd.ClipRect.x), static_cast(cmd.ClipRect.y), static_cast(cmd.ClipRect.z), static_cast(cmd.ClipRect.w)), g_gfx->GetCurrentFramebuffer())); - g_gfx->SetTexture(0, static_cast(cmd.TextureId)); + g_gfx->SetTexture(0, reinterpret_cast(cmd.TextureId)); g_gfx->DrawIndexed(base_index, cmd.ElemCount, base_vertex); base_index += cmd.ElemCount; }