From 90556d83824f89cab77174e476693c2f396be74f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois?= Date: Sat, 8 Jan 2022 15:48:21 +0100 Subject: [PATCH] :paperclip: --- crates/bevy_text/src/font_atlas_set.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_text/src/font_atlas_set.rs b/crates/bevy_text/src/font_atlas_set.rs index 6231351525d376..69d7003f7e3924 100644 --- a/crates/bevy_text/src/font_atlas_set.rs +++ b/crates/bevy_text/src/font_atlas_set.rs @@ -81,7 +81,7 @@ impl FontAtlasSet { .size .height .max(glyph_texture.texture_descriptor.size.width); - let containing = (1u32 << 32 - glyph_max_size.leading_zeros()).max(512) as f32; + let containing = (1u32 << (32 - glyph_max_size.leading_zeros())).max(512) as f32; font_atlases.push(FontAtlas::new( textures, texture_atlases,