refactor: improve console handling & logs, scoped mutex lock, fix linux unused imports

This commit is contained in:
Ryan Walters
2025-09-02 09:07:08 -05:00
parent 39a5df1ffd
commit 055dc85f2b
5 changed files with 42 additions and 24 deletions

View File

@@ -25,6 +25,10 @@ impl CommonPlatform for Platform {
Ok(()) // No-op for Emscripten
}
fn requires_console(&self) -> bool {
false
}
fn get_canvas_size(&self) -> Option<(u32, u32)> {
Some(unsafe { get_canvas_size() })
}