Checkpoint: Glyphs rendering how I'd like

This commit is contained in:
Nathan Sobo 2023-10-03 17:29:36 -06:00
parent 550d9a9f71
commit c57e19c8fa
6 changed files with 8 additions and 14 deletions

View file

@ -633,7 +633,6 @@ impl Renderer {
// Snap sprite to pixel grid.
let origin = (glyph.origin * scale_factor).floor() + sprite.offset.to_f32();
dbg!(origin);
sprites_by_atlas
.entry(sprite.atlas_id)
.or_insert_with(Vec::new)