diff options
| author | Dr. Dystopia <jonis9898@hotmail.com> | 2024-07-24 06:24:51 +0200 |
|---|---|---|
| committer | Dr. Dystopia <jonis9898@hotmail.com> | 2024-11-08 07:26:47 +0100 |
| commit | 6d44afc7dd129603401ce1a7ee4a059be1fbdda4 (patch) | |
| tree | 40118d5b05c1b88e035877eb0b4824fb49dcfe1b /Source/Core/VideoCommon/OnScreenUI.cpp | |
| parent | 53ede795a2a7406872f0f5c872c7f67bd22f65e4 (diff) | |
Replace 'reinterpret_cast' with 'static_cast'
Diffstat (limited to 'Source/Core/VideoCommon/OnScreenUI.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/OnScreenUI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<int>(cmd.ClipRect.x), static_cast<int>(cmd.ClipRect.y), static_cast<int>(cmd.ClipRect.z), static_cast<int>(cmd.ClipRect.w)), g_gfx->GetCurrentFramebuffer())); - g_gfx->SetTexture(0, reinterpret_cast<const AbstractTexture*>(cmd.TextureId)); + g_gfx->SetTexture(0, static_cast<const AbstractTexture*>(cmd.TextureId)); g_gfx->DrawIndexed(base_index, cmd.ElemCount, base_vertex); base_index += cmd.ElemCount; } |
