Skip to content

Commit e7dad31

Browse files
Accept configuration from the environment for the trace player (#8083)
1 parent 0cc8c11 commit e7dad31

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

player/src/bin/play.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ fn main() {
6868
.build(&event_loop)
6969
.unwrap();
7070

71-
let global = wgc::global::Global::new("player", &wgt::InstanceDescriptor::default());
71+
let global =
72+
wgc::global::Global::new("player", &wgt::InstanceDescriptor::from_env_or_default());
7273
let mut command_encoder_id_manager = IdentityManager::new();
7374
let mut command_buffer_id_manager = IdentityManager::new();
7475

0 commit comments

Comments
 (0)