From 71c43e92257c671065125330f93ed4d03b2b8250 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 24 Aug 2019 07:33:15 +1000 Subject: Cleanup: unused args --- source/blender/draw/engines/gpencil/gpencil_draw_utils.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'source/blender/draw') diff --git a/source/blender/draw/engines/gpencil/gpencil_draw_utils.c b/source/blender/draw/engines/gpencil/gpencil_draw_utils.c index 1dd1fa87612..579cf8c0974 100644 --- a/source/blender/draw/engines/gpencil/gpencil_draw_utils.c +++ b/source/blender/draw/engines/gpencil/gpencil_draw_utils.c @@ -65,8 +65,7 @@ static void gpencil_calc_vertex(GPENCIL_StorageList *stl, tGPencilObjectCache *cache_ob, GpencilBatchCache *cache, - bGPdata *gpd, - int cfra_eval) + bGPdata *gpd) { if (!cache->is_dirty) { return; @@ -1797,7 +1796,7 @@ void gpencil_populate_multiedit(GPENCIL_e_data *e_data, const bool playing = stl->storage->is_playing; /* calc max size of VBOs */ - gpencil_calc_vertex(stl, cache_ob, cache, gpd, cfra_eval); + gpencil_calc_vertex(stl, cache_ob, cache, gpd); /* draw strokes */ for (bGPDlayer *gpl = gpd->layers.first; gpl; gpl = gpl->next) { @@ -1887,7 +1886,7 @@ void gpencil_populate_datablock(GPENCIL_e_data *e_data, } /* calc max size of VBOs */ - gpencil_calc_vertex(stl, cache_ob, cache, gpd, cfra_eval); + gpencil_calc_vertex(stl, cache_ob, cache, gpd); /* draw normal strokes */ for (bGPDlayer *gpl = gpd->layers.first; gpl; gpl = gpl->next) { -- cgit v1.2.3