diff options
author | Jacques Lucke <jacques@blender.org> | 2022-09-23 15:45:25 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2022-09-23 15:45:25 +0300 |
commit | 998fc4f8f60e58acd439037f68b545c714cc1ec2 (patch) | |
tree | 93ad3105e364046f2d820b43b90f17c5a51ac4e6 /source/blender/draw/engines | |
parent | f2b5fd0a0e83b691361d6da1a4504fe61f4e8bbf (diff) |
Cleanup: fix compiler errors
Diffstat (limited to 'source/blender/draw/engines')
-rw-r--r-- | source/blender/draw/engines/eevee/eevee_lightcache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_lightcache.c b/source/blender/draw/engines/eevee/eevee_lightcache.c index 2bf1942ad88..9bf0cce2af2 100644 --- a/source/blender/draw/engines/eevee/eevee_lightcache.c +++ b/source/blender/draw/engines/eevee/eevee_lightcache.c @@ -639,7 +639,7 @@ static void eevee_lightbake_count_probes(EEVEE_LightBake *lbake) /* At least one of each for the world */ lbake->grid_len = lbake->cube_len = lbake->total_irr_samples = 1; - DEGObjectIterSettings deg_iter_settings = {}; + DEGObjectIterSettings deg_iter_settings = {0}; deg_iter_settings.depsgraph = depsgraph; deg_iter_settings.flags = DEG_OBJECT_ITER_FOR_RENDER_ENGINE_FLAGS; DEG_OBJECT_ITER_BEGIN (°_iter_settings, ob) { @@ -1285,7 +1285,7 @@ static void eevee_lightbake_gather_probes(EEVEE_LightBake *lbake) /* Convert all lightprobes to tight UBO data from all lightprobes in the scene. * This allows a large number of probe to be precomputed (even dupli ones). */ - DEGObjectIterSettings deg_iter_settings = {}; + DEGObjectIterSettings deg_iter_settings = {0}; deg_iter_settings.depsgraph = depsgraph; deg_iter_settings.flags = DEG_OBJECT_ITER_FOR_RENDER_ENGINE_FLAGS; DEG_OBJECT_ITER_BEGIN (°_iter_settings, ob) { |