Textures: extract ImTextureDataQueueUpload() out of ImFontAtlasTextureBlockQueueUpload() (#8465)

Not atlas specific, in support of texture system.
This commit is contained in:
ocornut
2026-05-06 16:17:17 +02:00
parent 691b89baae
commit 976c5c0f3a
3 changed files with 10 additions and 5 deletions

View File

@@ -9013,7 +9013,7 @@ ImFont* ImGui::GetDefaultFont()
return g.IO.FontDefault ? g.IO.FontDefault : atlas->Fonts[0];
}
// EXPERIMENTAL: DO NOT USE YET.
// EXPERIMENTAL. Use ImTextureDataQueueUpload() to queue updates.
void ImGui::RegisterUserTexture(ImTextureData* tex)
{
ImGuiContext& g = *GImGui;