diff --git a/drivers/gles3/storage/config.cpp b/drivers/gles3/storage/config.cpp index f561cdac073..79c82863c06 100644 --- a/drivers/gles3/storage/config.cpp +++ b/drivers/gles3/storage/config.cpp @@ -78,8 +78,8 @@ Config::Config() { #endif bptc_supported = extensions.has("GL_ARB_texture_compression_bptc") || extensions.has("EXT_texture_compression_bptc"); - astc_supported = extensions.has("GL_KHR_texture_compression_astc") || extensions.has("GL_OES_texture_compression_astc") || extensions.has("GL_KHR_texture_compression_astc_ldr") || extensions.has("GL_KHR_texture_compression_astc_hdr"); astc_hdr_supported = extensions.has("GL_KHR_texture_compression_astc_hdr"); + astc_supported = astc_hdr_supported || extensions.has("GL_KHR_texture_compression_astc") || extensions.has("GL_OES_texture_compression_astc") || extensions.has("GL_KHR_texture_compression_astc_ldr") || extensions.has("WEBGL_compressed_texture_astc"); astc_layered_supported = extensions.has("GL_KHR_texture_compression_astc_sliced_3d"); if (RasterizerGLES3::is_gles_over_gl()) {