| 27 | #endif |
| 28 | |
| 29 | static PROC WinGetProcAddress(const char *name) |
| 30 | { |
| 31 | static HMODULE glMod = NULL; |
| 32 | PROC pFunc = wglGetProcAddress((LPCSTR)name); |
| 33 | |
| 34 | if (pFunc) return pFunc; |
| 35 | |
| 36 | if (NULL == glMod) |
| 37 | glMod = GetModuleHandleA("OpenGL32.dll"); |
| 38 | |
| 39 | return (PROC)GetProcAddress(glMod, (LPCSTR)name); |
| 40 | } |
| 41 | |
| 42 | #define IntGetProcAddress(name) WinGetProcAddress(name) |
| 43 | #endif |
nothing calls this directly
no outgoing calls
no test coverage detected