1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-11 00:04:24 +00:00

Docs: fixed unneeded usage of Build(). (#8883)

This commit is contained in:
omar 2025-08-13 15:17:53 +02:00 committed by GitHub
parent 02f654cbce
commit 43e3ac0dc6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -150,7 +150,6 @@ ImFontConfig config;
config.MergeMode = true;
io.Fonts->AddFontFromFileTTF("DroidSans.ttf", 0.0f, &config); // Merge into first font to add e.g. Asian characters
io.Fonts->AddFontFromFileTTF("fontawesome-webfont.ttf", 0.0f, &config); // Merge into first font to add Icons
io.Fonts->Build();
```
:rewind: **Before 1.92, or without an up to date backend:**
```cpp