aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/sun/opengl/impl/DRIHack.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2009-07-03 04:34:02 +0000
committerSven Gothel <[email protected]>2009-07-03 04:34:02 +0000
commit05cab54625f7482b1179cabe4902fbbbb53ea44d (patch)
tree366001efdb204266f59910145010183a2411af45 /src/jogl/classes/com/sun/opengl/impl/DRIHack.java
parentd6ec90ca7bfe9ee217386365c819659c161a10f6 (diff)
Fix property handling ; Adding jnlp. aliasing for properties
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@2016 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/jogl/classes/com/sun/opengl/impl/DRIHack.java')
-rwxr-xr-xsrc/jogl/classes/com/sun/opengl/impl/DRIHack.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jogl/classes/com/sun/opengl/impl/DRIHack.java b/src/jogl/classes/com/sun/opengl/impl/DRIHack.java
index 5478bd2f3..63a2f7ecd 100755
--- a/src/jogl/classes/com/sun/opengl/impl/DRIHack.java
+++ b/src/jogl/classes/com/sun/opengl/impl/DRIHack.java
@@ -83,7 +83,7 @@ public class DRIHack {
public static void begin() {
AccessController.doPrivileged(new PrivilegedAction() {
public Object run() {
- String os = System.getProperty("os.name").toLowerCase();
+ String os = Debug.getProperty("os.name", false).toLowerCase();
// Do DRI hack on all Linux distributions for best robustness
driHackNeeded =
(os.startsWith("linux") ||
@@ -91,7 +91,7 @@ public class DRIHack {
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) {
+ if (Debug.getProperty("jogl.drihack.disable", true) != null) {
driHackNeeded = false;
}
return null;