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 _ = (