summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2006-03-06 01:09:25 +0000
committerKenneth Russel <[email protected]>2006-03-06 01:09:25 +0000
commit892aa206a224fdbb6279bed0dcecfafc8c17a33a (patch)
treee9050968d4cd76821b9739dfdb6e32d03470e837
parentbf6de7167a62d48d081807ede7489c93d1bf16a6 (diff)
Did refactoring and made private fields protected in order to allow
subclassing git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@21 a78bb65f-1512-4460-ba86-f6dc96a7bf27
-rwxr-xr-xsrc/java/com/sun/gluegen/opengl/GLJavaMethodBindingEmitter.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/java/com/sun/gluegen/opengl/GLJavaMethodBindingEmitter.java b/src/java/com/sun/gluegen/opengl/GLJavaMethodBindingEmitter.java
index ce7f3110e..8512f38f9 100755
--- a/src/java/com/sun/gluegen/opengl/GLJavaMethodBindingEmitter.java
+++ b/src/java/com/sun/gluegen/opengl/GLJavaMethodBindingEmitter.java
@@ -50,7 +50,7 @@ import com.sun.gluegen.procaddress.*;
Pixel Buffer Object variants. */
public class GLJavaMethodBindingEmitter extends ProcAddressJavaMethodBindingEmitter {
- private boolean bufferObjectVariant;
+ protected boolean bufferObjectVariant;
public GLJavaMethodBindingEmitter(JavaMethodBindingEmitter methodToWrap,
boolean callThroughProcAddress,
@@ -72,6 +72,10 @@ public class GLJavaMethodBindingEmitter extends ProcAddressJavaMethodBindingEmit
this.bufferObjectVariant = bufferObjectVariant;
}
+ public GLJavaMethodBindingEmitter(GLJavaMethodBindingEmitter methodToWrap) {
+ this(methodToWrap, methodToWrap.bufferObjectVariant);
+ }
+
protected String getArgumentName(int i) {
String name = super.getArgumentName(i);