mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-09 23:54:20 +00:00
Fonts: fixed handling of ImFontConfig::FontDataOwnedByAtlas = false which did erroneously make a copy of the font data. (#9086)
Amend 815168c7e
+ Added explicit casts for intent/clarity when passing to stb_truetype/freetype.
This commit is contained in:
parent
5f82275ba1
commit
98636f4a23
3 changed files with 8 additions and 9 deletions
|
|
@ -43,6 +43,11 @@ Breaking Changes:
|
|||
|
||||
Other Changes:
|
||||
|
||||
- Fonts: fixed handling of `ImFontConfig::FontDataOwnedByAtlas = false` which
|
||||
did erroneously make a copy of the font data, essentially defeating the purpose
|
||||
of this flag and wasting memory.
|
||||
Undetected since July 2015 and now spotted by @TellowKrinkle, this is perhaps
|
||||
the oldest bug in Dear ImGui history (albeit for a rarely used feature)! (#9086)
|
||||
- Scrollbar: fixed a codepath leading to a divide-by-zero (which would not be
|
||||
noticeable by user but detected by sanitizers). (#9089) [@judicaelclair]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue