diff options
author | Mark Raynsford <[email protected]> | 2013-07-03 21:17:26 +0000 |
---|---|---|
committer | Mark Raynsford <[email protected]> | 2013-07-03 21:17:26 +0000 |
commit | 061eb775c0a55c9778c087f8a54df2c6a0a49c9c (patch) | |
tree | 5cf087a94910416ea9469076c7e56823a3123847 | |
parent | 9afc340e1e81cec6fa6deda3fe548fd2fa1d8e5f (diff) |
Remove redundant check around Mesa quirk (that check has already occurred via isDriverMesa)
-rw-r--r-- | src/jogl/classes/jogamp/opengl/GLContextImpl.java | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/jogl/classes/jogamp/opengl/GLContextImpl.java b/src/jogl/classes/jogamp/opengl/GLContextImpl.java index b76ba866c..8671b045d 100644 --- a/src/jogl/classes/jogamp/opengl/GLContextImpl.java +++ b/src/jogl/classes/jogamp/opengl/GLContextImpl.java @@ -1649,16 +1649,13 @@ public abstract class GLContextImpl extends GLContext { } quirks[i++] = quirk; } - if(glRenderer.contains( MesaSP )) - { - if (compatCtx && (major > 3 || (major == 3 && minor >= 1))) { - // FIXME: Apply vendor version constraints! - final int quirk = GLRendererQuirks.GLNonCompliant; - if(DEBUG) { - System.err.println("Quirk: "+GLRendererQuirks.toString(quirk)+": cause: Renderer " + glRenderer); - } - quirks[i++] = quirk; + if (compatCtx && (major > 3 || (major == 3 && minor >= 1))) { + // FIXME: Apply vendor version constraints! + final int quirk = GLRendererQuirks.GLNonCompliant; + if(DEBUG) { + System.err.println("Quirk: "+GLRendererQuirks.toString(quirk)+": cause: Renderer " + glRenderer); } + quirks[i++] = quirk; } if( Platform.getOSType() == Platform.OSType.WINDOWS && glRenderer.contains("SVGA3D") ) { |