aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/com/sun/opengl/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/classes/com/sun/opengl/util')
-rwxr-xr-xsrc/classes/com/sun/opengl/util/JOGLAppletLauncher.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/classes/com/sun/opengl/util/JOGLAppletLauncher.java b/src/classes/com/sun/opengl/util/JOGLAppletLauncher.java
index ed0d9f296..303985b69 100755
--- a/src/classes/com/sun/opengl/util/JOGLAppletLauncher.java
+++ b/src/classes/com/sun/opengl/util/JOGLAppletLauncher.java
@@ -455,6 +455,14 @@ public class JOGLAppletLauncher extends Applet {
displayError("Error opening jar file " + localJarFile.getName() + " for reading");
return;
}
+ } else {
+ // Still need to discover whether DRI hack is installed
+ File[] files = installDir.listFiles();
+ for (int i = 0; i < files.length; i++) {
+ if (files[i].getName().indexOf("jogl_drihack") >= 0) {
+ driHackPresent = true;
+ }
+ }
}
loadNativesAndStart(installDir);