You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Merge pull request #50891 from Vitika9/50852
Removed redundant assignment of `blur_pipeline`
This commit is contained in:
@@ -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 (p_settings.quality > RS::ENV_SSAO_QUALITY_VERY_LOW) {
|
||||||
if (pass < blur_passes - 2) {
|
if (pass < blur_passes - 2) {
|
||||||
blur_pipeline = SSAO_BLUR_PASS_WIDE;
|
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++) {
|
for (int i = 0; i < 4; i++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user