Skip to content

Commit

Permalink
Remove a redundant condition
Browse files Browse the repository at this point in the history
  • Loading branch information
jinleili committed Sep 22, 2022
1 parent 482272d commit 5e571c5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion wgpu-hal/src/gles/adapter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5e571c5

Please sign in to comment.