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:
authorClément Foucault <foucault.clem@gmail.com>2020-08-11 02:58:23 +0300
committerClément Foucault <foucault.clem@gmail.com>2020-08-13 15:20:24 +0300
commitac60a67b3f6eacbcff5b5c4716fd5e3902511a29 (patch)
tree486054624ca8c881751b2569cc872b37fb0b8695 /source/blender/blenfont/intern/blf_font.c
parentefc97b3919ea4fd46b9d2e931ca3fea27e7ea31c (diff)
Cleanup: GPU: Remove Batch vao cache reset
This is done at drawtime automatically.
Diffstat (limited to 'source/blender/blenfont/intern/blf_font.c')
-rw-r--r--source/blender/blenfont/intern/blf_font.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source/blender/blenfont/intern/blf_font.c b/source/blender/blenfont/intern/blf_font.c
index ff31878a929..76829db755c 100644
--- a/source/blender/blenfont/intern/blf_font.c
+++ b/source/blender/blenfont/intern/blf_font.c
@@ -113,13 +113,6 @@ static void blf_batch_draw_exit(void)
GPU_BATCH_DISCARD_SAFE(g_batch.batch);
}
-void blf_batch_draw_vao_clear(void)
-{
- if (g_batch.batch) {
- GPU_batch_vao_cache_clear(g_batch.batch);
- }
-}
-
void blf_batch_draw_begin(FontBLF *font)
{
if (g_batch.batch == NULL) {