diff options
author | Hans Goudey <h.goudey@me.com> | 2022-08-05 01:20:10 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-08-05 01:20:10 +0300 |
commit | 5b8143287b607e52a65082fd6a678d0e54f50826 (patch) | |
tree | 11763a78cd8d98a24663a805a56495ac543d682e /source/blender/blenfont | |
parent | 5b8c07dc50e0589ba77ae1589e5950fd161a5631 (diff) |
Fix: Build error after recent commit
A second try after 8b467313965ac5ea.
Diffstat (limited to 'source/blender/blenfont')
-rw-r--r-- | source/blender/blenfont/intern/blf_font.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenfont/intern/blf_font.c b/source/blender/blenfont/intern/blf_font.c index 07b66d0728e..17145bdbe99 100644 --- a/source/blender/blenfont/intern/blf_font.c +++ b/source/blender/blenfont/intern/blf_font.c @@ -1526,7 +1526,7 @@ bool blf_font_size(FontBLF *font, float size, unsigned int dpi) } /* FreeType uses fixed-point integers in 64ths. */ - FT_UInt ft_size = lroundf(size * 64.0f); + FT_UInt ft_size = round_fl_to_uint(size * 64.0f); /* Adjust our new size to be on even 64ths. */ size = (float)ft_size / 64.0f; |