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>2018-03-31 14:09:03 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-03-31 14:11:38 +0300
commit0ef38879b3adc200f65b24ab11e1134c6eeec161 (patch)
treebfa8220d514ccd55f332451039687de29d08fc31 /source/blender/blenfont/intern/blf.c
parent8b74741b9e1b8ac2cead829a3ca2621bb5950865 (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/intern/blf.c')
-rw-r--r--source/blender/blenfont/intern/blf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenfont/intern/blf.c b/source/blender/blenfont/intern/blf.c
index 2407abdaf28..64a9f1739fd 100644
--- a/source/blender/blenfont/intern/blf.c
+++ b/source/blender/blenfont/intern/blf.c
@@ -134,7 +134,7 @@ void BLF_exit(void)
void BLF_batch_reset(void)
{
- blf_batching_vao_clear();
+ blf_batch_draw_vao_clear();
}
void BLF_cache_clear(void)
@@ -540,16 +540,16 @@ void BLF_color3f(int fontid, float r, float g, float b)
BLF_color4fv(fontid, rgba);
}
-void BLF_batching_start(void)
+void BLF_batch_draw_begin(void)
{
BLI_assert(g_batch.enabled == false);
g_batch.enabled = true;
}
-void BLF_batching_end(void)
+void BLF_batch_draw_end(void)
{
BLI_assert(g_batch.enabled == true);
- blf_batching_draw(); /* Draw remaining glyphs */
+ blf_batch_draw(); /* Draw remaining glyphs */
g_batch.enabled = false;
}