mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 00:01:34 +11:00
Use ..Default::default() to make it clearer what we're changing
This commit is contained in:
parent
b1df507fa6
commit
522183b3ab
|
@ -16,8 +16,8 @@ pub fn load_font(font_data: &[u8], pixels_per_em: f32) -> TokenStream {
|
|||
let font = fontdue::Font::from_bytes(
|
||||
font_data,
|
||||
fontdue::FontSettings {
|
||||
collection_index: 0,
|
||||
scale: pixels_per_em,
|
||||
..Default::default()
|
||||
},
|
||||
)
|
||||
.expect("Invalid font data");
|
||||
|
|
Loading…
Reference in a new issue