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-06-03 16:58:10 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-06-03 16:58:10 +0300
commitd5f6e573ed43521e497c83eff02f828aea1a35c9 (patch)
tree48bbbdb3a857b0bad01b57a9122c0f02946e4a6f /source/blender/draw/engines/eevee/eevee_lights.c
parent6dca5ff41f9baa6fb27b862e270f6e27d7f16541 (diff)
Cleanup: use const arguments
Diffstat (limited to 'source/blender/draw/engines/eevee/eevee_lights.c')
-rw-r--r--source/blender/draw/engines/eevee/eevee_lights.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_lights.c b/source/blender/draw/engines/eevee/eevee_lights.c
index 24d35e2bd45..0c2512904f9 100644
--- a/source/blender/draw/engines/eevee/eevee_lights.c
+++ b/source/blender/draw/engines/eevee/eevee_lights.c
@@ -461,7 +461,7 @@ void EEVEE_lights_cache_shcaster_material_add(EEVEE_ViewLayerData *sldata,
struct GPUMaterial *gpumat,
struct GPUBatch *geom,
struct Object *ob,
- float *alpha_threshold)
+ const float *alpha_threshold)
{
/* TODO / PERF : reuse the same shading group for objects with the same material */
DRWShadingGroup *grp = DRW_shgroup_material_create(gpumat, psl->shadow_pass);