Fix compiler warning about unused function

This commit is contained in:
Simon Hausmann 2024-10-11 09:50:09 +02:00 committed by Olivier Goffart
parent 557729320f
commit 241eb35a2d

View file

@ -398,7 +398,7 @@ fn embed_font(
}
}
#[cfg(not(target_arch = "wasm32"))]
#[cfg(all(not(target_arch = "wasm32"), not(feature = "embed-glyphs-as-sdf")))]
fn embed_alpha_map_glyphs(
pixel_sizes: &[i16],
character_map: &Vec<CharacterMapEntry>,