aboutsummaryrefslogtreecommitdiffstats
path: root/C2J/manual/wgl-disp-fetch.hc
diff options
context:
space:
mode:
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");