[www-doc] [Git][VideoLAN.org/websites][master] os-specific: remove bogus Apple M1 guessing

David gitlab at videolan.org
Tue Jan 19 16:53:47 UTC 2021



David pushed to branch master at VideoLAN organization / websites


Commits:
68532d99 by Marvin Scholz at 2021-01-19T17:53:18+01:00
os-specific: remove bogus Apple M1 guessing
- - - - -


1 changed file:

- www.videolan.org/include/os-specific.php


Changes:

=====================================
www.videolan.org/include/os-specific.php
=====================================
@@ -89,10 +89,6 @@ function replaceDLinfos( $downloadButton = "#downloadButton" )
                   var renderername = debugrenderer && glcontext.getParameter(debugrenderer.UNMASKED_RENDERER_WEBGL) || "";
                   if (renderername.match(/Apple/) && !renderername.match(/Apple GPU/)) {
                       OS="osxarm64";
-                  } else {
-                      if (glcontext.getSupportedExtensions().indexOf("WEBGL_compressed_texture_s3tc_srgb") == -1) {
-                          OS="osxarm64";
-                      }
                   }
               } catch (e) { }
           }



View it on GitLab: https://code.videolan.org/VideoLAN.org/websites/-/commit/68532d9972cb8399d785ab1aab18c7bcf715974f

-- 
View it on GitLab: https://code.videolan.org/VideoLAN.org/websites/-/commit/68532d9972cb8399d785ab1aab18c7bcf715974f
You're receiving this email because of your account on code.videolan.org.




More information about the www-doc mailing list