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/editors/interface/interface.c | |
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/editors/interface/interface.c')
-rw-r--r-- | source/blender/editors/interface/interface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c index 3fe0cdd5d4f..0050340d842 100644 --- a/source/blender/editors/interface/interface.c +++ b/source/blender/editors/interface/interface.c @@ -1426,7 +1426,7 @@ void UI_block_draw(const bContext *C, uiBlock *block) else if (block->panel) ui_draw_aligned_panel(&style, block, &rect, UI_panel_category_is_visible(ar)); - BLF_batching_start(); + BLF_batch_draw_begin(); /* widgets */ for (but = block->buttons.first; but; but = but->next) { @@ -1440,7 +1440,7 @@ void UI_block_draw(const bContext *C, uiBlock *block) } } - BLF_batching_end(); + BLF_batch_draw_end(); /* restore matrix */ gpuPopProjectionMatrix(); |