Improve egui-winit profile scope
This commit is contained in:
parent
454af7aa6c
commit
a5a51ced0f
|
|
@ -1347,7 +1347,7 @@ fn process_viewport_command(
|
|||
info: &mut ViewportInfo,
|
||||
actions_requested: &mut Vec<ActionRequested>,
|
||||
) {
|
||||
profiling::function_scope!();
|
||||
profiling::function_scope!(format!("{command:?}"));
|
||||
|
||||
use winit::window::ResizeDirection;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue