Merge pull request #50891 from Vitika9/50852

Removed redundant assignment of `blur_pipeline`
This commit is contained in:
Hugo Locurcio 2021-07-26 21:43:38 +02:00 committed by GitHub
commit e6a544c169
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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++) {