mirror of
https://github.com/lisk77/comet.git
synced 2025-10-25 06:18:49 +00:00
feat: ttf fonts are now loadable
This commit is contained in:
parent
9e16179df3
commit
0507703284
4 changed files with 136 additions and 54 deletions
|
|
@ -166,8 +166,8 @@ impl TextureAtlas {
|
|||
}
|
||||
|
||||
pub fn from_textures(
|
||||
textures: Vec<DynamicImage>,
|
||||
names: Vec<String>,
|
||||
textures: Vec<DynamicImage>,
|
||||
) -> Self {
|
||||
let mut regions: HashMap<String, TextureRegion> = HashMap::new();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue