summaryrefslogtreecommitdiffstats
path: root/make/config/jogl/gl-impl-CustomJavaCode-gles1.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-09-03 15:24:10 +0200
committerSven Gothel <[email protected]>2013-09-03 15:24:10 +0200
commit54dcdf1f53c9fc1f7124cf77bbf5aa952d42053a (patch)
tree1acd6a02b71eb257b228231faed372a8e2355814 /make/config/jogl/gl-impl-CustomJavaCode-gles1.java
parent14eab8af439e6e7ce7ee08a9ca13fec3f3a80d25 (diff)
GL*, GLContext: Expose isGL2ES3() and getGL2ES3() for convenience.
Diffstat (limited to 'make/config/jogl/gl-impl-CustomJavaCode-gles1.java')
-rw-r--r--make/config/jogl/gl-impl-CustomJavaCode-gles1.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/make/config/jogl/gl-impl-CustomJavaCode-gles1.java b/make/config/jogl/gl-impl-CustomJavaCode-gles1.java
index 5d0af6913..deb73e042 100644
--- a/make/config/jogl/gl-impl-CustomJavaCode-gles1.java
+++ b/make/config/jogl/gl-impl-CustomJavaCode-gles1.java
@@ -68,6 +68,11 @@ public final boolean isGL2ES2() {
}
@Override
+public final boolean isGL2ES3() {
+ return false;
+}
+
+@Override
public final boolean isGL3ES3() {
return false;
}
@@ -163,6 +168,11 @@ public final GL2ES1 getGL2ES1() throws GLException {
}
@Override
+public final GL2ES3 getGL2ES3() throws GLException {
+ throw new GLException("Not a GL2ES3 implementation");
+}
+
+@Override
public final GL2ES2 getGL2ES2() throws GLException {
throw new GLException("Not a GL2ES2 implementation");
}