diff options
author | Mike Erwin <significant.bit@gmail.com> | 2016-10-16 02:40:41 +0300 |
---|---|---|
committer | Mike Erwin <significant.bit@gmail.com> | 2016-10-16 02:40:41 +0300 |
commit | a8dc3f4596ef5aed70ceeaa7e3029cb782a0f0ef (patch) | |
tree | 8a25f8bb2cb975acc67704aed72a1c32724eea06 /source/blender/blenfont/intern/blf.c | |
parent | 878938f203b4a404ad238d63ff1636a6c6067d72 (diff) |
BLF: make blurry text an optional (disabled) feature
While trying to simplify text drawing, noticed no Blender code uses the blur feature. Hopefully scripts don't use it!
Diffstat (limited to 'source/blender/blenfont/intern/blf.c')
-rw-r--r-- | source/blender/blenfont/intern/blf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenfont/intern/blf.c b/source/blender/blenfont/intern/blf.c index 7ddc540044a..f42057a8475 100644 --- a/source/blender/blenfont/intern/blf.c +++ b/source/blender/blenfont/intern/blf.c @@ -455,6 +455,7 @@ void BLF_size(int fontid, int size, int dpi) } } +#if BLF_BLUR_ENABLE void BLF_blur(int fontid, int size) { FontBLF *font = blf_get(fontid); @@ -463,6 +464,7 @@ void BLF_blur(int fontid, int size) font->blur = size; } } +#endif void BLF_draw_default(float x, float y, float z, const char *str, size_t len) { |