aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/com
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2009-06-03 13:15:40 +0000
committerSven Gothel <[email protected]>2009-06-03 13:15:40 +0000
commite902859efd8234e1102f4721b4bed5d48049f481 (patch)
tree8f29d3eea4fa7e4b27eb5c85cd181cb39a2daafe /src/java/com
parenta83b17fd86ceb949efa2b9c8f2773513eff11c61 (diff)
Add BuildComposablePipeline::getGLProfile()
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/branches/JOGL_2_SANDBOX@136 a78bb65f-1512-4460-ba86-f6dc96a7bf27
Diffstat (limited to 'src/java/com')
-rw-r--r--src/java/com/sun/gluegen/opengl/BuildComposablePipeline.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/java/com/sun/gluegen/opengl/BuildComposablePipeline.java b/src/java/com/sun/gluegen/opengl/BuildComposablePipeline.java
index b39e8a1..89176f5 100644
--- a/src/java/com/sun/gluegen/opengl/BuildComposablePipeline.java
+++ b/src/java/com/sun/gluegen/opengl/BuildComposablePipeline.java
@@ -648,6 +648,9 @@ public class BuildComposablePipeline
emitGLGetMethod(output, "GLES2");
emitGLGetMethod(output, "GL2ES1");
emitGLGetMethod(output, "GL2ES2");
+ output.println(" public GLProfile getGLProfile() {");
+ output.println(" return "+getDownstreamObjectName()+".getGLProfile();");
+ output.println(" }");
}
} // end class PipelineEmitter