Fix build error in egui-winit with profiling enabled (#7557)
This commit is contained in:
parent
a73f2c356f
commit
b69bab73e1
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue