diff options
Diffstat (limited to 'src/jogl/classes/jogamp/opengl')
-rw-r--r-- | src/jogl/classes/jogamp/opengl/ExtensionAvailabilityCache.java | 12 |
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 // |