-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathwgltest_api.h
41 lines (37 loc) · 1.77 KB
/
wgltest_api.h
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
32
33
34
35
36
37
38
39
40
41
/*
- name
- GetProcAddress/wglGetProcAddress
- GL api/winapi/driver api
- default lib (opengl32.dll/gdi32.dll)
*/
GL_API_LOAD(glClearColor, FUNC_GL, LIB_GL32)
GL_API_LOAD(glClear, FUNC_GL, LIB_GL32)
GL_API_LOAD(glPushMatrix, FUNC_GL, LIB_GL32)
GL_API_LOAD(glPopMatrix, FUNC_GL, LIB_GL32)
GL_API_LOAD(glBegin, FUNC_GL, LIB_GL32)
GL_API_LOAD(glEnd, FUNC_GL, LIB_GL32)
GL_API_LOAD(glRotatef, FUNC_GL, LIB_GL32)
GL_API_LOAD(glColor3f, FUNC_GL, LIB_GL32)
GL_API_LOAD(glVertex3f, FUNC_GL, LIB_GL32)
GL_API_LOAD(glFlush, FUNC_GL, LIB_GL32)
GL_API_LOAD(glGetString, FUNC_GL, LIB_GL32)
GL_API_LOAD(glGetIntegerv, FUNC_GL, LIB_GL32)
GL_API_LOAD(wglMakeCurrent, FUNC_WGL, LIB_GL32)
GL_API_LOAD(wglCreateContext, FUNC_WGL, LIB_GL32)
GL_API_LOAD(wglDeleteContext, FUNC_WGL, LIB_GL32)
GL_API_LOAD(wglGetProcAddress, FUNC_WINAPI, LIB_GL32)
GL_API_LOAD(SetPixelFormat, FUNC_WINAPI, LIB_GDI32)
GL_API_LOAD(SwapBuffers, FUNC_WINAPI, LIB_GDI32)
GL_API_LOAD(ChoosePixelFormat, FUNC_WINAPI, LIB_GDI32)
GL_API_LOAD(DescribePixelFormat, FUNC_WINAPI, LIB_GDI32)
GL_API_LOAD(wglChoosePixelFormat, FUNC_WRAP, LIB_GL32)
GL_API_LOAD(wglSetPixelFormat, FUNC_WRAP, LIB_GL32)
GL_API_LOAD(wglSwapBuffers, FUNC_WRAP, LIB_GL32)
GL_API_LOAD(wglDescribePixelFormat, FUNC_WRAP, LIB_GL32)
GL_API_LOAD(DrvSetPixelFormat, FUNC_DRV, LIB_DRV)
GL_API_LOAD(DrvSwapBuffers, FUNC_DRV, LIB_DRV)
GL_API_LOAD(DrvDescribePixelFormat, FUNC_DRV, LIB_DRV)
GL_API_LOAD(DrvGetProcAddress, FUNC_DRV, LIB_DRV)
GL_API_LOAD(DrvSetContext, FUNC_DRV, LIB_DRV)
GL_API_LOAD(DrvCreateLayerContext, FUNC_DRV, LIB_DRV)
GL_API_LOAD(DrvReleaseContext, FUNC_DRV, LIB_DRV)