MCPcopy Create free account
hub / github.com/AshenvaleZX/ZXEngine / PushFont

Method PushFont

CPPScripts/External/ImGui/imgui.cpp:7879–7887  ·  view source on GitHub ↗

Use ImDrawList::_SetTextureID(), making our shared g.FontStack[] authorative against window-local ImDrawList. - Whereas ImDrawList::PushTextureID()/PopTextureID() is not to be used across Begin() calls. - Note that we don't propagate current texture id when e.g. Begin()-ing into a new window, we never really did... - Some code paths never really fully worked with multiple atlas textures. - The rig

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

GetDefaultFontFunction · 0.85
_SetTextureIDMethod · 0.80
push_backMethod · 0.45

Tested by

no test coverage detected