diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-10-11 01:26:53 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-10-11 01:27:29 +0300 |
commit | 0f147bf6d645919e0cc68695923ecec5b2bc8541 (patch) | |
tree | d2fbeca0aa9611bf1b9570e44c167d34323ee0d0 /source/blender/imbuf/intern/allocimbuf.c | |
parent | 66738d4aa017203caff067c41e25e28d62c3fd0b (diff) |
Remove image based bitmap font support
Was used in the game engine and is no longer used.
Diffstat (limited to 'source/blender/imbuf/intern/allocimbuf.c')
-rw-r--r-- | source/blender/imbuf/intern/allocimbuf.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/imbuf/intern/allocimbuf.c b/source/blender/imbuf/intern/allocimbuf.c index 58554693aeb..f7005d7ee89 100644 --- a/source/blender/imbuf/intern/allocimbuf.c +++ b/source/blender/imbuf/intern/allocimbuf.c @@ -155,13 +155,6 @@ void imb_freetilesImBuf(ImBuf *ibuf) ibuf->mall &= ~IB_tiles; } -static void imb_free_bitmap_font(ImBuf *ibuf) -{ - if (ibuf->userdata && (ibuf->userflags & IB_BITMAPFONT)) { - MEM_freeN(ibuf->userdata); - } -} - static void freeencodedbufferImBuf(ImBuf *ibuf) { if (ibuf == NULL) return; @@ -215,7 +208,6 @@ void IMB_freeImBuf(ImBuf *ibuf) imb_freerectImBuf(ibuf); imb_freerectfloatImBuf(ibuf); imb_freetilesImBuf(ibuf); - imb_free_bitmap_font(ibuf); IMB_freezbufImBuf(ibuf); IMB_freezbuffloatImBuf(ibuf); freeencodedbufferImBuf(ibuf); |