From ab64aa5b92047c214148d4c975caed00188c5e9e Mon Sep 17 00:00:00 2001 From: Vincent Jousse Date: Fri, 18 Dec 2020 21:37:17 +0100 Subject: [PATCH] Fix bad copy/paste in #907 --- wgpu-core/src/instance.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wgpu-core/src/instance.rs b/wgpu-core/src/instance.rs index 0b1c65e9a1..52d9be0276 100644 --- a/wgpu-core/src/instance.rs +++ b/wgpu-core/src/instance.rs @@ -743,7 +743,7 @@ impl Global { #[cfg(dx11)] map(("Dx11", &mut id_dx11, adapters_dx11, backend::Dx11::hub)), #[cfg(gl)] - map(("GL", &mut id_dx11, adapters_gl, backend::Gl::hub)), + map(("GL", &mut id_gl, adapters_gl, backend::Gl::hub)), } let _ = (