diff options
Diffstat (limited to 'CNativeCode/glx-disp-fetch.hc')
-rwxr-xr-x | CNativeCode/glx-disp-fetch.hc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CNativeCode/glx-disp-fetch.hc b/CNativeCode/glx-disp-fetch.hc index b3ee5c9..75f8238 100755 --- a/CNativeCode/glx-disp-fetch.hc +++ b/CNativeCode/glx-disp-fetch.hc @@ -41,3 +41,9 @@ disp__glXSwapBuffers = (void (CALLBACK *) (Display *, GLXDrawable)) GET_GL_PROCADDRESS("glXSwapBuffers"); + /* NVidia support */ + disp__glXAllocateMemoryNV = (void* (CALLBACK * )(int, float, float, float)) + GET_GL_PROCADDRESS("glXAllocateMemoryNV"); + + disp__glXFreeMemoryNV = (void (CALLBACK * )(void*)) + GET_GL_PROCADDRESS("glXFreeMemoryNV"); |