From 99f91f8b28d42cdf341533736e878056bcae4708 Mon Sep 17 00:00:00 2001 From: Julien Gouesse Date: Wed, 1 Oct 2014 17:53:32 +0200 Subject: Fix of the bug 1078 --- .../classes/com/jogamp/opengl/GLRendererQuirks.java | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'src/jogl/classes/com/jogamp/opengl/GLRendererQuirks.java') diff --git a/src/jogl/classes/com/jogamp/opengl/GLRendererQuirks.java b/src/jogl/classes/com/jogamp/opengl/GLRendererQuirks.java index e8039edf1..a0a7021ac 100644 --- a/src/jogl/classes/com/jogamp/opengl/GLRendererQuirks.java +++ b/src/jogl/classes/com/jogamp/opengl/GLRendererQuirks.java @@ -340,9 +340,25 @@ public class GLRendererQuirks { *

*/ public static final int BuggyColorRenderbuffer = 18; + + /** + * Some Intel drivers under Windows wrongly claims to support pbuffers + * with accumulation buffers. Then, the creation of a pbuffer fails: + * javax.media.opengl.GLException: pbuffer creation error: Couldn't find a suitable pixel format + *

+ * Appears on: + *

+ * + *

+ */ + public static final int NoPBufferWithAccum = 19; /** Return the number of known quirks. */ - public static final int getCount() { return 19; } + public static final int getCount() { return 20; } private static final String[] _names = new String[] { "NoDoubleBufferedPBuffer", "NoDoubleBufferedBitmap", "NoSetSwapInterval", "NoOffscreenBitmap", "NoSetSwapIntervalPostRetarget", "GLSLBuggyDiscard", @@ -350,7 +366,7 @@ public class GLRendererQuirks { "NeedCurrCtx4ARBPixFmtQueries", "NeedCurrCtx4ARBCreateContext", "NoFullFBOSupport", "GLSLNonCompliant", "GL4NeedsGL3Request", "GLSharedContextBuggy", "GLES3ViaEGLES2Config", "SingletonEGLDisplayOnly", - "NoMultiSamplingBuffers", "BuggyColorRenderbuffer" + "NoMultiSamplingBuffers", "BuggyColorRenderbuffer", "NoPBufferWithAccum" }; private static final IdentityHashMap stickyDeviceQuirks = new IdentityHashMap(); -- cgit v1.2.3