mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
Accept configuration from the environment for the trace player (#8083)
This commit is contained in:
parent
0cc8c11afe
commit
e7dad314ed
@ -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();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user