diff options
author | sg215889 <[email protected]> | 2009-07-29 05:18:57 -0700 |
---|---|---|
committer | sg215889 <[email protected]> | 2009-07-29 05:18:57 -0700 |
commit | 6182c1a3d45478301702e6cf8e98e950f4165110 (patch) | |
tree | 474849bd74886f433cdc2268d19e8348c9cee24f /src | |
parent | e9468e9aa2bd6d893bb1e0b9058da0ee9a824576 (diff) |
Add GL2GL3 synthetic methods for OpenGL Composable Pipeline
Diffstat (limited to 'src')
-rw-r--r-- | src/java/com/sun/gluegen/opengl/BuildComposablePipeline.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/java/com/sun/gluegen/opengl/BuildComposablePipeline.java b/src/java/com/sun/gluegen/opengl/BuildComposablePipeline.java index 89176f5..1698b18 100644 --- a/src/java/com/sun/gluegen/opengl/BuildComposablePipeline.java +++ b/src/java/com/sun/gluegen/opengl/BuildComposablePipeline.java @@ -619,6 +619,7 @@ public class BuildComposablePipeline emitGLIsMethod(output, "GLES2"); emitGLIsMethod(output, "GL2ES1"); emitGLIsMethod(output, "GL2ES2"); + emitGLIsMethod(output, "GL2GL3"); output.println(" public boolean isGLES() {"); output.println(" return isGLES2() || isGLES1();"); output.println(" }"); @@ -648,6 +649,7 @@ public class BuildComposablePipeline emitGLGetMethod(output, "GLES2"); emitGLGetMethod(output, "GL2ES1"); emitGLGetMethod(output, "GL2ES2"); + emitGLGetMethod(output, "GL2GL3"); output.println(" public GLProfile getGLProfile() {"); output.println(" return "+getDownstreamObjectName()+".getGLProfile();"); output.println(" }"); |