texture-tower: Fix code style issues

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2199>
This commit is contained in:
Robert Mader 2022-01-03 14:00:43 +01:00
parent cd781758eb
commit 58f82d0624

View File

@ -145,7 +145,7 @@ meta_texture_tower_set_base_texture (MetaTextureTower *tower,
height = cogl_texture_get_height (tower->textures[0]);
tower->n_levels = 1 + MAX ((int)(M_LOG2E * log (width)), (int)(M_LOG2E * log (height)));
tower->n_levels = MIN(tower->n_levels, MAX_TEXTURE_LEVELS);
tower->n_levels = MIN (tower->n_levels, MAX_TEXTURE_LEVELS);
meta_texture_tower_update_area (tower, 0, 0, width, height);
}