From 6182c1a3d45478301702e6cf8e98e950f4165110 Mon Sep 17 00:00:00 2001 From: sg215889 Date: Wed, 29 Jul 2009 05:18:57 -0700 Subject: Add GL2GL3 synthetic methods for OpenGL Composable Pipeline --- src/java/com/sun/gluegen/opengl/BuildComposablePipeline.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/java/com/sun/gluegen/opengl/BuildComposablePipeline.java') 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(" }"); -- cgit v1.2.3