diff --git a/Cargo.toml b/Cargo.toml index 96f3f1fa674..914398720f8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -115,7 +115,7 @@ winapi = "0.3" hassle-rs = "0.10.0" # Gles dependencies -khronos-egl = "4.1" +khronos-egl = ">=4.1,<7" glow = "0.12.3" glutin = "0.29.1" diff --git a/wgpu-hal/Cargo.toml b/wgpu-hal/Cargo.toml index acc26e0624a..a36c71805cc 100644 --- a/wgpu-hal/Cargo.toml +++ b/wgpu-hal/Cargo.toml @@ -80,12 +80,12 @@ gpu-alloc = { version = "0.6", optional = true } gpu-descriptor = { version = "0.2", optional = true } smallvec = { version = "1", optional = true, features = ["union"] } -khronos-egl = { version = "4.1", features = ["dynamic"], optional = true } +khronos-egl = { version = ">=4.1,<7", features = ["dynamic"], optional = true } libloading = { version = ">=0.7, <0.9", optional = true } renderdoc-sys = { version = "1.0.0", optional = true } [target.'cfg(target_os = "emscripten")'.dependencies] -khronos-egl = { version = "4.1", features = ["static", "no-pkg-config"] } +khronos-egl = { version = ">=4.1,<7", features = ["static", "no-pkg-config"] } #Note: it's unused by emscripten, but we keep it to have single code base in egl.rs libloading = { version = ">=0.7, <0.9", optional = true }