diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-09-21 19:14:47 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-09-21 19:14:47 +0400 |
commit | a12e06dc3591bc1e95372e08a08cf85fb53960e1 (patch) | |
tree | 7983f6602f1dbccd55717dea428683e0e52bb48d /source/blender/blenfont/BLF_api.h | |
parent | 2dbfa5a3e4b54d59a6e71b01f8f4cebf1c220af7 (diff) |
Blenfont: add BLF_unload function to unload/reload fonts.
Diffstat (limited to 'source/blender/blenfont/BLF_api.h')
-rw-r--r-- | source/blender/blenfont/BLF_api.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenfont/BLF_api.h b/source/blender/blenfont/BLF_api.h index 1bb61d02b78..038f0c433c7 100644 --- a/source/blender/blenfont/BLF_api.h +++ b/source/blender/blenfont/BLF_api.h @@ -47,6 +47,8 @@ int BLF_load_mem(const char *name, unsigned char *mem, int mem_size); int BLF_load_unique(const char *name); int BLF_load_mem_unique(const char *name, unsigned char *mem, int mem_size); +void BLF_unload(const char *name); + /* Attach a file with metrics information from memory. */ void BLF_metrics_attach(int fontid, unsigned char *mem, int mem_size); |