From 1a337074175e51c705de0afd230264ff73e04b4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Sat, 7 Apr 2018 14:03:32 +0200 Subject: UI: Fix waveform widget text drawing. Flush the text cache so that we have proper scissor test and ordering. --- source/blender/blenfont/BLF_api.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/blenfont/BLF_api.h') diff --git a/source/blender/blenfont/BLF_api.h b/source/blender/blenfont/BLF_api.h index 3466f1665c6..668588435b4 100644 --- a/source/blender/blenfont/BLF_api.h +++ b/source/blender/blenfont/BLF_api.h @@ -98,6 +98,7 @@ void BLF_matrix(int fontid, const float m[16]); /* Batch drawcalls together as long as * the modelview matrix and the font remain unchanged. */ void BLF_batch_draw_begin(void); +void BLF_batch_draw_flush(void); void BLF_batch_draw_end(void); /* Draw the string using the default font, size and dpi. */ -- cgit v1.2.3