aboutsummaryrefslogtreecommitdiffstats
path: root/C2J/manual/wgl-disp-fetch.hc
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2001-11-11 21:30:13 +0000
committerKenneth Russel <[email protected]>2001-11-11 21:30:13 +0000
commitf610ac01f50165b2ea6bc4a81d02abf2e222d876 (patch)
tree2b54144d82803e6665a371b6eeeae6812a16e3ac /C2J/manual/wgl-disp-fetch.hc
parent3b0e7fd364c6d61b97f4f2daf405b30e662fddc7 (diff)
Support for NVidia AllocateMemoryNV extension and fixed problem with extensions not being loaded
Diffstat (limited to 'C2J/manual/wgl-disp-fetch.hc')
-rwxr-xr-xC2J/manual/wgl-disp-fetch.hc55
1 files changed, 30 insertions, 25 deletions
diff --git a/C2J/manual/wgl-disp-fetch.hc b/C2J/manual/wgl-disp-fetch.hc
index 4a84ecc..049ca18 100755
--- a/C2J/manual/wgl-disp-fetch.hc
+++ b/C2J/manual/wgl-disp-fetch.hc
@@ -1,26 +1,31 @@
-
- disp__wglCopyContext = (BOOL (CALLBACK *)(HGLRC, HGLRC, UINT))
- GET_GL_PROCADDRESS("wglCopyContext");
-
- disp__wglCreateContext = (HGLRC (CALLBACK *)(HDC))
- GET_GL_PROCADDRESS("wglCreateContext");
-
- disp__wglCreateLayerContext = (HGLRC (CALLBACK *)(HDC, int))
- GET_GL_PROCADDRESS("wglCreateLayerContext");
-
- disp__wglDeleteContext = (BOOL (CALLBACK *)(HGLRC))
- GET_GL_PROCADDRESS("wglDeleteContext");
-
- disp__wglGetCurrentContext = (HGLRC (CALLBACK *)(VOID))
- GET_GL_PROCADDRESS("wglGetCurrentContext");
-
- disp__wglGetCurrentDC = (HDC (CALLBACK *)(VOID))
- GET_GL_PROCADDRESS("wglGetCurrentDC");
-
- disp__wglMakeCurrent = (BOOL (CALLBACK *)(HDC, HGLRC))
- GET_GL_PROCADDRESS("wglMakeCurrent");
-
- disp__wglShareLists = (BOOL (CALLBACK *)(HGLRC, HGLRC))
- GET_GL_PROCADDRESS("wglShareLists");
-
+ disp__wglCopyContext = (BOOL (CALLBACK *)(HGLRC, HGLRC, UINT))
+ GET_GL_PROCADDRESS("wglCopyContext");
+
+ disp__wglCreateContext = (HGLRC (CALLBACK *)(HDC))
+ GET_GL_PROCADDRESS("wglCreateContext");
+
+ disp__wglCreateLayerContext = (HGLRC (CALLBACK *)(HDC, int))
+ GET_GL_PROCADDRESS("wglCreateLayerContext");
+
+ disp__wglDeleteContext = (BOOL (CALLBACK *)(HGLRC))
+ GET_GL_PROCADDRESS("wglDeleteContext");
+
+ disp__wglGetCurrentContext = (HGLRC (CALLBACK *)(VOID))
+ GET_GL_PROCADDRESS("wglGetCurrentContext");
+
+ disp__wglGetCurrentDC = (HDC (CALLBACK *)(VOID))
+ GET_GL_PROCADDRESS("wglGetCurrentDC");
+
+ disp__wglMakeCurrent = (BOOL (CALLBACK *)(HDC, HGLRC))
+ GET_GL_PROCADDRESS("wglMakeCurrent");
+
+ disp__wglShareLists = (BOOL (CALLBACK *)(HGLRC, HGLRC))
+ GET_GL_PROCADDRESS("wglShareLists");
+
+ /* NVidia support */
+ disp__wglAllocateMemoryNV = (void* (CALLBACK * )(int, float, float, float))
+ GET_GL_PROCADDRESS("wglAllocateMemoryNV");
+
+ disp__wglFreeMemoryNV = (void (CALLBACK * )(void*))
+ GET_GL_PROCADDRESS("wglFreeMemoryNV");