Skip to content

Commit

Permalink
Fix tracy compile issue
Browse files Browse the repository at this point in the history
  • Loading branch information
cwfitzgerald authored and kvark committed Dec 30, 2021
1 parent 44f34a4 commit c280292
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Change Log

## Unreleased
- Fix tracy compile error

## wgpu-core-0.12.1, wgpu-hal-0.12.1 (2021-12-29)
- zero initialization uses now render target clears when possible (faster and doesn't enforce COPY_DST internally if not necessary)
- fix use of MSAA targets in WebGL
Expand Down
2 changes: 1 addition & 1 deletion wgpu-core/src/instance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ impl<G: GlobalIdentityHandlerFactory> Global<G> {
None => return,
};

profiling::scope!("enumerating", format!("{:?}", A::VARIANT));
profiling::scope!("enumerating", &*format!("{:?}", A::VARIANT));
let hub = HalApi::hub(self);
let mut token = Token::root();

Expand Down

0 comments on commit c280292

Please sign in to comment.