aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/com/sun/gluegen/opengl
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2008-07-06 04:56:50 +0000
committerSven Gothel <[email protected]>2008-07-06 04:56:50 +0000
commitce225f7d45db51518adf47576928dfacaa92d03c (patch)
tree4655dffd0db288319e3b932eddc04fe984d49353 /src/java/com/sun/gluegen/opengl
parent921b8c98a3447b1930d0cae5428f32da315547da (diff)
Simplifying ForceProcAddressGen and LocalProcAddressCallingConvention,
while adding the generic function name '__ALL__'. This action applies to all generated functions then, hence it lowers the maintenance of the gluegen cfg files. Example: ForceProcAddressGen __ALL__ LocalProcAddressCallingConvention __ALL__ GL_APIENTRY git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/branches/JOGL_2_SANDBOX@98 a78bb65f-1512-4460-ba86-f6dc96a7bf27
Diffstat (limited to 'src/java/com/sun/gluegen/opengl')
-rw-r--r--src/java/com/sun/gluegen/opengl/GLEmitter.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/java/com/sun/gluegen/opengl/GLEmitter.java b/src/java/com/sun/gluegen/opengl/GLEmitter.java
index 66c9ccc..12675a0 100644
--- a/src/java/com/sun/gluegen/opengl/GLEmitter.java
+++ b/src/java/com/sun/gluegen/opengl/GLEmitter.java
@@ -399,6 +399,8 @@ public class GLEmitter extends ProcAddressEmitter
System.err.println("INFO: Dub VEN Function:"+
"\n\tVEN: "+fsOrig+
"\n\tDUB: "+fsUni);
+ } else if( ((GLConfiguration)cfg).getDropUniqVendorExtensions() ) {
+ iter.remove(); // remove uniq vendor extension
}
}
}