aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorsg215889 <[email protected]>2009-07-29 05:18:57 -0700
committersg215889 <[email protected]>2009-07-29 05:18:57 -0700
commitedbf35a6e713661a60a9518eeaa818c15aab089d (patch)
treeb368de994155707c3c3988af4707dae3b9e9d3e2 /src
parent62444f682ec7a1a279d0f63af8848a8494ad9977 (diff)
Add GL2GL3 synthetic methods for OpenGL Composable Pipeline
Diffstat (limited to 'src')
-rw-r--r--src/java/com/sun/gluegen/opengl/BuildComposablePipeline.java2
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 89176f557..1698b187d 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(" }");