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

Fix build error in egui-winit with profiling enabled (#7557)

This commit is contained in:
TÖRÖK Attila
2025-09-23 14:57:43 +02:00
committed by GitHub
parent a73f2c356f
commit b69bab73e1

View File

@@ -1361,7 +1361,7 @@ fn process_viewport_command(
info: &mut ViewportInfo,
actions_requested: &mut Vec<ActionRequested>,
) {
profiling::function_scope!(format!("{command:?}"));
profiling::function_scope!(&format!("{command:?}"));
use winit::window::ResizeDirection;