Accept configuration from the environment for the trace player (#8083)

This commit is contained in:
Andy Leiserson 2025-08-11 13:04:53 -07:00 committed by GitHub
parent 0cc8c11afe
commit e7dad314ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -68,7 +68,8 @@ fn main() {
.build(&event_loop)
.unwrap();
let global = wgc::global::Global::new("player", &wgt::InstanceDescriptor::default());
let global =
wgc::global::Global::new("player", &wgt::InstanceDescriptor::from_env_or_default());
let mut command_encoder_id_manager = IdentityManager::new();
let mut command_buffer_id_manager = IdentityManager::new();