Hook up the function arguments to ImGuiContext that allow us to share texture atlases, and make the textureById cache global, so we share those font textures across contexts.
TODO: do we want separate shared/context-dependent texture lookups? This change forces us to share all textures (is there a downside to that?)
Hook up the function arguments to ImGuiContext that allow us to share texture atlases, and make the textureById cache global, so we share those font textures across contexts.
TODO: do we want separate shared/context-dependent texture lookups? This change forces us to share all textures (is there a downside to that?)