Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-11-26 19:33:42 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-11-26 19:33:42 +0300
commitcf0820d6285c3a9379dd529ee50dcf39e2efa21c (patch)
tree08fb7672ce9f8e355ca2e99f6a52a14e3584f986 /source/blender/blenfont/BLF_api.h
parent782d7b312ff6799258fb318e2aa5bbd64dbd2a9d (diff)
change monospace font to be an extern, not good final design but better then loading the same font 3 times.
need to load twice still because render may use the font in a thread.
Diffstat (limited to 'source/blender/blenfont/BLF_api.h')
-rw-r--r--source/blender/blenfont/BLF_api.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenfont/BLF_api.h b/source/blender/blenfont/BLF_api.h
index 02834d3c905..f5e082a5d27 100644
--- a/source/blender/blenfont/BLF_api.h
+++ b/source/blender/blenfont/BLF_api.h
@@ -179,4 +179,8 @@ void BLF_dir_free(char **dirs, int count);
#define BLF_SHADOW (1<<2)
#define BLF_KERNING_DEFAULT (1<<3)
+// XXX, bad design
+extern int blf_mono_font;
+extern int blf_mono_font_render; // dont mess drawing with render threads.
+
#endif /* BLF_API_H */