aboutsummaryrefslogtreecommitdiff
path: root/src/renderer
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderer')
-rw-r--r--src/renderer/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderer/mod.rs b/src/renderer/mod.rs
index 237c8416..e6d33c9b 100644
--- a/src/renderer/mod.rs
+++ b/src/renderer/mod.rs
@@ -876,7 +876,7 @@ impl<'a> LoadGlyph for LoaderApi<'a> {
let atlas = Atlas::new(ATLAS_SIZE);
*self.active_tex = 0; // Atlas::new binds a texture. Ugh this is sloppy.
*self.current_atlas = 0;
- self.atlas.push(atlas);
+ self.atlas.insert(0, atlas);
self.load_glyph(rasterized)
}
}