commit | c456eeb47add724147b8a28160ae0e7929e2a88d | [log] [tgz] |
---|---|---|
author | Alexei Podtelezhnikov <apodtele@gmail.com> | Thu Sep 22 15:09:17 2022 +0000 |
committer | Alexei Podtelezhnikov <apodtele@gmail.com> | Thu Sep 22 15:09:17 2022 +0000 |
tree | 481cb865f08513eb676b012bfffd6bdd91798fd0 | |
parent | 33ceac2afc3608be2d12b3dece071a91e34c3062 [diff] |
[base] Discard and recreate bitmaps for copying and converting. Reusing target bitmaps for copying and converting is permitted. It is, however, pointless to preserve their content before overwriting. Free- malloc might be faster than realloc. * src/base/ftbitmap.c (FT_Bitmap_Copy, FT_Bitmap_Convert): Free an old buffer and create a new one.