parent
a90a667fd0
commit
2d83580df4
3 changed files with 6 additions and 3 deletions
|
@ -121,7 +121,7 @@ impl Platform for TestPlatform {
|
|||
|
||||
fn text_system(&self) -> Arc<dyn PlatformTextSystem> {
|
||||
#[cfg(target_os = "linux")]
|
||||
return Arc::new(crate::platform::test::TestTextSystem {});
|
||||
return Arc::new(crate::platform::linux::LinuxTextSystem::new());
|
||||
|
||||
#[cfg(target_os = "macos")]
|
||||
return Arc::new(crate::platform::mac::MacTextSystem::new());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue