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.
This commit is contained in:
parent
e637a05707
commit
f2d1918714
|
@ -252,7 +252,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, static_cast<const AbstractTexture*>(cmd.TextureId));
|
||||
g_gfx->SetTexture(0, reinterpret_cast<const AbstractTexture*>(cmd.TextureId));
|
||||
g_gfx->DrawIndexed(base_index, cmd.ElemCount, base_vertex);
|
||||
base_index += cmd.ElemCount;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue