From a5e0661540b7dc6c10112ab8c0d3bc41a7b03080 Mon Sep 17 00:00:00 2001
From: Sven Gothel <sgothel@jausoft.com>
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-common.java | 5 -----
 1 file changed, 5 deletions(-)

(limited to 'make/config/jogl/gl-impl-CustomJavaCode-common.java')

diff --git a/make/config/jogl/gl-impl-CustomJavaCode-common.java b/make/config/jogl/gl-impl-CustomJavaCode-common.java
index 8e7a9fb37..0a8e90171 100644
--- a/make/config/jogl/gl-impl-CustomJavaCode-common.java
+++ b/make/config/jogl/gl-impl-CustomJavaCode-common.java
@@ -35,11 +35,6 @@
       return _context.isExtensionAvailable(glExtensionName);
     }
 
-    public boolean isNPOTTextureAvailable() {
-      return isGL3() || isGLES2Compatible() || isExtensionAvailable(GL_ARB_texture_non_power_of_two);
-    }
-    private static final String GL_ARB_texture_non_power_of_two = "GL_ARB_texture_non_power_of_two";
-
     public Object getExtension(String extensionName) {
       // At this point we don't expose any extensions using this mechanism
       return null;
-- 
cgit v1.2.3