From c1c8dcbb0d51e4e2a902db129e5a6991d84c5fc9 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 31 Jul 2011 19:25:13 +0200 Subject: JOGL: Add GLBase::isGLES2Compatible() Indicates whether this GL object is compatible with OpenGL ES2, i.e. has the extension GL_ARB_ES2_compatibility --- make/config/jogl/gl-impl-CustomJavaCode-desktop.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'make/config/jogl/gl-impl-CustomJavaCode-desktop.java') diff --git a/make/config/jogl/gl-impl-CustomJavaCode-desktop.java b/make/config/jogl/gl-impl-CustomJavaCode-desktop.java index 4edb28272..34013209f 100644 --- a/make/config/jogl/gl-impl-CustomJavaCode-desktop.java +++ b/make/config/jogl/gl-impl-CustomJavaCode-desktop.java @@ -32,6 +32,10 @@ return _context.isGL2ES2(); } + public final boolean isGLES2Compatible() { + return _context.isGLES2Compatible(); + } + public final boolean isGL2GL3() { return _context.isGL2GL3(); } -- cgit v1.2.3