mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-29 01:23:57 +01:00
Accept configuration from the environment for the trace player (#8083)
This commit is contained in:
1 parent
0cc8c11afe
commit
e7dad314ed
1 file changed
+2
-1
@@ -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