Selaa lähdekoodia

Fixed documentation example (#1847)

Marc J. Schmidt 7 vuotta sitten
vanhempi
commit
0903a12c2a
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      misc/freetype/README.md

+ 1 - 1
misc/freetype/README.md

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