diff options
author | Sven Gothel <[email protected]> | 2015-08-27 20:11:14 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-08-27 20:11:14 +0200 |
commit | e88216bd03a41480b81345ed9afc45ddea5ecfcd (patch) | |
tree | 3baf30c16372dcfedc0c5a83c62691cda9e965c8 /src/jogl | |
parent | e8d66b1cd2b48899b7a012d54ba83d5c2a449b0a (diff) |
Bug 1200: Fix crash on GNU/Linux x86_64 'NVidia beta driver 355.06' @ probeSurfacelessCtx
Since no known NVidia driver is know properly supporting surfaceless context,
i.e. current context w/o drawable attached, we set quirk NoSurfacelessCtx
for all NVidia drivers until a 'good one' is known!
Diffstat (limited to 'src/jogl')
-rw-r--r-- | src/jogl/classes/jogamp/opengl/GLContextImpl.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/jogl/classes/jogamp/opengl/GLContextImpl.java b/src/jogl/classes/jogamp/opengl/GLContextImpl.java index 6fbf4dcde..41b815384 100644 --- a/src/jogl/classes/jogamp/opengl/GLContextImpl.java +++ b/src/jogl/classes/jogamp/opengl/GLContextImpl.java @@ -2117,6 +2117,16 @@ public abstract class GLContextImpl extends GLContext { } quirks.addQuirk( quirk ); } + } else if( isDriverNVIDIAGeForce ) { + // Bug 1200: Crash on GNU/Linux x86_64 'NVidia beta driver 355.06' @ probeSurfacelessCtx + // final VersionNumber nvSafeVersion = new VersionNumber(356, 0, 0); // FIXME: Add safe version! + if( !esCtx /* && vendorVersion.compareTo(nvSafeVersion) < 0 */ ) { + final int quirk = GLRendererQuirks.NoSurfacelessCtx; + if(DEBUG) { + System.err.print("Quirk: "+GLRendererQuirks.toString(quirk)+": cause: !ES, Vendor " + glVendor +", Renderer " + glRenderer); + } + addStickyQuirkAlways(adevice, quirks, quirk, withinGLVersionsMapping); + } } // |