From e902859efd8234e1102f4721b4bed5d48049f481 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 3 Jun 2009 13:15:40 +0000 Subject: 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 --- src/java/com/sun/gluegen/opengl/BuildComposablePipeline.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/java/com/sun/gluegen') 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 -- cgit v1.2.3