summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl/windows
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-03-06 09:59:44 +0100
committerSven Gothel <[email protected]>2015-03-06 09:59:44 +0100
commit807c86913b465ce6071bc1af7ba6f8620cd5e772 (patch)
tree4f6d3fc431b0ca8237a05485d4b1605f53d13b16 /src/jogl/classes/jogamp/opengl/windows
parent2d11a8f4f94947b2f478aea82d33c6934b90aafc (diff)
Bug 1135 - Cleanup: Remove GL_NV_vertex_array_range extension support in GLContext
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/windows')
-rw-r--r--src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLContext.java19
1 files changed, 1 insertions, 18 deletions
diff --git a/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLContext.java b/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLContext.java
index ec4575a9c..966a4dcf5 100644
--- a/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLContext.java
+++ b/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLContext.java
@@ -40,7 +40,6 @@
package jogamp.opengl.windows.wgl;
-import java.nio.ByteBuffer;
import java.nio.IntBuffer;
import java.util.HashMap;
import java.util.Map;
@@ -63,7 +62,6 @@ import jogamp.opengl.GLContextImpl;
import jogamp.opengl.GLDrawableImpl;
public class WindowsWGLContext extends GLContextImpl {
- static final Map<String, String> functionNameMap;
static final Map<String, String> extensionNameMap;
private boolean wglGetExtensionsStringEXTInitialized;
private boolean wglGetExtensionsStringEXTAvailable;
@@ -77,10 +75,6 @@ public class WindowsWGLContext extends GLContextImpl {
private int hasSwapGroupNV = 0;
static {
- functionNameMap = new HashMap<String, String>();
- functionNameMap.put("glAllocateMemoryNV", "wglAllocateMemoryNV");
- functionNameMap.put("glFreeMemoryNV", "wglFreeMemoryNV");
-
extensionNameMap = new HashMap<String, String>();
extensionNameMap.put(GLExtensions.ARB_pbuffer, WindowsWGLDrawableFactory.WGL_ARB_pbuffer);
extensionNameMap.put(GLExtensions.ARB_pixel_format, WindowsWGLDrawableFactory.WGL_ARB_pixel_format);
@@ -192,7 +186,7 @@ public class WindowsWGLContext extends GLContextImpl {
}
@Override
- protected Map<String, String> getFunctionNameMap() { return functionNameMap; }
+ protected Map<String, String> getFunctionNameMap() { return null; }
@Override
protected Map<String, String> getExtensionNameMap() { return extensionNameMap; }
@@ -572,15 +566,4 @@ public class WindowsWGLContext extends GLContextImpl {
}
return res;
}
-
- @Override
- public final ByteBuffer glAllocateMemoryNV(final int size, final float readFrequency, final float writeFrequency, final float priority) {
- return getWGLExt().wglAllocateMemoryNV(size, readFrequency, writeFrequency, priority);
- }
-
- @Override
- public final void glFreeMemoryNV(final ByteBuffer pointer) {
- getWGLExt().wglFreeMemoryNV(pointer);
- }
-
}