File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 < meta charset ="UTF-8 ">
66
77 <!-- config for our rust wasm binary. go to https://trunkrs.dev/assets/#rust for more customization -->
8- < link data-trunk rel ="rust " data-bin ="na -winit-wgpu " data-wasm-opt ="2 " />
8+ < link data-trunk rel ="rust " data-bin ="agdk -winit-wgpu " data-wasm-opt ="2 " />
99
1010 <!-- Disable zooming: -->
1111 < meta name ="viewport " content ="width=device-width, initial-scale=1.0, user-scalable=no ">
Original file line number Diff line number Diff line change @@ -792,7 +792,7 @@ impl App {
792792 Arc :: clone ( & self . inner ) ,
793793 ) ) ;
794794 #[ cfg( target_arch = "wasm32" ) ]
795- wasm_bindgen_futures:: spawn_local ( App :: find_adapter_and_connect_device_for_surface (
795+ wasm_bindgen_futures:: spawn_local ( App :: ensure_adapter_and_connected_device_for_surface (
796796 Arc :: clone ( & self . inner ) ,
797797 ) ) ;
798798 }
Original file line number Diff line number Diff line change @@ -792,7 +792,7 @@ impl App {
792792 Arc :: clone ( & self . inner ) ,
793793 ) ) ;
794794 #[ cfg( target_arch = "wasm32" ) ]
795- wasm_bindgen_futures:: spawn_local ( App :: find_adapter_and_connect_device_for_surface (
795+ wasm_bindgen_futures:: spawn_local ( App :: ensure_adapter_and_connected_device_for_surface (
796796 Arc :: clone ( & self . inner ) ,
797797 ) ) ;
798798 }
You can’t perform that action at this time.
0 commit comments