summaryrefslogtreecommitdiffstats
path: root/java-run-newt.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-05-21 06:19:40 +0200
committerSven Gothel <[email protected]>2010-05-21 06:19:40 +0200
commit49b453135a64ad944eac2d4bebcb0fbb2fac5494 (patch)
tree0b666218146f161102a124ad0ccd16317da8a976 /java-run-newt.sh
parent2329eaec304b79b1f9cd5838f7ea8747a9b45e14 (diff)
Fixes for JOGL changes 6e599a2696f878786783e0fea17534e67655a5c9
Diffstat (limited to 'java-run-newt.sh')
-rwxr-xr-xjava-run-newt.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/java-run-newt.sh b/java-run-newt.sh
index 14069af..f60a05e 100755
--- a/java-run-newt.sh
+++ b/java-run-newt.sh
@@ -16,7 +16,8 @@ if [ $CPOK -eq 0 ] ; then
else
if [ $MOSX -eq 1 ] ; then
X_ARGS="-XstartOnFirstThread"
+ C_ARG="com.jogamp.newt.util.MainThread"
fi
- java $X_ARGS -Djava.awt.headless=true com.jogamp.newt.util.MainThread $* 2>&1 | tee java-run-newt.log
+ java $X_ARGS -Djava.awt.headless=true $C_ARG $* 2>&1 | tee java-run-newt.log
fi