From 5597463a23ddb6376be96422abf99a3432ab82d1 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 13 Jun 2009 20:22:30 +0000 Subject: Sync with JOGL revision 1944 git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@344 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4 --- java-dbg.sh | 2 +- java-win32-dbg.bat | 4 ++-- src/demos/GLInfo.java | 2 +- src/demos/context/DualContext.java | 4 +++- src/demos/es1/RedSquare.java | 2 +- src/demos/es2/RedSquare.java | 3 ++- src/demos/testContextDestruction/TestContextDestruction.java | 1 + 7 files changed, 11 insertions(+), 7 deletions(-) diff --git a/java-dbg.sh b/java-dbg.sh index fd88bcd..4298a82 100644 --- a/java-dbg.sh +++ b/java-dbg.sh @@ -1,7 +1,7 @@ #! /bin/sh # java -Dgluegen.debug.ProcAddressHelper=true -Dgluegen.debug.NativeLibrary=true -Dnativewindow.debug=all -Djogl.debug=all $* 2>&1 | tee java-dbg.log -java -Dnewt.debug=all -Dnativewindow.debug=all -Djogl.debug=all $* 2>&1 | tee java-dbg.log +java -Dnewt.debug.Window -Dnativewindow.debug=all -Djogl.debug=all $* 2>&1 | tee java-dbg.log # java -Djogl.debug=all $* 2>&1 | tee java-dbg.log diff --git a/java-win32-dbg.bat b/java-win32-dbg.bat index c263813..dc9c8d2 100644 --- a/java-win32-dbg.bat +++ b/java-win32-dbg.bat @@ -15,7 +15,7 @@ echo CLASSPATH %CLASSPATH% echo PATH %PATH% REM java "-Dgluegen.debug.ProcAddressHelper" "-Dgluegen.debug.NativeLibrary=true" "-Djava.library.path=%LIB_DIR%" "-Dnativewindow.debug=all" "-Djogl.debug=all" %1 %2 %3 %4 > java-win32-dbg.log 2>&1 -REM java "-Dgluegen.debug.NativeLibrary=true" "-Dnativewindow.debug=all" "-Djogl.debug=all" "-Dsun.java2d.noddraw=true" "-Dsun.awt.noerasebackground=true" "-Djava.library.path=%LIB_DIR%" %1 %2 %3 %4 > java-win32-dbg.log 2>&1 -java "-Dnativewindow.debug=all" "-Djogl.debug=all" "-Dsun.java2d.noddraw=true" "-Dsun.awt.noerasebackground=true" "-Djava.library.path=%LIB_DIR%" %1 %2 %3 %4 > java-win32-dbg.log 2>&1 +REM java "-Dgluegen.debug.NativeLibrary=true" "-Dnewt.debug=all" "-Dnativewindow.debug=all" "-Djogl.debug=all" "-Dsun.java2d.noddraw=true" "-Dsun.awt.noerasebackground=true" "-Djava.library.path=%LIB_DIR%" %1 %2 %3 %4 > java-win32-dbg.log 2>&1 +java "-Dnewt.debug.Window" "-Dnativewindow.debug=all" "-Djogl.debug=all" "-Dsun.java2d.noddraw=true" "-Dsun.awt.noerasebackground=true" "-Djava.library.path=%LIB_DIR%" %1 %2 %3 %4 > java-win32-dbg.log 2>&1 diff --git a/src/demos/GLInfo.java b/src/demos/GLInfo.java index ba5f337..28f17be 100755 --- a/src/demos/GLInfo.java +++ b/src/demos/GLInfo.java @@ -150,7 +150,7 @@ public class GLInfo extends Thread implements GLEventListener { public static void main(String[] args) { String glprofile = null; int type = USE_NEWT ; - for(int i=args.length-1; i>=0; i--) { + for(int i=0; i=0; i--) { + for(int i=0; i=0; i--) { + for(int i=0; i