1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 06:10:06 -04:00

Add more profiling scopes (#3332)

This commit is contained in:
Emil Ernerfeldt
2023-09-13 19:32:19 +02:00
committed by GitHub
parent 67a3fcae38
commit 4b5146d35d
4 changed files with 31 additions and 5 deletions

View File

@@ -190,6 +190,8 @@ impl State {
egui_ctx: &egui::Context,
event: &winit::event::WindowEvent<'_>,
) -> EventResponse {
crate::profile_function!();
use winit::event::WindowEvent;
match event {
WindowEvent::ScaleFactorChanged { scale_factor, .. } => {