mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Remove a redundant MAX
comparison within a loop in compute_image_metrics
This commit is contained in:
parent
29b3d9e9e5
commit
75d65195ae
1 changed files with 1 additions and 1 deletions
|
@ -4114,7 +4114,7 @@ Dictionary Image::compute_image_metrics(const Ref<Image> p_compared_image, bool
|
|||
continue;
|
||||
}
|
||||
|
||||
image_metric_max = MAX(image_metric_max, i);
|
||||
image_metric_max = i;
|
||||
|
||||
double x = i * hist[i];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue