diff options
-rw-r--r-- | src/classes/com/sun/opengl/impl/macosx/MacOSXGLContext.java | 8 | ||||
-rw-r--r-- | src/classes/com/sun/opengl/impl/macosx/MacOSXOnscreenGLContext.java | 4 |
2 files changed, 5 insertions, 7 deletions
diff --git a/src/classes/com/sun/opengl/impl/macosx/MacOSXGLContext.java b/src/classes/com/sun/opengl/impl/macosx/MacOSXGLContext.java index f4cd14c47..d55bc2f15 100644 --- a/src/classes/com/sun/opengl/impl/macosx/MacOSXGLContext.java +++ b/src/classes/com/sun/opengl/impl/macosx/MacOSXGLContext.java @@ -85,13 +85,7 @@ public abstract class MacOSXGLContext extends GLContextImpl return glExtensionName; } - protected boolean create() { - // Note that we specify pbuffer support for all contexts by - // default; workaround for problem on Mac OS X 10.4.3 where could - // not share textures and display lists between pbuffers and - // on-screen contexts - return create(true, false); - } + protected abstract boolean create(); /** * Creates and initializes an appropriate OpenGl nsContext. Should only be diff --git a/src/classes/com/sun/opengl/impl/macosx/MacOSXOnscreenGLContext.java b/src/classes/com/sun/opengl/impl/macosx/MacOSXOnscreenGLContext.java index 9b60cd77a..f09f24e9d 100644 --- a/src/classes/com/sun/opengl/impl/macosx/MacOSXOnscreenGLContext.java +++ b/src/classes/com/sun/opengl/impl/macosx/MacOSXOnscreenGLContext.java @@ -106,4 +106,8 @@ public class MacOSXOnscreenGLContext extends MacOSXGLContext { } CGL.updateContext(nsContext); } + + protected boolean create() { + return create(false, false); + } } |