diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2018-06-01 13:00:33 +0300 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2018-06-01 13:01:31 +0300 |
commit | c771bbc27e531327e669fdcdd6edcdee8dc0bb13 (patch) | |
tree | 69e96fed07472589049abed47b42723e4bc9a420 /source/blender | |
parent | 01c75c3765eb305b1a99b794c1d40ad224b071c6 (diff) |
Code cleanup: Compiler warning
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/draw/engines/workbench/workbench_data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/workbench/workbench_data.c b/source/blender/draw/engines/workbench/workbench_data.c index 3e369c4f429..6c647ba9f49 100644 --- a/source/blender/draw/engines/workbench/workbench_data.c +++ b/source/blender/draw/engines/workbench/workbench_data.c @@ -77,7 +77,7 @@ void workbench_private_data_get_light_direction(WORKBENCH_PrivateData *wpd, floa { SolidLight *sl = &U.light[index]; if (sl->flag) { - WORKBENCH_UBO_Light *light = &wd->lights[light_index++]; + light = &wd->lights[light_index++]; copy_v4_v4(light->light_direction_vs, sl->vec); negate_v3(light->light_direction_vs); copy_v4_v4(light->specular_color, sl->spec); |