From a5e0661540b7dc6c10112ab8c0d3bc41a7b03080 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 22 Feb 2012 03:29:09 +0100 Subject: Minor GL/GLContext additions / cleanups (GL_BGRA, isNPOTTextureAvailable()) - Subsume GL_EXT_texture_format_BGRA8888 -> GL, Added GLContext.isTextureFormatBGRA8888Available() - Movied generic isNPOTTextureAvailable() from GL -> GLContext, used by GL (desktop), added simplified impl. in GLES1/GLES2 (false/true) --- make/config/jogl/gl-impl-CustomJavaCode-gles2.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'make/config/jogl/gl-impl-CustomJavaCode-gles2.java') diff --git a/make/config/jogl/gl-impl-CustomJavaCode-gles2.java b/make/config/jogl/gl-impl-CustomJavaCode-gles2.java index b009d935b..195124d79 100644 --- a/make/config/jogl/gl-impl-CustomJavaCode-gles2.java +++ b/make/config/jogl/gl-impl-CustomJavaCode-gles2.java @@ -62,6 +62,10 @@ public final boolean hasGLSL() { return true; } +public boolean isNPOTTextureAvailable() { + return true; +} + public final GL4bc getGL4bc() throws GLException { throw new GLException("Not a GL4bc implementation"); } -- cgit v1.2.3