Fix build with profile-with-tracy feature

This commit is contained in:
Ian Douglas Scott 2024-07-25 18:17:40 -07:00 committed by Victoria Brekenfeld
parent fdde46febd
commit 0e78104477

View file

@ -444,7 +444,7 @@ fn surface_thread(
thread_receiver: Channel<ThreadCommand>,
startup_done: Arc<AtomicBool>,
) -> Result<()> {
profiling::register_thread!(format!("Surface Thread {}", output.name()));
profiling::register_thread!(&format!("Surface Thread {}", output.name()));
let mut event_loop = EventLoop::try_new().unwrap();