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
path: root/source
diff options
context:
space:
mode:
authorAntonioya <blendergit@gmail.com>2019-03-05 14:10:34 +0300
committerAntonioya <blendergit@gmail.com>2019-03-05 14:10:34 +0300
commit0ae6747300a74daf14482f9ca89caffa9e503454 (patch)
tree34cd1d574bfc3ab480082340f16894a768a6a709 /source
parent9f7f4c1a6a838329ce6d11974a9d5595595b6032 (diff)
GPencil: Cleanup compiler warnings
Diffstat (limited to 'source')
-rw-r--r--source/blender/draw/engines/gpencil/gpencil_draw_utils.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/draw/engines/gpencil/gpencil_draw_utils.c b/source/blender/draw/engines/gpencil/gpencil_draw_utils.c
index fb84cd5b612..d8ebae744e2 100644
--- a/source/blender/draw/engines/gpencil/gpencil_draw_utils.c
+++ b/source/blender/draw/engines/gpencil/gpencil_draw_utils.c
@@ -1372,12 +1372,14 @@ void DRW_gpencil_populate_buffer_strokes(GPENCIL_e_data *e_data, void *vedata, T
if ((gp_style) && (gp_style->mode == GP_STYLE_MODE_LINE)) {
stl->g_data->shgrps_drawing_stroke = DRW_gpencil_shgroup_stroke_create(
e_data, vedata, psl->drawing_pass, e_data->gpencil_stroke_sh, NULL,
- gpd, NULL, NULL, gp_style, -1, false, 1.0f, stl->storage->shade_render);
+ gpd, NULL, NULL, gp_style, -1,
+ false, 1.0f, (const int *)stl->storage->shade_render);
}
else {
stl->g_data->shgrps_drawing_stroke = DRW_gpencil_shgroup_point_create(
e_data, vedata, psl->drawing_pass, e_data->gpencil_point_sh, NULL,
- gpd, NULL, gp_style, -1, false, 1.0f, stl->storage->shade_render);
+ gpd, NULL, gp_style, -1,
+ false, 1.0f, (const int *)stl->storage->shade_render);
}
/* clean previous version of the batch */