summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl/GLContextImpl.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2019-09-07 01:08:05 +0200
committerSven Gothel <[email protected]>2019-09-07 01:08:05 +0200
commit35f719673b2c55b0766e6c9187961db7153d7d26 (patch)
tree3e9d85426a2e1f279a47d8f0c1e9c953e7142c2c /src/jogl/classes/jogamp/opengl/GLContextImpl.java
parent90760ac8eebe7431ac7392e4ebf3f9009e63cd72 (diff)
Bug 1391: Cleanup to submit fix: Update known Quirk range; BuggyColorRenderbuffer enables NoFullFBOSupport
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/GLContextImpl.java')
-rw-r--r--src/jogl/classes/jogamp/opengl/GLContextImpl.java12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/jogl/classes/jogamp/opengl/GLContextImpl.java b/src/jogl/classes/jogamp/opengl/GLContextImpl.java
index aba9054d0..443e2d6af 100644
--- a/src/jogl/classes/jogamp/opengl/GLContextImpl.java
+++ b/src/jogl/classes/jogamp/opengl/GLContextImpl.java
@@ -2451,25 +2451,27 @@ public abstract class GLContextImpl extends GLContext {
if( vendorVersion.compareTo(mesaSafeDoubleBufferedPBuffer) < 0 ) {
final int quirk = GLRendererQuirks.NoDoubleBufferedPBuffer;
if(DEBUG) {
- System.err.println("Quirk: "+GLRendererQuirks.toString(quirk)+": cause: Renderer " + glRenderer);
+ System.err.println("Quirk: "+GLRendererQuirks.toString(quirk)+": cause: Renderer " + glRenderer + " / Mesa-Version "+vendorVersion);
}
quirks.addQuirk( quirk );
}
} else {
// software
if( vendorVersion.compareTo(mesaSafeFBOVersion) < 0 ) { // FIXME: Is it fixed in >= 8.0.0 ?
- final int quirk = GLRendererQuirks.BuggyColorRenderbuffer;
+ final int quirk1 = GLRendererQuirks.BuggyColorRenderbuffer;
+ final int quirk2 = GLRendererQuirks.NoFullFBOSupport;
if(DEBUG) {
- System.err.println("Quirk: "+GLRendererQuirks.toString(quirk)+": cause: Renderer " + glRenderer + " / Mesa-Version "+vendorVersion);
+ System.err.println("Quirks: "+GLRendererQuirks.toString(quirk1)+", "+GLRendererQuirks.toString(quirk2)+": cause: Renderer " + glRenderer + " / Mesa-Version "+vendorVersion);
}
- quirks.addQuirk( quirk );
+ quirks.addQuirk( quirk1 );
+ quirks.addQuirk( quirk2 );
}
}
if ( compatCtx && (hasMajor > 3 || (hasMajor == 3 && hasMinor >= 1)) &&
vendorVersion.compareTo(mesaSafeGL3Compat) < 0 ) {
final int quirk = GLRendererQuirks.GL3CompatNonCompliant;
if(DEBUG) {
- System.err.println("Quirk: "+GLRendererQuirks.toString(quirk)+": cause: Renderer " + glRenderer);
+ System.err.println("Quirk: "+GLRendererQuirks.toString(quirk)+": cause: Renderer " + glRenderer + " / Mesa-Version "+vendorVersion);
}
quirks.addQuirk( quirk );
}