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>2018-01-30 05:14:17 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-01-30 05:15:04 +0300
commit58c92f9f0d6c1b22ac90c5e7b242170e1471f01b (patch)
tree513b0881258e2602a0c2210c0f7be95bc7840e57 /source/blender/draw/engines/eevee/eevee_data.c
parent3e8c96ae46fdea3cfee66b72de7c01da7904b47c (diff)
Fix light probe callbacks
Even though this wasn't crashing here, the arg types were wrong.
Diffstat (limited to 'source/blender/draw/engines/eevee/eevee_data.c')
-rw-r--r--source/blender/draw/engines/eevee/eevee_data.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_data.c b/source/blender/draw/engines/eevee/eevee_data.c
index c6e5f645f10..449668d8590 100644
--- a/source/blender/draw/engines/eevee/eevee_data.c
+++ b/source/blender/draw/engines/eevee/eevee_data.c
@@ -143,8 +143,8 @@ EEVEE_LightProbeEngineData *EEVEE_lightprobe_data_ensure(Object *ob)
ob,
&draw_engine_eevee_type,
sizeof(EEVEE_LightProbeEngineData),
- &eevee_lightprobe_data_init,
- &eevee_lightprobe_data_free);
+ eevee_lightprobe_data_init,
+ eevee_lightprobe_data_free);
}
/* Lamp data. */