Check for WebGL RGTC extension

(cherry picked from commit 93bed8cf57)
This commit is contained in:
Leon Krause 2018-11-27 18:15:41 +01:00 committed by Rémi Verschelde
parent a2381b9049
commit dafdd9a08e
1 changed files with 1 additions and 1 deletions

View File

@ -7186,7 +7186,7 @@ void RasterizerStorageGLES3::initialize() {
config.etc2_supported = true; config.etc2_supported = true;
config.hdr_supported = false; config.hdr_supported = false;
config.s3tc_supported = config.extensions.has("GL_EXT_texture_compression_dxt1") || config.extensions.has("GL_EXT_texture_compression_s3tc") || config.extensions.has("WEBGL_compressed_texture_s3tc"); config.s3tc_supported = config.extensions.has("GL_EXT_texture_compression_dxt1") || config.extensions.has("GL_EXT_texture_compression_s3tc") || config.extensions.has("WEBGL_compressed_texture_s3tc");
config.rgtc_supported = config.extensions.has("GL_EXT_texture_compression_rgtc") || config.extensions.has("GL_ARB_texture_compression_rgtc"); config.rgtc_supported = config.extensions.has("GL_EXT_texture_compression_rgtc") || config.extensions.has("GL_ARB_texture_compression_rgtc") || config.extensions.has("EXT_texture_compression_rgtc");
#endif #endif
config.pvrtc_supported = config.extensions.has("GL_IMG_texture_compression_pvrtc"); config.pvrtc_supported = config.extensions.has("GL_IMG_texture_compression_pvrtc");