From 542044df793f59f56bbd9e16d0e7620b78c55128 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 6 May 2023 20:55:03 +0200 Subject: MacOSXCGLDrawableFactory.canCreateGLPbuffer(): Disabled for MacOS >= 10.13 (High Sierra) This expands blocking Pbuffer on MacOS, see commit 1562a6d4c71b27378612306f825c2530c938f859 --- .../classes/jogamp/opengl/macosx/cgl/MacOSXCGLDrawableFactory.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/jogl/classes/jogamp/opengl/macosx/cgl') diff --git a/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLDrawableFactory.java b/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLDrawableFactory.java index 679ae5b74..663f886db 100644 --- a/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLDrawableFactory.java +++ b/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLDrawableFactory.java @@ -396,8 +396,8 @@ public class MacOSXCGLDrawableFactory extends GLDrawableFactoryImpl { public boolean canCreateGLPbuffer(final AbstractGraphicsDevice device, final GLProfile glp) { if( glp.isGL2() ) { // OSX only supports pbuffer w/ compatible, non-core, context - // on MacMacOS < 12 (my setup) or <= 10.14.0 (Mojave) (FIXME) - return Platform.getOSVersionNumber().compareTo(MacOSVersion.Mojave) <= 0; + // on MacMacOS < High Sierra 10.13.6 (my setup) (FIXME) + return Platform.getOSVersionNumber().compareTo(MacOSVersion.HighSierra) <= 0; } else { return false; } -- cgit v1.2.3