From 6c232d245bc7b1a15db5b7f39c4d9494dfc3a10e Mon Sep 17 00:00:00 2001 From: Jinlei Li Date: Thu, 22 Sep 2022 12:20:21 +0800 Subject: [PATCH] Remove a redundant condition --- wgpu-hal/src/gles/adapter.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/wgpu-hal/src/gles/adapter.rs b/wgpu-hal/src/gles/adapter.rs index 84f2d0c770..0a513e96ee 100644 --- a/wgpu-hal/src/gles/adapter.rs +++ b/wgpu-hal/src/gles/adapter.rs @@ -358,7 +358,6 @@ impl super::Adapter { // `OES_texture_compression_astc` provides 2D + 3D, LDR + HDR support if extensions.contains("WEBGL_compressed_texture_astc") || extensions.contains("GL_OES_texture_compression_astc") - || extensions.contains("OES_texture_compression_astc") { features.insert(wgt::Features::TEXTURE_COMPRESSION_ASTC_LDR); features.insert(wgt::Features::TEXTURE_COMPRESSION_ASTC_HDR);