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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user