diff options
author | Minteck <46352972+Minteck@users.noreply.github.com> | 2021-07-10 16:03:26 +0200 |
---|---|---|
committer | Minteck <46352972+Minteck@users.noreply.github.com> | 2021-07-10 16:03:26 +0200 |
commit | c3b756f987ffd8ca981c1e6f23435c74aad36aea (patch) | |
tree | be6b4923dd4a3bbfc147e29421873028c39c9af3 /views/script/global_compatlayer.js | |
parent | b9e7ec33542bb8041857eb997d17b29ffeae40c8 (diff) | |
download | kartik-client-c3b756f987ffd8ca981c1e6f23435c74aad36aea.tar.gz kartik-client-c3b756f987ffd8ca981c1e6f23435c74aad36aea.tar.bz2 kartik-client-c3b756f987ffd8ca981c1e6f23435c74aad36aea.zip |
Fixes
Diffstat (limited to 'views/script/global_compatlayer.js')
-rw-r--r-- | views/script/global_compatlayer.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/script/global_compatlayer.js b/views/script/global_compatlayer.js index 8545a29..7431cea 100644 --- a/views/script/global_compatlayer.js +++ b/views/script/global_compatlayer.js @@ -76,7 +76,7 @@ window.addEventListener("load", () => { gpuperct = (gpuscore / maxscore) * 100; - if (gpuperct < 50) { + if (gpuperct < 30) { console.warn("Bad GPU support, disabling GPU-accelerated content"); var head = document.getElementsByTagName('HEAD')[0]; var link = document.createElement('link'); @@ -86,4 +86,4 @@ window.addEventListener("load", () => { head.appendChild(link); } } -})
\ No newline at end of file +}) |