diff options
Diffstat (limited to 'source/blender/blenfont/intern/blf.c')
-rw-r--r-- | source/blender/blenfont/intern/blf.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/blenfont/intern/blf.c b/source/blender/blenfont/intern/blf.c index b94c6e35823..fafee125264 100644 --- a/source/blender/blenfont/intern/blf.c +++ b/source/blender/blenfont/intern/blf.c @@ -548,6 +548,13 @@ void BLF_batch_draw_begin(void) g_batch.enabled = true; } +void BLF_batch_draw_flush(void) +{ + if (g_batch.enabled) { + blf_batch_draw(); + } +} + void BLF_batch_draw_end(void) { BLI_assert(g_batch.enabled == true); |