glXGetProcAddress.3G man page

glXGetProcAddress — obtain a pointer to an OpenGL or GLX function

C Specification

void(*)() glXGetProcAddress(const GLubyte * procName);



Specifies the name of the OpenGL or GLX function whose address is to be returned.


glXGetProcAddress returns the address of the function specified in procName. This is necessary in environments where the OpenGL link library exports a different set of functions than the runtime library.


A NULL pointer is returned if function requested is not suported in the implementation being queried.

GLU functions are not queryable due to the fact that the library may not be loaded at the time of the query.


Referenced By

glutGetProcAddress(3), waffle_get_proc_address(3).

02/07/2018 OpenGL Manual