Fix font test
This commit is contained in:
parent
2c0ca77e09
commit
4dab7a1504
1 changed files with 4 additions and 2 deletions
|
@ -338,8 +338,10 @@ mod tests {
|
|||
use super::*;
|
||||
#[test]
|
||||
fn font_test() {
|
||||
let font = Font::new(13);
|
||||
let atlas = TextureAtlas::new(128, 8);
|
||||
let atlas = Arc::new(Mutex::new(atlas));
|
||||
let font_data = include_bytes!("../fonts/Roboto-Regular.ttf");
|
||||
let font = Font::new(atlas, font_data, 13);
|
||||
font.debug_print_all_chars();
|
||||
panic!();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue