Skip to content

Commit

Permalink
fix incorrect feature check
Browse files Browse the repository at this point in the history
  • Loading branch information
Wumpf committed Feb 13, 2024
1 parent cea258f commit 7e97ec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wgpu-core/src/command/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ impl Global {

cmd_buf
.device
.require_features(wgt::Features::TIMESTAMP_QUERY_INSIDE_PASSES)?;
.require_features(wgt::Features::TIMESTAMP_QUERY_INSIDE_ENCODERS)?;

let mut cmd_buf_data = cmd_buf.data.lock();
let cmd_buf_data = cmd_buf_data.as_mut().unwrap();
Expand Down

0 comments on commit 7e97ec4

Please sign in to comment.