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:
@@ -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, .. } => {
|
||||
|
||||
Reference in New Issue
Block a user