diff options
-rw-r--r-- | src/jogl/classes/com/jogamp/gluegen/opengl/BuildComposablePipeline.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/jogl/classes/com/jogamp/gluegen/opengl/BuildComposablePipeline.java b/src/jogl/classes/com/jogamp/gluegen/opengl/BuildComposablePipeline.java index d7196f77e..1d34ccfd7 100644 --- a/src/jogl/classes/com/jogamp/gluegen/opengl/BuildComposablePipeline.java +++ b/src/jogl/classes/com/jogamp/gluegen/opengl/BuildComposablePipeline.java @@ -1022,10 +1022,10 @@ public class BuildComposablePipeline { output.println(" int err = checkGLError();"); output.println(" if (err != GL_NO_ERROR) {"); - output.println(" String txt = new String(\"" + m.getName() + "(\" +"); + output.println(" String txt = \"" + m.getName() + "(\" +"); Class<?>[] params = m.getParameterTypes(); for (int i = 0; params != null && i < params.length; i++) { - output.print(" \"<" + params[i].getName() + ">"); + output.print(" \"<" + params[i].getName() + ">"); if (params[i].isArray()) { output.print("\" +"); } else if (params[i].equals(int.class)) { @@ -1037,9 +1037,9 @@ public class BuildComposablePipeline { output.println(" \", \" +"); } } - output.println(" \")\");"); + output.println(" \")\";"); // calls to glGetError() are only allowed outside of glBegin/glEnd pairs - output.println(" writeGLError( err, txt );"); + output.println(" writeGLError( err, txt );"); output.println(" }"); } } |