Skip to content

Commit

Permalink
Merge #1623
Browse files Browse the repository at this point in the history
1623: Enable All Backends for Trace Player r=cwfitzgerald a=zicklag

**Connections**
None

**Description**
I just spent a bit of time trying to figure out how to get the trace player to play an OpenGL trace before realizing that only the primary backends were enabled at instance creation. This just enables all backends in the trace player. I believe that this should be harmless as it shouldn't change anything for traces on the primary supported backends.

**Testing**
It's not tested specifically, but it's such a minor change it shouldn't matter, I think.


Co-authored-by: Zicklag <zicklag@katharostech.com>
  • Loading branch information
bors[bot] and zicklag authored Jul 10, 2021
2 parents e27fbb8 + 0614cce commit e5142b3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions player/src/bin/play.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ fn main() {
.build(&event_loop)
.unwrap();

let global =
wgc::hub::Global::new("player", IdentityPassThroughFactory, wgt::Backends::PRIMARY);
let global = wgc::hub::Global::new("player", IdentityPassThroughFactory, wgt::Backends::all());
let mut command_buffer_id_manager = wgc::hub::IdentityManager::default();

#[cfg(feature = "winit")]
Expand Down

0 comments on commit e5142b3

Please sign in to comment.