diff options
Diffstat (limited to 'client/src/render/mod.rs')
-rw-r--r-- | client/src/render/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/render/mod.rs b/client/src/render/mod.rs index 19f717a..a318d08 100644 --- a/client/src/render/mod.rs +++ b/client/src/render/mod.rs @@ -70,7 +70,7 @@ pub struct GraphicsConfig { impl<'a> Renderer<'a> { pub fn new(window: &'a Window, downloader: Arc<Downloader>) -> Result<Self> { info!("wgpu init"); - let instance = Instance::new(InstanceDescriptor { + let instance = Instance::new(&InstanceDescriptor { backends: Backends::all(), ..Default::default() }); |