Skip to content

Commit

Permalink
Another fix
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Nov 19, 2023
1 parent 662ebb1 commit b4593bb
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions crates/eframe/src/native/wgpu_integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@ use egui_winit::{
};

use crate::{
native::{
epi_integration::EpiIntegration,
winit_integration::{short_event_description, EventResult},
},
native::{epi_integration::EpiIntegration, winit_integration::EventResult},
App, AppCreator, CreationContext, NativeOptions, Result, Storage, UserEvent,
};

Expand Down Expand Up @@ -360,7 +357,7 @@ impl WinitApp for WgpuWinitApp {
event_loop: &EventLoopWindowTarget<UserEvent>,
event: &winit::event::Event<'_, UserEvent>,
) -> Result<EventResult> {
crate::profile_function!(short_event_description(event));
crate::profile_function!(winit_integration::short_event_description(event));

self.build_windows(event_loop);

Expand Down

0 comments on commit b4593bb

Please sign in to comment.