mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-09 23:54:20 +00:00
DrawList, Fonts: fixed PushFont()/AddImage() not restoring correct atlas texture id when using multiple atlas (#8694)
This also needs 24f7328.
This commit is contained in:
parent
24f7328e5f
commit
fe048efeab
2 changed files with 4 additions and 0 deletions
|
|
@ -695,6 +695,7 @@ void ImDrawList::_SetTexture(ImTextureRef tex_ref)
|
|||
if (_CmdHeader.TexRef == tex_ref)
|
||||
return;
|
||||
_CmdHeader.TexRef = tex_ref;
|
||||
_TextureStack.back() = tex_ref;
|
||||
_OnChangedTexture();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue