Remove unused function output_max_scale()

This commit is contained in:
Johan Malm 2025-09-25 19:27:01 +01:00 committed by John Lindgren
parent 0bf2678f9d
commit 139a5f0383
2 changed files with 0 additions and 21 deletions

View file

@ -1142,17 +1142,3 @@ output_enable_adaptive_sync(struct output *output, bool enabled)
enabled ? "en" : "dis", output->wlr_output->name);
}
}
float
output_max_scale(struct server *server)
{
/* Never return less than 1, in case outputs are disabled */
float scale = 1;
struct output *output;
wl_list_for_each(output, &server->outputs, link) {
if (output_is_usable(output)) {
scale = MAX(scale, output->wlr_output->scale);
}
}
return scale;
}