aboutsummaryrefslogtreecommitdiffstats
path: root/make/config/jogl/gl-impl-CustomJavaCode-gles3.java
diff options
context:
space:
mode:
Diffstat (limited to 'make/config/jogl/gl-impl-CustomJavaCode-gles3.java')
-rw-r--r--make/config/jogl/gl-impl-CustomJavaCode-gles3.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/make/config/jogl/gl-impl-CustomJavaCode-gles3.java b/make/config/jogl/gl-impl-CustomJavaCode-gles3.java
index 1e9082330..16a6b9c08 100644
--- a/make/config/jogl/gl-impl-CustomJavaCode-gles3.java
+++ b/make/config/jogl/gl-impl-CustomJavaCode-gles3.java
@@ -120,6 +120,11 @@ public final boolean isGLES31Compatible() {
}
@Override
+public final boolean isGLES32Compatible() {
+ return _context.isGLES32Compatible();
+}
+
+@Override
public final boolean isGL2GL3() {
return false;
}
@@ -171,6 +176,9 @@ public final GLES2 getGLES2() throws GLException {
@Override
public final GLES3 getGLES3() throws GLException {
+ if(!_isES3) {
+ throw new GLException("Not a GLES3 implementation");
+ }
return this;
}