summaryrefslogtreecommitdiffstats
path: root/src/demos/GLInfo.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2009-06-13 20:22:30 +0000
committerSven Gothel <[email protected]>2009-06-13 20:22:30 +0000
commit5597463a23ddb6376be96422abf99a3432ab82d1 (patch)
tree5ba7fd7667492b1072a52b7a91c1b237704a10fc /src/demos/GLInfo.java
parent19310d1c70f86ea0708cc31b81ace03c5eae42b9 (diff)
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
Diffstat (limited to 'src/demos/GLInfo.java')
-rwxr-xr-xsrc/demos/GLInfo.java2
1 files changed, 1 insertions, 1 deletions
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<args.length; i++) {
if(args[i].equals("-awt")) {
type |= USE_AWT;
}