mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 05:38:50 +00:00
Replace 'reinterpret_cast' with 'static_cast'
This commit is contained in:
parent
53ede795a2
commit
6d44afc7dd
26 changed files with 31 additions and 36 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue