Fixing demo falling back to 565 problem on Firefox (and possibly Edge).
diff --git a/webgl/texture/index.html b/webgl/texture/index.html
index eedeb3b..0a2ed01 100644
--- a/webgl/texture/index.html
+++ b/webgl/texture/index.html
@@ -261,7 +261,7 @@
Module.onRuntimeInitialized = () => {
var gl = elem('canvas').getContext('webgl');
// Load the DXT extension, and verify it exists.
- if (!gl.getExtension('WEBKIT_WEBGL_compressed_texture_s3tc')) {
+ if (!gl.getExtension('WEBKIT_WEBGL_compressed_texture_s3tc') && !gl.getExtension('WEBGL_compressed_texture_s3tc')) {
dxtSupported = false;
elem('nodxt').style.display = 'block';
}