summaryrefslogtreecommitdiffstats
path: root/src/java/com/sun/gluegen/opengl
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
commit7669b88d5ea5d46e0d83632fb2afdcc75f4f5abc (patch)
tree8525ecb63a705c65b8dad26e7c07f9b0bf9d76e8 /src/java/com/sun/gluegen/opengl
parent2acecde6ab32e718975cf49a2e03abe4b919bbca (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
Diffstat (limited to 'src/java/com/sun/gluegen/opengl')
-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 ce7f311..8512f38 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);