1
0
mirror of https://github.com/ocornut/imgui.git synced 2024-11-28 01:20:55 +01:00

Fixed documentation example (#1847)

This commit is contained in:
Marc J. Schmidt 2018-05-30 10:28:27 +02:00 committed by omar
parent a2198bcf6b
commit 0903a12c2a

View File

@ -12,7 +12,7 @@ By [Vuhdo](https://github.com/Vuhdo) (Aleksei Skriabin). Improvements by @mikesa
```cpp ```cpp
// See ImGuiFreeType::RasterizationFlags // See ImGuiFreeType::RasterizationFlags
unsigned int flags = ImGuiFreeType::DisableHinting; unsigned int flags = ImGuiFreeType::NoHinting;
ImGuiFreeType::BuildFontAtlas(io.Fonts, flags); ImGuiFreeType::BuildFontAtlas(io.Fonts, flags);
io.Fonts->GetTexDataAsRGBA32(&pixels, &width, &height); io.Fonts->GetTexDataAsRGBA32(&pixels, &width, &height);
``` ```