summaryrefslogtreecommitdiffstats
path: root/examples/integration_wgpu/src/main.rs
diff options
context:
space:
mode:
authorLibravatar bungoboingo <shankern@protonmail.com>2022-12-20 20:41:09 -0800
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-01-09 18:52:38 +0100
commit4b6d3797d43acb1d78a292a7ec712a0be7c8f6a2 (patch)
tree1208a2c5b16a5e67093677df3a2d6bf159bff0f9 /examples/integration_wgpu/src/main.rs
parentc5cd236b7380c3689792934aeaecd2942713fa67 (diff)
downloadiced-4b6d3797d43acb1d78a292a7ec712a0be7c8f6a2.tar.gz
iced-4b6d3797d43acb1d78a292a7ec712a0be7c8f6a2.tar.bz2
iced-4b6d3797d43acb1d78a292a7ec712a0be7c8f6a2.zip
Restructured everything to make profiling a feature of iced_winit.
Diffstat (limited to 'examples/integration_wgpu/src/main.rs')
-rw-r--r--examples/integration_wgpu/src/main.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/examples/integration_wgpu/src/main.rs b/examples/integration_wgpu/src/main.rs
index e3dfb6fc..70f9a48b 100644
--- a/examples/integration_wgpu/src/main.rs
+++ b/examples/integration_wgpu/src/main.rs
@@ -16,8 +16,6 @@ use winit::{
event_loop::{ControlFlow, EventLoop},
};
-use iced_profiling::info_span;
-
#[cfg(target_arch = "wasm32")]
use wasm_bindgen::JsCast;
#[cfg(target_arch = "wasm32")]
@@ -41,9 +39,6 @@ pub fn main() {
#[cfg(not(target_arch = "wasm32"))]
env_logger::init();
- // Initialize tracing
- let _guard = iced_profiling::init();
-
// Initialize winit
let event_loop = EventLoop::new();
@@ -203,8 +198,6 @@ pub fn main() {
}
}
Event::RedrawRequested(_) => {
- let _ = info_span!("Integration_WGPU", "DRAW").entered();
-
if resized {
let size = window.inner_size();