diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-12-17 15:43:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-17 15:43:11 +0100 |
commit | cacab4ba6204aa36ddbc85d55705ab82b45e7930 (patch) | |
tree | 9a498561f69431b1656106198323eb9a5cd38a1c /drivers/gles3/rasterizer_scene_gles3.cpp | |
parent | 8821f9b750a59ca3ec7465ce54a472eb541d7181 (diff) | |
parent | 8f25a2dc11b73cd440adcd341e4180f6f93877aa (diff) |
Merge pull request #14769 from akien-mga/if-0-cleanup
Cleanup some #if 0'd code
Diffstat (limited to 'drivers/gles3/rasterizer_scene_gles3.cpp')
-rw-r--r-- | drivers/gles3/rasterizer_scene_gles3.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gles3/rasterizer_scene_gles3.cpp b/drivers/gles3/rasterizer_scene_gles3.cpp index 29ab531177..b777f9343a 100644 --- a/drivers/gles3/rasterizer_scene_gles3.cpp +++ b/drivers/gles3/rasterizer_scene_gles3.cpp @@ -2786,12 +2786,6 @@ void RasterizerSceneGLES3::_setup_lights(RID *p_light_cull_result, int p_light_c copymem(&state.omni_array_tmp[li->light_index * state.ubo_light_size], &ubo_data, state.ubo_light_size); state.omni_light_count++; -#if 0 - if (li->light_ptr->shadow_enabled) { - li->shadow_projection[0] = Transform(camera_transform_inverse * li->transform).inverse(); - lights_use_shadow=true; - } -#endif } break; case VS::LIGHT_SPOT: { |