summaryrefslogtreecommitdiffstats
path: root/src/demos/GLInfo.java
diff options
context:
space:
mode:
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;
}