diff options
author | Kenneth Russel <[email protected]> | 2005-11-13 06:42:16 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2005-11-13 06:42:16 +0000 |
commit | c03d5c63fb2529488fea2657fdd359db18ceae0b (patch) | |
tree | 5aa283d3af12978280c13be17a81a93d803732eb /src/classes/com/sun/opengl/impl/macosx | |
parent | f40b89f1a105d8f1f17651ed0e731145e49a924c (diff) |
Added workaround for problem on Mac OS X 10.4.3 where could not share
textures and display lists between a pbuffer and an on-screen OpenGL
context; now specify pbuffer support for all created contexts. Tested
on 10.3.9 and 10.4.3. See 4129317 on Apple's Bug Reporter for first
report of this bug. Added workaround for older OpenGL version strings
being reported with older graphics cards on OS X; now attempt to parse
vendor-specific version string. Added workaround for
ProceduralTexturePhysics demo on OS X where pbuffer's rendering
results were not being flushed each frame; this demo is now working
properly on 10.4.3 with recent hardware.
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@443 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/classes/com/sun/opengl/impl/macosx')
-rw-r--r-- | src/classes/com/sun/opengl/impl/macosx/MacOSXGLContext.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/classes/com/sun/opengl/impl/macosx/MacOSXGLContext.java b/src/classes/com/sun/opengl/impl/macosx/MacOSXGLContext.java index e7b06e32e..0a2d2f613 100644 --- a/src/classes/com/sun/opengl/impl/macosx/MacOSXGLContext.java +++ b/src/classes/com/sun/opengl/impl/macosx/MacOSXGLContext.java @@ -86,7 +86,11 @@ public abstract class MacOSXGLContext extends GLContextImpl } protected boolean create() { - return create(false, false); + // 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); } /** |