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>2019-08-24 00:33:15 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-08-24 00:34:43 +0300
commit71c43e92257c671065125330f93ed4d03b2b8250 (patch)
tree60c1eaa57f0a54d183ed1759b73c9b42ff464438 /source/blender/draw
parente270b6f34c57fb4d3716761e4c83c049b11a85d6 (diff)
Cleanup: unused args
Diffstat (limited to 'source/blender/draw')
-rw-r--r--source/blender/draw/engines/gpencil/gpencil_draw_utils.c7
1 files changed, 3 insertions, 4 deletions
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) {