aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-02-22 03:53:50 +0100
committerSven Gothel <[email protected]>2012-02-22 03:53:50 +0100
commit30174dec15f9777091d1c8634f2f512eca47bc75 (patch)
treec6c21bc97c3b0c1dbf0c6ae6997d23d7eaab81bb /src/jogl/classes/jogamp
parent4504693a4cacd273b2c5610b793aeb6af748ad09 (diff)
ExtensionAvailabilityCache: Remove 'XXX_NV_vertex_array_range' hack
Diffstat (limited to 'src/jogl/classes/jogamp')
-rw-r--r--src/jogl/classes/jogamp/opengl/ExtensionAvailabilityCache.java12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/jogl/classes/jogamp/opengl/ExtensionAvailabilityCache.java b/src/jogl/classes/jogamp/opengl/ExtensionAvailabilityCache.java
index a4fb1147c..610f08e21 100644
--- a/src/jogl/classes/jogamp/opengl/ExtensionAvailabilityCache.java
+++ b/src/jogl/classes/jogamp/opengl/ExtensionAvailabilityCache.java
@@ -88,7 +88,7 @@ final class ExtensionAvailabilityCache {
final boolean isExtensionAvailable(String glExtensionName) {
validateInitialization();
- return availableExtensionCache.contains(mapGLExtensionName(glExtensionName));
+ return availableExtensionCache.contains(glExtensionName);
}
final int getPlatformExtensionCount() {
@@ -236,16 +236,6 @@ final class ExtensionAvailabilityCache {
initialized = true;
}
- // FIXME: hack to re-enable GL_NV_vertex_array_range extension after
- // recent upgrade to new wglext.h and glxext.h headers
- private static String mapGLExtensionName(String extensionName) {
- if (extensionName != null &&
- (extensionName.equals("WGL_NV_vertex_array_range") ||
- extensionName.equals("GLX_NV_vertex_array_range")))
- return "GL_NV_vertex_array_range";
- return extensionName;
- }
-
//----------------------------------------------------------------------
// Internals only below this point
//