-
Notifications
You must be signed in to change notification settings - Fork 56
MTY_GLGetProcAddress
chrisd1100 edited this page Aug 25, 2022
·
1 revision
If using MTY_GFX_GL
, retrieve a GL function by its name.
A GL context (WGL, GLX, EGL) must be active on the current thread for this function to work properly.
void *MTY_GLGetProcAddress(
const char * name
);
name
(const char *
)
The name of the GL function, i.e. glGenFramebuffers
.
void *
A pointer a function retrieved from the current GL context, or NULL
if the symbol was not found.