From 6c00c069ccf08ef5e577c16acc78a5b1f53a0f8f Mon Sep 17 00:00:00 2001 From: LLLL Colonq Date: Sat, 18 Jan 2025 20:46:08 -0500 Subject: Rework font rendering, configurable resolution --- src/audio.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/audio.rs') 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 { -- cgit v1.2.3