blob: 049ca18d80ba237d5b6363c3be27a7907134d705 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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");
/* NVidia support */
disp__wglAllocateMemoryNV = (void* (CALLBACK * )(int, float, float, float))
GET_GL_PROCADDRESS("wglAllocateMemoryNV");
disp__wglFreeMemoryNV = (void (CALLBACK * )(void*))
GET_GL_PROCADDRESS("wglFreeMemoryNV");
|