diff options
author | Brian Smith <brian@dbsoft.org> | 2020-11-23 08:18:34 -0600 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-12-02 07:20:45 +0000 |
commit | a7a521e378c0528c1c36456c30069d34e204965f (patch) | |
tree | 6f9b9dda2631094d6ea92b18f31b9f87decc3280 /gfx/gl | |
parent | e9b56e301c6d5d13d3608089e418283cfc832759 (diff) | |
download | UXP-a7a521e378c0528c1c36456c30069d34e204965f.tar UXP-a7a521e378c0528c1c36456c30069d34e204965f.tar.gz UXP-a7a521e378c0528c1c36456c30069d34e204965f.tar.lz UXP-a7a521e378c0528c1c36456c30069d34e204965f.tar.xz UXP-a7a521e378c0528c1c36456c30069d34e204965f.zip |
Issue #1690 - Part 1: Fix MacOS version detection above 10.15.
Changes based on Mozilla bug 1616404 but supporting back to 10.7.
Diffstat (limited to 'gfx/gl')
-rw-r--r-- | gfx/gl/GLContext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gfx/gl/GLContext.cpp b/gfx/gl/GLContext.cpp index 3fb87822d..93ec040f4 100644 --- a/gfx/gl/GLContext.cpp +++ b/gfx/gl/GLContext.cpp @@ -1858,8 +1858,8 @@ GLContext::InitExtensions() // textures with glCompressedTexSubImage2D. Works on Intel HD 4000 // and Intel HD 5000/Iris that I tested. // Bug 1124996: Appears to be the same on OSX Yosemite (10.10) - if (nsCocoaFeatures::OSXVersionMajor() == 10 && - nsCocoaFeatures::OSXVersionMinor() >= 9 && + if (nsCocoaFeatures::macOSVersionMajor() == 10 && + nsCocoaFeatures::macOSVersionMinor() >= 9 && Renderer() == GLRenderer::IntelHD3000) { MarkExtensionUnsupported(EXT_texture_compression_s3tc); |