Skip to content

Commit

Permalink
Fix garbled debug markers in render passes
Browse files Browse the repository at this point in the history
  • Loading branch information
kazimuth committed Oct 13, 2020
1 parent 7ac706f commit 05c58e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wgpu-core/src/command/render.rs
Expand Up @@ -1525,6 +1525,7 @@ impl<G: GlobalIdentityHandlerFactory> Global<G> {
unsafe {
raw.insert_debug_marker(label, color);
}
base.string_data = &base.string_data[len..];
}
RenderCommand::ExecuteBundle(bundle_id) => {
let bundle = trackers
Expand Down

0 comments on commit 05c58e8

Please sign in to comment.