Skip to content

Commit

Permalink
Merge pull request #100822 from BlueCube3310/gles-hdr-astc
Browse files Browse the repository at this point in the history
Compatibility: Fix ASTC HDR extension detection
  • Loading branch information
Repiteo committed Dec 30, 2024
2 parents 58b48a9 + 88baa2f commit 0efced3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gles3/storage/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Config::Config() {

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_ldr");
astc_hdr_supported = extensions.has("GL_KHR_texture_compression_astc_hdr");
astc_layered_supported = extensions.has("GL_KHR_texture_compression_astc_sliced_3d");

if (RasterizerGLES3::is_gles_over_gl()) {
Expand Down

0 comments on commit 0efced3

Please sign in to comment.