Fix build error in egui-winit with profiling enabled (#7557)

This commit is contained in:
TÖRÖK Attila 2025-09-23 14:57:43 +02:00 committed by GitHub
parent a73f2c356f
commit b69bab73e1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1361,7 +1361,7 @@ fn process_viewport_command(
info: &mut ViewportInfo,
actions_requested: &mut Vec<ActionRequested>,
) {
profiling::function_scope!(format!("{command:?}"));
profiling::function_scope!(&format!("{command:?}"));
use winit::window::ResizeDirection;