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.
This commit is contained in:
2010-11-26 16:33:42 +00:00
parent 782d7b312f
commit cf0820d628
6 changed files with 37 additions and 37 deletions

View File

@@ -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 */