Fix import

This commit is contained in:
Maximilian Ammann 2022-03-15 15:05:36 +01:00
parent 582fe85f06
commit 429c220e72

View File

@ -62,6 +62,7 @@ pub struct ThreadLocalTessellatorState {
#[cfg(target_arch = "wasm32")] #[cfg(target_arch = "wasm32")]
impl Drop for ThreadLocalTessellatorState { impl Drop for ThreadLocalTessellatorState {
fn drop(&mut self) { fn drop(&mut self) {
use log::warn;
warn!( warn!(
"ThreadLocalTessellatorState dropped. \ "ThreadLocalTessellatorState dropped. \
On web this should only happen when the application is stopped!" On web this should only happen when the application is stopped!"