mirror of
https://github.com/brl/mutter.git
synced 2024-12-26 21:02:14 +00:00
texture-tower: Fix code style issues
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2199>
This commit is contained in:
parent
cd781758eb
commit
58f82d0624
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user