Remove lifetime from SwashCache
This commit is contained in:
parent
2b991129e3
commit
4e93853765
10 changed files with 53 additions and 32 deletions
|
|
@ -144,7 +144,7 @@ fn main() {
|
|||
.push(BufferLine::new(line_text, attrs_list));
|
||||
}
|
||||
|
||||
let mut swash_cache = SwashCache::new(&font_system);
|
||||
let mut swash_cache = SwashCache::new();
|
||||
|
||||
//TODO: make window not async?
|
||||
let mut mouse_x = -1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue