aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl/macosx
diff options
context:
space:
mode:
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/macosx')
-rw-r--r--src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLContext.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLContext.java b/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLContext.java
index cf9924b26..2c200b664 100644
--- a/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLContext.java
+++ b/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLContext.java
@@ -108,15 +108,15 @@ public class MacOSXCGLContext extends GLContextImpl
static {
final VersionNumber osvn = Platform.getOSVersionNumber();
- if( osvn.compareTo(Platform.OSXVersion.Mojave) >= 0 ) {
+ if( osvn.compareTo(MacOSVersion.Mojave) >= 0 ) {
isLionOrLater = true;
isMavericksOrLater = true;
isMojaveOrLater = true;
- } else if( osvn.compareTo(Platform.OSXVersion.Mavericks) >= 0 ) {
+ } else if( osvn.compareTo(MacOSVersion.Mavericks) >= 0 ) {
isLionOrLater = true;
isMavericksOrLater = true;
isMojaveOrLater = false;
- } else if( osvn.compareTo(Platform.OSXVersion.Lion) >= 0 ) {
+ } else if( osvn.compareTo(MacOSVersion.Lion) >= 0 ) {
isLionOrLater = true;
isMavericksOrLater = false;
isMojaveOrLater = false;