From 6d44afc7dd129603401ce1a7ee4a059be1fbdda4 Mon Sep 17 00:00:00 2001 From: "Dr. Dystopia" Date: Wed, 24 Jul 2024 06:24:51 +0200 Subject: Replace 'reinterpret_cast' with 'static_cast' --- Source/Core/VideoCommon/OnScreenUI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/VideoCommon/OnScreenUI.cpp') diff --git a/Source/Core/VideoCommon/OnScreenUI.cpp b/Source/Core/VideoCommon/OnScreenUI.cpp index c755fcbfe7..affc07bf79 100644 --- a/Source/Core/VideoCommon/OnScreenUI.cpp +++ b/Source/Core/VideoCommon/OnScreenUI.cpp @@ -251,7 +251,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, reinterpret_cast(cmd.TextureId)); + g_gfx->SetTexture(0, static_cast(cmd.TextureId)); g_gfx->DrawIndexed(base_index, cmd.ElemCount, base_vertex); base_index += cmd.ElemCount; } -- cgit v1.2.3