aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/games/gluegen/opengl
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/java/games/gluegen/opengl')
-rw-r--r--src/net/java/games/gluegen/opengl/JavaGLPAWrapperEmitter.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/java/games/gluegen/opengl/JavaGLPAWrapperEmitter.java b/src/net/java/games/gluegen/opengl/JavaGLPAWrapperEmitter.java
index 1bb06b791..c0bfef081 100644
--- a/src/net/java/games/gluegen/opengl/JavaGLPAWrapperEmitter.java
+++ b/src/net/java/games/gluegen/opengl/JavaGLPAWrapperEmitter.java
@@ -82,11 +82,15 @@ public class JavaGLPAWrapperEmitter extends JavaMethodBindingImplEmitter
}
protected int emitArguments(PrintWriter writer)
{
+ // following is set to true so that Buffer offset parameters are generated
+ // in parent class method, when appropriate
+ prefixedMethod = true;
int numEmitted = super.emitArguments(writer);
if (numEmitted > 0)
{
writer.print(", ");
}
+
writer.print("long glProcAddress");
++numEmitted;