aboutsummaryrefslogtreecommitdiffstats
path: root/make/config/jogl/gl-impl-CustomJavaCode-gles2.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-07-31 19:25:13 +0200
committerSven Gothel <[email protected]>2011-07-31 19:25:13 +0200
commitc1c8dcbb0d51e4e2a902db129e5a6991d84c5fc9 (patch)
treefe6e090ba13d84b276b4141d8d75965d06af26e4 /make/config/jogl/gl-impl-CustomJavaCode-gles2.java
parenta7bd295f0fd5740833a0c2fb55c474d995f65819 (diff)
JOGL: Add GLBase::isGLES2Compatible()
Indicates whether this GL object is compatible with OpenGL ES2, i.e. has the extension <code>GL_ARB_ES2_compatibility</code>
Diffstat (limited to 'make/config/jogl/gl-impl-CustomJavaCode-gles2.java')
-rw-r--r--make/config/jogl/gl-impl-CustomJavaCode-gles2.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/make/config/jogl/gl-impl-CustomJavaCode-gles2.java b/make/config/jogl/gl-impl-CustomJavaCode-gles2.java
index 760ec375e..b009d935b 100644
--- a/make/config/jogl/gl-impl-CustomJavaCode-gles2.java
+++ b/make/config/jogl/gl-impl-CustomJavaCode-gles2.java
@@ -50,6 +50,10 @@ public final boolean isGL2ES2() {
return true;
}
+public final boolean isGLES2Compatible() {
+ return true;
+}
+
public final boolean isGL2GL3() {
return false;
}