This commit is contained in:
wolfbeast 2020-03-25 13:39:37 +01:00 committed by Roy Tam
commit 3dcb7aeb81

View file

@ -1974,7 +1974,7 @@ BrowserGlue.prototype = {
if (currentUIVersion < 43) {
if (Services.prefs.prefHasUserValue("layers.acceleration.disabled")) {
let HWADisabled = Service.prefs.getBoolPref("layers.acceleration.disabled");
let HWADisabled = Services.prefs.getBoolPref("layers.acceleration.disabled");
Services.prefs.setBoolPref("layers.acceleration.enabled", !HWADisabled);
Services.prefs.setBoolPref("gfx.direct2d.disabled", HWADisabled);
}