You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When cargo running the eww example, these are the errors shown by the compiler
error[E0433]: failed to resolve: could not find `BackendBit` in `wgpu`
--> eww\examples\basic.rs:93:50
|
93 | let instance = wgpu::Instance::new(wgpu::BackendBit::PRIMARY);
| ^^^^^^^^^^ could not find `BackendBit` in `wgpu`
error[E0433]: failed to resolve: could not find `TextureUsage` in `wgpu`
--> eww\examples\basic.rs:118:26
|
118 | usage: wgpu::TextureUsage::RENDER_ATTACHMENT,
| ^^^^^^^^^^^^ could not find `TextureUsage` in `wgpu`
error[E0412]: cannot find type `SwapChain` in crate `wgpu`
--> eww\examples\basic.rs:88:23
|
88 | swap_chain: wgpu::SwapChain,
| ^^^^^^^^^ not found in `wgpu`
error[E0422]: cannot find struct, variant or union type `SwapChainDescriptor` in crate `wgpu`
--> eww\examples\basic.rs:117:29
|
117 | let sc_desc = wgpu::SwapChainDescriptor {
| ^^^^^^^^^^^^^^^^^^^ not found in `wgpu`
error[E0599]: no method named `create_swap_chain` found for struct `Device` in the current scope
--> eww\examples\basic.rs:125:33
|
125 | let swap_chain = device.create_swap_chain(&surface, &sc_desc);
| ^^^^^^^^^^^^^^^^^ method not found in `Device`
The text was updated successfully, but these errors were encountered:
When cargo running the eww example, these are the errors shown by the compiler
The text was updated successfully, but these errors were encountered: