diff options
author | Kenneth Russel <[email protected]> | 2007-01-11 14:28:17 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2007-01-11 14:28:17 +0000 |
commit | 67416edded227ed11069fb32b573f6c915c9408e (patch) | |
tree | d6a90cc5e69c1916d8870484a5f37ef916dc5ac0 | |
parent | 0faeafc38bb9e9bf4bc9eab752874482386911c3 (diff) |
Added -Djogl.drihack.disable for manual disabling of DRI hack
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1080 232f8b59-042b-4e1e-8c03-345bb8c30851
-rw-r--r-- | src/classes/com/sun/opengl/impl/x11/DRIHack.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/classes/com/sun/opengl/impl/x11/DRIHack.java b/src/classes/com/sun/opengl/impl/x11/DRIHack.java index f6579238e..4dda1305f 100644 --- a/src/classes/com/sun/opengl/impl/x11/DRIHack.java +++ b/src/classes/com/sun/opengl/impl/x11/DRIHack.java @@ -90,6 +90,11 @@ public class DRIHack { (os.startsWith("linux") || new File("/usr/lib/dri").exists() || new File("/usr/X11R6/lib/modules/dri").exists()); + // Allow manual overriding for now as a workaround for + // problems seen in some situations -- needs more investigation + if (System.getProperty("jogl.drihack.disable") != null) { + driHackNeeded = false; + } return null; } }); |