MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / getProcAddress

Function getProcAddress

Engine/OSGLContext_x11.cpp:261–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259
260typedef void (*GLPFNglproc)(void);
261static GLPFNglproc
262getProcAddress(const OSGLContext_glx_data* data,
263 const char* procname)
264{
265 if (data->_imp->GetProcAddress) {
266 return data->_imp->GetProcAddress( (const GLubyte*) procname );
267 } else if (data->_imp->GetProcAddressARB) {
268 return data->_imp->GetProcAddressARB( (const GLubyte*) procname );
269 } else {
270 return (GLPFNglproc)dlsym(data->_imp->handle, procname);
271 }
272}
273
274void
275OSGLContext_x11::initGLXData(OSGLContext_glx_data* glxInfo)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected