diff options
author | Sven Gothel <[email protected]> | 2009-06-03 13:15:40 +0000 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2009-06-03 13:15:40 +0000 |
commit | e902859efd8234e1102f4721b4bed5d48049f481 (patch) | |
tree | 8f29d3eea4fa7e4b27eb5c85cd181cb39a2daafe | |
parent | a83b17fd86ceb949efa2b9c8f2773513eff11c61 (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
-rw-r--r-- | src/java/com/sun/gluegen/opengl/BuildComposablePipeline.java | 3 |
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 |