diff options
author | Sven Gothel <[email protected]> | 2014-10-24 17:45:18 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-10-24 17:45:18 +0200 |
commit | 9e3843bf51b1e297eba181b9c5e15a0da8614e7b (patch) | |
tree | 36af2a91b0b264af4507f8946e4750cb3a941c63 /src/jogl/classes/jogamp/opengl/GLContextImpl.java | |
parent | e2d7816823039fc75be809d64b88a3d3af9cdca8 (diff) | |
parent | 1e039b27aa1c036f663091d1018c3c15b259b80d (diff) |
Merge pull request #85 from gouessej/master
Skips ARB_create_context with ATI Radeon 3100 (see the bug 1038)
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/GLContextImpl.java')
-rw-r--r-- | src/jogl/classes/jogamp/opengl/GLContextImpl.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/jogl/classes/jogamp/opengl/GLContextImpl.java b/src/jogl/classes/jogamp/opengl/GLContextImpl.java index 45a4f2426..a44075e90 100644 --- a/src/jogl/classes/jogamp/opengl/GLContextImpl.java +++ b/src/jogl/classes/jogamp/opengl/GLContextImpl.java @@ -1851,6 +1851,17 @@ public abstract class GLContextImpl extends GLContext { } quirks.addQuirk( quirk ); } + + if ( vendorVersion.compareTo(VersionNumberString.zeroVersion) == 0 ) { + final VersionNumber glVersionNumber = new VersionNumber(glVersion); + if ( glVersionNumber.getSub() <= 8787 && glRenderer.equals("ATI Radeon 3100 Graphics") ) { // "old" driver -> sub-minor = vendor version + final int quirk = GLRendererQuirks.NoARBCreateContext; + if(DEBUG) { + System.err.println("Quirk: "+GLRendererQuirks.toString(quirk)+": cause: OS "+Platform.getOSType()+", [Vendor "+glVendor+", Renderer "+glRenderer+" and Version "+glVersion+"]"); + } + quirks.addQuirk( quirk ); + } + } } else if( isDriverIntel && glRenderer.equals("Intel Bear Lake B") ) { final int quirk = GLRendererQuirks.NoPBufferWithAccum; if(DEBUG) { |