1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 22:53:14 -04:00

Improve egui-winit profile scope

This commit is contained in:
Emil Ernerfeldt
2025-08-24 15:03:57 +02:00
parent 454af7aa6c
commit a5a51ced0f

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;