From 56bcdf7ca0e7dedb58fefb9ce440433f98245286 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Thu, 23 Nov 2023 18:05:58 +0100 Subject: [PATCH] [WebGL] Flip the validation state for gl_KHR_no_validation. The original state was inverted due to confusion due to a double negative (not:no_error). This validation should only be enabled on Windows (for now). Future tracking and discussion in BZ 1862039 --- modules/libpref/init/all.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index bfaa856536..344bb532b2 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -4340,9 +4340,9 @@ pref("webgl.dxgl.needs-finish", false); // Disable ANGLE's validation layer? #ifdef XP_WIN -pref("webgl.gl_khr_no_validation", true); -#else pref("webgl.gl_khr_no_validation", false); +#else +pref("webgl.gl_khr_no_validation", true); #endif pref("gfx.offscreencanvas.enabled", false);