Update code to work with new version of ImGui.

UpdateImGuiTexture now handles creating font textures and modifying them.
This commit is contained in:
TryTwo
2025-08-12 02:00:44 -07:00
parent 7315acb981
commit affc22f17d
4 changed files with 117 additions and 29 deletions

View File

@ -20,6 +20,11 @@ AbstractTexture::AbstractTexture(const TextureConfig& c) : m_config(c)
{
}
AbstractTexture::operator ImTextureRef() const
{
return ImTextureRef(reinterpret_cast<AbstractTexture::imgui_texture_id>(this));
}
void AbstractTexture::FinishedRendering()
{
}