summaryrefslogtreecommitdiffstats
path: root/src/net/java/games/gluegen
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2004-04-22 01:46:55 +0000
committerKenneth Russel <[email protected]>2004-04-22 01:46:55 +0000
commit6ea7e2388164abd26aa8a88ffe615fb6e7780ee6 (patch)
treebdd2035f3f7894260ea8a79e242bf50af54c2f22 /src/net/java/games/gluegen
parentc8440fcccaa8b306c8b52acf384fa14daec95f5c (diff)
Fixed problems in WindowsGLContext and TraceGL pointed out by jonmeyer
on JOGL forums git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@114 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/net/java/games/gluegen')
-rw-r--r--src/net/java/games/gluegen/opengl/BuildComposablePipeline.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/java/games/gluegen/opengl/BuildComposablePipeline.java b/src/net/java/games/gluegen/opengl/BuildComposablePipeline.java
index d3f9a4603..230add51a 100644
--- a/src/net/java/games/gluegen/opengl/BuildComposablePipeline.java
+++ b/src/net/java/games/gluegen/opengl/BuildComposablePipeline.java
@@ -473,6 +473,7 @@ public class BuildComposablePipeline
output.println("private int indent = 0;");
output.println("protected String dumpArray(Object obj)");
output.println("{");
+ output.println(" if (obj == null) return \"[null]\";");
output.println(" StringBuffer sb = new StringBuffer(\"[\");");
output.println(" int len = java.lang.reflect.Array.getLength(obj);");
output.println(" int count = Math.min(len,16);");