Skip to content

Commit

Permalink
Fix unused warning with the headless example
Browse files Browse the repository at this point in the history
  • Loading branch information
armansito committed Nov 1, 2023
1 parent 1efb3a5 commit 876a934
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ impl Renderer {
let blit = options
.surface_format
.map(|surface_format| BlitPipeline::new(device, surface_format));
#[cfg(feature = "wgpu-profiler")]
let timestamp_period = options.timestamp_period;
Ok(Self {
options,
Expand Down

0 comments on commit 876a934

Please sign in to comment.