mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 14:50:03 -04:00
Improve egui-winit profile scope
This commit is contained in:
@@ -1347,7 +1347,7 @@ fn process_viewport_command(
|
|||||||
info: &mut ViewportInfo,
|
info: &mut ViewportInfo,
|
||||||
actions_requested: &mut Vec<ActionRequested>,
|
actions_requested: &mut Vec<ActionRequested>,
|
||||||
) {
|
) {
|
||||||
profiling::function_scope!();
|
profiling::function_scope!(format!("{command:?}"));
|
||||||
|
|
||||||
use winit::window::ResizeDirection;
|
use winit::window::ResizeDirection;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user