summaryrefslogtreecommitdiffstats
path: root/src/classes/com/sun/opengl
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2006-03-29 00:18:57 +0000
committerKenneth Russel <[email protected]>2006-03-29 00:18:57 +0000
commitca8c96700270ea9da09407c27178d5e9ad3d4fd6 (patch)
tree4a0fdf9f6f389f516985f1463c0ed7e730cdfdd2 /src/classes/com/sun/opengl
parentce8c5cebdfe0570e22c116fbb8ebc83b9a4d3c12 (diff)
Removed workaround for sharing textures and display lists between
pbuffers and on-screen contexts that was necessary in 10.4.3 because it was causing problems with multisampling in particular on ATI hardware git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@692 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/classes/com/sun/opengl')
-rw-r--r--src/classes/com/sun/opengl/impl/macosx/MacOSXGLContext.java8
-rw-r--r--src/classes/com/sun/opengl/impl/macosx/MacOSXOnscreenGLContext.java4
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);
+ }
}