Start and stop display link on the main thread
This commit is contained in:
parent
b6e4208ea8
commit
457df8d3f3
2 changed files with 21 additions and 13 deletions
|
@ -349,7 +349,7 @@ impl Platform for MacPlatform {
|
|||
}
|
||||
|
||||
fn display_linker(&self) -> Arc<dyn PlatformDisplayLinker> {
|
||||
Arc::new(MacDisplayLinker::new())
|
||||
Arc::new(MacDisplayLinker::new(self.executor()))
|
||||
}
|
||||
|
||||
fn text_system(&self) -> Arc<dyn PlatformTextSystem> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue