mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-01-10 06:58:12 -05:00
Accept configuration from the environment for the trace player (#8083)
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user