MCPcopy Create free account
hub / github.com/davideberly/GeometricTools / GetOpenGLFunction

Function GetOpenGLFunction

GTE/Graphics/GL46/GL46.cpp:47–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45// provide its own GetOpenGLFunctionPointer.
46template <typename PGLFunction>
47static 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

Calls 1

GetOpenGLFunctionPointerFunction · 0.50

Tested by

no test coverage detected