| 45 | // provide its own GetOpenGLFunctionPointer. |
| 46 | template <typename PGLFunction> |
| 47 | static void GetOpenGLFunction(char const* name, PGLFunction& function) |
| 48 | { |
| 49 | extern void* GetOpenGLFunctionPointer(char const*); |
| 50 | function = (PGLFunction)GetOpenGLFunctionPointer(name); |
| 51 | } |
| 52 | |
| 53 | // Listen for glError warnings or errors. |
| 54 | //#define GTE_GL46_THROW_ON_REPORT_LISTENER_WARNING |
no test coverage detected