Skip to content

Commit e5142b3

Browse files
bors[bot]zicklag
andauthored
Merge #1623
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 <[email protected]>
2 parents e27fbb8 + 0614cce commit e5142b3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

player/src/bin/play.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ fn main() {
4141
.build(&event_loop)
4242
.unwrap();
4343

44-
let global =
45-
wgc::hub::Global::new("player", IdentityPassThroughFactory, wgt::Backends::PRIMARY);
44+
let global = wgc::hub::Global::new("player", IdentityPassThroughFactory, wgt::Backends::all());
4645
let mut command_buffer_id_manager = wgc::hub::IdentityManager::default();
4746

4847
#[cfg(feature = "winit")]

0 commit comments

Comments
 (0)