From 03fb05800bd98df68e5353c4adfa19d28f60571b Mon Sep 17 00:00:00 2001 From: NiseVoid <nisevoid@gmail.com> Date: Fri, 14 Jul 2023 20:44:37 +0200 Subject: [PATCH] Fix new CI error --- kayak_font/src/bevy/font_texture.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kayak_font/src/bevy/font_texture.rs b/kayak_font/src/bevy/font_texture.rs index c2b32ac..9642176 100644 --- a/kayak_font/src/bevy/font_texture.rs +++ b/kayak_font/src/bevy/font_texture.rs @@ -19,7 +19,7 @@ pub fn init_font_texture( let not_processed_fonts = not_processed.drain(..).collect::<Vec<_>>(); for font_handle in not_processed_fonts { if let Some(font) = fonts.get(&font_handle) { - if let Some(mut texture) = images.get_mut(font.image.get()) { + if let Some(texture) = images.get_mut(font.image.get()) { texture.texture_descriptor.format = TextureFormat::Rgba8Unorm; texture.sampler_descriptor = ImageSampler::Descriptor(SamplerDescriptor { label: Some("Present Sampler"), -- GitLab