Reference OpenGLLoadFunctions
Declared in Codebot.OpenGL.pas on lines 4691, 4692
OpenGLLoadFunctions loads every function belonging to the version selected in render.inc. An OpenGL context must be created and made current before calling this function. The result is True if every function was found and the current context version is at least the selected version.
The overload without arguments uses glXGetProcAddress on linux and wglGetProcAddress on windows. Use the GetProc overload to load functions using another library such as SDL or GLFW.
function OpenGLLoadFunctions: Boolean; overload;
function OpenGLLoadFunctions(GetProc: TOpenGLGetProc): Boolean; overload;