summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2023-10-25 07:53:57 +0200
committerMoonchild <moonchild@palemoon.org>2023-10-25 07:53:57 +0200
commitb15a36452d78004c3279159433bc515bf85feb8b (patch)
tree36b19ee06d6cbc5f8bff971631f7ce2f001d3b0a /modules
parenta71597905c3b3a7ef4912b5d626bc141c7c4c4f9 (diff)
downloaduxp-b15a36452d78004c3279159433bc515bf85feb8b.tar.gz
[WebGL] Add preffed limit to WebGL vertCount
Defaults to 30M, working around driver bugs (looking at you, Mesa)
Diffstat (limited to 'modules')
-rw-r--r--modules/libpref/init/all.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index 0f3fa7c85c..f2a53ab720 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -4263,6 +4263,7 @@ pref("webgl.can-lose-context-in-foreground", true);
pref("webgl.restore-context-when-visible", true);
pref("webgl.max-warnings-per-context", 32);
pref("webgl.max-size-per-texture-mb", 1024);
+pref("webgl.max-vert-ids-per-draw", 30000000);
pref("webgl.enable-draft-extensions", false);
pref("webgl.enable-privileged-extensions", false);
pref("webgl.bypass-shader-validation", false);