Improve egui-winit profile scope

This commit is contained in:
Emil Ernerfeldt
2025-08-24 15:03:57 +02:00
parent 454af7aa6c
commit a5a51ced0f
+1 -1
View File
@@ -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;