Skip to content

Commit

Permalink
Merge pull request #50891 from Vitika9/50852
Browse files Browse the repository at this point in the history
Removed redundant assignment of `blur_pipeline`
  • Loading branch information
Calinou authored Jul 26, 2021
2 parents caf7cbd + 1c63866 commit e6a544c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion servers/rendering/renderer_rd/effects_rd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1351,8 +1351,9 @@ void EffectsRD::generate_ssao(RID p_depth_buffer, RID p_normal_buffer, RID p_dep
if (p_settings.quality > RS::ENV_SSAO_QUALITY_VERY_LOW) {
if (pass < blur_passes - 2) {
blur_pipeline = SSAO_BLUR_PASS_WIDE;
} else {
blur_pipeline = SSAO_BLUR_PASS_SMART;
}
blur_pipeline = SSAO_BLUR_PASS_SMART;
}

for (int i = 0; i < 4; i++) {
Expand Down

0 comments on commit e6a544c

Please sign in to comment.