diff options
| author | LLLL Colonq <llll@colonq> | 2025-01-18 20:46:08 -0500 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2025-01-18 20:46:08 -0500 |
| commit | 6c00c069ccf08ef5e577c16acc78a5b1f53a0f8f (patch) | |
| tree | ca0cf7a5e042883cfa7fe95725d8eda35860d56e /src/audio.rs | |
| parent | 82d1c94d999654bda5d40108393eade80b77342c (diff) | |
Rework font rendering, configurable resolution
Diffstat (limited to 'src/audio.rs')
| -rw-r--r-- | src/audio.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/audio.rs b/src/audio.rs index 0dca32e..2b4226c 100644 --- a/src/audio.rs +++ b/src/audio.rs @@ -1,4 +1,7 @@ -use std::{cell::RefCell, collections::HashMap}; +use std::collections::HashMap; + +#[cfg(target_arch = "wasm32")] +use std::cell::RefCell; #[cfg(target_arch = "wasm32")] pub struct Context { |
