GL module

gl_load

proceduresince 0.31.0Source

Fills procs with the context's function pointers. gl_create_context calls it for you; call it yourself only when you made the context some other way. GetProcAddress looks a name up; the default uses the platform's own loader.

Example↗
procs: GL_Procedures;
gl_load(*procs);

This one is only checked to compile, not run.

gl_load :: (
    procs: *GL_Procedures,
    GetProcAddress: GetProcAddressFunction = null
)

Parameters

GetProcAddress: GetProcAddressFunction = null

See also