From 42500210d8a8626ee6c3c1b169eaa9e5fbf85a21 Mon Sep 17 00:00:00 2001
From: Sven Gothel <sgothel@jausoft.com>
Date: Sat, 7 Sep 2013 16:50:39 +0200
Subject: Complete commit 54dcdf1f53c9fc1f7124cf77bbf5aa952d42053a, exposing
 GL2ES3 in GLProfile (just a query, no new profile)

---
 src/jogl/classes/javax/media/opengl/GLProfile.java | 9 +++++++++
 1 file changed, 9 insertions(+)

(limited to 'src/jogl/classes/javax/media/opengl/GLProfile.java')

diff --git a/src/jogl/classes/javax/media/opengl/GLProfile.java b/src/jogl/classes/javax/media/opengl/GLProfile.java
index e3078271e..b5e89a23b 100644
--- a/src/jogl/classes/javax/media/opengl/GLProfile.java
+++ b/src/jogl/classes/javax/media/opengl/GLProfile.java
@@ -1128,6 +1128,15 @@ public class GLProfile {
         return GL2ES2 == profile || isGLES2() || isGL2GL3();
     }
 
+    /** 
+     * Indicates whether this profile is capable of GL2ES3. <p>Includes [ GL4bc, GL4, GL3bc, GL3, GLES3, GL3ES3, GL2, GL2GL3 ].</p>
+     * @see isGL3ES3() 
+     * @see isGL2GL3() 
+     */
+    public final boolean isGL2ES3() {
+        return isGL3ES3() || isGL2GL3();
+    }
+    
     /** Indicates whether this profile is capable of GL3ES3. <p>Includes [ GL4bc, GL4, GL3bc, GL3, GLES3 ].</p> */
     public final boolean isGL3ES3() {
         return isGL4ES3() || isGL3();
-- 
cgit v1.2.3