diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-03-31 14:09:03 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-03-31 14:11:38 +0300 |
commit | 0ef38879b3adc200f65b24ab11e1134c6eeec161 (patch) | |
tree | bfa8220d514ccd55f332451039687de29d08fc31 /source/blender/blenfont/BLF_api.h | |
parent | 8b74741b9e1b8ac2cead829a3ca2621bb5950865 (diff) |
Cleanup: BLF batch drawing naming
- batching -> batch_draw.
- ct & size -> len.
- start/end -> begin/end (follow GL convention).
Diffstat (limited to 'source/blender/blenfont/BLF_api.h')
-rw-r--r-- | source/blender/blenfont/BLF_api.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenfont/BLF_api.h b/source/blender/blenfont/BLF_api.h index f9841c83163..3466f1665c6 100644 --- a/source/blender/blenfont/BLF_api.h +++ b/source/blender/blenfont/BLF_api.h @@ -97,8 +97,8 @@ 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_batching_start(void); -void BLF_batching_end(void); +void BLF_batch_draw_begin(void); +void BLF_batch_draw_end(void); /* Draw the string using the default font, size and dpi. */ void BLF_draw_default(float x, float y, float z, const char *str, size_t len) ATTR_NONNULL(); |