mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-14 02:22:46 +00:00
Style: Apply clang-tidy's readability-braces-around-statements
This commit is contained in:
@@ -3228,8 +3228,9 @@ Viewport::ScreenSpaceAA Viewport::get_screen_space_aa() const {
|
||||
}
|
||||
|
||||
void Viewport::set_use_debanding(bool p_use_debanding) {
|
||||
if (use_debanding == p_use_debanding)
|
||||
if (use_debanding == p_use_debanding) {
|
||||
return;
|
||||
}
|
||||
use_debanding = p_use_debanding;
|
||||
RS::get_singleton()->viewport_set_use_debanding(viewport, p_use_debanding);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user