MCPcopy Create free account
hub / github.com/aap/librw / SetCurrentFont

Method SetCurrentFont

skeleton/imgui/imgui.cpp:8826–8846  ·  view source on GitHub ↗

Use ImDrawList::_SetTexture(), making our shared g.FontStack[] authoritative against window-local ImDrawList. - Whereas ImDrawList::PushTexture()/PopTexture() 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 right-i

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

IsLoadedMethod · 0.80
_SetTextureMethod · 0.80

Tested by

no test coverage detected