Backed out 3 changesets (bug 1771374) for causing bustages on Colorspaces.h. CLOSED TREE

Backed out changeset 498c27656dc3 (bug 1771374)
Backed out changeset 6f97bc39643f (bug 1771374)
Backed out changeset b4fdb70808b6 (bug 1771374)
This commit is contained in:
criss
2022-06-30 05:28:11 +03:00
parent d0ce018113
commit 00625af57f
34 changed files with 621 additions and 2911 deletions

View File

@@ -865,7 +865,10 @@ ClientWebGLContext::SetContextOptions(JSContext* cx,
}
if (attributes.mColorSpace.WasPassed()) {
newOpts.colorSpace = Some(attributes.mColorSpace.Value());
newOpts.colorSpace = attributes.mColorSpace.Value();
}
if (StaticPrefs::gfx_color_management_native_srgb()) {
newOpts.ignoreColorSpace = false;
}
// Don't do antialiasing if we've disabled MSAA.