summaryrefslogtreecommitdiff
path: root/servers
diff options
context:
space:
mode:
authorvitika9 <vitika.program@gmail.com>2021-07-26 19:39:40 +0530
committervitika9 <vitika.program@gmail.com>2021-07-26 20:12:16 +0530
commit1c638669963c32e162e2aaf4b5009665ea28b5e5 (patch)
tree263b289d1a966eac9ba34f1b718c5df5d9630a38 /servers
parent04fd284a9b5f9d63922c94be061ad7d9ec2baa90 (diff)
Fixed coding style
Diffstat (limited to 'servers')
-rw-r--r--servers/rendering/renderer_rd/effects_rd.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/servers/rendering/renderer_rd/effects_rd.cpp b/servers/rendering/renderer_rd/effects_rd.cpp
index 5dab066262..47bb756d55 100644
--- a/servers/rendering/renderer_rd/effects_rd.cpp
+++ b/servers/rendering/renderer_rd/effects_rd.cpp
@@ -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++) {