85static void* get_proc(
const char *namez);
87#if defined(_WIN32) || defined(__CYGWIN__)
94typedef void* (APIENTRYP PFNWGLGETPROCADDRESSPROC_PRIVATE)(
const char*);
95static PFNWGLGETPROCADDRESSPROC_PRIVATE gladGetProcAddressPtr;
99 #if __has_include(<winapifamily.h>)
100 #define HAVE_WINAPIFAMILY 1
102#elif _MSC_VER >= 1700 && !_USING_V110_SDK71_
103 #define HAVE_WINAPIFAMILY 1
107#ifdef HAVE_WINAPIFAMILY
108 #include <winapifamily.h>
109 #if !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) && WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
117 libGL = LoadLibraryW(L
"opengl32.dll");
120 tmp = (void(*)(void)) GetProcAddress(libGL,
"wglGetProcAddress");
121 gladGetProcAddressPtr = (PFNWGLGETPROCADDRESSPROC_PRIVATE) tmp;
122 return gladGetProcAddressPtr != NULL;
132 FreeLibrary((HMODULE) libGL);
140#if !defined(__APPLE__) && !defined(__HAIKU__)
141typedef void* (APIENTRYP PFNGLXGETPROCADDRESSPROC_PRIVATE)(
const char*);
142static PFNGLXGETPROCADDRESSPROC_PRIVATE gladGetProcAddressPtr;
148 static const char *NAMES[] = {
149 "../Frameworks/OpenGL.framework/OpenGL",
150 "/Library/Frameworks/OpenGL.framework/OpenGL",
151 "/System/Library/Frameworks/OpenGL.framework/OpenGL",
152 "/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL"
155 static const char *NAMES[] = {
"libGL.so.1",
"libGL.so"};
158 unsigned int index = 0;
159 for(index = 0; index < (
sizeof(NAMES) /
sizeof(NAMES[0])); index++) {
160 libGL = dlopen(NAMES[index], RTLD_NOW | RTLD_GLOBAL);
163#if defined(__APPLE__) || defined(__HAIKU__)
166 gladGetProcAddressPtr = (PFNGLXGETPROCADDRESSPROC_PRIVATE)dlsym(libGL,
167 "glXGetProcAddressARB");
168 return gladGetProcAddressPtr != NULL;
186void* get_proc(
const char *namez) {
188 if(libGL == NULL)
return NULL;
190#if !defined(__APPLE__) && !defined(__HAIKU__)
191 if(gladGetProcAddressPtr != NULL) {
192 result = gladGetProcAddressPtr(namez);
196#if defined(_WIN32) || defined(__CYGWIN__)
197 result = (
void*)GetProcAddress((HMODULE) libGL, namez);
199 result = dlsym(libGL, namez);
206int gladLoadGL(
void) {
210 status = gladLoadGLLoader(&get_proc);
219#if defined(GL_ES_VERSION_3_0) || defined(GL_VERSION_3_0)
220#define _GLAD_IS_SOME_NEW_VERSION 1
223static int max_loaded_major;
224static int max_loaded_minor;
226static const char *exts = NULL;
227static int num_exts_i = 0;
228static char **exts_i = NULL;
230static int get_exts(
void) {
231#ifdef _GLAD_IS_SOME_NEW_VERSION
232 if(max_loaded_major < 3) {
234 exts = (
const char *)glGetString(GL_EXTENSIONS);
235#ifdef _GLAD_IS_SOME_NEW_VERSION
240 glGetIntegerv(GL_NUM_EXTENSIONS, &num_exts_i);
241 if (num_exts_i > 0) {
242 exts_i = (
char **)malloc((
size_t)num_exts_i * (
sizeof *exts_i));
245 if (exts_i == NULL) {
249 for(index = 0; index < (unsigned)num_exts_i; index++) {
250 const char *gl_str_tmp = (
const char*)glGetStringi(GL_EXTENSIONS, index);
251 size_t len = strlen(gl_str_tmp);
253 char *local_str = (
char*)malloc((len+1) *
sizeof(char));
254 if(local_str != NULL) {
255 memcpy(local_str, gl_str_tmp, (len+1) *
sizeof(
char));
257 exts_i[index] = local_str;
264static void free_exts(
void) {
265 if (exts_i != NULL) {
267 for(index = 0; index < num_exts_i; index++) {
268 free((
char *)exts_i[index]);
270 free((
void *)exts_i);
275static int has_ext(
const char *ext) {
276#ifdef _GLAD_IS_SOME_NEW_VERSION
277 if(max_loaded_major < 3) {
279 const char *extensions;
281 const char *terminator;
283 if(extensions == NULL || ext == NULL) {
288 loc = strstr(extensions, ext);
293 terminator = loc + strlen(ext);
294 if((loc == extensions || *(loc - 1) ==
' ') &&
295 (*terminator ==
' ' || *terminator ==
'\0')) {
298 extensions = terminator;
300#ifdef _GLAD_IS_SOME_NEW_VERSION
303 if(exts_i == NULL)
return 0;
304 for(index = 0; index < num_exts_i; index++) {
305 const char *e = exts_i[index];
307 if(exts_i[index] != NULL && strcmp(e, ext) == 0) {
316int GLAD_GL_VERSION_1_0 = 0;
317int GLAD_GL_VERSION_1_1 = 0;
318int GLAD_GL_VERSION_1_2 = 0;
319int GLAD_GL_VERSION_1_3 = 0;
320int GLAD_GL_VERSION_1_4 = 0;
321int GLAD_GL_VERSION_1_5 = 0;
322int GLAD_GL_VERSION_2_0 = 0;
323int GLAD_GL_VERSION_2_1 = 0;
324PFNGLACCUMPROC glad_glAccum = NULL;
325PFNGLACTIVETEXTUREPROC glad_glActiveTexture = NULL;
326PFNGLALPHAFUNCPROC glad_glAlphaFunc = NULL;
327PFNGLARETEXTURESRESIDENTPROC glad_glAreTexturesResident = NULL;
328PFNGLARRAYELEMENTPROC glad_glArrayElement = NULL;
329PFNGLATTACHSHADERPROC glad_glAttachShader = NULL;
330PFNGLBEGINPROC glad_glBegin = NULL;
331PFNGLBEGINQUERYPROC glad_glBeginQuery = NULL;
332PFNGLBINDATTRIBLOCATIONPROC glad_glBindAttribLocation = NULL;
333PFNGLBINDBUFFERPROC glad_glBindBuffer = NULL;
334PFNGLBINDTEXTUREPROC glad_glBindTexture = NULL;
335PFNGLBITMAPPROC glad_glBitmap = NULL;
336PFNGLBLENDCOLORPROC glad_glBlendColor = NULL;
337PFNGLBLENDEQUATIONPROC glad_glBlendEquation = NULL;
338PFNGLBLENDEQUATIONSEPARATEPROC glad_glBlendEquationSeparate = NULL;
339PFNGLBLENDFUNCPROC glad_glBlendFunc = NULL;
340PFNGLBLENDFUNCSEPARATEPROC glad_glBlendFuncSeparate = NULL;
341PFNGLBUFFERDATAPROC glad_glBufferData = NULL;
342PFNGLBUFFERSUBDATAPROC glad_glBufferSubData = NULL;
343PFNGLCALLLISTPROC glad_glCallList = NULL;
344PFNGLCALLLISTSPROC glad_glCallLists = NULL;
345PFNGLCLEARPROC glad_glClear = NULL;
346PFNGLCLEARACCUMPROC glad_glClearAccum = NULL;
347PFNGLCLEARCOLORPROC glad_glClearColor = NULL;
348PFNGLCLEARDEPTHPROC glad_glClearDepth = NULL;
349PFNGLCLEARINDEXPROC glad_glClearIndex = NULL;
350PFNGLCLEARSTENCILPROC glad_glClearStencil = NULL;
351PFNGLCLIENTACTIVETEXTUREPROC glad_glClientActiveTexture = NULL;
352PFNGLCLIPPLANEPROC glad_glClipPlane = NULL;
353PFNGLCOLOR3BPROC glad_glColor3b = NULL;
354PFNGLCOLOR3BVPROC glad_glColor3bv = NULL;
355PFNGLCOLOR3DPROC glad_glColor3d = NULL;
356PFNGLCOLOR3DVPROC glad_glColor3dv = NULL;
357PFNGLCOLOR3FPROC glad_glColor3f = NULL;
358PFNGLCOLOR3FVPROC glad_glColor3fv = NULL;
359PFNGLCOLOR3IPROC glad_glColor3i = NULL;
360PFNGLCOLOR3IVPROC glad_glColor3iv = NULL;
361PFNGLCOLOR3SPROC glad_glColor3s = NULL;
362PFNGLCOLOR3SVPROC glad_glColor3sv = NULL;
363PFNGLCOLOR3UBPROC glad_glColor3ub = NULL;
364PFNGLCOLOR3UBVPROC glad_glColor3ubv = NULL;
365PFNGLCOLOR3UIPROC glad_glColor3ui = NULL;
366PFNGLCOLOR3UIVPROC glad_glColor3uiv = NULL;
367PFNGLCOLOR3USPROC glad_glColor3us = NULL;
368PFNGLCOLOR3USVPROC glad_glColor3usv = NULL;
369PFNGLCOLOR4BPROC glad_glColor4b = NULL;
370PFNGLCOLOR4BVPROC glad_glColor4bv = NULL;
371PFNGLCOLOR4DPROC glad_glColor4d = NULL;
372PFNGLCOLOR4DVPROC glad_glColor4dv = NULL;
373PFNGLCOLOR4FPROC glad_glColor4f = NULL;
374PFNGLCOLOR4FVPROC glad_glColor4fv = NULL;
375PFNGLCOLOR4IPROC glad_glColor4i = NULL;
376PFNGLCOLOR4IVPROC glad_glColor4iv = NULL;
377PFNGLCOLOR4SPROC glad_glColor4s = NULL;
378PFNGLCOLOR4SVPROC glad_glColor4sv = NULL;
379PFNGLCOLOR4UBPROC glad_glColor4ub = NULL;
380PFNGLCOLOR4UBVPROC glad_glColor4ubv = NULL;
381PFNGLCOLOR4UIPROC glad_glColor4ui = NULL;
382PFNGLCOLOR4UIVPROC glad_glColor4uiv = NULL;
383PFNGLCOLOR4USPROC glad_glColor4us = NULL;
384PFNGLCOLOR4USVPROC glad_glColor4usv = NULL;
385PFNGLCOLORMASKPROC glad_glColorMask = NULL;
386PFNGLCOLORMATERIALPROC glad_glColorMaterial = NULL;
387PFNGLCOLORPOINTERPROC glad_glColorPointer = NULL;
388PFNGLCOMPILESHADERPROC glad_glCompileShader = NULL;
389PFNGLCOMPRESSEDTEXIMAGE1DPROC glad_glCompressedTexImage1D = NULL;
390PFNGLCOMPRESSEDTEXIMAGE2DPROC glad_glCompressedTexImage2D = NULL;
391PFNGLCOMPRESSEDTEXIMAGE3DPROC glad_glCompressedTexImage3D = NULL;
392PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC glad_glCompressedTexSubImage1D = NULL;
393PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glad_glCompressedTexSubImage2D = NULL;
394PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC glad_glCompressedTexSubImage3D = NULL;
395PFNGLCOPYPIXELSPROC glad_glCopyPixels = NULL;
396PFNGLCOPYTEXIMAGE1DPROC glad_glCopyTexImage1D = NULL;
397PFNGLCOPYTEXIMAGE2DPROC glad_glCopyTexImage2D = NULL;
398PFNGLCOPYTEXSUBIMAGE1DPROC glad_glCopyTexSubImage1D = NULL;
399PFNGLCOPYTEXSUBIMAGE2DPROC glad_glCopyTexSubImage2D = NULL;
400PFNGLCOPYTEXSUBIMAGE3DPROC glad_glCopyTexSubImage3D = NULL;
401PFNGLCREATEPROGRAMPROC glad_glCreateProgram = NULL;
402PFNGLCREATESHADERPROC glad_glCreateShader = NULL;
403PFNGLCULLFACEPROC glad_glCullFace = NULL;
404PFNGLDELETEBUFFERSPROC glad_glDeleteBuffers = NULL;
405PFNGLDELETELISTSPROC glad_glDeleteLists = NULL;
406PFNGLDELETEPROGRAMPROC glad_glDeleteProgram = NULL;
407PFNGLDELETEQUERIESPROC glad_glDeleteQueries = NULL;
408PFNGLDELETESHADERPROC glad_glDeleteShader = NULL;
409PFNGLDELETETEXTURESPROC glad_glDeleteTextures = NULL;
410PFNGLDEPTHFUNCPROC glad_glDepthFunc = NULL;
411PFNGLDEPTHMASKPROC glad_glDepthMask = NULL;
412PFNGLDEPTHRANGEPROC glad_glDepthRange = NULL;
413PFNGLDETACHSHADERPROC glad_glDetachShader = NULL;
414PFNGLDISABLEPROC glad_glDisable = NULL;
415PFNGLDISABLECLIENTSTATEPROC glad_glDisableClientState = NULL;
416PFNGLDISABLEVERTEXATTRIBARRAYPROC glad_glDisableVertexAttribArray = NULL;
417PFNGLDRAWARRAYSPROC glad_glDrawArrays = NULL;
418PFNGLDRAWBUFFERPROC glad_glDrawBuffer = NULL;
419PFNGLDRAWBUFFERSPROC glad_glDrawBuffers = NULL;
420PFNGLDRAWELEMENTSPROC glad_glDrawElements = NULL;
421PFNGLDRAWPIXELSPROC glad_glDrawPixels = NULL;
422PFNGLDRAWRANGEELEMENTSPROC glad_glDrawRangeElements = NULL;
423PFNGLEDGEFLAGPROC glad_glEdgeFlag = NULL;
424PFNGLEDGEFLAGPOINTERPROC glad_glEdgeFlagPointer = NULL;
425PFNGLEDGEFLAGVPROC glad_glEdgeFlagv = NULL;
426PFNGLENABLEPROC glad_glEnable = NULL;
427PFNGLENABLECLIENTSTATEPROC glad_glEnableClientState = NULL;
428PFNGLENABLEVERTEXATTRIBARRAYPROC glad_glEnableVertexAttribArray = NULL;
429PFNGLENDPROC glad_glEnd = NULL;
430PFNGLENDLISTPROC glad_glEndList = NULL;
431PFNGLENDQUERYPROC glad_glEndQuery = NULL;
432PFNGLEVALCOORD1DPROC glad_glEvalCoord1d = NULL;
433PFNGLEVALCOORD1DVPROC glad_glEvalCoord1dv = NULL;
434PFNGLEVALCOORD1FPROC glad_glEvalCoord1f = NULL;
435PFNGLEVALCOORD1FVPROC glad_glEvalCoord1fv = NULL;
436PFNGLEVALCOORD2DPROC glad_glEvalCoord2d = NULL;
437PFNGLEVALCOORD2DVPROC glad_glEvalCoord2dv = NULL;
438PFNGLEVALCOORD2FPROC glad_glEvalCoord2f = NULL;
439PFNGLEVALCOORD2FVPROC glad_glEvalCoord2fv = NULL;
440PFNGLEVALMESH1PROC glad_glEvalMesh1 = NULL;
441PFNGLEVALMESH2PROC glad_glEvalMesh2 = NULL;
442PFNGLEVALPOINT1PROC glad_glEvalPoint1 = NULL;
443PFNGLEVALPOINT2PROC glad_glEvalPoint2 = NULL;
444PFNGLFEEDBACKBUFFERPROC glad_glFeedbackBuffer = NULL;
445PFNGLFINISHPROC glad_glFinish = NULL;
446PFNGLFLUSHPROC glad_glFlush = NULL;
447PFNGLFOGCOORDPOINTERPROC glad_glFogCoordPointer = NULL;
448PFNGLFOGCOORDDPROC glad_glFogCoordd = NULL;
449PFNGLFOGCOORDDVPROC glad_glFogCoorddv = NULL;
450PFNGLFOGCOORDFPROC glad_glFogCoordf = NULL;
451PFNGLFOGCOORDFVPROC glad_glFogCoordfv = NULL;
452PFNGLFOGFPROC glad_glFogf = NULL;
453PFNGLFOGFVPROC glad_glFogfv = NULL;
454PFNGLFOGIPROC glad_glFogi = NULL;
455PFNGLFOGIVPROC glad_glFogiv = NULL;
456PFNGLFRONTFACEPROC glad_glFrontFace = NULL;
457PFNGLFRUSTUMPROC glad_glFrustum = NULL;
458PFNGLGENBUFFERSPROC glad_glGenBuffers = NULL;
459PFNGLGENLISTSPROC glad_glGenLists = NULL;
460PFNGLGENQUERIESPROC glad_glGenQueries = NULL;
461PFNGLGENTEXTURESPROC glad_glGenTextures = NULL;
462PFNGLGETACTIVEATTRIBPROC glad_glGetActiveAttrib = NULL;
463PFNGLGETACTIVEUNIFORMPROC glad_glGetActiveUniform = NULL;
464PFNGLGETATTACHEDSHADERSPROC glad_glGetAttachedShaders = NULL;
465PFNGLGETATTRIBLOCATIONPROC glad_glGetAttribLocation = NULL;
466PFNGLGETBOOLEANVPROC glad_glGetBooleanv = NULL;
467PFNGLGETBUFFERPARAMETERIVPROC glad_glGetBufferParameteriv = NULL;
468PFNGLGETBUFFERPOINTERVPROC glad_glGetBufferPointerv = NULL;
469PFNGLGETBUFFERSUBDATAPROC glad_glGetBufferSubData = NULL;
470PFNGLGETCLIPPLANEPROC glad_glGetClipPlane = NULL;
471PFNGLGETCOMPRESSEDTEXIMAGEPROC glad_glGetCompressedTexImage = NULL;
472PFNGLGETDOUBLEVPROC glad_glGetDoublev = NULL;
473PFNGLGETERRORPROC glad_glGetError = NULL;
474PFNGLGETFLOATVPROC glad_glGetFloatv = NULL;
475PFNGLGETINTEGERVPROC glad_glGetIntegerv = NULL;
476PFNGLGETLIGHTFVPROC glad_glGetLightfv = NULL;
477PFNGLGETLIGHTIVPROC glad_glGetLightiv = NULL;
478PFNGLGETMAPDVPROC glad_glGetMapdv = NULL;
479PFNGLGETMAPFVPROC glad_glGetMapfv = NULL;
480PFNGLGETMAPIVPROC glad_glGetMapiv = NULL;
481PFNGLGETMATERIALFVPROC glad_glGetMaterialfv = NULL;
482PFNGLGETMATERIALIVPROC glad_glGetMaterialiv = NULL;
483PFNGLGETPIXELMAPFVPROC glad_glGetPixelMapfv = NULL;
484PFNGLGETPIXELMAPUIVPROC glad_glGetPixelMapuiv = NULL;
485PFNGLGETPIXELMAPUSVPROC glad_glGetPixelMapusv = NULL;
486PFNGLGETPOINTERVPROC glad_glGetPointerv = NULL;
487PFNGLGETPOLYGONSTIPPLEPROC glad_glGetPolygonStipple = NULL;
488PFNGLGETPROGRAMINFOLOGPROC glad_glGetProgramInfoLog = NULL;
489PFNGLGETPROGRAMIVPROC glad_glGetProgramiv = NULL;
490PFNGLGETQUERYOBJECTIVPROC glad_glGetQueryObjectiv = NULL;
491PFNGLGETQUERYOBJECTUIVPROC glad_glGetQueryObjectuiv = NULL;
492PFNGLGETQUERYIVPROC glad_glGetQueryiv = NULL;
493PFNGLGETSHADERINFOLOGPROC glad_glGetShaderInfoLog = NULL;
494PFNGLGETSHADERSOURCEPROC glad_glGetShaderSource = NULL;
495PFNGLGETSHADERIVPROC glad_glGetShaderiv = NULL;
496PFNGLGETSTRINGPROC glad_glGetString = NULL;
497PFNGLGETTEXENVFVPROC glad_glGetTexEnvfv = NULL;
498PFNGLGETTEXENVIVPROC glad_glGetTexEnviv = NULL;
499PFNGLGETTEXGENDVPROC glad_glGetTexGendv = NULL;
500PFNGLGETTEXGENFVPROC glad_glGetTexGenfv = NULL;
501PFNGLGETTEXGENIVPROC glad_glGetTexGeniv = NULL;
502PFNGLGETTEXIMAGEPROC glad_glGetTexImage = NULL;
503PFNGLGETTEXLEVELPARAMETERFVPROC glad_glGetTexLevelParameterfv = NULL;
504PFNGLGETTEXLEVELPARAMETERIVPROC glad_glGetTexLevelParameteriv = NULL;
505PFNGLGETTEXPARAMETERFVPROC glad_glGetTexParameterfv = NULL;
506PFNGLGETTEXPARAMETERIVPROC glad_glGetTexParameteriv = NULL;
507PFNGLGETUNIFORMLOCATIONPROC glad_glGetUniformLocation = NULL;
508PFNGLGETUNIFORMFVPROC glad_glGetUniformfv = NULL;
509PFNGLGETUNIFORMIVPROC glad_glGetUniformiv = NULL;
510PFNGLGETVERTEXATTRIBPOINTERVPROC glad_glGetVertexAttribPointerv = NULL;
511PFNGLGETVERTEXATTRIBDVPROC glad_glGetVertexAttribdv = NULL;
512PFNGLGETVERTEXATTRIBFVPROC glad_glGetVertexAttribfv = NULL;
513PFNGLGETVERTEXATTRIBIVPROC glad_glGetVertexAttribiv = NULL;
514PFNGLHINTPROC glad_glHint = NULL;
515PFNGLINDEXMASKPROC glad_glIndexMask = NULL;
516PFNGLINDEXPOINTERPROC glad_glIndexPointer = NULL;
517PFNGLINDEXDPROC glad_glIndexd = NULL;
518PFNGLINDEXDVPROC glad_glIndexdv = NULL;
519PFNGLINDEXFPROC glad_glIndexf = NULL;
520PFNGLINDEXFVPROC glad_glIndexfv = NULL;
521PFNGLINDEXIPROC glad_glIndexi = NULL;
522PFNGLINDEXIVPROC glad_glIndexiv = NULL;
523PFNGLINDEXSPROC glad_glIndexs = NULL;
524PFNGLINDEXSVPROC glad_glIndexsv = NULL;
525PFNGLINDEXUBPROC glad_glIndexub = NULL;
526PFNGLINDEXUBVPROC glad_glIndexubv = NULL;
527PFNGLINITNAMESPROC glad_glInitNames = NULL;
528PFNGLINTERLEAVEDARRAYSPROC glad_glInterleavedArrays = NULL;
529PFNGLISBUFFERPROC glad_glIsBuffer = NULL;
530PFNGLISENABLEDPROC glad_glIsEnabled = NULL;
531PFNGLISLISTPROC glad_glIsList = NULL;
532PFNGLISPROGRAMPROC glad_glIsProgram = NULL;
533PFNGLISQUERYPROC glad_glIsQuery = NULL;
534PFNGLISSHADERPROC glad_glIsShader = NULL;
535PFNGLISTEXTUREPROC glad_glIsTexture = NULL;
536PFNGLLIGHTMODELFPROC glad_glLightModelf = NULL;
537PFNGLLIGHTMODELFVPROC glad_glLightModelfv = NULL;
538PFNGLLIGHTMODELIPROC glad_glLightModeli = NULL;
539PFNGLLIGHTMODELIVPROC glad_glLightModeliv = NULL;
540PFNGLLIGHTFPROC glad_glLightf = NULL;
541PFNGLLIGHTFVPROC glad_glLightfv = NULL;
542PFNGLLIGHTIPROC glad_glLighti = NULL;
543PFNGLLIGHTIVPROC glad_glLightiv = NULL;
544PFNGLLINESTIPPLEPROC glad_glLineStipple = NULL;
545PFNGLLINEWIDTHPROC glad_glLineWidth = NULL;
546PFNGLLINKPROGRAMPROC glad_glLinkProgram = NULL;
547PFNGLLISTBASEPROC glad_glListBase = NULL;
548PFNGLLOADIDENTITYPROC glad_glLoadIdentity = NULL;
549PFNGLLOADMATRIXDPROC glad_glLoadMatrixd = NULL;
550PFNGLLOADMATRIXFPROC glad_glLoadMatrixf = NULL;
551PFNGLLOADNAMEPROC glad_glLoadName = NULL;
552PFNGLLOADTRANSPOSEMATRIXDPROC glad_glLoadTransposeMatrixd = NULL;
553PFNGLLOADTRANSPOSEMATRIXFPROC glad_glLoadTransposeMatrixf = NULL;
554PFNGLLOGICOPPROC glad_glLogicOp = NULL;
555PFNGLMAP1DPROC glad_glMap1d = NULL;
556PFNGLMAP1FPROC glad_glMap1f = NULL;
557PFNGLMAP2DPROC glad_glMap2d = NULL;
558PFNGLMAP2FPROC glad_glMap2f = NULL;
559PFNGLMAPBUFFERPROC glad_glMapBuffer = NULL;
560PFNGLMAPGRID1DPROC glad_glMapGrid1d = NULL;
561PFNGLMAPGRID1FPROC glad_glMapGrid1f = NULL;
562PFNGLMAPGRID2DPROC glad_glMapGrid2d = NULL;
563PFNGLMAPGRID2FPROC glad_glMapGrid2f = NULL;
564PFNGLMATERIALFPROC glad_glMaterialf = NULL;
565PFNGLMATERIALFVPROC glad_glMaterialfv = NULL;
566PFNGLMATERIALIPROC glad_glMateriali = NULL;
567PFNGLMATERIALIVPROC glad_glMaterialiv = NULL;
568PFNGLMATRIXMODEPROC glad_glMatrixMode = NULL;
569PFNGLMULTMATRIXDPROC glad_glMultMatrixd = NULL;
570PFNGLMULTMATRIXFPROC glad_glMultMatrixf = NULL;
571PFNGLMULTTRANSPOSEMATRIXDPROC glad_glMultTransposeMatrixd = NULL;
572PFNGLMULTTRANSPOSEMATRIXFPROC glad_glMultTransposeMatrixf = NULL;
573PFNGLMULTIDRAWARRAYSPROC glad_glMultiDrawArrays = NULL;
574PFNGLMULTIDRAWELEMENTSPROC glad_glMultiDrawElements = NULL;
575PFNGLMULTITEXCOORD1DPROC glad_glMultiTexCoord1d = NULL;
576PFNGLMULTITEXCOORD1DVPROC glad_glMultiTexCoord1dv = NULL;
577PFNGLMULTITEXCOORD1FPROC glad_glMultiTexCoord1f = NULL;
578PFNGLMULTITEXCOORD1FVPROC glad_glMultiTexCoord1fv = NULL;
579PFNGLMULTITEXCOORD1IPROC glad_glMultiTexCoord1i = NULL;
580PFNGLMULTITEXCOORD1IVPROC glad_glMultiTexCoord1iv = NULL;
581PFNGLMULTITEXCOORD1SPROC glad_glMultiTexCoord1s = NULL;
582PFNGLMULTITEXCOORD1SVPROC glad_glMultiTexCoord1sv = NULL;
583PFNGLMULTITEXCOORD2DPROC glad_glMultiTexCoord2d = NULL;
584PFNGLMULTITEXCOORD2DVPROC glad_glMultiTexCoord2dv = NULL;
585PFNGLMULTITEXCOORD2FPROC glad_glMultiTexCoord2f = NULL;
586PFNGLMULTITEXCOORD2FVPROC glad_glMultiTexCoord2fv = NULL;
587PFNGLMULTITEXCOORD2IPROC glad_glMultiTexCoord2i = NULL;
588PFNGLMULTITEXCOORD2IVPROC glad_glMultiTexCoord2iv = NULL;
589PFNGLMULTITEXCOORD2SPROC glad_glMultiTexCoord2s = NULL;
590PFNGLMULTITEXCOORD2SVPROC glad_glMultiTexCoord2sv = NULL;
591PFNGLMULTITEXCOORD3DPROC glad_glMultiTexCoord3d = NULL;
592PFNGLMULTITEXCOORD3DVPROC glad_glMultiTexCoord3dv = NULL;
593PFNGLMULTITEXCOORD3FPROC glad_glMultiTexCoord3f = NULL;
594PFNGLMULTITEXCOORD3FVPROC glad_glMultiTexCoord3fv = NULL;
595PFNGLMULTITEXCOORD3IPROC glad_glMultiTexCoord3i = NULL;
596PFNGLMULTITEXCOORD3IVPROC glad_glMultiTexCoord3iv = NULL;
597PFNGLMULTITEXCOORD3SPROC glad_glMultiTexCoord3s = NULL;
598PFNGLMULTITEXCOORD3SVPROC glad_glMultiTexCoord3sv = NULL;
599PFNGLMULTITEXCOORD4DPROC glad_glMultiTexCoord4d = NULL;
600PFNGLMULTITEXCOORD4DVPROC glad_glMultiTexCoord4dv = NULL;
601PFNGLMULTITEXCOORD4FPROC glad_glMultiTexCoord4f = NULL;
602PFNGLMULTITEXCOORD4FVPROC glad_glMultiTexCoord4fv = NULL;
603PFNGLMULTITEXCOORD4IPROC glad_glMultiTexCoord4i = NULL;
604PFNGLMULTITEXCOORD4IVPROC glad_glMultiTexCoord4iv = NULL;
605PFNGLMULTITEXCOORD4SPROC glad_glMultiTexCoord4s = NULL;
606PFNGLMULTITEXCOORD4SVPROC glad_glMultiTexCoord4sv = NULL;
607PFNGLNEWLISTPROC glad_glNewList = NULL;
608PFNGLNORMAL3BPROC glad_glNormal3b = NULL;
609PFNGLNORMAL3BVPROC glad_glNormal3bv = NULL;
610PFNGLNORMAL3DPROC glad_glNormal3d = NULL;
611PFNGLNORMAL3DVPROC glad_glNormal3dv = NULL;
612PFNGLNORMAL3FPROC glad_glNormal3f = NULL;
613PFNGLNORMAL3FVPROC glad_glNormal3fv = NULL;
614PFNGLNORMAL3IPROC glad_glNormal3i = NULL;
615PFNGLNORMAL3IVPROC glad_glNormal3iv = NULL;
616PFNGLNORMAL3SPROC glad_glNormal3s = NULL;
617PFNGLNORMAL3SVPROC glad_glNormal3sv = NULL;
618PFNGLNORMALPOINTERPROC glad_glNormalPointer = NULL;
619PFNGLORTHOPROC glad_glOrtho = NULL;
620PFNGLPASSTHROUGHPROC glad_glPassThrough = NULL;
621PFNGLPIXELMAPFVPROC glad_glPixelMapfv = NULL;
622PFNGLPIXELMAPUIVPROC glad_glPixelMapuiv = NULL;
623PFNGLPIXELMAPUSVPROC glad_glPixelMapusv = NULL;
624PFNGLPIXELSTOREFPROC glad_glPixelStoref = NULL;
625PFNGLPIXELSTOREIPROC glad_glPixelStorei = NULL;
626PFNGLPIXELTRANSFERFPROC glad_glPixelTransferf = NULL;
627PFNGLPIXELTRANSFERIPROC glad_glPixelTransferi = NULL;
628PFNGLPIXELZOOMPROC glad_glPixelZoom = NULL;
629PFNGLPOINTPARAMETERFPROC glad_glPointParameterf = NULL;
630PFNGLPOINTPARAMETERFVPROC glad_glPointParameterfv = NULL;
631PFNGLPOINTPARAMETERIPROC glad_glPointParameteri = NULL;
632PFNGLPOINTPARAMETERIVPROC glad_glPointParameteriv = NULL;
633PFNGLPOINTSIZEPROC glad_glPointSize = NULL;
634PFNGLPOLYGONMODEPROC glad_glPolygonMode = NULL;
635PFNGLPOLYGONOFFSETPROC glad_glPolygonOffset = NULL;
636PFNGLPOLYGONSTIPPLEPROC glad_glPolygonStipple = NULL;
637PFNGLPOPATTRIBPROC glad_glPopAttrib = NULL;
638PFNGLPOPCLIENTATTRIBPROC glad_glPopClientAttrib = NULL;
639PFNGLPOPMATRIXPROC glad_glPopMatrix = NULL;
640PFNGLPOPNAMEPROC glad_glPopName = NULL;
641PFNGLPRIORITIZETEXTURESPROC glad_glPrioritizeTextures = NULL;
642PFNGLPUSHATTRIBPROC glad_glPushAttrib = NULL;
643PFNGLPUSHCLIENTATTRIBPROC glad_glPushClientAttrib = NULL;
644PFNGLPUSHMATRIXPROC glad_glPushMatrix = NULL;
645PFNGLPUSHNAMEPROC glad_glPushName = NULL;
646PFNGLRASTERPOS2DPROC glad_glRasterPos2d = NULL;
647PFNGLRASTERPOS2DVPROC glad_glRasterPos2dv = NULL;
648PFNGLRASTERPOS2FPROC glad_glRasterPos2f = NULL;
649PFNGLRASTERPOS2FVPROC glad_glRasterPos2fv = NULL;
650PFNGLRASTERPOS2IPROC glad_glRasterPos2i = NULL;
651PFNGLRASTERPOS2IVPROC glad_glRasterPos2iv = NULL;
652PFNGLRASTERPOS2SPROC glad_glRasterPos2s = NULL;
653PFNGLRASTERPOS2SVPROC glad_glRasterPos2sv = NULL;
654PFNGLRASTERPOS3DPROC glad_glRasterPos3d = NULL;
655PFNGLRASTERPOS3DVPROC glad_glRasterPos3dv = NULL;
656PFNGLRASTERPOS3FPROC glad_glRasterPos3f = NULL;
657PFNGLRASTERPOS3FVPROC glad_glRasterPos3fv = NULL;
658PFNGLRASTERPOS3IPROC glad_glRasterPos3i = NULL;
659PFNGLRASTERPOS3IVPROC glad_glRasterPos3iv = NULL;
660PFNGLRASTERPOS3SPROC glad_glRasterPos3s = NULL;
661PFNGLRASTERPOS3SVPROC glad_glRasterPos3sv = NULL;
662PFNGLRASTERPOS4DPROC glad_glRasterPos4d = NULL;
663PFNGLRASTERPOS4DVPROC glad_glRasterPos4dv = NULL;
664PFNGLRASTERPOS4FPROC glad_glRasterPos4f = NULL;
665PFNGLRASTERPOS4FVPROC glad_glRasterPos4fv = NULL;
666PFNGLRASTERPOS4IPROC glad_glRasterPos4i = NULL;
667PFNGLRASTERPOS4IVPROC glad_glRasterPos4iv = NULL;
668PFNGLRASTERPOS4SPROC glad_glRasterPos4s = NULL;
669PFNGLRASTERPOS4SVPROC glad_glRasterPos4sv = NULL;
670PFNGLREADBUFFERPROC glad_glReadBuffer = NULL;
671PFNGLREADPIXELSPROC glad_glReadPixels = NULL;
672PFNGLRECTDPROC glad_glRectd = NULL;
673PFNGLRECTDVPROC glad_glRectdv = NULL;
674PFNGLRECTFPROC glad_glRectf = NULL;
675PFNGLRECTFVPROC glad_glRectfv = NULL;
676PFNGLRECTIPROC glad_glRecti = NULL;
677PFNGLRECTIVPROC glad_glRectiv = NULL;
678PFNGLRECTSPROC glad_glRects = NULL;
679PFNGLRECTSVPROC glad_glRectsv = NULL;
680PFNGLRENDERMODEPROC glad_glRenderMode = NULL;
681PFNGLROTATEDPROC glad_glRotated = NULL;
682PFNGLROTATEFPROC glad_glRotatef = NULL;
683PFNGLSAMPLECOVERAGEPROC glad_glSampleCoverage = NULL;
684PFNGLSCALEDPROC glad_glScaled = NULL;
685PFNGLSCALEFPROC glad_glScalef = NULL;
686PFNGLSCISSORPROC glad_glScissor = NULL;
687PFNGLSECONDARYCOLOR3BPROC glad_glSecondaryColor3b = NULL;
688PFNGLSECONDARYCOLOR3BVPROC glad_glSecondaryColor3bv = NULL;
689PFNGLSECONDARYCOLOR3DPROC glad_glSecondaryColor3d = NULL;
690PFNGLSECONDARYCOLOR3DVPROC glad_glSecondaryColor3dv = NULL;
691PFNGLSECONDARYCOLOR3FPROC glad_glSecondaryColor3f = NULL;
692PFNGLSECONDARYCOLOR3FVPROC glad_glSecondaryColor3fv = NULL;
693PFNGLSECONDARYCOLOR3IPROC glad_glSecondaryColor3i = NULL;
694PFNGLSECONDARYCOLOR3IVPROC glad_glSecondaryColor3iv = NULL;
695PFNGLSECONDARYCOLOR3SPROC glad_glSecondaryColor3s = NULL;
696PFNGLSECONDARYCOLOR3SVPROC glad_glSecondaryColor3sv = NULL;
697PFNGLSECONDARYCOLOR3UBPROC glad_glSecondaryColor3ub = NULL;
698PFNGLSECONDARYCOLOR3UBVPROC glad_glSecondaryColor3ubv = NULL;
699PFNGLSECONDARYCOLOR3UIPROC glad_glSecondaryColor3ui = NULL;
700PFNGLSECONDARYCOLOR3UIVPROC glad_glSecondaryColor3uiv = NULL;
701PFNGLSECONDARYCOLOR3USPROC glad_glSecondaryColor3us = NULL;
702PFNGLSECONDARYCOLOR3USVPROC glad_glSecondaryColor3usv = NULL;
703PFNGLSECONDARYCOLORPOINTERPROC glad_glSecondaryColorPointer = NULL;
704PFNGLSELECTBUFFERPROC glad_glSelectBuffer = NULL;
705PFNGLSHADEMODELPROC glad_glShadeModel = NULL;
706PFNGLSHADERSOURCEPROC glad_glShaderSource = NULL;
707PFNGLSTENCILFUNCPROC glad_glStencilFunc = NULL;
708PFNGLSTENCILFUNCSEPARATEPROC glad_glStencilFuncSeparate = NULL;
709PFNGLSTENCILMASKPROC glad_glStencilMask = NULL;
710PFNGLSTENCILMASKSEPARATEPROC glad_glStencilMaskSeparate = NULL;
711PFNGLSTENCILOPPROC glad_glStencilOp = NULL;
712PFNGLSTENCILOPSEPARATEPROC glad_glStencilOpSeparate = NULL;
713PFNGLTEXCOORD1DPROC glad_glTexCoord1d = NULL;
714PFNGLTEXCOORD1DVPROC glad_glTexCoord1dv = NULL;
715PFNGLTEXCOORD1FPROC glad_glTexCoord1f = NULL;
716PFNGLTEXCOORD1FVPROC glad_glTexCoord1fv = NULL;
717PFNGLTEXCOORD1IPROC glad_glTexCoord1i = NULL;
718PFNGLTEXCOORD1IVPROC glad_glTexCoord1iv = NULL;
719PFNGLTEXCOORD1SPROC glad_glTexCoord1s = NULL;
720PFNGLTEXCOORD1SVPROC glad_glTexCoord1sv = NULL;
721PFNGLTEXCOORD2DPROC glad_glTexCoord2d = NULL;
722PFNGLTEXCOORD2DVPROC glad_glTexCoord2dv = NULL;
723PFNGLTEXCOORD2FPROC glad_glTexCoord2f = NULL;
724PFNGLTEXCOORD2FVPROC glad_glTexCoord2fv = NULL;
725PFNGLTEXCOORD2IPROC glad_glTexCoord2i = NULL;
726PFNGLTEXCOORD2IVPROC glad_glTexCoord2iv = NULL;
727PFNGLTEXCOORD2SPROC glad_glTexCoord2s = NULL;
728PFNGLTEXCOORD2SVPROC glad_glTexCoord2sv = NULL;
729PFNGLTEXCOORD3DPROC glad_glTexCoord3d = NULL;
730PFNGLTEXCOORD3DVPROC glad_glTexCoord3dv = NULL;
731PFNGLTEXCOORD3FPROC glad_glTexCoord3f = NULL;
732PFNGLTEXCOORD3FVPROC glad_glTexCoord3fv = NULL;
733PFNGLTEXCOORD3IPROC glad_glTexCoord3i = NULL;
734PFNGLTEXCOORD3IVPROC glad_glTexCoord3iv = NULL;
735PFNGLTEXCOORD3SPROC glad_glTexCoord3s = NULL;
736PFNGLTEXCOORD3SVPROC glad_glTexCoord3sv = NULL;
737PFNGLTEXCOORD4DPROC glad_glTexCoord4d = NULL;
738PFNGLTEXCOORD4DVPROC glad_glTexCoord4dv = NULL;
739PFNGLTEXCOORD4FPROC glad_glTexCoord4f = NULL;
740PFNGLTEXCOORD4FVPROC glad_glTexCoord4fv = NULL;
741PFNGLTEXCOORD4IPROC glad_glTexCoord4i = NULL;
742PFNGLTEXCOORD4IVPROC glad_glTexCoord4iv = NULL;
743PFNGLTEXCOORD4SPROC glad_glTexCoord4s = NULL;
744PFNGLTEXCOORD4SVPROC glad_glTexCoord4sv = NULL;
745PFNGLTEXCOORDPOINTERPROC glad_glTexCoordPointer = NULL;
746PFNGLTEXENVFPROC glad_glTexEnvf = NULL;
747PFNGLTEXENVFVPROC glad_glTexEnvfv = NULL;
748PFNGLTEXENVIPROC glad_glTexEnvi = NULL;
749PFNGLTEXENVIVPROC glad_glTexEnviv = NULL;
750PFNGLTEXGENDPROC glad_glTexGend = NULL;
751PFNGLTEXGENDVPROC glad_glTexGendv = NULL;
752PFNGLTEXGENFPROC glad_glTexGenf = NULL;
753PFNGLTEXGENFVPROC glad_glTexGenfv = NULL;
754PFNGLTEXGENIPROC glad_glTexGeni = NULL;
755PFNGLTEXGENIVPROC glad_glTexGeniv = NULL;
756PFNGLTEXIMAGE1DPROC glad_glTexImage1D = NULL;
757PFNGLTEXIMAGE2DPROC glad_glTexImage2D = NULL;
758PFNGLTEXIMAGE3DPROC glad_glTexImage3D = NULL;
759PFNGLTEXPARAMETERFPROC glad_glTexParameterf = NULL;
760PFNGLTEXPARAMETERFVPROC glad_glTexParameterfv = NULL;
761PFNGLTEXPARAMETERIPROC glad_glTexParameteri = NULL;
762PFNGLTEXPARAMETERIVPROC glad_glTexParameteriv = NULL;
763PFNGLTEXSUBIMAGE1DPROC glad_glTexSubImage1D = NULL;
764PFNGLTEXSUBIMAGE2DPROC glad_glTexSubImage2D = NULL;
765PFNGLTEXSUBIMAGE3DPROC glad_glTexSubImage3D = NULL;
766PFNGLTRANSLATEDPROC glad_glTranslated = NULL;
767PFNGLTRANSLATEFPROC glad_glTranslatef = NULL;
768PFNGLUNIFORM1FPROC glad_glUniform1f = NULL;
769PFNGLUNIFORM1FVPROC glad_glUniform1fv = NULL;
770PFNGLUNIFORM1IPROC glad_glUniform1i = NULL;
771PFNGLUNIFORM1IVPROC glad_glUniform1iv = NULL;
772PFNGLUNIFORM2FPROC glad_glUniform2f = NULL;
773PFNGLUNIFORM2FVPROC glad_glUniform2fv = NULL;
774PFNGLUNIFORM2IPROC glad_glUniform2i = NULL;
775PFNGLUNIFORM2IVPROC glad_glUniform2iv = NULL;
776PFNGLUNIFORM3FPROC glad_glUniform3f = NULL;
777PFNGLUNIFORM3FVPROC glad_glUniform3fv = NULL;
778PFNGLUNIFORM3IPROC glad_glUniform3i = NULL;
779PFNGLUNIFORM3IVPROC glad_glUniform3iv = NULL;
780PFNGLUNIFORM4FPROC glad_glUniform4f = NULL;
781PFNGLUNIFORM4FVPROC glad_glUniform4fv = NULL;
782PFNGLUNIFORM4IPROC glad_glUniform4i = NULL;
783PFNGLUNIFORM4IVPROC glad_glUniform4iv = NULL;
784PFNGLUNIFORMMATRIX2FVPROC glad_glUniformMatrix2fv = NULL;
785PFNGLUNIFORMMATRIX2X3FVPROC glad_glUniformMatrix2x3fv = NULL;
786PFNGLUNIFORMMATRIX2X4FVPROC glad_glUniformMatrix2x4fv = NULL;
787PFNGLUNIFORMMATRIX3FVPROC glad_glUniformMatrix3fv = NULL;
788PFNGLUNIFORMMATRIX3X2FVPROC glad_glUniformMatrix3x2fv = NULL;
789PFNGLUNIFORMMATRIX3X4FVPROC glad_glUniformMatrix3x4fv = NULL;
790PFNGLUNIFORMMATRIX4FVPROC glad_glUniformMatrix4fv = NULL;
791PFNGLUNIFORMMATRIX4X2FVPROC glad_glUniformMatrix4x2fv = NULL;
792PFNGLUNIFORMMATRIX4X3FVPROC glad_glUniformMatrix4x3fv = NULL;
793PFNGLUNMAPBUFFERPROC glad_glUnmapBuffer = NULL;
794PFNGLUSEPROGRAMPROC glad_glUseProgram = NULL;
795PFNGLVALIDATEPROGRAMPROC glad_glValidateProgram = NULL;
796PFNGLVERTEX2DPROC glad_glVertex2d = NULL;
797PFNGLVERTEX2DVPROC glad_glVertex2dv = NULL;
798PFNGLVERTEX2FPROC glad_glVertex2f = NULL;
799PFNGLVERTEX2FVPROC glad_glVertex2fv = NULL;
800PFNGLVERTEX2IPROC glad_glVertex2i = NULL;
801PFNGLVERTEX2IVPROC glad_glVertex2iv = NULL;
802PFNGLVERTEX2SPROC glad_glVertex2s = NULL;
803PFNGLVERTEX2SVPROC glad_glVertex2sv = NULL;
804PFNGLVERTEX3DPROC glad_glVertex3d = NULL;
805PFNGLVERTEX3DVPROC glad_glVertex3dv = NULL;
806PFNGLVERTEX3FPROC glad_glVertex3f = NULL;
807PFNGLVERTEX3FVPROC glad_glVertex3fv = NULL;
808PFNGLVERTEX3IPROC glad_glVertex3i = NULL;
809PFNGLVERTEX3IVPROC glad_glVertex3iv = NULL;
810PFNGLVERTEX3SPROC glad_glVertex3s = NULL;
811PFNGLVERTEX3SVPROC glad_glVertex3sv = NULL;
812PFNGLVERTEX4DPROC glad_glVertex4d = NULL;
813PFNGLVERTEX4DVPROC glad_glVertex4dv = NULL;
814PFNGLVERTEX4FPROC glad_glVertex4f = NULL;
815PFNGLVERTEX4FVPROC glad_glVertex4fv = NULL;
816PFNGLVERTEX4IPROC glad_glVertex4i = NULL;
817PFNGLVERTEX4IVPROC glad_glVertex4iv = NULL;
818PFNGLVERTEX4SPROC glad_glVertex4s = NULL;
819PFNGLVERTEX4SVPROC glad_glVertex4sv = NULL;
820PFNGLVERTEXATTRIB1DPROC glad_glVertexAttrib1d = NULL;
821PFNGLVERTEXATTRIB1DVPROC glad_glVertexAttrib1dv = NULL;
822PFNGLVERTEXATTRIB1FPROC glad_glVertexAttrib1f = NULL;
823PFNGLVERTEXATTRIB1FVPROC glad_glVertexAttrib1fv = NULL;
824PFNGLVERTEXATTRIB1SPROC glad_glVertexAttrib1s = NULL;
825PFNGLVERTEXATTRIB1SVPROC glad_glVertexAttrib1sv = NULL;
826PFNGLVERTEXATTRIB2DPROC glad_glVertexAttrib2d = NULL;
827PFNGLVERTEXATTRIB2DVPROC glad_glVertexAttrib2dv = NULL;
828PFNGLVERTEXATTRIB2FPROC glad_glVertexAttrib2f = NULL;
829PFNGLVERTEXATTRIB2FVPROC glad_glVertexAttrib2fv = NULL;
830PFNGLVERTEXATTRIB2SPROC glad_glVertexAttrib2s = NULL;
831PFNGLVERTEXATTRIB2SVPROC glad_glVertexAttrib2sv = NULL;
832PFNGLVERTEXATTRIB3DPROC glad_glVertexAttrib3d = NULL;
833PFNGLVERTEXATTRIB3DVPROC glad_glVertexAttrib3dv = NULL;
834PFNGLVERTEXATTRIB3FPROC glad_glVertexAttrib3f = NULL;
835PFNGLVERTEXATTRIB3FVPROC glad_glVertexAttrib3fv = NULL;
836PFNGLVERTEXATTRIB3SPROC glad_glVertexAttrib3s = NULL;
837PFNGLVERTEXATTRIB3SVPROC glad_glVertexAttrib3sv = NULL;
838PFNGLVERTEXATTRIB4NBVPROC glad_glVertexAttrib4Nbv = NULL;
839PFNGLVERTEXATTRIB4NIVPROC glad_glVertexAttrib4Niv = NULL;
840PFNGLVERTEXATTRIB4NSVPROC glad_glVertexAttrib4Nsv = NULL;
841PFNGLVERTEXATTRIB4NUBPROC glad_glVertexAttrib4Nub = NULL;
842PFNGLVERTEXATTRIB4NUBVPROC glad_glVertexAttrib4Nubv = NULL;
843PFNGLVERTEXATTRIB4NUIVPROC glad_glVertexAttrib4Nuiv = NULL;
844PFNGLVERTEXATTRIB4NUSVPROC glad_glVertexAttrib4Nusv = NULL;
845PFNGLVERTEXATTRIB4BVPROC glad_glVertexAttrib4bv = NULL;
846PFNGLVERTEXATTRIB4DPROC glad_glVertexAttrib4d = NULL;
847PFNGLVERTEXATTRIB4DVPROC glad_glVertexAttrib4dv = NULL;
848PFNGLVERTEXATTRIB4FPROC glad_glVertexAttrib4f = NULL;
849PFNGLVERTEXATTRIB4FVPROC glad_glVertexAttrib4fv = NULL;
850PFNGLVERTEXATTRIB4IVPROC glad_glVertexAttrib4iv = NULL;
851PFNGLVERTEXATTRIB4SPROC glad_glVertexAttrib4s = NULL;
852PFNGLVERTEXATTRIB4SVPROC glad_glVertexAttrib4sv = NULL;
853PFNGLVERTEXATTRIB4UBVPROC glad_glVertexAttrib4ubv = NULL;
854PFNGLVERTEXATTRIB4UIVPROC glad_glVertexAttrib4uiv = NULL;
855PFNGLVERTEXATTRIB4USVPROC glad_glVertexAttrib4usv = NULL;
856PFNGLVERTEXATTRIBPOINTERPROC glad_glVertexAttribPointer = NULL;
857PFNGLVERTEXPOINTERPROC glad_glVertexPointer = NULL;
858PFNGLVIEWPORTPROC glad_glViewport = NULL;
859PFNGLWINDOWPOS2DPROC glad_glWindowPos2d = NULL;
860PFNGLWINDOWPOS2DVPROC glad_glWindowPos2dv = NULL;
861PFNGLWINDOWPOS2FPROC glad_glWindowPos2f = NULL;
862PFNGLWINDOWPOS2FVPROC glad_glWindowPos2fv = NULL;
863PFNGLWINDOWPOS2IPROC glad_glWindowPos2i = NULL;
864PFNGLWINDOWPOS2IVPROC glad_glWindowPos2iv = NULL;
865PFNGLWINDOWPOS2SPROC glad_glWindowPos2s = NULL;
866PFNGLWINDOWPOS2SVPROC glad_glWindowPos2sv = NULL;
867PFNGLWINDOWPOS3DPROC glad_glWindowPos3d = NULL;
868PFNGLWINDOWPOS3DVPROC glad_glWindowPos3dv = NULL;
869PFNGLWINDOWPOS3FPROC glad_glWindowPos3f = NULL;
870PFNGLWINDOWPOS3FVPROC glad_glWindowPos3fv = NULL;
871PFNGLWINDOWPOS3IPROC glad_glWindowPos3i = NULL;
872PFNGLWINDOWPOS3IVPROC glad_glWindowPos3iv = NULL;
873PFNGLWINDOWPOS3SPROC glad_glWindowPos3s = NULL;
874PFNGLWINDOWPOS3SVPROC glad_glWindowPos3sv = NULL;
875int GLAD_GL_ARB_depth_buffer_float = 0;
876int GLAD_GL_ARB_draw_buffers = 0;
877int GLAD_GL_ARB_draw_instanced = 0;
878int GLAD_GL_ARB_fragment_program = 0;
879int GLAD_GL_ARB_fragment_program_shadow = 0;
880int GLAD_GL_ARB_fragment_shader = 0;
881int GLAD_GL_ARB_framebuffer_object = 0;
882int GLAD_GL_ARB_get_program_binary = 0;
883int GLAD_GL_ARB_instanced_arrays = 0;
884int GLAD_GL_ARB_multisample = 0;
885int GLAD_GL_ARB_multitexture = 0;
886int GLAD_GL_ARB_occlusion_query = 0;
887int GLAD_GL_ARB_pixel_buffer_object = 0;
888int GLAD_GL_ARB_point_parameters = 0;
889int GLAD_GL_ARB_point_sprite = 0;
890int GLAD_GL_ARB_seamless_cube_map = 0;
891int GLAD_GL_ARB_shader_objects = 0;
892int GLAD_GL_ARB_shading_language_100 = 0;
893int GLAD_GL_ARB_shadow = 0;
894int GLAD_GL_ARB_texture_compression = 0;
895int GLAD_GL_ARB_texture_cube_map = 0;
896int GLAD_GL_ARB_texture_env_combine = 0;
897int GLAD_GL_ARB_texture_float = 0;
898int GLAD_GL_ARB_texture_non_power_of_two = 0;
899int GLAD_GL_ARB_vertex_buffer_object = 0;
900int GLAD_GL_ARB_vertex_program = 0;
901int GLAD_GL_ARB_vertex_shader = 0;
902int GLAD_GL_ATI_draw_buffers = 0;
903int GLAD_GL_ATI_fragment_shader = 0;
904int GLAD_GL_ATI_texture_float = 0;
905int GLAD_GL_EXT_blend_equation_separate = 0;
906int GLAD_GL_EXT_framebuffer_blit = 0;
907int GLAD_GL_EXT_framebuffer_multisample = 0;
908int GLAD_GL_EXT_framebuffer_object = 0;
909int GLAD_GL_EXT_framebuffer_sRGB = 0;
910int GLAD_GL_EXT_geometry_shader4 = 0;
911int GLAD_GL_EXT_pixel_buffer_object = 0;
912int GLAD_GL_EXT_point_parameters = 0;
913int GLAD_GL_EXT_secondary_color = 0;
914int GLAD_GL_EXT_stencil_two_side = 0;
915int GLAD_GL_EXT_stencil_wrap = 0;
916int GLAD_GL_EXT_texture_array = 0;
917int GLAD_GL_EXT_texture_compression_s3tc = 0;
918int GLAD_GL_EXT_texture_filter_anisotropic = 0;
919int GLAD_GL_EXT_texture_lod_bias = 0;
920int GLAD_GL_EXT_texture_sRGB = 0;
921int GLAD_GL_GREMEDY_string_marker = 0;
922int GLAD_GL_NV_fragment_program2 = 0;
923int GLAD_GL_NV_fragment_program_option = 0;
924int GLAD_GL_NV_geometry_program4 = 0;
925int GLAD_GL_NV_gpu_program4 = 0;
926int GLAD_GL_NV_register_combiners = 0;
927int GLAD_GL_NV_register_combiners2 = 0;
928int GLAD_GL_NV_texture_compression_vtc = 0;
929int GLAD_GL_NV_texture_shader = 0;
930int GLAD_GL_NV_transform_feedback = 0;
931int GLAD_GL_NV_vertex_program = 0;
932int GLAD_GL_NV_vertex_program2_option = 0;
933int GLAD_GL_NV_vertex_program3 = 0;
934PFNGLDRAWBUFFERSARBPROC glad_glDrawBuffersARB = NULL;
935PFNGLDRAWARRAYSINSTANCEDARBPROC glad_glDrawArraysInstancedARB = NULL;
936PFNGLDRAWELEMENTSINSTANCEDARBPROC glad_glDrawElementsInstancedARB = NULL;
937PFNGLPROGRAMSTRINGARBPROC glad_glProgramStringARB = NULL;
938PFNGLBINDPROGRAMARBPROC glad_glBindProgramARB = NULL;
939PFNGLDELETEPROGRAMSARBPROC glad_glDeleteProgramsARB = NULL;
940PFNGLGENPROGRAMSARBPROC glad_glGenProgramsARB = NULL;
941PFNGLPROGRAMENVPARAMETER4DARBPROC glad_glProgramEnvParameter4dARB = NULL;
942PFNGLPROGRAMENVPARAMETER4DVARBPROC glad_glProgramEnvParameter4dvARB = NULL;
943PFNGLPROGRAMENVPARAMETER4FARBPROC glad_glProgramEnvParameter4fARB = NULL;
944PFNGLPROGRAMENVPARAMETER4FVARBPROC glad_glProgramEnvParameter4fvARB = NULL;
945PFNGLPROGRAMLOCALPARAMETER4DARBPROC glad_glProgramLocalParameter4dARB = NULL;
946PFNGLPROGRAMLOCALPARAMETER4DVARBPROC glad_glProgramLocalParameter4dvARB = NULL;
947PFNGLPROGRAMLOCALPARAMETER4FARBPROC glad_glProgramLocalParameter4fARB = NULL;
948PFNGLPROGRAMLOCALPARAMETER4FVARBPROC glad_glProgramLocalParameter4fvARB = NULL;
949PFNGLGETPROGRAMENVPARAMETERDVARBPROC glad_glGetProgramEnvParameterdvARB = NULL;
950PFNGLGETPROGRAMENVPARAMETERFVARBPROC glad_glGetProgramEnvParameterfvARB = NULL;
951PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC glad_glGetProgramLocalParameterdvARB = NULL;
952PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC glad_glGetProgramLocalParameterfvARB = NULL;
953PFNGLGETPROGRAMIVARBPROC glad_glGetProgramivARB = NULL;
954PFNGLGETPROGRAMSTRINGARBPROC glad_glGetProgramStringARB = NULL;
955PFNGLISPROGRAMARBPROC glad_glIsProgramARB = NULL;
956PFNGLISRENDERBUFFERPROC glad_glIsRenderbuffer = NULL;
957PFNGLBINDRENDERBUFFERPROC glad_glBindRenderbuffer = NULL;
958PFNGLDELETERENDERBUFFERSPROC glad_glDeleteRenderbuffers = NULL;
959PFNGLGENRENDERBUFFERSPROC glad_glGenRenderbuffers = NULL;
960PFNGLRENDERBUFFERSTORAGEPROC glad_glRenderbufferStorage = NULL;
961PFNGLGETRENDERBUFFERPARAMETERIVPROC glad_glGetRenderbufferParameteriv = NULL;
962PFNGLISFRAMEBUFFERPROC glad_glIsFramebuffer = NULL;
963PFNGLBINDFRAMEBUFFERPROC glad_glBindFramebuffer = NULL;
964PFNGLDELETEFRAMEBUFFERSPROC glad_glDeleteFramebuffers = NULL;
965PFNGLGENFRAMEBUFFERSPROC glad_glGenFramebuffers = NULL;
966PFNGLCHECKFRAMEBUFFERSTATUSPROC glad_glCheckFramebufferStatus = NULL;
967PFNGLFRAMEBUFFERTEXTURE1DPROC glad_glFramebufferTexture1D = NULL;
968PFNGLFRAMEBUFFERTEXTURE2DPROC glad_glFramebufferTexture2D = NULL;
969PFNGLFRAMEBUFFERTEXTURE3DPROC glad_glFramebufferTexture3D = NULL;
970PFNGLFRAMEBUFFERRENDERBUFFERPROC glad_glFramebufferRenderbuffer = NULL;
971PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glad_glGetFramebufferAttachmentParameteriv = NULL;
972PFNGLGENERATEMIPMAPPROC glad_glGenerateMipmap = NULL;
973PFNGLBLITFRAMEBUFFERPROC glad_glBlitFramebuffer = NULL;
974PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC glad_glRenderbufferStorageMultisample = NULL;
975PFNGLFRAMEBUFFERTEXTURELAYERPROC glad_glFramebufferTextureLayer = NULL;
976PFNGLGETPROGRAMBINARYPROC glad_glGetProgramBinary = NULL;
977PFNGLPROGRAMBINARYPROC glad_glProgramBinary = NULL;
978PFNGLPROGRAMPARAMETERIPROC glad_glProgramParameteri = NULL;
979PFNGLVERTEXATTRIBDIVISORARBPROC glad_glVertexAttribDivisorARB = NULL;
980PFNGLSAMPLECOVERAGEARBPROC glad_glSampleCoverageARB = NULL;
981PFNGLACTIVETEXTUREARBPROC glad_glActiveTextureARB = NULL;
982PFNGLCLIENTACTIVETEXTUREARBPROC glad_glClientActiveTextureARB = NULL;
983PFNGLMULTITEXCOORD1DARBPROC glad_glMultiTexCoord1dARB = NULL;
984PFNGLMULTITEXCOORD1DVARBPROC glad_glMultiTexCoord1dvARB = NULL;
985PFNGLMULTITEXCOORD1FARBPROC glad_glMultiTexCoord1fARB = NULL;
986PFNGLMULTITEXCOORD1FVARBPROC glad_glMultiTexCoord1fvARB = NULL;
987PFNGLMULTITEXCOORD1IARBPROC glad_glMultiTexCoord1iARB = NULL;
988PFNGLMULTITEXCOORD1IVARBPROC glad_glMultiTexCoord1ivARB = NULL;
989PFNGLMULTITEXCOORD1SARBPROC glad_glMultiTexCoord1sARB = NULL;
990PFNGLMULTITEXCOORD1SVARBPROC glad_glMultiTexCoord1svARB = NULL;
991PFNGLMULTITEXCOORD2DARBPROC glad_glMultiTexCoord2dARB = NULL;
992PFNGLMULTITEXCOORD2DVARBPROC glad_glMultiTexCoord2dvARB = NULL;
993PFNGLMULTITEXCOORD2FARBPROC glad_glMultiTexCoord2fARB = NULL;
994PFNGLMULTITEXCOORD2FVARBPROC glad_glMultiTexCoord2fvARB = NULL;
995PFNGLMULTITEXCOORD2IARBPROC glad_glMultiTexCoord2iARB = NULL;
996PFNGLMULTITEXCOORD2IVARBPROC glad_glMultiTexCoord2ivARB = NULL;
997PFNGLMULTITEXCOORD2SARBPROC glad_glMultiTexCoord2sARB = NULL;
998PFNGLMULTITEXCOORD2SVARBPROC glad_glMultiTexCoord2svARB = NULL;
999PFNGLMULTITEXCOORD3DARBPROC glad_glMultiTexCoord3dARB = NULL;
1000PFNGLMULTITEXCOORD3DVARBPROC glad_glMultiTexCoord3dvARB = NULL;
1001PFNGLMULTITEXCOORD3FARBPROC glad_glMultiTexCoord3fARB = NULL;
1002PFNGLMULTITEXCOORD3FVARBPROC glad_glMultiTexCoord3fvARB = NULL;
1003PFNGLMULTITEXCOORD3IARBPROC glad_glMultiTexCoord3iARB = NULL;
1004PFNGLMULTITEXCOORD3IVARBPROC glad_glMultiTexCoord3ivARB = NULL;
1005PFNGLMULTITEXCOORD3SARBPROC glad_glMultiTexCoord3sARB = NULL;
1006PFNGLMULTITEXCOORD3SVARBPROC glad_glMultiTexCoord3svARB = NULL;
1007PFNGLMULTITEXCOORD4DARBPROC glad_glMultiTexCoord4dARB = NULL;
1008PFNGLMULTITEXCOORD4DVARBPROC glad_glMultiTexCoord4dvARB = NULL;
1009PFNGLMULTITEXCOORD4FARBPROC glad_glMultiTexCoord4fARB = NULL;
1010PFNGLMULTITEXCOORD4FVARBPROC glad_glMultiTexCoord4fvARB = NULL;
1011PFNGLMULTITEXCOORD4IARBPROC glad_glMultiTexCoord4iARB = NULL;
1012PFNGLMULTITEXCOORD4IVARBPROC glad_glMultiTexCoord4ivARB = NULL;
1013PFNGLMULTITEXCOORD4SARBPROC glad_glMultiTexCoord4sARB = NULL;
1014PFNGLMULTITEXCOORD4SVARBPROC glad_glMultiTexCoord4svARB = NULL;
1015PFNGLGENQUERIESARBPROC glad_glGenQueriesARB = NULL;
1016PFNGLDELETEQUERIESARBPROC glad_glDeleteQueriesARB = NULL;
1017PFNGLISQUERYARBPROC glad_glIsQueryARB = NULL;
1018PFNGLBEGINQUERYARBPROC glad_glBeginQueryARB = NULL;
1019PFNGLENDQUERYARBPROC glad_glEndQueryARB = NULL;
1020PFNGLGETQUERYIVARBPROC glad_glGetQueryivARB = NULL;
1021PFNGLGETQUERYOBJECTIVARBPROC glad_glGetQueryObjectivARB = NULL;
1022PFNGLGETQUERYOBJECTUIVARBPROC glad_glGetQueryObjectuivARB = NULL;
1023PFNGLPOINTPARAMETERFARBPROC glad_glPointParameterfARB = NULL;
1024PFNGLPOINTPARAMETERFVARBPROC glad_glPointParameterfvARB = NULL;
1025PFNGLDELETEOBJECTARBPROC glad_glDeleteObjectARB = NULL;
1026PFNGLGETHANDLEARBPROC glad_glGetHandleARB = NULL;
1027PFNGLDETACHOBJECTARBPROC glad_glDetachObjectARB = NULL;
1028PFNGLCREATESHADEROBJECTARBPROC glad_glCreateShaderObjectARB = NULL;
1029PFNGLSHADERSOURCEARBPROC glad_glShaderSourceARB = NULL;
1030PFNGLCOMPILESHADERARBPROC glad_glCompileShaderARB = NULL;
1031PFNGLCREATEPROGRAMOBJECTARBPROC glad_glCreateProgramObjectARB = NULL;
1032PFNGLATTACHOBJECTARBPROC glad_glAttachObjectARB = NULL;
1033PFNGLLINKPROGRAMARBPROC glad_glLinkProgramARB = NULL;
1034PFNGLUSEPROGRAMOBJECTARBPROC glad_glUseProgramObjectARB = NULL;
1035PFNGLVALIDATEPROGRAMARBPROC glad_glValidateProgramARB = NULL;
1036PFNGLUNIFORM1FARBPROC glad_glUniform1fARB = NULL;
1037PFNGLUNIFORM2FARBPROC glad_glUniform2fARB = NULL;
1038PFNGLUNIFORM3FARBPROC glad_glUniform3fARB = NULL;
1039PFNGLUNIFORM4FARBPROC glad_glUniform4fARB = NULL;
1040PFNGLUNIFORM1IARBPROC glad_glUniform1iARB = NULL;
1041PFNGLUNIFORM2IARBPROC glad_glUniform2iARB = NULL;
1042PFNGLUNIFORM3IARBPROC glad_glUniform3iARB = NULL;
1043PFNGLUNIFORM4IARBPROC glad_glUniform4iARB = NULL;
1044PFNGLUNIFORM1FVARBPROC glad_glUniform1fvARB = NULL;
1045PFNGLUNIFORM2FVARBPROC glad_glUniform2fvARB = NULL;
1046PFNGLUNIFORM3FVARBPROC glad_glUniform3fvARB = NULL;
1047PFNGLUNIFORM4FVARBPROC glad_glUniform4fvARB = NULL;
1048PFNGLUNIFORM1IVARBPROC glad_glUniform1ivARB = NULL;
1049PFNGLUNIFORM2IVARBPROC glad_glUniform2ivARB = NULL;
1050PFNGLUNIFORM3IVARBPROC glad_glUniform3ivARB = NULL;
1051PFNGLUNIFORM4IVARBPROC glad_glUniform4ivARB = NULL;
1052PFNGLUNIFORMMATRIX2FVARBPROC glad_glUniformMatrix2fvARB = NULL;
1053PFNGLUNIFORMMATRIX3FVARBPROC glad_glUniformMatrix3fvARB = NULL;
1054PFNGLUNIFORMMATRIX4FVARBPROC glad_glUniformMatrix4fvARB = NULL;
1055PFNGLGETOBJECTPARAMETERFVARBPROC glad_glGetObjectParameterfvARB = NULL;
1056PFNGLGETOBJECTPARAMETERIVARBPROC glad_glGetObjectParameterivARB = NULL;
1057PFNGLGETINFOLOGARBPROC glad_glGetInfoLogARB = NULL;
1058PFNGLGETATTACHEDOBJECTSARBPROC glad_glGetAttachedObjectsARB = NULL;
1059PFNGLGETUNIFORMLOCATIONARBPROC glad_glGetUniformLocationARB = NULL;
1060PFNGLGETACTIVEUNIFORMARBPROC glad_glGetActiveUniformARB = NULL;
1061PFNGLGETUNIFORMFVARBPROC glad_glGetUniformfvARB = NULL;
1062PFNGLGETUNIFORMIVARBPROC glad_glGetUniformivARB = NULL;
1063PFNGLGETSHADERSOURCEARBPROC glad_glGetShaderSourceARB = NULL;
1064PFNGLCOMPRESSEDTEXIMAGE3DARBPROC glad_glCompressedTexImage3DARB = NULL;
1065PFNGLCOMPRESSEDTEXIMAGE2DARBPROC glad_glCompressedTexImage2DARB = NULL;
1066PFNGLCOMPRESSEDTEXIMAGE1DARBPROC glad_glCompressedTexImage1DARB = NULL;
1067PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC glad_glCompressedTexSubImage3DARB = NULL;
1068PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC glad_glCompressedTexSubImage2DARB = NULL;
1069PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC glad_glCompressedTexSubImage1DARB = NULL;
1070PFNGLGETCOMPRESSEDTEXIMAGEARBPROC glad_glGetCompressedTexImageARB = NULL;
1071PFNGLBINDBUFFERARBPROC glad_glBindBufferARB = NULL;
1072PFNGLDELETEBUFFERSARBPROC glad_glDeleteBuffersARB = NULL;
1073PFNGLGENBUFFERSARBPROC glad_glGenBuffersARB = NULL;
1074PFNGLISBUFFERARBPROC glad_glIsBufferARB = NULL;
1075PFNGLBUFFERDATAARBPROC glad_glBufferDataARB = NULL;
1076PFNGLBUFFERSUBDATAARBPROC glad_glBufferSubDataARB = NULL;
1077PFNGLGETBUFFERSUBDATAARBPROC glad_glGetBufferSubDataARB = NULL;
1078PFNGLMAPBUFFERARBPROC glad_glMapBufferARB = NULL;
1079PFNGLUNMAPBUFFERARBPROC glad_glUnmapBufferARB = NULL;
1080PFNGLGETBUFFERPARAMETERIVARBPROC glad_glGetBufferParameterivARB = NULL;
1081PFNGLGETBUFFERPOINTERVARBPROC glad_glGetBufferPointervARB = NULL;
1082PFNGLVERTEXATTRIB1DARBPROC glad_glVertexAttrib1dARB = NULL;
1083PFNGLVERTEXATTRIB1DVARBPROC glad_glVertexAttrib1dvARB = NULL;
1084PFNGLVERTEXATTRIB1FARBPROC glad_glVertexAttrib1fARB = NULL;
1085PFNGLVERTEXATTRIB1FVARBPROC glad_glVertexAttrib1fvARB = NULL;
1086PFNGLVERTEXATTRIB1SARBPROC glad_glVertexAttrib1sARB = NULL;
1087PFNGLVERTEXATTRIB1SVARBPROC glad_glVertexAttrib1svARB = NULL;
1088PFNGLVERTEXATTRIB2DARBPROC glad_glVertexAttrib2dARB = NULL;
1089PFNGLVERTEXATTRIB2DVARBPROC glad_glVertexAttrib2dvARB = NULL;
1090PFNGLVERTEXATTRIB2FARBPROC glad_glVertexAttrib2fARB = NULL;
1091PFNGLVERTEXATTRIB2FVARBPROC glad_glVertexAttrib2fvARB = NULL;
1092PFNGLVERTEXATTRIB2SARBPROC glad_glVertexAttrib2sARB = NULL;
1093PFNGLVERTEXATTRIB2SVARBPROC glad_glVertexAttrib2svARB = NULL;
1094PFNGLVERTEXATTRIB3DARBPROC glad_glVertexAttrib3dARB = NULL;
1095PFNGLVERTEXATTRIB3DVARBPROC glad_glVertexAttrib3dvARB = NULL;
1096PFNGLVERTEXATTRIB3FARBPROC glad_glVertexAttrib3fARB = NULL;
1097PFNGLVERTEXATTRIB3FVARBPROC glad_glVertexAttrib3fvARB = NULL;
1098PFNGLVERTEXATTRIB3SARBPROC glad_glVertexAttrib3sARB = NULL;
1099PFNGLVERTEXATTRIB3SVARBPROC glad_glVertexAttrib3svARB = NULL;
1100PFNGLVERTEXATTRIB4NBVARBPROC glad_glVertexAttrib4NbvARB = NULL;
1101PFNGLVERTEXATTRIB4NIVARBPROC glad_glVertexAttrib4NivARB = NULL;
1102PFNGLVERTEXATTRIB4NSVARBPROC glad_glVertexAttrib4NsvARB = NULL;
1103PFNGLVERTEXATTRIB4NUBARBPROC glad_glVertexAttrib4NubARB = NULL;
1104PFNGLVERTEXATTRIB4NUBVARBPROC glad_glVertexAttrib4NubvARB = NULL;
1105PFNGLVERTEXATTRIB4NUIVARBPROC glad_glVertexAttrib4NuivARB = NULL;
1106PFNGLVERTEXATTRIB4NUSVARBPROC glad_glVertexAttrib4NusvARB = NULL;
1107PFNGLVERTEXATTRIB4BVARBPROC glad_glVertexAttrib4bvARB = NULL;
1108PFNGLVERTEXATTRIB4DARBPROC glad_glVertexAttrib4dARB = NULL;
1109PFNGLVERTEXATTRIB4DVARBPROC glad_glVertexAttrib4dvARB = NULL;
1110PFNGLVERTEXATTRIB4FARBPROC glad_glVertexAttrib4fARB = NULL;
1111PFNGLVERTEXATTRIB4FVARBPROC glad_glVertexAttrib4fvARB = NULL;
1112PFNGLVERTEXATTRIB4IVARBPROC glad_glVertexAttrib4ivARB = NULL;
1113PFNGLVERTEXATTRIB4SARBPROC glad_glVertexAttrib4sARB = NULL;
1114PFNGLVERTEXATTRIB4SVARBPROC glad_glVertexAttrib4svARB = NULL;
1115PFNGLVERTEXATTRIB4UBVARBPROC glad_glVertexAttrib4ubvARB = NULL;
1116PFNGLVERTEXATTRIB4UIVARBPROC glad_glVertexAttrib4uivARB = NULL;
1117PFNGLVERTEXATTRIB4USVARBPROC glad_glVertexAttrib4usvARB = NULL;
1118PFNGLVERTEXATTRIBPOINTERARBPROC glad_glVertexAttribPointerARB = NULL;
1119PFNGLENABLEVERTEXATTRIBARRAYARBPROC glad_glEnableVertexAttribArrayARB = NULL;
1120PFNGLDISABLEVERTEXATTRIBARRAYARBPROC glad_glDisableVertexAttribArrayARB = NULL;
1121PFNGLGETVERTEXATTRIBDVARBPROC glad_glGetVertexAttribdvARB = NULL;
1122PFNGLGETVERTEXATTRIBFVARBPROC glad_glGetVertexAttribfvARB = NULL;
1123PFNGLGETVERTEXATTRIBIVARBPROC glad_glGetVertexAttribivARB = NULL;
1124PFNGLGETVERTEXATTRIBPOINTERVARBPROC glad_glGetVertexAttribPointervARB = NULL;
1125PFNGLBINDATTRIBLOCATIONARBPROC glad_glBindAttribLocationARB = NULL;
1126PFNGLGETACTIVEATTRIBARBPROC glad_glGetActiveAttribARB = NULL;
1127PFNGLGETATTRIBLOCATIONARBPROC glad_glGetAttribLocationARB = NULL;
1128PFNGLDRAWBUFFERSATIPROC glad_glDrawBuffersATI = NULL;
1129PFNGLGENFRAGMENTSHADERSATIPROC glad_glGenFragmentShadersATI = NULL;
1130PFNGLBINDFRAGMENTSHADERATIPROC glad_glBindFragmentShaderATI = NULL;
1131PFNGLDELETEFRAGMENTSHADERATIPROC glad_glDeleteFragmentShaderATI = NULL;
1132PFNGLBEGINFRAGMENTSHADERATIPROC glad_glBeginFragmentShaderATI = NULL;
1133PFNGLENDFRAGMENTSHADERATIPROC glad_glEndFragmentShaderATI = NULL;
1134PFNGLPASSTEXCOORDATIPROC glad_glPassTexCoordATI = NULL;
1135PFNGLSAMPLEMAPATIPROC glad_glSampleMapATI = NULL;
1136PFNGLCOLORFRAGMENTOP1ATIPROC glad_glColorFragmentOp1ATI = NULL;
1137PFNGLCOLORFRAGMENTOP2ATIPROC glad_glColorFragmentOp2ATI = NULL;
1138PFNGLCOLORFRAGMENTOP3ATIPROC glad_glColorFragmentOp3ATI = NULL;
1139PFNGLALPHAFRAGMENTOP1ATIPROC glad_glAlphaFragmentOp1ATI = NULL;
1140PFNGLALPHAFRAGMENTOP2ATIPROC glad_glAlphaFragmentOp2ATI = NULL;
1141PFNGLALPHAFRAGMENTOP3ATIPROC glad_glAlphaFragmentOp3ATI = NULL;
1142PFNGLSETFRAGMENTSHADERCONSTANTATIPROC glad_glSetFragmentShaderConstantATI = NULL;
1143PFNGLBLENDEQUATIONSEPARATEEXTPROC glad_glBlendEquationSeparateEXT = NULL;
1144PFNGLBLITFRAMEBUFFEREXTPROC glad_glBlitFramebufferEXT = NULL;
1145PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC glad_glRenderbufferStorageMultisampleEXT = NULL;
1146PFNGLISRENDERBUFFEREXTPROC glad_glIsRenderbufferEXT = NULL;
1147PFNGLBINDRENDERBUFFEREXTPROC glad_glBindRenderbufferEXT = NULL;
1148PFNGLDELETERENDERBUFFERSEXTPROC glad_glDeleteRenderbuffersEXT = NULL;
1149PFNGLGENRENDERBUFFERSEXTPROC glad_glGenRenderbuffersEXT = NULL;
1150PFNGLRENDERBUFFERSTORAGEEXTPROC glad_glRenderbufferStorageEXT = NULL;
1151PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC glad_glGetRenderbufferParameterivEXT = NULL;
1152PFNGLISFRAMEBUFFEREXTPROC glad_glIsFramebufferEXT = NULL;
1153PFNGLBINDFRAMEBUFFEREXTPROC glad_glBindFramebufferEXT = NULL;
1154PFNGLDELETEFRAMEBUFFERSEXTPROC glad_glDeleteFramebuffersEXT = NULL;
1155PFNGLGENFRAMEBUFFERSEXTPROC glad_glGenFramebuffersEXT = NULL;
1156PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC glad_glCheckFramebufferStatusEXT = NULL;
1157PFNGLFRAMEBUFFERTEXTURE1DEXTPROC glad_glFramebufferTexture1DEXT = NULL;
1158PFNGLFRAMEBUFFERTEXTURE2DEXTPROC glad_glFramebufferTexture2DEXT = NULL;
1159PFNGLFRAMEBUFFERTEXTURE3DEXTPROC glad_glFramebufferTexture3DEXT = NULL;
1160PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC glad_glFramebufferRenderbufferEXT = NULL;
1161PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC glad_glGetFramebufferAttachmentParameterivEXT = NULL;
1162PFNGLGENERATEMIPMAPEXTPROC glad_glGenerateMipmapEXT = NULL;
1163PFNGLPROGRAMPARAMETERIEXTPROC glad_glProgramParameteriEXT = NULL;
1164PFNGLPOINTPARAMETERFEXTPROC glad_glPointParameterfEXT = NULL;
1165PFNGLPOINTPARAMETERFVEXTPROC glad_glPointParameterfvEXT = NULL;
1166PFNGLSECONDARYCOLOR3BEXTPROC glad_glSecondaryColor3bEXT = NULL;
1167PFNGLSECONDARYCOLOR3BVEXTPROC glad_glSecondaryColor3bvEXT = NULL;
1168PFNGLSECONDARYCOLOR3DEXTPROC glad_glSecondaryColor3dEXT = NULL;
1169PFNGLSECONDARYCOLOR3DVEXTPROC glad_glSecondaryColor3dvEXT = NULL;
1170PFNGLSECONDARYCOLOR3FEXTPROC glad_glSecondaryColor3fEXT = NULL;
1171PFNGLSECONDARYCOLOR3FVEXTPROC glad_glSecondaryColor3fvEXT = NULL;
1172PFNGLSECONDARYCOLOR3IEXTPROC glad_glSecondaryColor3iEXT = NULL;
1173PFNGLSECONDARYCOLOR3IVEXTPROC glad_glSecondaryColor3ivEXT = NULL;
1174PFNGLSECONDARYCOLOR3SEXTPROC glad_glSecondaryColor3sEXT = NULL;
1175PFNGLSECONDARYCOLOR3SVEXTPROC glad_glSecondaryColor3svEXT = NULL;
1176PFNGLSECONDARYCOLOR3UBEXTPROC glad_glSecondaryColor3ubEXT = NULL;
1177PFNGLSECONDARYCOLOR3UBVEXTPROC glad_glSecondaryColor3ubvEXT = NULL;
1178PFNGLSECONDARYCOLOR3UIEXTPROC glad_glSecondaryColor3uiEXT = NULL;
1179PFNGLSECONDARYCOLOR3UIVEXTPROC glad_glSecondaryColor3uivEXT = NULL;
1180PFNGLSECONDARYCOLOR3USEXTPROC glad_glSecondaryColor3usEXT = NULL;
1181PFNGLSECONDARYCOLOR3USVEXTPROC glad_glSecondaryColor3usvEXT = NULL;
1182PFNGLSECONDARYCOLORPOINTEREXTPROC glad_glSecondaryColorPointerEXT = NULL;
1183PFNGLACTIVESTENCILFACEEXTPROC glad_glActiveStencilFaceEXT = NULL;
1184PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC glad_glFramebufferTextureLayerEXT = NULL;
1185PFNGLSTRINGMARKERGREMEDYPROC glad_glStringMarkerGREMEDY = NULL;
1186PFNGLPROGRAMVERTEXLIMITNVPROC glad_glProgramVertexLimitNV = NULL;
1187PFNGLFRAMEBUFFERTEXTUREEXTPROC glad_glFramebufferTextureEXT = NULL;
1188PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC glad_glFramebufferTextureFaceEXT = NULL;
1189PFNGLPROGRAMLOCALPARAMETERI4INVPROC glad_glProgramLocalParameterI4iNV = NULL;
1190PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC glad_glProgramLocalParameterI4ivNV = NULL;
1191PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC glad_glProgramLocalParametersI4ivNV = NULL;
1192PFNGLPROGRAMLOCALPARAMETERI4UINVPROC glad_glProgramLocalParameterI4uiNV = NULL;
1193PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC glad_glProgramLocalParameterI4uivNV = NULL;
1194PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC glad_glProgramLocalParametersI4uivNV = NULL;
1195PFNGLPROGRAMENVPARAMETERI4INVPROC glad_glProgramEnvParameterI4iNV = NULL;
1196PFNGLPROGRAMENVPARAMETERI4IVNVPROC glad_glProgramEnvParameterI4ivNV = NULL;
1197PFNGLPROGRAMENVPARAMETERSI4IVNVPROC glad_glProgramEnvParametersI4ivNV = NULL;
1198PFNGLPROGRAMENVPARAMETERI4UINVPROC glad_glProgramEnvParameterI4uiNV = NULL;
1199PFNGLPROGRAMENVPARAMETERI4UIVNVPROC glad_glProgramEnvParameterI4uivNV = NULL;
1200PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC glad_glProgramEnvParametersI4uivNV = NULL;
1201PFNGLGETPROGRAMLOCALPARAMETERIIVNVPROC glad_glGetProgramLocalParameterIivNV = NULL;
1202PFNGLGETPROGRAMLOCALPARAMETERIUIVNVPROC glad_glGetProgramLocalParameterIuivNV = NULL;
1203PFNGLGETPROGRAMENVPARAMETERIIVNVPROC glad_glGetProgramEnvParameterIivNV = NULL;
1204PFNGLGETPROGRAMENVPARAMETERIUIVNVPROC glad_glGetProgramEnvParameterIuivNV = NULL;
1205PFNGLCOMBINERPARAMETERFVNVPROC glad_glCombinerParameterfvNV = NULL;
1206PFNGLCOMBINERPARAMETERFNVPROC glad_glCombinerParameterfNV = NULL;
1207PFNGLCOMBINERPARAMETERIVNVPROC glad_glCombinerParameterivNV = NULL;
1208PFNGLCOMBINERPARAMETERINVPROC glad_glCombinerParameteriNV = NULL;
1209PFNGLCOMBINERINPUTNVPROC glad_glCombinerInputNV = NULL;
1210PFNGLCOMBINEROUTPUTNVPROC glad_glCombinerOutputNV = NULL;
1211PFNGLFINALCOMBINERINPUTNVPROC glad_glFinalCombinerInputNV = NULL;
1212PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC glad_glGetCombinerInputParameterfvNV = NULL;
1213PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC glad_glGetCombinerInputParameterivNV = NULL;
1214PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC glad_glGetCombinerOutputParameterfvNV = NULL;
1215PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC glad_glGetCombinerOutputParameterivNV = NULL;
1216PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC glad_glGetFinalCombinerInputParameterfvNV = NULL;
1217PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC glad_glGetFinalCombinerInputParameterivNV = NULL;
1218PFNGLCOMBINERSTAGEPARAMETERFVNVPROC glad_glCombinerStageParameterfvNV = NULL;
1219PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC glad_glGetCombinerStageParameterfvNV = NULL;
1220PFNGLBEGINTRANSFORMFEEDBACKNVPROC glad_glBeginTransformFeedbackNV = NULL;
1221PFNGLENDTRANSFORMFEEDBACKNVPROC glad_glEndTransformFeedbackNV = NULL;
1222PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC glad_glTransformFeedbackAttribsNV = NULL;
1223PFNGLBINDBUFFERRANGENVPROC glad_glBindBufferRangeNV = NULL;
1224PFNGLBINDBUFFEROFFSETNVPROC glad_glBindBufferOffsetNV = NULL;
1225PFNGLBINDBUFFERBASENVPROC glad_glBindBufferBaseNV = NULL;
1226PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC glad_glTransformFeedbackVaryingsNV = NULL;
1227PFNGLACTIVEVARYINGNVPROC glad_glActiveVaryingNV = NULL;
1228PFNGLGETVARYINGLOCATIONNVPROC glad_glGetVaryingLocationNV = NULL;
1229PFNGLGETACTIVEVARYINGNVPROC glad_glGetActiveVaryingNV = NULL;
1230PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC glad_glGetTransformFeedbackVaryingNV = NULL;
1231PFNGLTRANSFORMFEEDBACKSTREAMATTRIBSNVPROC glad_glTransformFeedbackStreamAttribsNV = NULL;
1232PFNGLAREPROGRAMSRESIDENTNVPROC glad_glAreProgramsResidentNV = NULL;
1233PFNGLBINDPROGRAMNVPROC glad_glBindProgramNV = NULL;
1234PFNGLDELETEPROGRAMSNVPROC glad_glDeleteProgramsNV = NULL;
1235PFNGLEXECUTEPROGRAMNVPROC glad_glExecuteProgramNV = NULL;
1236PFNGLGENPROGRAMSNVPROC glad_glGenProgramsNV = NULL;
1237PFNGLGETPROGRAMPARAMETERDVNVPROC glad_glGetProgramParameterdvNV = NULL;
1238PFNGLGETPROGRAMPARAMETERFVNVPROC glad_glGetProgramParameterfvNV = NULL;
1239PFNGLGETPROGRAMIVNVPROC glad_glGetProgramivNV = NULL;
1240PFNGLGETPROGRAMSTRINGNVPROC glad_glGetProgramStringNV = NULL;
1241PFNGLGETTRACKMATRIXIVNVPROC glad_glGetTrackMatrixivNV = NULL;
1242PFNGLGETVERTEXATTRIBDVNVPROC glad_glGetVertexAttribdvNV = NULL;
1243PFNGLGETVERTEXATTRIBFVNVPROC glad_glGetVertexAttribfvNV = NULL;
1244PFNGLGETVERTEXATTRIBIVNVPROC glad_glGetVertexAttribivNV = NULL;
1245PFNGLGETVERTEXATTRIBPOINTERVNVPROC glad_glGetVertexAttribPointervNV = NULL;
1246PFNGLISPROGRAMNVPROC glad_glIsProgramNV = NULL;
1247PFNGLLOADPROGRAMNVPROC glad_glLoadProgramNV = NULL;
1248PFNGLPROGRAMPARAMETER4DNVPROC glad_glProgramParameter4dNV = NULL;
1249PFNGLPROGRAMPARAMETER4DVNVPROC glad_glProgramParameter4dvNV = NULL;
1250PFNGLPROGRAMPARAMETER4FNVPROC glad_glProgramParameter4fNV = NULL;
1251PFNGLPROGRAMPARAMETER4FVNVPROC glad_glProgramParameter4fvNV = NULL;
1252PFNGLPROGRAMPARAMETERS4DVNVPROC glad_glProgramParameters4dvNV = NULL;
1253PFNGLPROGRAMPARAMETERS4FVNVPROC glad_glProgramParameters4fvNV = NULL;
1254PFNGLREQUESTRESIDENTPROGRAMSNVPROC glad_glRequestResidentProgramsNV = NULL;
1255PFNGLTRACKMATRIXNVPROC glad_glTrackMatrixNV = NULL;
1256PFNGLVERTEXATTRIBPOINTERNVPROC glad_glVertexAttribPointerNV = NULL;
1257PFNGLVERTEXATTRIB1DNVPROC glad_glVertexAttrib1dNV = NULL;
1258PFNGLVERTEXATTRIB1DVNVPROC glad_glVertexAttrib1dvNV = NULL;
1259PFNGLVERTEXATTRIB1FNVPROC glad_glVertexAttrib1fNV = NULL;
1260PFNGLVERTEXATTRIB1FVNVPROC glad_glVertexAttrib1fvNV = NULL;
1261PFNGLVERTEXATTRIB1SNVPROC glad_glVertexAttrib1sNV = NULL;
1262PFNGLVERTEXATTRIB1SVNVPROC glad_glVertexAttrib1svNV = NULL;
1263PFNGLVERTEXATTRIB2DNVPROC glad_glVertexAttrib2dNV = NULL;
1264PFNGLVERTEXATTRIB2DVNVPROC glad_glVertexAttrib2dvNV = NULL;
1265PFNGLVERTEXATTRIB2FNVPROC glad_glVertexAttrib2fNV = NULL;
1266PFNGLVERTEXATTRIB2FVNVPROC glad_glVertexAttrib2fvNV = NULL;
1267PFNGLVERTEXATTRIB2SNVPROC glad_glVertexAttrib2sNV = NULL;
1268PFNGLVERTEXATTRIB2SVNVPROC glad_glVertexAttrib2svNV = NULL;
1269PFNGLVERTEXATTRIB3DNVPROC glad_glVertexAttrib3dNV = NULL;
1270PFNGLVERTEXATTRIB3DVNVPROC glad_glVertexAttrib3dvNV = NULL;
1271PFNGLVERTEXATTRIB3FNVPROC glad_glVertexAttrib3fNV = NULL;
1272PFNGLVERTEXATTRIB3FVNVPROC glad_glVertexAttrib3fvNV = NULL;
1273PFNGLVERTEXATTRIB3SNVPROC glad_glVertexAttrib3sNV = NULL;
1274PFNGLVERTEXATTRIB3SVNVPROC glad_glVertexAttrib3svNV = NULL;
1275PFNGLVERTEXATTRIB4DNVPROC glad_glVertexAttrib4dNV = NULL;
1276PFNGLVERTEXATTRIB4DVNVPROC glad_glVertexAttrib4dvNV = NULL;
1277PFNGLVERTEXATTRIB4FNVPROC glad_glVertexAttrib4fNV = NULL;
1278PFNGLVERTEXATTRIB4FVNVPROC glad_glVertexAttrib4fvNV = NULL;
1279PFNGLVERTEXATTRIB4SNVPROC glad_glVertexAttrib4sNV = NULL;
1280PFNGLVERTEXATTRIB4SVNVPROC glad_glVertexAttrib4svNV = NULL;
1281PFNGLVERTEXATTRIB4UBNVPROC glad_glVertexAttrib4ubNV = NULL;
1282PFNGLVERTEXATTRIB4UBVNVPROC glad_glVertexAttrib4ubvNV = NULL;
1283PFNGLVERTEXATTRIBS1DVNVPROC glad_glVertexAttribs1dvNV = NULL;
1284PFNGLVERTEXATTRIBS1FVNVPROC glad_glVertexAttribs1fvNV = NULL;
1285PFNGLVERTEXATTRIBS1SVNVPROC glad_glVertexAttribs1svNV = NULL;
1286PFNGLVERTEXATTRIBS2DVNVPROC glad_glVertexAttribs2dvNV = NULL;
1287PFNGLVERTEXATTRIBS2FVNVPROC glad_glVertexAttribs2fvNV = NULL;
1288PFNGLVERTEXATTRIBS2SVNVPROC glad_glVertexAttribs2svNV = NULL;
1289PFNGLVERTEXATTRIBS3DVNVPROC glad_glVertexAttribs3dvNV = NULL;
1290PFNGLVERTEXATTRIBS3FVNVPROC glad_glVertexAttribs3fvNV = NULL;
1291PFNGLVERTEXATTRIBS3SVNVPROC glad_glVertexAttribs3svNV = NULL;
1292PFNGLVERTEXATTRIBS4DVNVPROC glad_glVertexAttribs4dvNV = NULL;
1293PFNGLVERTEXATTRIBS4FVNVPROC glad_glVertexAttribs4fvNV = NULL;
1294PFNGLVERTEXATTRIBS4SVNVPROC glad_glVertexAttribs4svNV = NULL;
1295PFNGLVERTEXATTRIBS4UBVNVPROC glad_glVertexAttribs4ubvNV = NULL;
1296static void load_GL_VERSION_1_0(GLADloadproc load) {
1297 if(!GLAD_GL_VERSION_1_0)
return;
1298 glad_glCullFace = (PFNGLCULLFACEPROC)load(
"glCullFace");
1299 glad_glFrontFace = (PFNGLFRONTFACEPROC)load(
"glFrontFace");
1300 glad_glHint = (PFNGLHINTPROC)load(
"glHint");
1301 glad_glLineWidth = (PFNGLLINEWIDTHPROC)load(
"glLineWidth");
1302 glad_glPointSize = (PFNGLPOINTSIZEPROC)load(
"glPointSize");
1303 glad_glPolygonMode = (PFNGLPOLYGONMODEPROC)load(
"glPolygonMode");
1304 glad_glScissor = (PFNGLSCISSORPROC)load(
"glScissor");
1305 glad_glTexParameterf = (PFNGLTEXPARAMETERFPROC)load(
"glTexParameterf");
1306 glad_glTexParameterfv = (PFNGLTEXPARAMETERFVPROC)load(
"glTexParameterfv");
1307 glad_glTexParameteri = (PFNGLTEXPARAMETERIPROC)load(
"glTexParameteri");
1308 glad_glTexParameteriv = (PFNGLTEXPARAMETERIVPROC)load(
"glTexParameteriv");
1309 glad_glTexImage1D = (PFNGLTEXIMAGE1DPROC)load(
"glTexImage1D");
1310 glad_glTexImage2D = (PFNGLTEXIMAGE2DPROC)load(
"glTexImage2D");
1311 glad_glDrawBuffer = (PFNGLDRAWBUFFERPROC)load(
"glDrawBuffer");
1312 glad_glClear = (PFNGLCLEARPROC)load(
"glClear");
1313 glad_glClearColor = (PFNGLCLEARCOLORPROC)load(
"glClearColor");
1314 glad_glClearStencil = (PFNGLCLEARSTENCILPROC)load(
"glClearStencil");
1315 glad_glClearDepth = (PFNGLCLEARDEPTHPROC)load(
"glClearDepth");
1316 glad_glStencilMask = (PFNGLSTENCILMASKPROC)load(
"glStencilMask");
1317 glad_glColorMask = (PFNGLCOLORMASKPROC)load(
"glColorMask");
1318 glad_glDepthMask = (PFNGLDEPTHMASKPROC)load(
"glDepthMask");
1319 glad_glDisable = (PFNGLDISABLEPROC)load(
"glDisable");
1320 glad_glEnable = (PFNGLENABLEPROC)load(
"glEnable");
1321 glad_glFinish = (PFNGLFINISHPROC)load(
"glFinish");
1322 glad_glFlush = (PFNGLFLUSHPROC)load(
"glFlush");
1323 glad_glBlendFunc = (PFNGLBLENDFUNCPROC)load(
"glBlendFunc");
1324 glad_glLogicOp = (PFNGLLOGICOPPROC)load(
"glLogicOp");
1325 glad_glStencilFunc = (PFNGLSTENCILFUNCPROC)load(
"glStencilFunc");
1326 glad_glStencilOp = (PFNGLSTENCILOPPROC)load(
"glStencilOp");
1327 glad_glDepthFunc = (PFNGLDEPTHFUNCPROC)load(
"glDepthFunc");
1328 glad_glPixelStoref = (PFNGLPIXELSTOREFPROC)load(
"glPixelStoref");
1329 glad_glPixelStorei = (PFNGLPIXELSTOREIPROC)load(
"glPixelStorei");
1330 glad_glReadBuffer = (PFNGLREADBUFFERPROC)load(
"glReadBuffer");
1331 glad_glReadPixels = (PFNGLREADPIXELSPROC)load(
"glReadPixels");
1332 glad_glGetBooleanv = (PFNGLGETBOOLEANVPROC)load(
"glGetBooleanv");
1333 glad_glGetDoublev = (PFNGLGETDOUBLEVPROC)load(
"glGetDoublev");
1334 glad_glGetError = (PFNGLGETERRORPROC)load(
"glGetError");
1335 glad_glGetFloatv = (PFNGLGETFLOATVPROC)load(
"glGetFloatv");
1336 glad_glGetIntegerv = (PFNGLGETINTEGERVPROC)load(
"glGetIntegerv");
1337 glad_glGetString = (PFNGLGETSTRINGPROC)load(
"glGetString");
1338 glad_glGetTexImage = (PFNGLGETTEXIMAGEPROC)load(
"glGetTexImage");
1339 glad_glGetTexParameterfv = (PFNGLGETTEXPARAMETERFVPROC)load(
"glGetTexParameterfv");
1340 glad_glGetTexParameteriv = (PFNGLGETTEXPARAMETERIVPROC)load(
"glGetTexParameteriv");
1341 glad_glGetTexLevelParameterfv = (PFNGLGETTEXLEVELPARAMETERFVPROC)load(
"glGetTexLevelParameterfv");
1342 glad_glGetTexLevelParameteriv = (PFNGLGETTEXLEVELPARAMETERIVPROC)load(
"glGetTexLevelParameteriv");
1343 glad_glIsEnabled = (PFNGLISENABLEDPROC)load(
"glIsEnabled");
1344 glad_glDepthRange = (PFNGLDEPTHRANGEPROC)load(
"glDepthRange");
1345 glad_glViewport = (PFNGLVIEWPORTPROC)load(
"glViewport");
1346 glad_glNewList = (PFNGLNEWLISTPROC)load(
"glNewList");
1347 glad_glEndList = (PFNGLENDLISTPROC)load(
"glEndList");
1348 glad_glCallList = (PFNGLCALLLISTPROC)load(
"glCallList");
1349 glad_glCallLists = (PFNGLCALLLISTSPROC)load(
"glCallLists");
1350 glad_glDeleteLists = (PFNGLDELETELISTSPROC)load(
"glDeleteLists");
1351 glad_glGenLists = (PFNGLGENLISTSPROC)load(
"glGenLists");
1352 glad_glListBase = (PFNGLLISTBASEPROC)load(
"glListBase");
1353 glad_glBegin = (PFNGLBEGINPROC)load(
"glBegin");
1354 glad_glBitmap = (PFNGLBITMAPPROC)load(
"glBitmap");
1355 glad_glColor3b = (PFNGLCOLOR3BPROC)load(
"glColor3b");
1356 glad_glColor3bv = (PFNGLCOLOR3BVPROC)load(
"glColor3bv");
1357 glad_glColor3d = (PFNGLCOLOR3DPROC)load(
"glColor3d");
1358 glad_glColor3dv = (PFNGLCOLOR3DVPROC)load(
"glColor3dv");
1359 glad_glColor3f = (PFNGLCOLOR3FPROC)load(
"glColor3f");
1360 glad_glColor3fv = (PFNGLCOLOR3FVPROC)load(
"glColor3fv");
1361 glad_glColor3i = (PFNGLCOLOR3IPROC)load(
"glColor3i");
1362 glad_glColor3iv = (PFNGLCOLOR3IVPROC)load(
"glColor3iv");
1363 glad_glColor3s = (PFNGLCOLOR3SPROC)load(
"glColor3s");
1364 glad_glColor3sv = (PFNGLCOLOR3SVPROC)load(
"glColor3sv");
1365 glad_glColor3ub = (PFNGLCOLOR3UBPROC)load(
"glColor3ub");
1366 glad_glColor3ubv = (PFNGLCOLOR3UBVPROC)load(
"glColor3ubv");
1367 glad_glColor3ui = (PFNGLCOLOR3UIPROC)load(
"glColor3ui");
1368 glad_glColor3uiv = (PFNGLCOLOR3UIVPROC)load(
"glColor3uiv");
1369 glad_glColor3us = (PFNGLCOLOR3USPROC)load(
"glColor3us");
1370 glad_glColor3usv = (PFNGLCOLOR3USVPROC)load(
"glColor3usv");
1371 glad_glColor4b = (PFNGLCOLOR4BPROC)load(
"glColor4b");
1372 glad_glColor4bv = (PFNGLCOLOR4BVPROC)load(
"glColor4bv");
1373 glad_glColor4d = (PFNGLCOLOR4DPROC)load(
"glColor4d");
1374 glad_glColor4dv = (PFNGLCOLOR4DVPROC)load(
"glColor4dv");
1375 glad_glColor4f = (PFNGLCOLOR4FPROC)load(
"glColor4f");
1376 glad_glColor4fv = (PFNGLCOLOR4FVPROC)load(
"glColor4fv");
1377 glad_glColor4i = (PFNGLCOLOR4IPROC)load(
"glColor4i");
1378 glad_glColor4iv = (PFNGLCOLOR4IVPROC)load(
"glColor4iv");
1379 glad_glColor4s = (PFNGLCOLOR4SPROC)load(
"glColor4s");
1380 glad_glColor4sv = (PFNGLCOLOR4SVPROC)load(
"glColor4sv");
1381 glad_glColor4ub = (PFNGLCOLOR4UBPROC)load(
"glColor4ub");
1382 glad_glColor4ubv = (PFNGLCOLOR4UBVPROC)load(
"glColor4ubv");
1383 glad_glColor4ui = (PFNGLCOLOR4UIPROC)load(
"glColor4ui");
1384 glad_glColor4uiv = (PFNGLCOLOR4UIVPROC)load(
"glColor4uiv");
1385 glad_glColor4us = (PFNGLCOLOR4USPROC)load(
"glColor4us");
1386 glad_glColor4usv = (PFNGLCOLOR4USVPROC)load(
"glColor4usv");
1387 glad_glEdgeFlag = (PFNGLEDGEFLAGPROC)load(
"glEdgeFlag");
1388 glad_glEdgeFlagv = (PFNGLEDGEFLAGVPROC)load(
"glEdgeFlagv");
1389 glad_glEnd = (PFNGLENDPROC)load(
"glEnd");
1390 glad_glIndexd = (PFNGLINDEXDPROC)load(
"glIndexd");
1391 glad_glIndexdv = (PFNGLINDEXDVPROC)load(
"glIndexdv");
1392 glad_glIndexf = (PFNGLINDEXFPROC)load(
"glIndexf");
1393 glad_glIndexfv = (PFNGLINDEXFVPROC)load(
"glIndexfv");
1394 glad_glIndexi = (PFNGLINDEXIPROC)load(
"glIndexi");
1395 glad_glIndexiv = (PFNGLINDEXIVPROC)load(
"glIndexiv");
1396 glad_glIndexs = (PFNGLINDEXSPROC)load(
"glIndexs");
1397 glad_glIndexsv = (PFNGLINDEXSVPROC)load(
"glIndexsv");
1398 glad_glNormal3b = (PFNGLNORMAL3BPROC)load(
"glNormal3b");
1399 glad_glNormal3bv = (PFNGLNORMAL3BVPROC)load(
"glNormal3bv");
1400 glad_glNormal3d = (PFNGLNORMAL3DPROC)load(
"glNormal3d");
1401 glad_glNormal3dv = (PFNGLNORMAL3DVPROC)load(
"glNormal3dv");
1402 glad_glNormal3f = (PFNGLNORMAL3FPROC)load(
"glNormal3f");
1403 glad_glNormal3fv = (PFNGLNORMAL3FVPROC)load(
"glNormal3fv");
1404 glad_glNormal3i = (PFNGLNORMAL3IPROC)load(
"glNormal3i");
1405 glad_glNormal3iv = (PFNGLNORMAL3IVPROC)load(
"glNormal3iv");
1406 glad_glNormal3s = (PFNGLNORMAL3SPROC)load(
"glNormal3s");
1407 glad_glNormal3sv = (PFNGLNORMAL3SVPROC)load(
"glNormal3sv");
1408 glad_glRasterPos2d = (PFNGLRASTERPOS2DPROC)load(
"glRasterPos2d");
1409 glad_glRasterPos2dv = (PFNGLRASTERPOS2DVPROC)load(
"glRasterPos2dv");
1410 glad_glRasterPos2f = (PFNGLRASTERPOS2FPROC)load(
"glRasterPos2f");
1411 glad_glRasterPos2fv = (PFNGLRASTERPOS2FVPROC)load(
"glRasterPos2fv");
1412 glad_glRasterPos2i = (PFNGLRASTERPOS2IPROC)load(
"glRasterPos2i");
1413 glad_glRasterPos2iv = (PFNGLRASTERPOS2IVPROC)load(
"glRasterPos2iv");
1414 glad_glRasterPos2s = (PFNGLRASTERPOS2SPROC)load(
"glRasterPos2s");
1415 glad_glRasterPos2sv = (PFNGLRASTERPOS2SVPROC)load(
"glRasterPos2sv");
1416 glad_glRasterPos3d = (PFNGLRASTERPOS3DPROC)load(
"glRasterPos3d");
1417 glad_glRasterPos3dv = (PFNGLRASTERPOS3DVPROC)load(
"glRasterPos3dv");
1418 glad_glRasterPos3f = (PFNGLRASTERPOS3FPROC)load(
"glRasterPos3f");
1419 glad_glRasterPos3fv = (PFNGLRASTERPOS3FVPROC)load(
"glRasterPos3fv");
1420 glad_glRasterPos3i = (PFNGLRASTERPOS3IPROC)load(
"glRasterPos3i");
1421 glad_glRasterPos3iv = (PFNGLRASTERPOS3IVPROC)load(
"glRasterPos3iv");
1422 glad_glRasterPos3s = (PFNGLRASTERPOS3SPROC)load(
"glRasterPos3s");
1423 glad_glRasterPos3sv = (PFNGLRASTERPOS3SVPROC)load(
"glRasterPos3sv");
1424 glad_glRasterPos4d = (PFNGLRASTERPOS4DPROC)load(
"glRasterPos4d");
1425 glad_glRasterPos4dv = (PFNGLRASTERPOS4DVPROC)load(
"glRasterPos4dv");
1426 glad_glRasterPos4f = (PFNGLRASTERPOS4FPROC)load(
"glRasterPos4f");
1427 glad_glRasterPos4fv = (PFNGLRASTERPOS4FVPROC)load(
"glRasterPos4fv");
1428 glad_glRasterPos4i = (PFNGLRASTERPOS4IPROC)load(
"glRasterPos4i");
1429 glad_glRasterPos4iv = (PFNGLRASTERPOS4IVPROC)load(
"glRasterPos4iv");
1430 glad_glRasterPos4s = (PFNGLRASTERPOS4SPROC)load(
"glRasterPos4s");
1431 glad_glRasterPos4sv = (PFNGLRASTERPOS4SVPROC)load(
"glRasterPos4sv");
1432 glad_glRectd = (PFNGLRECTDPROC)load(
"glRectd");
1433 glad_glRectdv = (PFNGLRECTDVPROC)load(
"glRectdv");
1434 glad_glRectf = (PFNGLRECTFPROC)load(
"glRectf");
1435 glad_glRectfv = (PFNGLRECTFVPROC)load(
"glRectfv");
1436 glad_glRecti = (PFNGLRECTIPROC)load(
"glRecti");
1437 glad_glRectiv = (PFNGLRECTIVPROC)load(
"glRectiv");
1438 glad_glRects = (PFNGLRECTSPROC)load(
"glRects");
1439 glad_glRectsv = (PFNGLRECTSVPROC)load(
"glRectsv");
1440 glad_glTexCoord1d = (PFNGLTEXCOORD1DPROC)load(
"glTexCoord1d");
1441 glad_glTexCoord1dv = (PFNGLTEXCOORD1DVPROC)load(
"glTexCoord1dv");
1442 glad_glTexCoord1f = (PFNGLTEXCOORD1FPROC)load(
"glTexCoord1f");
1443 glad_glTexCoord1fv = (PFNGLTEXCOORD1FVPROC)load(
"glTexCoord1fv");
1444 glad_glTexCoord1i = (PFNGLTEXCOORD1IPROC)load(
"glTexCoord1i");
1445 glad_glTexCoord1iv = (PFNGLTEXCOORD1IVPROC)load(
"glTexCoord1iv");
1446 glad_glTexCoord1s = (PFNGLTEXCOORD1SPROC)load(
"glTexCoord1s");
1447 glad_glTexCoord1sv = (PFNGLTEXCOORD1SVPROC)load(
"glTexCoord1sv");
1448 glad_glTexCoord2d = (PFNGLTEXCOORD2DPROC)load(
"glTexCoord2d");
1449 glad_glTexCoord2dv = (PFNGLTEXCOORD2DVPROC)load(
"glTexCoord2dv");
1450 glad_glTexCoord2f = (PFNGLTEXCOORD2FPROC)load(
"glTexCoord2f");
1451 glad_glTexCoord2fv = (PFNGLTEXCOORD2FVPROC)load(
"glTexCoord2fv");
1452 glad_glTexCoord2i = (PFNGLTEXCOORD2IPROC)load(
"glTexCoord2i");
1453 glad_glTexCoord2iv = (PFNGLTEXCOORD2IVPROC)load(
"glTexCoord2iv");
1454 glad_glTexCoord2s = (PFNGLTEXCOORD2SPROC)load(
"glTexCoord2s");
1455 glad_glTexCoord2sv = (PFNGLTEXCOORD2SVPROC)load(
"glTexCoord2sv");
1456 glad_glTexCoord3d = (PFNGLTEXCOORD3DPROC)load(
"glTexCoord3d");
1457 glad_glTexCoord3dv = (PFNGLTEXCOORD3DVPROC)load(
"glTexCoord3dv");
1458 glad_glTexCoord3f = (PFNGLTEXCOORD3FPROC)load(
"glTexCoord3f");
1459 glad_glTexCoord3fv = (PFNGLTEXCOORD3FVPROC)load(
"glTexCoord3fv");
1460 glad_glTexCoord3i = (PFNGLTEXCOORD3IPROC)load(
"glTexCoord3i");
1461 glad_glTexCoord3iv = (PFNGLTEXCOORD3IVPROC)load(
"glTexCoord3iv");
1462 glad_glTexCoord3s = (PFNGLTEXCOORD3SPROC)load(
"glTexCoord3s");
1463 glad_glTexCoord3sv = (PFNGLTEXCOORD3SVPROC)load(
"glTexCoord3sv");
1464 glad_glTexCoord4d = (PFNGLTEXCOORD4DPROC)load(
"glTexCoord4d");
1465 glad_glTexCoord4dv = (PFNGLTEXCOORD4DVPROC)load(
"glTexCoord4dv");
1466 glad_glTexCoord4f = (PFNGLTEXCOORD4FPROC)load(
"glTexCoord4f");
1467 glad_glTexCoord4fv = (PFNGLTEXCOORD4FVPROC)load(
"glTexCoord4fv");
1468 glad_glTexCoord4i = (PFNGLTEXCOORD4IPROC)load(
"glTexCoord4i");
1469 glad_glTexCoord4iv = (PFNGLTEXCOORD4IVPROC)load(
"glTexCoord4iv");
1470 glad_glTexCoord4s = (PFNGLTEXCOORD4SPROC)load(
"glTexCoord4s");
1471 glad_glTexCoord4sv = (PFNGLTEXCOORD4SVPROC)load(
"glTexCoord4sv");
1472 glad_glVertex2d = (PFNGLVERTEX2DPROC)load(
"glVertex2d");
1473 glad_glVertex2dv = (PFNGLVERTEX2DVPROC)load(
"glVertex2dv");
1474 glad_glVertex2f = (PFNGLVERTEX2FPROC)load(
"glVertex2f");
1475 glad_glVertex2fv = (PFNGLVERTEX2FVPROC)load(
"glVertex2fv");
1476 glad_glVertex2i = (PFNGLVERTEX2IPROC)load(
"glVertex2i");
1477 glad_glVertex2iv = (PFNGLVERTEX2IVPROC)load(
"glVertex2iv");
1478 glad_glVertex2s = (PFNGLVERTEX2SPROC)load(
"glVertex2s");
1479 glad_glVertex2sv = (PFNGLVERTEX2SVPROC)load(
"glVertex2sv");
1480 glad_glVertex3d = (PFNGLVERTEX3DPROC)load(
"glVertex3d");
1481 glad_glVertex3dv = (PFNGLVERTEX3DVPROC)load(
"glVertex3dv");
1482 glad_glVertex3f = (PFNGLVERTEX3FPROC)load(
"glVertex3f");
1483 glad_glVertex3fv = (PFNGLVERTEX3FVPROC)load(
"glVertex3fv");
1484 glad_glVertex3i = (PFNGLVERTEX3IPROC)load(
"glVertex3i");
1485 glad_glVertex3iv = (PFNGLVERTEX3IVPROC)load(
"glVertex3iv");
1486 glad_glVertex3s = (PFNGLVERTEX3SPROC)load(
"glVertex3s");
1487 glad_glVertex3sv = (PFNGLVERTEX3SVPROC)load(
"glVertex3sv");
1488 glad_glVertex4d = (PFNGLVERTEX4DPROC)load(
"glVertex4d");
1489 glad_glVertex4dv = (PFNGLVERTEX4DVPROC)load(
"glVertex4dv");
1490 glad_glVertex4f = (PFNGLVERTEX4FPROC)load(
"glVertex4f");
1491 glad_glVertex4fv = (PFNGLVERTEX4FVPROC)load(
"glVertex4fv");
1492 glad_glVertex4i = (PFNGLVERTEX4IPROC)load(
"glVertex4i");
1493 glad_glVertex4iv = (PFNGLVERTEX4IVPROC)load(
"glVertex4iv");
1494 glad_glVertex4s = (PFNGLVERTEX4SPROC)load(
"glVertex4s");
1495 glad_glVertex4sv = (PFNGLVERTEX4SVPROC)load(
"glVertex4sv");
1496 glad_glClipPlane = (PFNGLCLIPPLANEPROC)load(
"glClipPlane");
1497 glad_glColorMaterial = (PFNGLCOLORMATERIALPROC)load(
"glColorMaterial");
1498 glad_glFogf = (PFNGLFOGFPROC)load(
"glFogf");
1499 glad_glFogfv = (PFNGLFOGFVPROC)load(
"glFogfv");
1500 glad_glFogi = (PFNGLFOGIPROC)load(
"glFogi");
1501 glad_glFogiv = (PFNGLFOGIVPROC)load(
"glFogiv");
1502 glad_glLightf = (PFNGLLIGHTFPROC)load(
"glLightf");
1503 glad_glLightfv = (PFNGLLIGHTFVPROC)load(
"glLightfv");
1504 glad_glLighti = (PFNGLLIGHTIPROC)load(
"glLighti");
1505 glad_glLightiv = (PFNGLLIGHTIVPROC)load(
"glLightiv");
1506 glad_glLightModelf = (PFNGLLIGHTMODELFPROC)load(
"glLightModelf");
1507 glad_glLightModelfv = (PFNGLLIGHTMODELFVPROC)load(
"glLightModelfv");
1508 glad_glLightModeli = (PFNGLLIGHTMODELIPROC)load(
"glLightModeli");
1509 glad_glLightModeliv = (PFNGLLIGHTMODELIVPROC)load(
"glLightModeliv");
1510 glad_glLineStipple = (PFNGLLINESTIPPLEPROC)load(
"glLineStipple");
1511 glad_glMaterialf = (PFNGLMATERIALFPROC)load(
"glMaterialf");
1512 glad_glMaterialfv = (PFNGLMATERIALFVPROC)load(
"glMaterialfv");
1513 glad_glMateriali = (PFNGLMATERIALIPROC)load(
"glMateriali");
1514 glad_glMaterialiv = (PFNGLMATERIALIVPROC)load(
"glMaterialiv");
1515 glad_glPolygonStipple = (PFNGLPOLYGONSTIPPLEPROC)load(
"glPolygonStipple");
1516 glad_glShadeModel = (PFNGLSHADEMODELPROC)load(
"glShadeModel");
1517 glad_glTexEnvf = (PFNGLTEXENVFPROC)load(
"glTexEnvf");
1518 glad_glTexEnvfv = (PFNGLTEXENVFVPROC)load(
"glTexEnvfv");
1519 glad_glTexEnvi = (PFNGLTEXENVIPROC)load(
"glTexEnvi");
1520 glad_glTexEnviv = (PFNGLTEXENVIVPROC)load(
"glTexEnviv");
1521 glad_glTexGend = (PFNGLTEXGENDPROC)load(
"glTexGend");
1522 glad_glTexGendv = (PFNGLTEXGENDVPROC)load(
"glTexGendv");
1523 glad_glTexGenf = (PFNGLTEXGENFPROC)load(
"glTexGenf");
1524 glad_glTexGenfv = (PFNGLTEXGENFVPROC)load(
"glTexGenfv");
1525 glad_glTexGeni = (PFNGLTEXGENIPROC)load(
"glTexGeni");
1526 glad_glTexGeniv = (PFNGLTEXGENIVPROC)load(
"glTexGeniv");
1527 glad_glFeedbackBuffer = (PFNGLFEEDBACKBUFFERPROC)load(
"glFeedbackBuffer");
1528 glad_glSelectBuffer = (PFNGLSELECTBUFFERPROC)load(
"glSelectBuffer");
1529 glad_glRenderMode = (PFNGLRENDERMODEPROC)load(
"glRenderMode");
1530 glad_glInitNames = (PFNGLINITNAMESPROC)load(
"glInitNames");
1531 glad_glLoadName = (PFNGLLOADNAMEPROC)load(
"glLoadName");
1532 glad_glPassThrough = (PFNGLPASSTHROUGHPROC)load(
"glPassThrough");
1533 glad_glPopName = (PFNGLPOPNAMEPROC)load(
"glPopName");
1534 glad_glPushName = (PFNGLPUSHNAMEPROC)load(
"glPushName");
1535 glad_glClearAccum = (PFNGLCLEARACCUMPROC)load(
"glClearAccum");
1536 glad_glClearIndex = (PFNGLCLEARINDEXPROC)load(
"glClearIndex");
1537 glad_glIndexMask = (PFNGLINDEXMASKPROC)load(
"glIndexMask");
1538 glad_glAccum = (PFNGLACCUMPROC)load(
"glAccum");
1539 glad_glPopAttrib = (PFNGLPOPATTRIBPROC)load(
"glPopAttrib");
1540 glad_glPushAttrib = (PFNGLPUSHATTRIBPROC)load(
"glPushAttrib");
1541 glad_glMap1d = (PFNGLMAP1DPROC)load(
"glMap1d");
1542 glad_glMap1f = (PFNGLMAP1FPROC)load(
"glMap1f");
1543 glad_glMap2d = (PFNGLMAP2DPROC)load(
"glMap2d");
1544 glad_glMap2f = (PFNGLMAP2FPROC)load(
"glMap2f");
1545 glad_glMapGrid1d = (PFNGLMAPGRID1DPROC)load(
"glMapGrid1d");
1546 glad_glMapGrid1f = (PFNGLMAPGRID1FPROC)load(
"glMapGrid1f");
1547 glad_glMapGrid2d = (PFNGLMAPGRID2DPROC)load(
"glMapGrid2d");
1548 glad_glMapGrid2f = (PFNGLMAPGRID2FPROC)load(
"glMapGrid2f");
1549 glad_glEvalCoord1d = (PFNGLEVALCOORD1DPROC)load(
"glEvalCoord1d");
1550 glad_glEvalCoord1dv = (PFNGLEVALCOORD1DVPROC)load(
"glEvalCoord1dv");
1551 glad_glEvalCoord1f = (PFNGLEVALCOORD1FPROC)load(
"glEvalCoord1f");
1552 glad_glEvalCoord1fv = (PFNGLEVALCOORD1FVPROC)load(
"glEvalCoord1fv");
1553 glad_glEvalCoord2d = (PFNGLEVALCOORD2DPROC)load(
"glEvalCoord2d");
1554 glad_glEvalCoord2dv = (PFNGLEVALCOORD2DVPROC)load(
"glEvalCoord2dv");
1555 glad_glEvalCoord2f = (PFNGLEVALCOORD2FPROC)load(
"glEvalCoord2f");
1556 glad_glEvalCoord2fv = (PFNGLEVALCOORD2FVPROC)load(
"glEvalCoord2fv");
1557 glad_glEvalMesh1 = (PFNGLEVALMESH1PROC)load(
"glEvalMesh1");
1558 glad_glEvalPoint1 = (PFNGLEVALPOINT1PROC)load(
"glEvalPoint1");
1559 glad_glEvalMesh2 = (PFNGLEVALMESH2PROC)load(
"glEvalMesh2");
1560 glad_glEvalPoint2 = (PFNGLEVALPOINT2PROC)load(
"glEvalPoint2");
1561 glad_glAlphaFunc = (PFNGLALPHAFUNCPROC)load(
"glAlphaFunc");
1562 glad_glPixelZoom = (PFNGLPIXELZOOMPROC)load(
"glPixelZoom");
1563 glad_glPixelTransferf = (PFNGLPIXELTRANSFERFPROC)load(
"glPixelTransferf");
1564 glad_glPixelTransferi = (PFNGLPIXELTRANSFERIPROC)load(
"glPixelTransferi");
1565 glad_glPixelMapfv = (PFNGLPIXELMAPFVPROC)load(
"glPixelMapfv");
1566 glad_glPixelMapuiv = (PFNGLPIXELMAPUIVPROC)load(
"glPixelMapuiv");
1567 glad_glPixelMapusv = (PFNGLPIXELMAPUSVPROC)load(
"glPixelMapusv");
1568 glad_glCopyPixels = (PFNGLCOPYPIXELSPROC)load(
"glCopyPixels");
1569 glad_glDrawPixels = (PFNGLDRAWPIXELSPROC)load(
"glDrawPixels");
1570 glad_glGetClipPlane = (PFNGLGETCLIPPLANEPROC)load(
"glGetClipPlane");
1571 glad_glGetLightfv = (PFNGLGETLIGHTFVPROC)load(
"glGetLightfv");
1572 glad_glGetLightiv = (PFNGLGETLIGHTIVPROC)load(
"glGetLightiv");
1573 glad_glGetMapdv = (PFNGLGETMAPDVPROC)load(
"glGetMapdv");
1574 glad_glGetMapfv = (PFNGLGETMAPFVPROC)load(
"glGetMapfv");
1575 glad_glGetMapiv = (PFNGLGETMAPIVPROC)load(
"glGetMapiv");
1576 glad_glGetMaterialfv = (PFNGLGETMATERIALFVPROC)load(
"glGetMaterialfv");
1577 glad_glGetMaterialiv = (PFNGLGETMATERIALIVPROC)load(
"glGetMaterialiv");
1578 glad_glGetPixelMapfv = (PFNGLGETPIXELMAPFVPROC)load(
"glGetPixelMapfv");
1579 glad_glGetPixelMapuiv = (PFNGLGETPIXELMAPUIVPROC)load(
"glGetPixelMapuiv");
1580 glad_glGetPixelMapusv = (PFNGLGETPIXELMAPUSVPROC)load(
"glGetPixelMapusv");
1581 glad_glGetPolygonStipple = (PFNGLGETPOLYGONSTIPPLEPROC)load(
"glGetPolygonStipple");
1582 glad_glGetTexEnvfv = (PFNGLGETTEXENVFVPROC)load(
"glGetTexEnvfv");
1583 glad_glGetTexEnviv = (PFNGLGETTEXENVIVPROC)load(
"glGetTexEnviv");
1584 glad_glGetTexGendv = (PFNGLGETTEXGENDVPROC)load(
"glGetTexGendv");
1585 glad_glGetTexGenfv = (PFNGLGETTEXGENFVPROC)load(
"glGetTexGenfv");
1586 glad_glGetTexGeniv = (PFNGLGETTEXGENIVPROC)load(
"glGetTexGeniv");
1587 glad_glIsList = (PFNGLISLISTPROC)load(
"glIsList");
1588 glad_glFrustum = (PFNGLFRUSTUMPROC)load(
"glFrustum");
1589 glad_glLoadIdentity = (PFNGLLOADIDENTITYPROC)load(
"glLoadIdentity");
1590 glad_glLoadMatrixf = (PFNGLLOADMATRIXFPROC)load(
"glLoadMatrixf");
1591 glad_glLoadMatrixd = (PFNGLLOADMATRIXDPROC)load(
"glLoadMatrixd");
1592 glad_glMatrixMode = (PFNGLMATRIXMODEPROC)load(
"glMatrixMode");
1593 glad_glMultMatrixf = (PFNGLMULTMATRIXFPROC)load(
"glMultMatrixf");
1594 glad_glMultMatrixd = (PFNGLMULTMATRIXDPROC)load(
"glMultMatrixd");
1595 glad_glOrtho = (PFNGLORTHOPROC)load(
"glOrtho");
1596 glad_glPopMatrix = (PFNGLPOPMATRIXPROC)load(
"glPopMatrix");
1597 glad_glPushMatrix = (PFNGLPUSHMATRIXPROC)load(
"glPushMatrix");
1598 glad_glRotated = (PFNGLROTATEDPROC)load(
"glRotated");
1599 glad_glRotatef = (PFNGLROTATEFPROC)load(
"glRotatef");
1600 glad_glScaled = (PFNGLSCALEDPROC)load(
"glScaled");
1601 glad_glScalef = (PFNGLSCALEFPROC)load(
"glScalef");
1602 glad_glTranslated = (PFNGLTRANSLATEDPROC)load(
"glTranslated");
1603 glad_glTranslatef = (PFNGLTRANSLATEFPROC)load(
"glTranslatef");
1605static void load_GL_VERSION_1_1(GLADloadproc load) {
1606 if(!GLAD_GL_VERSION_1_1)
return;
1607 glad_glDrawArrays = (PFNGLDRAWARRAYSPROC)load(
"glDrawArrays");
1608 glad_glDrawElements = (PFNGLDRAWELEMENTSPROC)load(
"glDrawElements");
1609 glad_glGetPointerv = (PFNGLGETPOINTERVPROC)load(
"glGetPointerv");
1610 glad_glPolygonOffset = (PFNGLPOLYGONOFFSETPROC)load(
"glPolygonOffset");
1611 glad_glCopyTexImage1D = (PFNGLCOPYTEXIMAGE1DPROC)load(
"glCopyTexImage1D");
1612 glad_glCopyTexImage2D = (PFNGLCOPYTEXIMAGE2DPROC)load(
"glCopyTexImage2D");
1613 glad_glCopyTexSubImage1D = (PFNGLCOPYTEXSUBIMAGE1DPROC)load(
"glCopyTexSubImage1D");
1614 glad_glCopyTexSubImage2D = (PFNGLCOPYTEXSUBIMAGE2DPROC)load(
"glCopyTexSubImage2D");
1615 glad_glTexSubImage1D = (PFNGLTEXSUBIMAGE1DPROC)load(
"glTexSubImage1D");
1616 glad_glTexSubImage2D = (PFNGLTEXSUBIMAGE2DPROC)load(
"glTexSubImage2D");
1617 glad_glBindTexture = (PFNGLBINDTEXTUREPROC)load(
"glBindTexture");
1618 glad_glDeleteTextures = (PFNGLDELETETEXTURESPROC)load(
"glDeleteTextures");
1619 glad_glGenTextures = (PFNGLGENTEXTURESPROC)load(
"glGenTextures");
1620 glad_glIsTexture = (PFNGLISTEXTUREPROC)load(
"glIsTexture");
1621 glad_glArrayElement = (PFNGLARRAYELEMENTPROC)load(
"glArrayElement");
1622 glad_glColorPointer = (PFNGLCOLORPOINTERPROC)load(
"glColorPointer");
1623 glad_glDisableClientState = (PFNGLDISABLECLIENTSTATEPROC)load(
"glDisableClientState");
1624 glad_glEdgeFlagPointer = (PFNGLEDGEFLAGPOINTERPROC)load(
"glEdgeFlagPointer");
1625 glad_glEnableClientState = (PFNGLENABLECLIENTSTATEPROC)load(
"glEnableClientState");
1626 glad_glIndexPointer = (PFNGLINDEXPOINTERPROC)load(
"glIndexPointer");
1627 glad_glInterleavedArrays = (PFNGLINTERLEAVEDARRAYSPROC)load(
"glInterleavedArrays");
1628 glad_glNormalPointer = (PFNGLNORMALPOINTERPROC)load(
"glNormalPointer");
1629 glad_glTexCoordPointer = (PFNGLTEXCOORDPOINTERPROC)load(
"glTexCoordPointer");
1630 glad_glVertexPointer = (PFNGLVERTEXPOINTERPROC)load(
"glVertexPointer");
1631 glad_glAreTexturesResident = (PFNGLARETEXTURESRESIDENTPROC)load(
"glAreTexturesResident");
1632 glad_glPrioritizeTextures = (PFNGLPRIORITIZETEXTURESPROC)load(
"glPrioritizeTextures");
1633 glad_glIndexub = (PFNGLINDEXUBPROC)load(
"glIndexub");
1634 glad_glIndexubv = (PFNGLINDEXUBVPROC)load(
"glIndexubv");
1635 glad_glPopClientAttrib = (PFNGLPOPCLIENTATTRIBPROC)load(
"glPopClientAttrib");
1636 glad_glPushClientAttrib = (PFNGLPUSHCLIENTATTRIBPROC)load(
"glPushClientAttrib");
1638static void load_GL_VERSION_1_2(GLADloadproc load) {
1639 if(!GLAD_GL_VERSION_1_2)
return;
1640 glad_glDrawRangeElements = (PFNGLDRAWRANGEELEMENTSPROC)load(
"glDrawRangeElements");
1641 glad_glTexImage3D = (PFNGLTEXIMAGE3DPROC)load(
"glTexImage3D");
1642 glad_glTexSubImage3D = (PFNGLTEXSUBIMAGE3DPROC)load(
"glTexSubImage3D");
1643 glad_glCopyTexSubImage3D = (PFNGLCOPYTEXSUBIMAGE3DPROC)load(
"glCopyTexSubImage3D");
1645static void load_GL_VERSION_1_3(GLADloadproc load) {
1646 if(!GLAD_GL_VERSION_1_3)
return;
1647 glad_glActiveTexture = (PFNGLACTIVETEXTUREPROC)load(
"glActiveTexture");
1648 glad_glSampleCoverage = (PFNGLSAMPLECOVERAGEPROC)load(
"glSampleCoverage");
1649 glad_glCompressedTexImage3D = (PFNGLCOMPRESSEDTEXIMAGE3DPROC)load(
"glCompressedTexImage3D");
1650 glad_glCompressedTexImage2D = (PFNGLCOMPRESSEDTEXIMAGE2DPROC)load(
"glCompressedTexImage2D");
1651 glad_glCompressedTexImage1D = (PFNGLCOMPRESSEDTEXIMAGE1DPROC)load(
"glCompressedTexImage1D");
1652 glad_glCompressedTexSubImage3D = (PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC)load(
"glCompressedTexSubImage3D");
1653 glad_glCompressedTexSubImage2D = (PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC)load(
"glCompressedTexSubImage2D");
1654 glad_glCompressedTexSubImage1D = (PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC)load(
"glCompressedTexSubImage1D");
1655 glad_glGetCompressedTexImage = (PFNGLGETCOMPRESSEDTEXIMAGEPROC)load(
"glGetCompressedTexImage");
1656 glad_glClientActiveTexture = (PFNGLCLIENTACTIVETEXTUREPROC)load(
"glClientActiveTexture");
1657 glad_glMultiTexCoord1d = (PFNGLMULTITEXCOORD1DPROC)load(
"glMultiTexCoord1d");
1658 glad_glMultiTexCoord1dv = (PFNGLMULTITEXCOORD1DVPROC)load(
"glMultiTexCoord1dv");
1659 glad_glMultiTexCoord1f = (PFNGLMULTITEXCOORD1FPROC)load(
"glMultiTexCoord1f");
1660 glad_glMultiTexCoord1fv = (PFNGLMULTITEXCOORD1FVPROC)load(
"glMultiTexCoord1fv");
1661 glad_glMultiTexCoord1i = (PFNGLMULTITEXCOORD1IPROC)load(
"glMultiTexCoord1i");
1662 glad_glMultiTexCoord1iv = (PFNGLMULTITEXCOORD1IVPROC)load(
"glMultiTexCoord1iv");
1663 glad_glMultiTexCoord1s = (PFNGLMULTITEXCOORD1SPROC)load(
"glMultiTexCoord1s");
1664 glad_glMultiTexCoord1sv = (PFNGLMULTITEXCOORD1SVPROC)load(
"glMultiTexCoord1sv");
1665 glad_glMultiTexCoord2d = (PFNGLMULTITEXCOORD2DPROC)load(
"glMultiTexCoord2d");
1666 glad_glMultiTexCoord2dv = (PFNGLMULTITEXCOORD2DVPROC)load(
"glMultiTexCoord2dv");
1667 glad_glMultiTexCoord2f = (PFNGLMULTITEXCOORD2FPROC)load(
"glMultiTexCoord2f");
1668 glad_glMultiTexCoord2fv = (PFNGLMULTITEXCOORD2FVPROC)load(
"glMultiTexCoord2fv");
1669 glad_glMultiTexCoord2i = (PFNGLMULTITEXCOORD2IPROC)load(
"glMultiTexCoord2i");
1670 glad_glMultiTexCoord2iv = (PFNGLMULTITEXCOORD2IVPROC)load(
"glMultiTexCoord2iv");
1671 glad_glMultiTexCoord2s = (PFNGLMULTITEXCOORD2SPROC)load(
"glMultiTexCoord2s");
1672 glad_glMultiTexCoord2sv = (PFNGLMULTITEXCOORD2SVPROC)load(
"glMultiTexCoord2sv");
1673 glad_glMultiTexCoord3d = (PFNGLMULTITEXCOORD3DPROC)load(
"glMultiTexCoord3d");
1674 glad_glMultiTexCoord3dv = (PFNGLMULTITEXCOORD3DVPROC)load(
"glMultiTexCoord3dv");
1675 glad_glMultiTexCoord3f = (PFNGLMULTITEXCOORD3FPROC)load(
"glMultiTexCoord3f");
1676 glad_glMultiTexCoord3fv = (PFNGLMULTITEXCOORD3FVPROC)load(
"glMultiTexCoord3fv");
1677 glad_glMultiTexCoord3i = (PFNGLMULTITEXCOORD3IPROC)load(
"glMultiTexCoord3i");
1678 glad_glMultiTexCoord3iv = (PFNGLMULTITEXCOORD3IVPROC)load(
"glMultiTexCoord3iv");
1679 glad_glMultiTexCoord3s = (PFNGLMULTITEXCOORD3SPROC)load(
"glMultiTexCoord3s");
1680 glad_glMultiTexCoord3sv = (PFNGLMULTITEXCOORD3SVPROC)load(
"glMultiTexCoord3sv");
1681 glad_glMultiTexCoord4d = (PFNGLMULTITEXCOORD4DPROC)load(
"glMultiTexCoord4d");
1682 glad_glMultiTexCoord4dv = (PFNGLMULTITEXCOORD4DVPROC)load(
"glMultiTexCoord4dv");
1683 glad_glMultiTexCoord4f = (PFNGLMULTITEXCOORD4FPROC)load(
"glMultiTexCoord4f");
1684 glad_glMultiTexCoord4fv = (PFNGLMULTITEXCOORD4FVPROC)load(
"glMultiTexCoord4fv");
1685 glad_glMultiTexCoord4i = (PFNGLMULTITEXCOORD4IPROC)load(
"glMultiTexCoord4i");
1686 glad_glMultiTexCoord4iv = (PFNGLMULTITEXCOORD4IVPROC)load(
"glMultiTexCoord4iv");
1687 glad_glMultiTexCoord4s = (PFNGLMULTITEXCOORD4SPROC)load(
"glMultiTexCoord4s");
1688 glad_glMultiTexCoord4sv = (PFNGLMULTITEXCOORD4SVPROC)load(
"glMultiTexCoord4sv");
1689 glad_glLoadTransposeMatrixf = (PFNGLLOADTRANSPOSEMATRIXFPROC)load(
"glLoadTransposeMatrixf");
1690 glad_glLoadTransposeMatrixd = (PFNGLLOADTRANSPOSEMATRIXDPROC)load(
"glLoadTransposeMatrixd");
1691 glad_glMultTransposeMatrixf = (PFNGLMULTTRANSPOSEMATRIXFPROC)load(
"glMultTransposeMatrixf");
1692 glad_glMultTransposeMatrixd = (PFNGLMULTTRANSPOSEMATRIXDPROC)load(
"glMultTransposeMatrixd");
1694static void load_GL_VERSION_1_4(GLADloadproc load) {
1695 if(!GLAD_GL_VERSION_1_4)
return;
1696 glad_glBlendFuncSeparate = (PFNGLBLENDFUNCSEPARATEPROC)load(
"glBlendFuncSeparate");
1697 glad_glMultiDrawArrays = (PFNGLMULTIDRAWARRAYSPROC)load(
"glMultiDrawArrays");
1698 glad_glMultiDrawElements = (PFNGLMULTIDRAWELEMENTSPROC)load(
"glMultiDrawElements");
1699 glad_glPointParameterf = (PFNGLPOINTPARAMETERFPROC)load(
"glPointParameterf");
1700 glad_glPointParameterfv = (PFNGLPOINTPARAMETERFVPROC)load(
"glPointParameterfv");
1701 glad_glPointParameteri = (PFNGLPOINTPARAMETERIPROC)load(
"glPointParameteri");
1702 glad_glPointParameteriv = (PFNGLPOINTPARAMETERIVPROC)load(
"glPointParameteriv");
1703 glad_glFogCoordf = (PFNGLFOGCOORDFPROC)load(
"glFogCoordf");
1704 glad_glFogCoordfv = (PFNGLFOGCOORDFVPROC)load(
"glFogCoordfv");
1705 glad_glFogCoordd = (PFNGLFOGCOORDDPROC)load(
"glFogCoordd");
1706 glad_glFogCoorddv = (PFNGLFOGCOORDDVPROC)load(
"glFogCoorddv");
1707 glad_glFogCoordPointer = (PFNGLFOGCOORDPOINTERPROC)load(
"glFogCoordPointer");
1708 glad_glSecondaryColor3b = (PFNGLSECONDARYCOLOR3BPROC)load(
"glSecondaryColor3b");
1709 glad_glSecondaryColor3bv = (PFNGLSECONDARYCOLOR3BVPROC)load(
"glSecondaryColor3bv");
1710 glad_glSecondaryColor3d = (PFNGLSECONDARYCOLOR3DPROC)load(
"glSecondaryColor3d");
1711 glad_glSecondaryColor3dv = (PFNGLSECONDARYCOLOR3DVPROC)load(
"glSecondaryColor3dv");
1712 glad_glSecondaryColor3f = (PFNGLSECONDARYCOLOR3FPROC)load(
"glSecondaryColor3f");
1713 glad_glSecondaryColor3fv = (PFNGLSECONDARYCOLOR3FVPROC)load(
"glSecondaryColor3fv");
1714 glad_glSecondaryColor3i = (PFNGLSECONDARYCOLOR3IPROC)load(
"glSecondaryColor3i");
1715 glad_glSecondaryColor3iv = (PFNGLSECONDARYCOLOR3IVPROC)load(
"glSecondaryColor3iv");
1716 glad_glSecondaryColor3s = (PFNGLSECONDARYCOLOR3SPROC)load(
"glSecondaryColor3s");
1717 glad_glSecondaryColor3sv = (PFNGLSECONDARYCOLOR3SVPROC)load(
"glSecondaryColor3sv");
1718 glad_glSecondaryColor3ub = (PFNGLSECONDARYCOLOR3UBPROC)load(
"glSecondaryColor3ub");
1719 glad_glSecondaryColor3ubv = (PFNGLSECONDARYCOLOR3UBVPROC)load(
"glSecondaryColor3ubv");
1720 glad_glSecondaryColor3ui = (PFNGLSECONDARYCOLOR3UIPROC)load(
"glSecondaryColor3ui");
1721 glad_glSecondaryColor3uiv = (PFNGLSECONDARYCOLOR3UIVPROC)load(
"glSecondaryColor3uiv");
1722 glad_glSecondaryColor3us = (PFNGLSECONDARYCOLOR3USPROC)load(
"glSecondaryColor3us");
1723 glad_glSecondaryColor3usv = (PFNGLSECONDARYCOLOR3USVPROC)load(
"glSecondaryColor3usv");
1724 glad_glSecondaryColorPointer = (PFNGLSECONDARYCOLORPOINTERPROC)load(
"glSecondaryColorPointer");
1725 glad_glWindowPos2d = (PFNGLWINDOWPOS2DPROC)load(
"glWindowPos2d");
1726 glad_glWindowPos2dv = (PFNGLWINDOWPOS2DVPROC)load(
"glWindowPos2dv");
1727 glad_glWindowPos2f = (PFNGLWINDOWPOS2FPROC)load(
"glWindowPos2f");
1728 glad_glWindowPos2fv = (PFNGLWINDOWPOS2FVPROC)load(
"glWindowPos2fv");
1729 glad_glWindowPos2i = (PFNGLWINDOWPOS2IPROC)load(
"glWindowPos2i");
1730 glad_glWindowPos2iv = (PFNGLWINDOWPOS2IVPROC)load(
"glWindowPos2iv");
1731 glad_glWindowPos2s = (PFNGLWINDOWPOS2SPROC)load(
"glWindowPos2s");
1732 glad_glWindowPos2sv = (PFNGLWINDOWPOS2SVPROC)load(
"glWindowPos2sv");
1733 glad_glWindowPos3d = (PFNGLWINDOWPOS3DPROC)load(
"glWindowPos3d");
1734 glad_glWindowPos3dv = (PFNGLWINDOWPOS3DVPROC)load(
"glWindowPos3dv");
1735 glad_glWindowPos3f = (PFNGLWINDOWPOS3FPROC)load(
"glWindowPos3f");
1736 glad_glWindowPos3fv = (PFNGLWINDOWPOS3FVPROC)load(
"glWindowPos3fv");
1737 glad_glWindowPos3i = (PFNGLWINDOWPOS3IPROC)load(
"glWindowPos3i");
1738 glad_glWindowPos3iv = (PFNGLWINDOWPOS3IVPROC)load(
"glWindowPos3iv");
1739 glad_glWindowPos3s = (PFNGLWINDOWPOS3SPROC)load(
"glWindowPos3s");
1740 glad_glWindowPos3sv = (PFNGLWINDOWPOS3SVPROC)load(
"glWindowPos3sv");
1741 glad_glBlendColor = (PFNGLBLENDCOLORPROC)load(
"glBlendColor");
1742 glad_glBlendEquation = (PFNGLBLENDEQUATIONPROC)load(
"glBlendEquation");
1744static void load_GL_VERSION_1_5(GLADloadproc load) {
1745 if(!GLAD_GL_VERSION_1_5)
return;
1746 glad_glGenQueries = (PFNGLGENQUERIESPROC)load(
"glGenQueries");
1747 glad_glDeleteQueries = (PFNGLDELETEQUERIESPROC)load(
"glDeleteQueries");
1748 glad_glIsQuery = (PFNGLISQUERYPROC)load(
"glIsQuery");
1749 glad_glBeginQuery = (PFNGLBEGINQUERYPROC)load(
"glBeginQuery");
1750 glad_glEndQuery = (PFNGLENDQUERYPROC)load(
"glEndQuery");
1751 glad_glGetQueryiv = (PFNGLGETQUERYIVPROC)load(
"glGetQueryiv");
1752 glad_glGetQueryObjectiv = (PFNGLGETQUERYOBJECTIVPROC)load(
"glGetQueryObjectiv");
1753 glad_glGetQueryObjectuiv = (PFNGLGETQUERYOBJECTUIVPROC)load(
"glGetQueryObjectuiv");
1754 glad_glBindBuffer = (PFNGLBINDBUFFERPROC)load(
"glBindBuffer");
1755 glad_glDeleteBuffers = (PFNGLDELETEBUFFERSPROC)load(
"glDeleteBuffers");
1756 glad_glGenBuffers = (PFNGLGENBUFFERSPROC)load(
"glGenBuffers");
1757 glad_glIsBuffer = (PFNGLISBUFFERPROC)load(
"glIsBuffer");
1758 glad_glBufferData = (PFNGLBUFFERDATAPROC)load(
"glBufferData");
1759 glad_glBufferSubData = (PFNGLBUFFERSUBDATAPROC)load(
"glBufferSubData");
1760 glad_glGetBufferSubData = (PFNGLGETBUFFERSUBDATAPROC)load(
"glGetBufferSubData");
1761 glad_glMapBuffer = (PFNGLMAPBUFFERPROC)load(
"glMapBuffer");
1762 glad_glUnmapBuffer = (PFNGLUNMAPBUFFERPROC)load(
"glUnmapBuffer");
1763 glad_glGetBufferParameteriv = (PFNGLGETBUFFERPARAMETERIVPROC)load(
"glGetBufferParameteriv");
1764 glad_glGetBufferPointerv = (PFNGLGETBUFFERPOINTERVPROC)load(
"glGetBufferPointerv");
1766static void load_GL_VERSION_2_0(GLADloadproc load) {
1767 if(!GLAD_GL_VERSION_2_0)
return;
1768 glad_glBlendEquationSeparate = (PFNGLBLENDEQUATIONSEPARATEPROC)load(
"glBlendEquationSeparate");
1769 glad_glDrawBuffers = (PFNGLDRAWBUFFERSPROC)load(
"glDrawBuffers");
1770 glad_glStencilOpSeparate = (PFNGLSTENCILOPSEPARATEPROC)load(
"glStencilOpSeparate");
1771 glad_glStencilFuncSeparate = (PFNGLSTENCILFUNCSEPARATEPROC)load(
"glStencilFuncSeparate");
1772 glad_glStencilMaskSeparate = (PFNGLSTENCILMASKSEPARATEPROC)load(
"glStencilMaskSeparate");
1773 glad_glAttachShader = (PFNGLATTACHSHADERPROC)load(
"glAttachShader");
1774 glad_glBindAttribLocation = (PFNGLBINDATTRIBLOCATIONPROC)load(
"glBindAttribLocation");
1775 glad_glCompileShader = (PFNGLCOMPILESHADERPROC)load(
"glCompileShader");
1776 glad_glCreateProgram = (PFNGLCREATEPROGRAMPROC)load(
"glCreateProgram");
1777 glad_glCreateShader = (PFNGLCREATESHADERPROC)load(
"glCreateShader");
1778 glad_glDeleteProgram = (PFNGLDELETEPROGRAMPROC)load(
"glDeleteProgram");
1779 glad_glDeleteShader = (PFNGLDELETESHADERPROC)load(
"glDeleteShader");
1780 glad_glDetachShader = (PFNGLDETACHSHADERPROC)load(
"glDetachShader");
1781 glad_glDisableVertexAttribArray = (PFNGLDISABLEVERTEXATTRIBARRAYPROC)load(
"glDisableVertexAttribArray");
1782 glad_glEnableVertexAttribArray = (PFNGLENABLEVERTEXATTRIBARRAYPROC)load(
"glEnableVertexAttribArray");
1783 glad_glGetActiveAttrib = (PFNGLGETACTIVEATTRIBPROC)load(
"glGetActiveAttrib");
1784 glad_glGetActiveUniform = (PFNGLGETACTIVEUNIFORMPROC)load(
"glGetActiveUniform");
1785 glad_glGetAttachedShaders = (PFNGLGETATTACHEDSHADERSPROC)load(
"glGetAttachedShaders");
1786 glad_glGetAttribLocation = (PFNGLGETATTRIBLOCATIONPROC)load(
"glGetAttribLocation");
1787 glad_glGetProgramiv = (PFNGLGETPROGRAMIVPROC)load(
"glGetProgramiv");
1788 glad_glGetProgramInfoLog = (PFNGLGETPROGRAMINFOLOGPROC)load(
"glGetProgramInfoLog");
1789 glad_glGetShaderiv = (PFNGLGETSHADERIVPROC)load(
"glGetShaderiv");
1790 glad_glGetShaderInfoLog = (PFNGLGETSHADERINFOLOGPROC)load(
"glGetShaderInfoLog");
1791 glad_glGetShaderSource = (PFNGLGETSHADERSOURCEPROC)load(
"glGetShaderSource");
1792 glad_glGetUniformLocation = (PFNGLGETUNIFORMLOCATIONPROC)load(
"glGetUniformLocation");
1793 glad_glGetUniformfv = (PFNGLGETUNIFORMFVPROC)load(
"glGetUniformfv");
1794 glad_glGetUniformiv = (PFNGLGETUNIFORMIVPROC)load(
"glGetUniformiv");
1795 glad_glGetVertexAttribdv = (PFNGLGETVERTEXATTRIBDVPROC)load(
"glGetVertexAttribdv");
1796 glad_glGetVertexAttribfv = (PFNGLGETVERTEXATTRIBFVPROC)load(
"glGetVertexAttribfv");
1797 glad_glGetVertexAttribiv = (PFNGLGETVERTEXATTRIBIVPROC)load(
"glGetVertexAttribiv");
1798 glad_glGetVertexAttribPointerv = (PFNGLGETVERTEXATTRIBPOINTERVPROC)load(
"glGetVertexAttribPointerv");
1799 glad_glIsProgram = (PFNGLISPROGRAMPROC)load(
"glIsProgram");
1800 glad_glIsShader = (PFNGLISSHADERPROC)load(
"glIsShader");
1801 glad_glLinkProgram = (PFNGLLINKPROGRAMPROC)load(
"glLinkProgram");
1802 glad_glShaderSource = (PFNGLSHADERSOURCEPROC)load(
"glShaderSource");
1803 glad_glUseProgram = (PFNGLUSEPROGRAMPROC)load(
"glUseProgram");
1804 glad_glUniform1f = (PFNGLUNIFORM1FPROC)load(
"glUniform1f");
1805 glad_glUniform2f = (PFNGLUNIFORM2FPROC)load(
"glUniform2f");
1806 glad_glUniform3f = (PFNGLUNIFORM3FPROC)load(
"glUniform3f");
1807 glad_glUniform4f = (PFNGLUNIFORM4FPROC)load(
"glUniform4f");
1808 glad_glUniform1i = (PFNGLUNIFORM1IPROC)load(
"glUniform1i");
1809 glad_glUniform2i = (PFNGLUNIFORM2IPROC)load(
"glUniform2i");
1810 glad_glUniform3i = (PFNGLUNIFORM3IPROC)load(
"glUniform3i");
1811 glad_glUniform4i = (PFNGLUNIFORM4IPROC)load(
"glUniform4i");
1812 glad_glUniform1fv = (PFNGLUNIFORM1FVPROC)load(
"glUniform1fv");
1813 glad_glUniform2fv = (PFNGLUNIFORM2FVPROC)load(
"glUniform2fv");
1814 glad_glUniform3fv = (PFNGLUNIFORM3FVPROC)load(
"glUniform3fv");
1815 glad_glUniform4fv = (PFNGLUNIFORM4FVPROC)load(
"glUniform4fv");
1816 glad_glUniform1iv = (PFNGLUNIFORM1IVPROC)load(
"glUniform1iv");
1817 glad_glUniform2iv = (PFNGLUNIFORM2IVPROC)load(
"glUniform2iv");
1818 glad_glUniform3iv = (PFNGLUNIFORM3IVPROC)load(
"glUniform3iv");
1819 glad_glUniform4iv = (PFNGLUNIFORM4IVPROC)load(
"glUniform4iv");
1820 glad_glUniformMatrix2fv = (PFNGLUNIFORMMATRIX2FVPROC)load(
"glUniformMatrix2fv");
1821 glad_glUniformMatrix3fv = (PFNGLUNIFORMMATRIX3FVPROC)load(
"glUniformMatrix3fv");
1822 glad_glUniformMatrix4fv = (PFNGLUNIFORMMATRIX4FVPROC)load(
"glUniformMatrix4fv");
1823 glad_glValidateProgram = (PFNGLVALIDATEPROGRAMPROC)load(
"glValidateProgram");
1824 glad_glVertexAttrib1d = (PFNGLVERTEXATTRIB1DPROC)load(
"glVertexAttrib1d");
1825 glad_glVertexAttrib1dv = (PFNGLVERTEXATTRIB1DVPROC)load(
"glVertexAttrib1dv");
1826 glad_glVertexAttrib1f = (PFNGLVERTEXATTRIB1FPROC)load(
"glVertexAttrib1f");
1827 glad_glVertexAttrib1fv = (PFNGLVERTEXATTRIB1FVPROC)load(
"glVertexAttrib1fv");
1828 glad_glVertexAttrib1s = (PFNGLVERTEXATTRIB1SPROC)load(
"glVertexAttrib1s");
1829 glad_glVertexAttrib1sv = (PFNGLVERTEXATTRIB1SVPROC)load(
"glVertexAttrib1sv");
1830 glad_glVertexAttrib2d = (PFNGLVERTEXATTRIB2DPROC)load(
"glVertexAttrib2d");
1831 glad_glVertexAttrib2dv = (PFNGLVERTEXATTRIB2DVPROC)load(
"glVertexAttrib2dv");
1832 glad_glVertexAttrib2f = (PFNGLVERTEXATTRIB2FPROC)load(
"glVertexAttrib2f");
1833 glad_glVertexAttrib2fv = (PFNGLVERTEXATTRIB2FVPROC)load(
"glVertexAttrib2fv");
1834 glad_glVertexAttrib2s = (PFNGLVERTEXATTRIB2SPROC)load(
"glVertexAttrib2s");
1835 glad_glVertexAttrib2sv = (PFNGLVERTEXATTRIB2SVPROC)load(
"glVertexAttrib2sv");
1836 glad_glVertexAttrib3d = (PFNGLVERTEXATTRIB3DPROC)load(
"glVertexAttrib3d");
1837 glad_glVertexAttrib3dv = (PFNGLVERTEXATTRIB3DVPROC)load(
"glVertexAttrib3dv");
1838 glad_glVertexAttrib3f = (PFNGLVERTEXATTRIB3FPROC)load(
"glVertexAttrib3f");
1839 glad_glVertexAttrib3fv = (PFNGLVERTEXATTRIB3FVPROC)load(
"glVertexAttrib3fv");
1840 glad_glVertexAttrib3s = (PFNGLVERTEXATTRIB3SPROC)load(
"glVertexAttrib3s");
1841 glad_glVertexAttrib3sv = (PFNGLVERTEXATTRIB3SVPROC)load(
"glVertexAttrib3sv");
1842 glad_glVertexAttrib4Nbv = (PFNGLVERTEXATTRIB4NBVPROC)load(
"glVertexAttrib4Nbv");
1843 glad_glVertexAttrib4Niv = (PFNGLVERTEXATTRIB4NIVPROC)load(
"glVertexAttrib4Niv");
1844 glad_glVertexAttrib4Nsv = (PFNGLVERTEXATTRIB4NSVPROC)load(
"glVertexAttrib4Nsv");
1845 glad_glVertexAttrib4Nub = (PFNGLVERTEXATTRIB4NUBPROC)load(
"glVertexAttrib4Nub");
1846 glad_glVertexAttrib4Nubv = (PFNGLVERTEXATTRIB4NUBVPROC)load(
"glVertexAttrib4Nubv");
1847 glad_glVertexAttrib4Nuiv = (PFNGLVERTEXATTRIB4NUIVPROC)load(
"glVertexAttrib4Nuiv");
1848 glad_glVertexAttrib4Nusv = (PFNGLVERTEXATTRIB4NUSVPROC)load(
"glVertexAttrib4Nusv");
1849 glad_glVertexAttrib4bv = (PFNGLVERTEXATTRIB4BVPROC)load(
"glVertexAttrib4bv");
1850 glad_glVertexAttrib4d = (PFNGLVERTEXATTRIB4DPROC)load(
"glVertexAttrib4d");
1851 glad_glVertexAttrib4dv = (PFNGLVERTEXATTRIB4DVPROC)load(
"glVertexAttrib4dv");
1852 glad_glVertexAttrib4f = (PFNGLVERTEXATTRIB4FPROC)load(
"glVertexAttrib4f");
1853 glad_glVertexAttrib4fv = (PFNGLVERTEXATTRIB4FVPROC)load(
"glVertexAttrib4fv");
1854 glad_glVertexAttrib4iv = (PFNGLVERTEXATTRIB4IVPROC)load(
"glVertexAttrib4iv");
1855 glad_glVertexAttrib4s = (PFNGLVERTEXATTRIB4SPROC)load(
"glVertexAttrib4s");
1856 glad_glVertexAttrib4sv = (PFNGLVERTEXATTRIB4SVPROC)load(
"glVertexAttrib4sv");
1857 glad_glVertexAttrib4ubv = (PFNGLVERTEXATTRIB4UBVPROC)load(
"glVertexAttrib4ubv");
1858 glad_glVertexAttrib4uiv = (PFNGLVERTEXATTRIB4UIVPROC)load(
"glVertexAttrib4uiv");
1859 glad_glVertexAttrib4usv = (PFNGLVERTEXATTRIB4USVPROC)load(
"glVertexAttrib4usv");
1860 glad_glVertexAttribPointer = (PFNGLVERTEXATTRIBPOINTERPROC)load(
"glVertexAttribPointer");
1862static void load_GL_VERSION_2_1(GLADloadproc load) {
1863 if(!GLAD_GL_VERSION_2_1)
return;
1864 glad_glUniformMatrix2x3fv = (PFNGLUNIFORMMATRIX2X3FVPROC)load(
"glUniformMatrix2x3fv");
1865 glad_glUniformMatrix3x2fv = (PFNGLUNIFORMMATRIX3X2FVPROC)load(
"glUniformMatrix3x2fv");
1866 glad_glUniformMatrix2x4fv = (PFNGLUNIFORMMATRIX2X4FVPROC)load(
"glUniformMatrix2x4fv");
1867 glad_glUniformMatrix4x2fv = (PFNGLUNIFORMMATRIX4X2FVPROC)load(
"glUniformMatrix4x2fv");
1868 glad_glUniformMatrix3x4fv = (PFNGLUNIFORMMATRIX3X4FVPROC)load(
"glUniformMatrix3x4fv");
1869 glad_glUniformMatrix4x3fv = (PFNGLUNIFORMMATRIX4X3FVPROC)load(
"glUniformMatrix4x3fv");
1871static void load_GL_ARB_draw_buffers(GLADloadproc load) {
1872 if(!GLAD_GL_ARB_draw_buffers)
return;
1873 glad_glDrawBuffersARB = (PFNGLDRAWBUFFERSARBPROC)load(
"glDrawBuffersARB");
1875static void load_GL_ARB_draw_instanced(GLADloadproc load) {
1876 if(!GLAD_GL_ARB_draw_instanced)
return;
1877 glad_glDrawArraysInstancedARB = (PFNGLDRAWARRAYSINSTANCEDARBPROC)load(
"glDrawArraysInstancedARB");
1878 glad_glDrawElementsInstancedARB = (PFNGLDRAWELEMENTSINSTANCEDARBPROC)load(
"glDrawElementsInstancedARB");
1880static void load_GL_ARB_fragment_program(GLADloadproc load) {
1881 if(!GLAD_GL_ARB_fragment_program)
return;
1882 glad_glProgramStringARB = (PFNGLPROGRAMSTRINGARBPROC)load(
"glProgramStringARB");
1883 glad_glBindProgramARB = (PFNGLBINDPROGRAMARBPROC)load(
"glBindProgramARB");
1884 glad_glDeleteProgramsARB = (PFNGLDELETEPROGRAMSARBPROC)load(
"glDeleteProgramsARB");
1885 glad_glGenProgramsARB = (PFNGLGENPROGRAMSARBPROC)load(
"glGenProgramsARB");
1886 glad_glProgramEnvParameter4dARB = (PFNGLPROGRAMENVPARAMETER4DARBPROC)load(
"glProgramEnvParameter4dARB");
1887 glad_glProgramEnvParameter4dvARB = (PFNGLPROGRAMENVPARAMETER4DVARBPROC)load(
"glProgramEnvParameter4dvARB");
1888 glad_glProgramEnvParameter4fARB = (PFNGLPROGRAMENVPARAMETER4FARBPROC)load(
"glProgramEnvParameter4fARB");
1889 glad_glProgramEnvParameter4fvARB = (PFNGLPROGRAMENVPARAMETER4FVARBPROC)load(
"glProgramEnvParameter4fvARB");
1890 glad_glProgramLocalParameter4dARB = (PFNGLPROGRAMLOCALPARAMETER4DARBPROC)load(
"glProgramLocalParameter4dARB");
1891 glad_glProgramLocalParameter4dvARB = (PFNGLPROGRAMLOCALPARAMETER4DVARBPROC)load(
"glProgramLocalParameter4dvARB");
1892 glad_glProgramLocalParameter4fARB = (PFNGLPROGRAMLOCALPARAMETER4FARBPROC)load(
"glProgramLocalParameter4fARB");
1893 glad_glProgramLocalParameter4fvARB = (PFNGLPROGRAMLOCALPARAMETER4FVARBPROC)load(
"glProgramLocalParameter4fvARB");
1894 glad_glGetProgramEnvParameterdvARB = (PFNGLGETPROGRAMENVPARAMETERDVARBPROC)load(
"glGetProgramEnvParameterdvARB");
1895 glad_glGetProgramEnvParameterfvARB = (PFNGLGETPROGRAMENVPARAMETERFVARBPROC)load(
"glGetProgramEnvParameterfvARB");
1896 glad_glGetProgramLocalParameterdvARB = (PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC)load(
"glGetProgramLocalParameterdvARB");
1897 glad_glGetProgramLocalParameterfvARB = (PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC)load(
"glGetProgramLocalParameterfvARB");
1898 glad_glGetProgramivARB = (PFNGLGETPROGRAMIVARBPROC)load(
"glGetProgramivARB");
1899 glad_glGetProgramStringARB = (PFNGLGETPROGRAMSTRINGARBPROC)load(
"glGetProgramStringARB");
1900 glad_glIsProgramARB = (PFNGLISPROGRAMARBPROC)load(
"glIsProgramARB");
1902static void load_GL_ARB_framebuffer_object(GLADloadproc load) {
1903 if(!GLAD_GL_ARB_framebuffer_object)
return;
1904 glad_glIsRenderbuffer = (PFNGLISRENDERBUFFERPROC)load(
"glIsRenderbuffer");
1905 glad_glBindRenderbuffer = (PFNGLBINDRENDERBUFFERPROC)load(
"glBindRenderbuffer");
1906 glad_glDeleteRenderbuffers = (PFNGLDELETERENDERBUFFERSPROC)load(
"glDeleteRenderbuffers");
1907 glad_glGenRenderbuffers = (PFNGLGENRENDERBUFFERSPROC)load(
"glGenRenderbuffers");
1908 glad_glRenderbufferStorage = (PFNGLRENDERBUFFERSTORAGEPROC)load(
"glRenderbufferStorage");
1909 glad_glGetRenderbufferParameteriv = (PFNGLGETRENDERBUFFERPARAMETERIVPROC)load(
"glGetRenderbufferParameteriv");
1910 glad_glIsFramebuffer = (PFNGLISFRAMEBUFFERPROC)load(
"glIsFramebuffer");
1911 glad_glBindFramebuffer = (PFNGLBINDFRAMEBUFFERPROC)load(
"glBindFramebuffer");
1912 glad_glDeleteFramebuffers = (PFNGLDELETEFRAMEBUFFERSPROC)load(
"glDeleteFramebuffers");
1913 glad_glGenFramebuffers = (PFNGLGENFRAMEBUFFERSPROC)load(
"glGenFramebuffers");
1914 glad_glCheckFramebufferStatus = (PFNGLCHECKFRAMEBUFFERSTATUSPROC)load(
"glCheckFramebufferStatus");
1915 glad_glFramebufferTexture1D = (PFNGLFRAMEBUFFERTEXTURE1DPROC)load(
"glFramebufferTexture1D");
1916 glad_glFramebufferTexture2D = (PFNGLFRAMEBUFFERTEXTURE2DPROC)load(
"glFramebufferTexture2D");
1917 glad_glFramebufferTexture3D = (PFNGLFRAMEBUFFERTEXTURE3DPROC)load(
"glFramebufferTexture3D");
1918 glad_glFramebufferRenderbuffer = (PFNGLFRAMEBUFFERRENDERBUFFERPROC)load(
"glFramebufferRenderbuffer");
1919 glad_glGetFramebufferAttachmentParameteriv = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC)load(
"glGetFramebufferAttachmentParameteriv");
1920 glad_glGenerateMipmap = (PFNGLGENERATEMIPMAPPROC)load(
"glGenerateMipmap");
1921 glad_glBlitFramebuffer = (PFNGLBLITFRAMEBUFFERPROC)load(
"glBlitFramebuffer");
1922 glad_glRenderbufferStorageMultisample = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC)load(
"glRenderbufferStorageMultisample");
1923 glad_glFramebufferTextureLayer = (PFNGLFRAMEBUFFERTEXTURELAYERPROC)load(
"glFramebufferTextureLayer");
1925static void load_GL_ARB_get_program_binary(GLADloadproc load) {
1926 if(!GLAD_GL_ARB_get_program_binary)
return;
1927 glad_glGetProgramBinary = (PFNGLGETPROGRAMBINARYPROC)load(
"glGetProgramBinary");
1928 glad_glProgramBinary = (PFNGLPROGRAMBINARYPROC)load(
"glProgramBinary");
1929 glad_glProgramParameteri = (PFNGLPROGRAMPARAMETERIPROC)load(
"glProgramParameteri");
1931static void load_GL_ARB_instanced_arrays(GLADloadproc load) {
1932 if(!GLAD_GL_ARB_instanced_arrays)
return;
1933 glad_glVertexAttribDivisorARB = (PFNGLVERTEXATTRIBDIVISORARBPROC)load(
"glVertexAttribDivisorARB");
1935static void load_GL_ARB_multisample(GLADloadproc load) {
1936 if(!GLAD_GL_ARB_multisample)
return;
1937 glad_glSampleCoverageARB = (PFNGLSAMPLECOVERAGEARBPROC)load(
"glSampleCoverageARB");
1939static void load_GL_ARB_multitexture(GLADloadproc load) {
1940 if(!GLAD_GL_ARB_multitexture)
return;
1941 glad_glActiveTextureARB = (PFNGLACTIVETEXTUREARBPROC)load(
"glActiveTextureARB");
1942 glad_glClientActiveTextureARB = (PFNGLCLIENTACTIVETEXTUREARBPROC)load(
"glClientActiveTextureARB");
1943 glad_glMultiTexCoord1dARB = (PFNGLMULTITEXCOORD1DARBPROC)load(
"glMultiTexCoord1dARB");
1944 glad_glMultiTexCoord1dvARB = (PFNGLMULTITEXCOORD1DVARBPROC)load(
"glMultiTexCoord1dvARB");
1945 glad_glMultiTexCoord1fARB = (PFNGLMULTITEXCOORD1FARBPROC)load(
"glMultiTexCoord1fARB");
1946 glad_glMultiTexCoord1fvARB = (PFNGLMULTITEXCOORD1FVARBPROC)load(
"glMultiTexCoord1fvARB");
1947 glad_glMultiTexCoord1iARB = (PFNGLMULTITEXCOORD1IARBPROC)load(
"glMultiTexCoord1iARB");
1948 glad_glMultiTexCoord1ivARB = (PFNGLMULTITEXCOORD1IVARBPROC)load(
"glMultiTexCoord1ivARB");
1949 glad_glMultiTexCoord1sARB = (PFNGLMULTITEXCOORD1SARBPROC)load(
"glMultiTexCoord1sARB");
1950 glad_glMultiTexCoord1svARB = (PFNGLMULTITEXCOORD1SVARBPROC)load(
"glMultiTexCoord1svARB");
1951 glad_glMultiTexCoord2dARB = (PFNGLMULTITEXCOORD2DARBPROC)load(
"glMultiTexCoord2dARB");
1952 glad_glMultiTexCoord2dvARB = (PFNGLMULTITEXCOORD2DVARBPROC)load(
"glMultiTexCoord2dvARB");
1953 glad_glMultiTexCoord2fARB = (PFNGLMULTITEXCOORD2FARBPROC)load(
"glMultiTexCoord2fARB");
1954 glad_glMultiTexCoord2fvARB = (PFNGLMULTITEXCOORD2FVARBPROC)load(
"glMultiTexCoord2fvARB");
1955 glad_glMultiTexCoord2iARB = (PFNGLMULTITEXCOORD2IARBPROC)load(
"glMultiTexCoord2iARB");
1956 glad_glMultiTexCoord2ivARB = (PFNGLMULTITEXCOORD2IVARBPROC)load(
"glMultiTexCoord2ivARB");
1957 glad_glMultiTexCoord2sARB = (PFNGLMULTITEXCOORD2SARBPROC)load(
"glMultiTexCoord2sARB");
1958 glad_glMultiTexCoord2svARB = (PFNGLMULTITEXCOORD2SVARBPROC)load(
"glMultiTexCoord2svARB");
1959 glad_glMultiTexCoord3dARB = (PFNGLMULTITEXCOORD3DARBPROC)load(
"glMultiTexCoord3dARB");
1960 glad_glMultiTexCoord3dvARB = (PFNGLMULTITEXCOORD3DVARBPROC)load(
"glMultiTexCoord3dvARB");
1961 glad_glMultiTexCoord3fARB = (PFNGLMULTITEXCOORD3FARBPROC)load(
"glMultiTexCoord3fARB");
1962 glad_glMultiTexCoord3fvARB = (PFNGLMULTITEXCOORD3FVARBPROC)load(
"glMultiTexCoord3fvARB");
1963 glad_glMultiTexCoord3iARB = (PFNGLMULTITEXCOORD3IARBPROC)load(
"glMultiTexCoord3iARB");
1964 glad_glMultiTexCoord3ivARB = (PFNGLMULTITEXCOORD3IVARBPROC)load(
"glMultiTexCoord3ivARB");
1965 glad_glMultiTexCoord3sARB = (PFNGLMULTITEXCOORD3SARBPROC)load(
"glMultiTexCoord3sARB");
1966 glad_glMultiTexCoord3svARB = (PFNGLMULTITEXCOORD3SVARBPROC)load(
"glMultiTexCoord3svARB");
1967 glad_glMultiTexCoord4dARB = (PFNGLMULTITEXCOORD4DARBPROC)load(
"glMultiTexCoord4dARB");
1968 glad_glMultiTexCoord4dvARB = (PFNGLMULTITEXCOORD4DVARBPROC)load(
"glMultiTexCoord4dvARB");
1969 glad_glMultiTexCoord4fARB = (PFNGLMULTITEXCOORD4FARBPROC)load(
"glMultiTexCoord4fARB");
1970 glad_glMultiTexCoord4fvARB = (PFNGLMULTITEXCOORD4FVARBPROC)load(
"glMultiTexCoord4fvARB");
1971 glad_glMultiTexCoord4iARB = (PFNGLMULTITEXCOORD4IARBPROC)load(
"glMultiTexCoord4iARB");
1972 glad_glMultiTexCoord4ivARB = (PFNGLMULTITEXCOORD4IVARBPROC)load(
"glMultiTexCoord4ivARB");
1973 glad_glMultiTexCoord4sARB = (PFNGLMULTITEXCOORD4SARBPROC)load(
"glMultiTexCoord4sARB");
1974 glad_glMultiTexCoord4svARB = (PFNGLMULTITEXCOORD4SVARBPROC)load(
"glMultiTexCoord4svARB");
1976static void load_GL_ARB_occlusion_query(GLADloadproc load) {
1977 if(!GLAD_GL_ARB_occlusion_query)
return;
1978 glad_glGenQueriesARB = (PFNGLGENQUERIESARBPROC)load(
"glGenQueriesARB");
1979 glad_glDeleteQueriesARB = (PFNGLDELETEQUERIESARBPROC)load(
"glDeleteQueriesARB");
1980 glad_glIsQueryARB = (PFNGLISQUERYARBPROC)load(
"glIsQueryARB");
1981 glad_glBeginQueryARB = (PFNGLBEGINQUERYARBPROC)load(
"glBeginQueryARB");
1982 glad_glEndQueryARB = (PFNGLENDQUERYARBPROC)load(
"glEndQueryARB");
1983 glad_glGetQueryivARB = (PFNGLGETQUERYIVARBPROC)load(
"glGetQueryivARB");
1984 glad_glGetQueryObjectivARB = (PFNGLGETQUERYOBJECTIVARBPROC)load(
"glGetQueryObjectivARB");
1985 glad_glGetQueryObjectuivARB = (PFNGLGETQUERYOBJECTUIVARBPROC)load(
"glGetQueryObjectuivARB");
1987static void load_GL_ARB_point_parameters(GLADloadproc load) {
1988 if(!GLAD_GL_ARB_point_parameters)
return;
1989 glad_glPointParameterfARB = (PFNGLPOINTPARAMETERFARBPROC)load(
"glPointParameterfARB");
1990 glad_glPointParameterfvARB = (PFNGLPOINTPARAMETERFVARBPROC)load(
"glPointParameterfvARB");
1992static void load_GL_ARB_shader_objects(GLADloadproc load) {
1993 if(!GLAD_GL_ARB_shader_objects)
return;
1994 glad_glDeleteObjectARB = (PFNGLDELETEOBJECTARBPROC)load(
"glDeleteObjectARB");
1995 glad_glGetHandleARB = (PFNGLGETHANDLEARBPROC)load(
"glGetHandleARB");
1996 glad_glDetachObjectARB = (PFNGLDETACHOBJECTARBPROC)load(
"glDetachObjectARB");
1997 glad_glCreateShaderObjectARB = (PFNGLCREATESHADEROBJECTARBPROC)load(
"glCreateShaderObjectARB");
1998 glad_glShaderSourceARB = (PFNGLSHADERSOURCEARBPROC)load(
"glShaderSourceARB");
1999 glad_glCompileShaderARB = (PFNGLCOMPILESHADERARBPROC)load(
"glCompileShaderARB");
2000 glad_glCreateProgramObjectARB = (PFNGLCREATEPROGRAMOBJECTARBPROC)load(
"glCreateProgramObjectARB");
2001 glad_glAttachObjectARB = (PFNGLATTACHOBJECTARBPROC)load(
"glAttachObjectARB");
2002 glad_glLinkProgramARB = (PFNGLLINKPROGRAMARBPROC)load(
"glLinkProgramARB");
2003 glad_glUseProgramObjectARB = (PFNGLUSEPROGRAMOBJECTARBPROC)load(
"glUseProgramObjectARB");
2004 glad_glValidateProgramARB = (PFNGLVALIDATEPROGRAMARBPROC)load(
"glValidateProgramARB");
2005 glad_glUniform1fARB = (PFNGLUNIFORM1FARBPROC)load(
"glUniform1fARB");
2006 glad_glUniform2fARB = (PFNGLUNIFORM2FARBPROC)load(
"glUniform2fARB");
2007 glad_glUniform3fARB = (PFNGLUNIFORM3FARBPROC)load(
"glUniform3fARB");
2008 glad_glUniform4fARB = (PFNGLUNIFORM4FARBPROC)load(
"glUniform4fARB");
2009 glad_glUniform1iARB = (PFNGLUNIFORM1IARBPROC)load(
"glUniform1iARB");
2010 glad_glUniform2iARB = (PFNGLUNIFORM2IARBPROC)load(
"glUniform2iARB");
2011 glad_glUniform3iARB = (PFNGLUNIFORM3IARBPROC)load(
"glUniform3iARB");
2012 glad_glUniform4iARB = (PFNGLUNIFORM4IARBPROC)load(
"glUniform4iARB");
2013 glad_glUniform1fvARB = (PFNGLUNIFORM1FVARBPROC)load(
"glUniform1fvARB");
2014 glad_glUniform2fvARB = (PFNGLUNIFORM2FVARBPROC)load(
"glUniform2fvARB");
2015 glad_glUniform3fvARB = (PFNGLUNIFORM3FVARBPROC)load(
"glUniform3fvARB");
2016 glad_glUniform4fvARB = (PFNGLUNIFORM4FVARBPROC)load(
"glUniform4fvARB");
2017 glad_glUniform1ivARB = (PFNGLUNIFORM1IVARBPROC)load(
"glUniform1ivARB");
2018 glad_glUniform2ivARB = (PFNGLUNIFORM2IVARBPROC)load(
"glUniform2ivARB");
2019 glad_glUniform3ivARB = (PFNGLUNIFORM3IVARBPROC)load(
"glUniform3ivARB");
2020 glad_glUniform4ivARB = (PFNGLUNIFORM4IVARBPROC)load(
"glUniform4ivARB");
2021 glad_glUniformMatrix2fvARB = (PFNGLUNIFORMMATRIX2FVARBPROC)load(
"glUniformMatrix2fvARB");
2022 glad_glUniformMatrix3fvARB = (PFNGLUNIFORMMATRIX3FVARBPROC)load(
"glUniformMatrix3fvARB");
2023 glad_glUniformMatrix4fvARB = (PFNGLUNIFORMMATRIX4FVARBPROC)load(
"glUniformMatrix4fvARB");
2024 glad_glGetObjectParameterfvARB = (PFNGLGETOBJECTPARAMETERFVARBPROC)load(
"glGetObjectParameterfvARB");
2025 glad_glGetObjectParameterivARB = (PFNGLGETOBJECTPARAMETERIVARBPROC)load(
"glGetObjectParameterivARB");
2026 glad_glGetInfoLogARB = (PFNGLGETINFOLOGARBPROC)load(
"glGetInfoLogARB");
2027 glad_glGetAttachedObjectsARB = (PFNGLGETATTACHEDOBJECTSARBPROC)load(
"glGetAttachedObjectsARB");
2028 glad_glGetUniformLocationARB = (PFNGLGETUNIFORMLOCATIONARBPROC)load(
"glGetUniformLocationARB");
2029 glad_glGetActiveUniformARB = (PFNGLGETACTIVEUNIFORMARBPROC)load(
"glGetActiveUniformARB");
2030 glad_glGetUniformfvARB = (PFNGLGETUNIFORMFVARBPROC)load(
"glGetUniformfvARB");
2031 glad_glGetUniformivARB = (PFNGLGETUNIFORMIVARBPROC)load(
"glGetUniformivARB");
2032 glad_glGetShaderSourceARB = (PFNGLGETSHADERSOURCEARBPROC)load(
"glGetShaderSourceARB");
2034static void load_GL_ARB_texture_compression(GLADloadproc load) {
2035 if(!GLAD_GL_ARB_texture_compression)
return;
2036 glad_glCompressedTexImage3DARB = (PFNGLCOMPRESSEDTEXIMAGE3DARBPROC)load(
"glCompressedTexImage3DARB");
2037 glad_glCompressedTexImage2DARB = (PFNGLCOMPRESSEDTEXIMAGE2DARBPROC)load(
"glCompressedTexImage2DARB");
2038 glad_glCompressedTexImage1DARB = (PFNGLCOMPRESSEDTEXIMAGE1DARBPROC)load(
"glCompressedTexImage1DARB");
2039 glad_glCompressedTexSubImage3DARB = (PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC)load(
"glCompressedTexSubImage3DARB");
2040 glad_glCompressedTexSubImage2DARB = (PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC)load(
"glCompressedTexSubImage2DARB");
2041 glad_glCompressedTexSubImage1DARB = (PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC)load(
"glCompressedTexSubImage1DARB");
2042 glad_glGetCompressedTexImageARB = (PFNGLGETCOMPRESSEDTEXIMAGEARBPROC)load(
"glGetCompressedTexImageARB");
2044static void load_GL_ARB_vertex_buffer_object(GLADloadproc load) {
2045 if(!GLAD_GL_ARB_vertex_buffer_object)
return;
2046 glad_glBindBufferARB = (PFNGLBINDBUFFERARBPROC)load(
"glBindBufferARB");
2047 glad_glDeleteBuffersARB = (PFNGLDELETEBUFFERSARBPROC)load(
"glDeleteBuffersARB");
2048 glad_glGenBuffersARB = (PFNGLGENBUFFERSARBPROC)load(
"glGenBuffersARB");
2049 glad_glIsBufferARB = (PFNGLISBUFFERARBPROC)load(
"glIsBufferARB");
2050 glad_glBufferDataARB = (PFNGLBUFFERDATAARBPROC)load(
"glBufferDataARB");
2051 glad_glBufferSubDataARB = (PFNGLBUFFERSUBDATAARBPROC)load(
"glBufferSubDataARB");
2052 glad_glGetBufferSubDataARB = (PFNGLGETBUFFERSUBDATAARBPROC)load(
"glGetBufferSubDataARB");
2053 glad_glMapBufferARB = (PFNGLMAPBUFFERARBPROC)load(
"glMapBufferARB");
2054 glad_glUnmapBufferARB = (PFNGLUNMAPBUFFERARBPROC)load(
"glUnmapBufferARB");
2055 glad_glGetBufferParameterivARB = (PFNGLGETBUFFERPARAMETERIVARBPROC)load(
"glGetBufferParameterivARB");
2056 glad_glGetBufferPointervARB = (PFNGLGETBUFFERPOINTERVARBPROC)load(
"glGetBufferPointervARB");
2058static void load_GL_ARB_vertex_program(GLADloadproc load) {
2059 if(!GLAD_GL_ARB_vertex_program)
return;
2060 glad_glVertexAttrib1dARB = (PFNGLVERTEXATTRIB1DARBPROC)load(
"glVertexAttrib1dARB");
2061 glad_glVertexAttrib1dvARB = (PFNGLVERTEXATTRIB1DVARBPROC)load(
"glVertexAttrib1dvARB");
2062 glad_glVertexAttrib1fARB = (PFNGLVERTEXATTRIB1FARBPROC)load(
"glVertexAttrib1fARB");
2063 glad_glVertexAttrib1fvARB = (PFNGLVERTEXATTRIB1FVARBPROC)load(
"glVertexAttrib1fvARB");
2064 glad_glVertexAttrib1sARB = (PFNGLVERTEXATTRIB1SARBPROC)load(
"glVertexAttrib1sARB");
2065 glad_glVertexAttrib1svARB = (PFNGLVERTEXATTRIB1SVARBPROC)load(
"glVertexAttrib1svARB");
2066 glad_glVertexAttrib2dARB = (PFNGLVERTEXATTRIB2DARBPROC)load(
"glVertexAttrib2dARB");
2067 glad_glVertexAttrib2dvARB = (PFNGLVERTEXATTRIB2DVARBPROC)load(
"glVertexAttrib2dvARB");
2068 glad_glVertexAttrib2fARB = (PFNGLVERTEXATTRIB2FARBPROC)load(
"glVertexAttrib2fARB");
2069 glad_glVertexAttrib2fvARB = (PFNGLVERTEXATTRIB2FVARBPROC)load(
"glVertexAttrib2fvARB");
2070 glad_glVertexAttrib2sARB = (PFNGLVERTEXATTRIB2SARBPROC)load(
"glVertexAttrib2sARB");
2071 glad_glVertexAttrib2svARB = (PFNGLVERTEXATTRIB2SVARBPROC)load(
"glVertexAttrib2svARB");
2072 glad_glVertexAttrib3dARB = (PFNGLVERTEXATTRIB3DARBPROC)load(
"glVertexAttrib3dARB");
2073 glad_glVertexAttrib3dvARB = (PFNGLVERTEXATTRIB3DVARBPROC)load(
"glVertexAttrib3dvARB");
2074 glad_glVertexAttrib3fARB = (PFNGLVERTEXATTRIB3FARBPROC)load(
"glVertexAttrib3fARB");
2075 glad_glVertexAttrib3fvARB = (PFNGLVERTEXATTRIB3FVARBPROC)load(
"glVertexAttrib3fvARB");
2076 glad_glVertexAttrib3sARB = (PFNGLVERTEXATTRIB3SARBPROC)load(
"glVertexAttrib3sARB");
2077 glad_glVertexAttrib3svARB = (PFNGLVERTEXATTRIB3SVARBPROC)load(
"glVertexAttrib3svARB");
2078 glad_glVertexAttrib4NbvARB = (PFNGLVERTEXATTRIB4NBVARBPROC)load(
"glVertexAttrib4NbvARB");
2079 glad_glVertexAttrib4NivARB = (PFNGLVERTEXATTRIB4NIVARBPROC)load(
"glVertexAttrib4NivARB");
2080 glad_glVertexAttrib4NsvARB = (PFNGLVERTEXATTRIB4NSVARBPROC)load(
"glVertexAttrib4NsvARB");
2081 glad_glVertexAttrib4NubARB = (PFNGLVERTEXATTRIB4NUBARBPROC)load(
"glVertexAttrib4NubARB");
2082 glad_glVertexAttrib4NubvARB = (PFNGLVERTEXATTRIB4NUBVARBPROC)load(
"glVertexAttrib4NubvARB");
2083 glad_glVertexAttrib4NuivARB = (PFNGLVERTEXATTRIB4NUIVARBPROC)load(
"glVertexAttrib4NuivARB");
2084 glad_glVertexAttrib4NusvARB = (PFNGLVERTEXATTRIB4NUSVARBPROC)load(
"glVertexAttrib4NusvARB");
2085 glad_glVertexAttrib4bvARB = (PFNGLVERTEXATTRIB4BVARBPROC)load(
"glVertexAttrib4bvARB");
2086 glad_glVertexAttrib4dARB = (PFNGLVERTEXATTRIB4DARBPROC)load(
"glVertexAttrib4dARB");
2087 glad_glVertexAttrib4dvARB = (PFNGLVERTEXATTRIB4DVARBPROC)load(
"glVertexAttrib4dvARB");
2088 glad_glVertexAttrib4fARB = (PFNGLVERTEXATTRIB4FARBPROC)load(
"glVertexAttrib4fARB");
2089 glad_glVertexAttrib4fvARB = (PFNGLVERTEXATTRIB4FVARBPROC)load(
"glVertexAttrib4fvARB");
2090 glad_glVertexAttrib4ivARB = (PFNGLVERTEXATTRIB4IVARBPROC)load(
"glVertexAttrib4ivARB");
2091 glad_glVertexAttrib4sARB = (PFNGLVERTEXATTRIB4SARBPROC)load(
"glVertexAttrib4sARB");
2092 glad_glVertexAttrib4svARB = (PFNGLVERTEXATTRIB4SVARBPROC)load(
"glVertexAttrib4svARB");
2093 glad_glVertexAttrib4ubvARB = (PFNGLVERTEXATTRIB4UBVARBPROC)load(
"glVertexAttrib4ubvARB");
2094 glad_glVertexAttrib4uivARB = (PFNGLVERTEXATTRIB4UIVARBPROC)load(
"glVertexAttrib4uivARB");
2095 glad_glVertexAttrib4usvARB = (PFNGLVERTEXATTRIB4USVARBPROC)load(
"glVertexAttrib4usvARB");
2096 glad_glVertexAttribPointerARB = (PFNGLVERTEXATTRIBPOINTERARBPROC)load(
"glVertexAttribPointerARB");
2097 glad_glEnableVertexAttribArrayARB = (PFNGLENABLEVERTEXATTRIBARRAYARBPROC)load(
"glEnableVertexAttribArrayARB");
2098 glad_glDisableVertexAttribArrayARB = (PFNGLDISABLEVERTEXATTRIBARRAYARBPROC)load(
"glDisableVertexAttribArrayARB");
2099 glad_glProgramStringARB = (PFNGLPROGRAMSTRINGARBPROC)load(
"glProgramStringARB");
2100 glad_glBindProgramARB = (PFNGLBINDPROGRAMARBPROC)load(
"glBindProgramARB");
2101 glad_glDeleteProgramsARB = (PFNGLDELETEPROGRAMSARBPROC)load(
"glDeleteProgramsARB");
2102 glad_glGenProgramsARB = (PFNGLGENPROGRAMSARBPROC)load(
"glGenProgramsARB");
2103 glad_glProgramEnvParameter4dARB = (PFNGLPROGRAMENVPARAMETER4DARBPROC)load(
"glProgramEnvParameter4dARB");
2104 glad_glProgramEnvParameter4dvARB = (PFNGLPROGRAMENVPARAMETER4DVARBPROC)load(
"glProgramEnvParameter4dvARB");
2105 glad_glProgramEnvParameter4fARB = (PFNGLPROGRAMENVPARAMETER4FARBPROC)load(
"glProgramEnvParameter4fARB");
2106 glad_glProgramEnvParameter4fvARB = (PFNGLPROGRAMENVPARAMETER4FVARBPROC)load(
"glProgramEnvParameter4fvARB");
2107 glad_glProgramLocalParameter4dARB = (PFNGLPROGRAMLOCALPARAMETER4DARBPROC)load(
"glProgramLocalParameter4dARB");
2108 glad_glProgramLocalParameter4dvARB = (PFNGLPROGRAMLOCALPARAMETER4DVARBPROC)load(
"glProgramLocalParameter4dvARB");
2109 glad_glProgramLocalParameter4fARB = (PFNGLPROGRAMLOCALPARAMETER4FARBPROC)load(
"glProgramLocalParameter4fARB");
2110 glad_glProgramLocalParameter4fvARB = (PFNGLPROGRAMLOCALPARAMETER4FVARBPROC)load(
"glProgramLocalParameter4fvARB");
2111 glad_glGetProgramEnvParameterdvARB = (PFNGLGETPROGRAMENVPARAMETERDVARBPROC)load(
"glGetProgramEnvParameterdvARB");
2112 glad_glGetProgramEnvParameterfvARB = (PFNGLGETPROGRAMENVPARAMETERFVARBPROC)load(
"glGetProgramEnvParameterfvARB");
2113 glad_glGetProgramLocalParameterdvARB = (PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC)load(
"glGetProgramLocalParameterdvARB");
2114 glad_glGetProgramLocalParameterfvARB = (PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC)load(
"glGetProgramLocalParameterfvARB");
2115 glad_glGetProgramivARB = (PFNGLGETPROGRAMIVARBPROC)load(
"glGetProgramivARB");
2116 glad_glGetProgramStringARB = (PFNGLGETPROGRAMSTRINGARBPROC)load(
"glGetProgramStringARB");
2117 glad_glGetVertexAttribdvARB = (PFNGLGETVERTEXATTRIBDVARBPROC)load(
"glGetVertexAttribdvARB");
2118 glad_glGetVertexAttribfvARB = (PFNGLGETVERTEXATTRIBFVARBPROC)load(
"glGetVertexAttribfvARB");
2119 glad_glGetVertexAttribivARB = (PFNGLGETVERTEXATTRIBIVARBPROC)load(
"glGetVertexAttribivARB");
2120 glad_glGetVertexAttribPointervARB = (PFNGLGETVERTEXATTRIBPOINTERVARBPROC)load(
"glGetVertexAttribPointervARB");
2121 glad_glIsProgramARB = (PFNGLISPROGRAMARBPROC)load(
"glIsProgramARB");
2123static void load_GL_ARB_vertex_shader(GLADloadproc load) {
2124 if(!GLAD_GL_ARB_vertex_shader)
return;
2125 glad_glVertexAttrib1fARB = (PFNGLVERTEXATTRIB1FARBPROC)load(
"glVertexAttrib1fARB");
2126 glad_glVertexAttrib1sARB = (PFNGLVERTEXATTRIB1SARBPROC)load(
"glVertexAttrib1sARB");
2127 glad_glVertexAttrib1dARB = (PFNGLVERTEXATTRIB1DARBPROC)load(
"glVertexAttrib1dARB");
2128 glad_glVertexAttrib2fARB = (PFNGLVERTEXATTRIB2FARBPROC)load(
"glVertexAttrib2fARB");
2129 glad_glVertexAttrib2sARB = (PFNGLVERTEXATTRIB2SARBPROC)load(
"glVertexAttrib2sARB");
2130 glad_glVertexAttrib2dARB = (PFNGLVERTEXATTRIB2DARBPROC)load(
"glVertexAttrib2dARB");
2131 glad_glVertexAttrib3fARB = (PFNGLVERTEXATTRIB3FARBPROC)load(
"glVertexAttrib3fARB");
2132 glad_glVertexAttrib3sARB = (PFNGLVERTEXATTRIB3SARBPROC)load(
"glVertexAttrib3sARB");
2133 glad_glVertexAttrib3dARB = (PFNGLVERTEXATTRIB3DARBPROC)load(
"glVertexAttrib3dARB");
2134 glad_glVertexAttrib4fARB = (PFNGLVERTEXATTRIB4FARBPROC)load(
"glVertexAttrib4fARB");
2135 glad_glVertexAttrib4sARB = (PFNGLVERTEXATTRIB4SARBPROC)load(
"glVertexAttrib4sARB");
2136 glad_glVertexAttrib4dARB = (PFNGLVERTEXATTRIB4DARBPROC)load(
"glVertexAttrib4dARB");
2137 glad_glVertexAttrib4NubARB = (PFNGLVERTEXATTRIB4NUBARBPROC)load(
"glVertexAttrib4NubARB");
2138 glad_glVertexAttrib1fvARB = (PFNGLVERTEXATTRIB1FVARBPROC)load(
"glVertexAttrib1fvARB");
2139 glad_glVertexAttrib1svARB = (PFNGLVERTEXATTRIB1SVARBPROC)load(
"glVertexAttrib1svARB");
2140 glad_glVertexAttrib1dvARB = (PFNGLVERTEXATTRIB1DVARBPROC)load(
"glVertexAttrib1dvARB");
2141 glad_glVertexAttrib2fvARB = (PFNGLVERTEXATTRIB2FVARBPROC)load(
"glVertexAttrib2fvARB");
2142 glad_glVertexAttrib2svARB = (PFNGLVERTEXATTRIB2SVARBPROC)load(
"glVertexAttrib2svARB");
2143 glad_glVertexAttrib2dvARB = (PFNGLVERTEXATTRIB2DVARBPROC)load(
"glVertexAttrib2dvARB");
2144 glad_glVertexAttrib3fvARB = (PFNGLVERTEXATTRIB3FVARBPROC)load(
"glVertexAttrib3fvARB");
2145 glad_glVertexAttrib3svARB = (PFNGLVERTEXATTRIB3SVARBPROC)load(
"glVertexAttrib3svARB");
2146 glad_glVertexAttrib3dvARB = (PFNGLVERTEXATTRIB3DVARBPROC)load(
"glVertexAttrib3dvARB");
2147 glad_glVertexAttrib4fvARB = (PFNGLVERTEXATTRIB4FVARBPROC)load(
"glVertexAttrib4fvARB");
2148 glad_glVertexAttrib4svARB = (PFNGLVERTEXATTRIB4SVARBPROC)load(
"glVertexAttrib4svARB");
2149 glad_glVertexAttrib4dvARB = (PFNGLVERTEXATTRIB4DVARBPROC)load(
"glVertexAttrib4dvARB");
2150 glad_glVertexAttrib4ivARB = (PFNGLVERTEXATTRIB4IVARBPROC)load(
"glVertexAttrib4ivARB");
2151 glad_glVertexAttrib4bvARB = (PFNGLVERTEXATTRIB4BVARBPROC)load(
"glVertexAttrib4bvARB");
2152 glad_glVertexAttrib4ubvARB = (PFNGLVERTEXATTRIB4UBVARBPROC)load(
"glVertexAttrib4ubvARB");
2153 glad_glVertexAttrib4usvARB = (PFNGLVERTEXATTRIB4USVARBPROC)load(
"glVertexAttrib4usvARB");
2154 glad_glVertexAttrib4uivARB = (PFNGLVERTEXATTRIB4UIVARBPROC)load(
"glVertexAttrib4uivARB");
2155 glad_glVertexAttrib4NbvARB = (PFNGLVERTEXATTRIB4NBVARBPROC)load(
"glVertexAttrib4NbvARB");
2156 glad_glVertexAttrib4NsvARB = (PFNGLVERTEXATTRIB4NSVARBPROC)load(
"glVertexAttrib4NsvARB");
2157 glad_glVertexAttrib4NivARB = (PFNGLVERTEXATTRIB4NIVARBPROC)load(
"glVertexAttrib4NivARB");
2158 glad_glVertexAttrib4NubvARB = (PFNGLVERTEXATTRIB4NUBVARBPROC)load(
"glVertexAttrib4NubvARB");
2159 glad_glVertexAttrib4NusvARB = (PFNGLVERTEXATTRIB4NUSVARBPROC)load(
"glVertexAttrib4NusvARB");
2160 glad_glVertexAttrib4NuivARB = (PFNGLVERTEXATTRIB4NUIVARBPROC)load(
"glVertexAttrib4NuivARB");
2161 glad_glVertexAttribPointerARB = (PFNGLVERTEXATTRIBPOINTERARBPROC)load(
"glVertexAttribPointerARB");
2162 glad_glEnableVertexAttribArrayARB = (PFNGLENABLEVERTEXATTRIBARRAYARBPROC)load(
"glEnableVertexAttribArrayARB");
2163 glad_glDisableVertexAttribArrayARB = (PFNGLDISABLEVERTEXATTRIBARRAYARBPROC)load(
"glDisableVertexAttribArrayARB");
2164 glad_glBindAttribLocationARB = (PFNGLBINDATTRIBLOCATIONARBPROC)load(
"glBindAttribLocationARB");
2165 glad_glGetActiveAttribARB = (PFNGLGETACTIVEATTRIBARBPROC)load(
"glGetActiveAttribARB");
2166 glad_glGetAttribLocationARB = (PFNGLGETATTRIBLOCATIONARBPROC)load(
"glGetAttribLocationARB");
2167 glad_glGetVertexAttribdvARB = (PFNGLGETVERTEXATTRIBDVARBPROC)load(
"glGetVertexAttribdvARB");
2168 glad_glGetVertexAttribfvARB = (PFNGLGETVERTEXATTRIBFVARBPROC)load(
"glGetVertexAttribfvARB");
2169 glad_glGetVertexAttribivARB = (PFNGLGETVERTEXATTRIBIVARBPROC)load(
"glGetVertexAttribivARB");
2170 glad_glGetVertexAttribPointervARB = (PFNGLGETVERTEXATTRIBPOINTERVARBPROC)load(
"glGetVertexAttribPointervARB");
2172static void load_GL_ATI_draw_buffers(GLADloadproc load) {
2173 if(!GLAD_GL_ATI_draw_buffers)
return;
2174 glad_glDrawBuffersATI = (PFNGLDRAWBUFFERSATIPROC)load(
"glDrawBuffersATI");
2176static void load_GL_ATI_fragment_shader(GLADloadproc load) {
2177 if(!GLAD_GL_ATI_fragment_shader)
return;
2178 glad_glGenFragmentShadersATI = (PFNGLGENFRAGMENTSHADERSATIPROC)load(
"glGenFragmentShadersATI");
2179 glad_glBindFragmentShaderATI = (PFNGLBINDFRAGMENTSHADERATIPROC)load(
"glBindFragmentShaderATI");
2180 glad_glDeleteFragmentShaderATI = (PFNGLDELETEFRAGMENTSHADERATIPROC)load(
"glDeleteFragmentShaderATI");
2181 glad_glBeginFragmentShaderATI = (PFNGLBEGINFRAGMENTSHADERATIPROC)load(
"glBeginFragmentShaderATI");
2182 glad_glEndFragmentShaderATI = (PFNGLENDFRAGMENTSHADERATIPROC)load(
"glEndFragmentShaderATI");
2183 glad_glPassTexCoordATI = (PFNGLPASSTEXCOORDATIPROC)load(
"glPassTexCoordATI");
2184 glad_glSampleMapATI = (PFNGLSAMPLEMAPATIPROC)load(
"glSampleMapATI");
2185 glad_glColorFragmentOp1ATI = (PFNGLCOLORFRAGMENTOP1ATIPROC)load(
"glColorFragmentOp1ATI");
2186 glad_glColorFragmentOp2ATI = (PFNGLCOLORFRAGMENTOP2ATIPROC)load(
"glColorFragmentOp2ATI");
2187 glad_glColorFragmentOp3ATI = (PFNGLCOLORFRAGMENTOP3ATIPROC)load(
"glColorFragmentOp3ATI");
2188 glad_glAlphaFragmentOp1ATI = (PFNGLALPHAFRAGMENTOP1ATIPROC)load(
"glAlphaFragmentOp1ATI");
2189 glad_glAlphaFragmentOp2ATI = (PFNGLALPHAFRAGMENTOP2ATIPROC)load(
"glAlphaFragmentOp2ATI");
2190 glad_glAlphaFragmentOp3ATI = (PFNGLALPHAFRAGMENTOP3ATIPROC)load(
"glAlphaFragmentOp3ATI");
2191 glad_glSetFragmentShaderConstantATI = (PFNGLSETFRAGMENTSHADERCONSTANTATIPROC)load(
"glSetFragmentShaderConstantATI");
2193static void load_GL_EXT_blend_equation_separate(GLADloadproc load) {
2194 if(!GLAD_GL_EXT_blend_equation_separate)
return;
2195 glad_glBlendEquationSeparateEXT = (PFNGLBLENDEQUATIONSEPARATEEXTPROC)load(
"glBlendEquationSeparateEXT");
2197static void load_GL_EXT_framebuffer_blit(GLADloadproc load) {
2198 if(!GLAD_GL_EXT_framebuffer_blit)
return;
2199 glad_glBlitFramebufferEXT = (PFNGLBLITFRAMEBUFFEREXTPROC)load(
"glBlitFramebufferEXT");
2201static void load_GL_EXT_framebuffer_multisample(GLADloadproc load) {
2202 if(!GLAD_GL_EXT_framebuffer_multisample)
return;
2203 glad_glRenderbufferStorageMultisampleEXT = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC)load(
"glRenderbufferStorageMultisampleEXT");
2205static void load_GL_EXT_framebuffer_object(GLADloadproc load) {
2206 if(!GLAD_GL_EXT_framebuffer_object)
return;
2207 glad_glIsRenderbufferEXT = (PFNGLISRENDERBUFFEREXTPROC)load(
"glIsRenderbufferEXT");
2208 glad_glBindRenderbufferEXT = (PFNGLBINDRENDERBUFFEREXTPROC)load(
"glBindRenderbufferEXT");
2209 glad_glDeleteRenderbuffersEXT = (PFNGLDELETERENDERBUFFERSEXTPROC)load(
"glDeleteRenderbuffersEXT");
2210 glad_glGenRenderbuffersEXT = (PFNGLGENRENDERBUFFERSEXTPROC)load(
"glGenRenderbuffersEXT");
2211 glad_glRenderbufferStorageEXT = (PFNGLRENDERBUFFERSTORAGEEXTPROC)load(
"glRenderbufferStorageEXT");
2212 glad_glGetRenderbufferParameterivEXT = (PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC)load(
"glGetRenderbufferParameterivEXT");
2213 glad_glIsFramebufferEXT = (PFNGLISFRAMEBUFFEREXTPROC)load(
"glIsFramebufferEXT");
2214 glad_glBindFramebufferEXT = (PFNGLBINDFRAMEBUFFEREXTPROC)load(
"glBindFramebufferEXT");
2215 glad_glDeleteFramebuffersEXT = (PFNGLDELETEFRAMEBUFFERSEXTPROC)load(
"glDeleteFramebuffersEXT");
2216 glad_glGenFramebuffersEXT = (PFNGLGENFRAMEBUFFERSEXTPROC)load(
"glGenFramebuffersEXT");
2217 glad_glCheckFramebufferStatusEXT = (PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC)load(
"glCheckFramebufferStatusEXT");
2218 glad_glFramebufferTexture1DEXT = (PFNGLFRAMEBUFFERTEXTURE1DEXTPROC)load(
"glFramebufferTexture1DEXT");
2219 glad_glFramebufferTexture2DEXT = (PFNGLFRAMEBUFFERTEXTURE2DEXTPROC)load(
"glFramebufferTexture2DEXT");
2220 glad_glFramebufferTexture3DEXT = (PFNGLFRAMEBUFFERTEXTURE3DEXTPROC)load(
"glFramebufferTexture3DEXT");
2221 glad_glFramebufferRenderbufferEXT = (PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC)load(
"glFramebufferRenderbufferEXT");
2222 glad_glGetFramebufferAttachmentParameterivEXT = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC)load(
"glGetFramebufferAttachmentParameterivEXT");
2223 glad_glGenerateMipmapEXT = (PFNGLGENERATEMIPMAPEXTPROC)load(
"glGenerateMipmapEXT");
2225static void load_GL_EXT_geometry_shader4(GLADloadproc load) {
2226 if(!GLAD_GL_EXT_geometry_shader4)
return;
2227 glad_glProgramParameteriEXT = (PFNGLPROGRAMPARAMETERIEXTPROC)load(
"glProgramParameteriEXT");
2229static void load_GL_EXT_point_parameters(GLADloadproc load) {
2230 if(!GLAD_GL_EXT_point_parameters)
return;
2231 glad_glPointParameterfEXT = (PFNGLPOINTPARAMETERFEXTPROC)load(
"glPointParameterfEXT");
2232 glad_glPointParameterfvEXT = (PFNGLPOINTPARAMETERFVEXTPROC)load(
"glPointParameterfvEXT");
2234static void load_GL_EXT_secondary_color(GLADloadproc load) {
2235 if(!GLAD_GL_EXT_secondary_color)
return;
2236 glad_glSecondaryColor3bEXT = (PFNGLSECONDARYCOLOR3BEXTPROC)load(
"glSecondaryColor3bEXT");
2237 glad_glSecondaryColor3bvEXT = (PFNGLSECONDARYCOLOR3BVEXTPROC)load(
"glSecondaryColor3bvEXT");
2238 glad_glSecondaryColor3dEXT = (PFNGLSECONDARYCOLOR3DEXTPROC)load(
"glSecondaryColor3dEXT");
2239 glad_glSecondaryColor3dvEXT = (PFNGLSECONDARYCOLOR3DVEXTPROC)load(
"glSecondaryColor3dvEXT");
2240 glad_glSecondaryColor3fEXT = (PFNGLSECONDARYCOLOR3FEXTPROC)load(
"glSecondaryColor3fEXT");
2241 glad_glSecondaryColor3fvEXT = (PFNGLSECONDARYCOLOR3FVEXTPROC)load(
"glSecondaryColor3fvEXT");
2242 glad_glSecondaryColor3iEXT = (PFNGLSECONDARYCOLOR3IEXTPROC)load(
"glSecondaryColor3iEXT");
2243 glad_glSecondaryColor3ivEXT = (PFNGLSECONDARYCOLOR3IVEXTPROC)load(
"glSecondaryColor3ivEXT");
2244 glad_glSecondaryColor3sEXT = (PFNGLSECONDARYCOLOR3SEXTPROC)load(
"glSecondaryColor3sEXT");
2245 glad_glSecondaryColor3svEXT = (PFNGLSECONDARYCOLOR3SVEXTPROC)load(
"glSecondaryColor3svEXT");
2246 glad_glSecondaryColor3ubEXT = (PFNGLSECONDARYCOLOR3UBEXTPROC)load(
"glSecondaryColor3ubEXT");
2247 glad_glSecondaryColor3ubvEXT = (PFNGLSECONDARYCOLOR3UBVEXTPROC)load(
"glSecondaryColor3ubvEXT");
2248 glad_glSecondaryColor3uiEXT = (PFNGLSECONDARYCOLOR3UIEXTPROC)load(
"glSecondaryColor3uiEXT");
2249 glad_glSecondaryColor3uivEXT = (PFNGLSECONDARYCOLOR3UIVEXTPROC)load(
"glSecondaryColor3uivEXT");
2250 glad_glSecondaryColor3usEXT = (PFNGLSECONDARYCOLOR3USEXTPROC)load(
"glSecondaryColor3usEXT");
2251 glad_glSecondaryColor3usvEXT = (PFNGLSECONDARYCOLOR3USVEXTPROC)load(
"glSecondaryColor3usvEXT");
2252 glad_glSecondaryColorPointerEXT = (PFNGLSECONDARYCOLORPOINTEREXTPROC)load(
"glSecondaryColorPointerEXT");
2254static void load_GL_EXT_stencil_two_side(GLADloadproc load) {
2255 if(!GLAD_GL_EXT_stencil_two_side)
return;
2256 glad_glActiveStencilFaceEXT = (PFNGLACTIVESTENCILFACEEXTPROC)load(
"glActiveStencilFaceEXT");
2258static void load_GL_EXT_texture_array(GLADloadproc load) {
2259 if(!GLAD_GL_EXT_texture_array)
return;
2260 glad_glFramebufferTextureLayerEXT = (PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC)load(
"glFramebufferTextureLayerEXT");
2262static void load_GL_GREMEDY_string_marker(GLADloadproc load) {
2263 if(!GLAD_GL_GREMEDY_string_marker)
return;
2264 glad_glStringMarkerGREMEDY = (PFNGLSTRINGMARKERGREMEDYPROC)load(
"glStringMarkerGREMEDY");
2266static void load_GL_NV_geometry_program4(GLADloadproc load) {
2267 if(!GLAD_GL_NV_geometry_program4)
return;
2268 glad_glProgramVertexLimitNV = (PFNGLPROGRAMVERTEXLIMITNVPROC)load(
"glProgramVertexLimitNV");
2269 glad_glFramebufferTextureEXT = (PFNGLFRAMEBUFFERTEXTUREEXTPROC)load(
"glFramebufferTextureEXT");
2270 glad_glFramebufferTextureLayerEXT = (PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC)load(
"glFramebufferTextureLayerEXT");
2271 glad_glFramebufferTextureFaceEXT = (PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC)load(
"glFramebufferTextureFaceEXT");
2273static void load_GL_NV_gpu_program4(GLADloadproc load) {
2274 if(!GLAD_GL_NV_gpu_program4)
return;
2275 glad_glProgramLocalParameterI4iNV = (PFNGLPROGRAMLOCALPARAMETERI4INVPROC)load(
"glProgramLocalParameterI4iNV");
2276 glad_glProgramLocalParameterI4ivNV = (PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC)load(
"glProgramLocalParameterI4ivNV");
2277 glad_glProgramLocalParametersI4ivNV = (PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC)load(
"glProgramLocalParametersI4ivNV");
2278 glad_glProgramLocalParameterI4uiNV = (PFNGLPROGRAMLOCALPARAMETERI4UINVPROC)load(
"glProgramLocalParameterI4uiNV");
2279 glad_glProgramLocalParameterI4uivNV = (PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC)load(
"glProgramLocalParameterI4uivNV");
2280 glad_glProgramLocalParametersI4uivNV = (PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC)load(
"glProgramLocalParametersI4uivNV");
2281 glad_glProgramEnvParameterI4iNV = (PFNGLPROGRAMENVPARAMETERI4INVPROC)load(
"glProgramEnvParameterI4iNV");
2282 glad_glProgramEnvParameterI4ivNV = (PFNGLPROGRAMENVPARAMETERI4IVNVPROC)load(
"glProgramEnvParameterI4ivNV");
2283 glad_glProgramEnvParametersI4ivNV = (PFNGLPROGRAMENVPARAMETERSI4IVNVPROC)load(
"glProgramEnvParametersI4ivNV");
2284 glad_glProgramEnvParameterI4uiNV = (PFNGLPROGRAMENVPARAMETERI4UINVPROC)load(
"glProgramEnvParameterI4uiNV");
2285 glad_glProgramEnvParameterI4uivNV = (PFNGLPROGRAMENVPARAMETERI4UIVNVPROC)load(
"glProgramEnvParameterI4uivNV");
2286 glad_glProgramEnvParametersI4uivNV = (PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC)load(
"glProgramEnvParametersI4uivNV");
2287 glad_glGetProgramLocalParameterIivNV = (PFNGLGETPROGRAMLOCALPARAMETERIIVNVPROC)load(
"glGetProgramLocalParameterIivNV");
2288 glad_glGetProgramLocalParameterIuivNV = (PFNGLGETPROGRAMLOCALPARAMETERIUIVNVPROC)load(
"glGetProgramLocalParameterIuivNV");
2289 glad_glGetProgramEnvParameterIivNV = (PFNGLGETPROGRAMENVPARAMETERIIVNVPROC)load(
"glGetProgramEnvParameterIivNV");
2290 glad_glGetProgramEnvParameterIuivNV = (PFNGLGETPROGRAMENVPARAMETERIUIVNVPROC)load(
"glGetProgramEnvParameterIuivNV");
2292static void load_GL_NV_register_combiners(GLADloadproc load) {
2293 if(!GLAD_GL_NV_register_combiners)
return;
2294 glad_glCombinerParameterfvNV = (PFNGLCOMBINERPARAMETERFVNVPROC)load(
"glCombinerParameterfvNV");
2295 glad_glCombinerParameterfNV = (PFNGLCOMBINERPARAMETERFNVPROC)load(
"glCombinerParameterfNV");
2296 glad_glCombinerParameterivNV = (PFNGLCOMBINERPARAMETERIVNVPROC)load(
"glCombinerParameterivNV");
2297 glad_glCombinerParameteriNV = (PFNGLCOMBINERPARAMETERINVPROC)load(
"glCombinerParameteriNV");
2298 glad_glCombinerInputNV = (PFNGLCOMBINERINPUTNVPROC)load(
"glCombinerInputNV");
2299 glad_glCombinerOutputNV = (PFNGLCOMBINEROUTPUTNVPROC)load(
"glCombinerOutputNV");
2300 glad_glFinalCombinerInputNV = (PFNGLFINALCOMBINERINPUTNVPROC)load(
"glFinalCombinerInputNV");
2301 glad_glGetCombinerInputParameterfvNV = (PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC)load(
"glGetCombinerInputParameterfvNV");
2302 glad_glGetCombinerInputParameterivNV = (PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC)load(
"glGetCombinerInputParameterivNV");
2303 glad_glGetCombinerOutputParameterfvNV = (PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC)load(
"glGetCombinerOutputParameterfvNV");
2304 glad_glGetCombinerOutputParameterivNV = (PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC)load(
"glGetCombinerOutputParameterivNV");
2305 glad_glGetFinalCombinerInputParameterfvNV = (PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC)load(
"glGetFinalCombinerInputParameterfvNV");
2306 glad_glGetFinalCombinerInputParameterivNV = (PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC)load(
"glGetFinalCombinerInputParameterivNV");
2308static void load_GL_NV_register_combiners2(GLADloadproc load) {
2309 if(!GLAD_GL_NV_register_combiners2)
return;
2310 glad_glCombinerStageParameterfvNV = (PFNGLCOMBINERSTAGEPARAMETERFVNVPROC)load(
"glCombinerStageParameterfvNV");
2311 glad_glGetCombinerStageParameterfvNV = (PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC)load(
"glGetCombinerStageParameterfvNV");
2313static void load_GL_NV_transform_feedback(GLADloadproc load) {
2314 if(!GLAD_GL_NV_transform_feedback)
return;
2315 glad_glBeginTransformFeedbackNV = (PFNGLBEGINTRANSFORMFEEDBACKNVPROC)load(
"glBeginTransformFeedbackNV");
2316 glad_glEndTransformFeedbackNV = (PFNGLENDTRANSFORMFEEDBACKNVPROC)load(
"glEndTransformFeedbackNV");
2317 glad_glTransformFeedbackAttribsNV = (PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC)load(
"glTransformFeedbackAttribsNV");
2318 glad_glBindBufferRangeNV = (PFNGLBINDBUFFERRANGENVPROC)load(
"glBindBufferRangeNV");
2319 glad_glBindBufferOffsetNV = (PFNGLBINDBUFFEROFFSETNVPROC)load(
"glBindBufferOffsetNV");
2320 glad_glBindBufferBaseNV = (PFNGLBINDBUFFERBASENVPROC)load(
"glBindBufferBaseNV");
2321 glad_glTransformFeedbackVaryingsNV = (PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC)load(
"glTransformFeedbackVaryingsNV");
2322 glad_glActiveVaryingNV = (PFNGLACTIVEVARYINGNVPROC)load(
"glActiveVaryingNV");
2323 glad_glGetVaryingLocationNV = (PFNGLGETVARYINGLOCATIONNVPROC)load(
"glGetVaryingLocationNV");
2324 glad_glGetActiveVaryingNV = (PFNGLGETACTIVEVARYINGNVPROC)load(
"glGetActiveVaryingNV");
2325 glad_glGetTransformFeedbackVaryingNV = (PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC)load(
"glGetTransformFeedbackVaryingNV");
2326 glad_glTransformFeedbackStreamAttribsNV = (PFNGLTRANSFORMFEEDBACKSTREAMATTRIBSNVPROC)load(
"glTransformFeedbackStreamAttribsNV");
2328static void load_GL_NV_vertex_program(GLADloadproc load) {
2329 if(!GLAD_GL_NV_vertex_program)
return;
2330 glad_glAreProgramsResidentNV = (PFNGLAREPROGRAMSRESIDENTNVPROC)load(
"glAreProgramsResidentNV");
2331 glad_glBindProgramNV = (PFNGLBINDPROGRAMNVPROC)load(
"glBindProgramNV");
2332 glad_glDeleteProgramsNV = (PFNGLDELETEPROGRAMSNVPROC)load(
"glDeleteProgramsNV");
2333 glad_glExecuteProgramNV = (PFNGLEXECUTEPROGRAMNVPROC)load(
"glExecuteProgramNV");
2334 glad_glGenProgramsNV = (PFNGLGENPROGRAMSNVPROC)load(
"glGenProgramsNV");
2335 glad_glGetProgramParameterdvNV = (PFNGLGETPROGRAMPARAMETERDVNVPROC)load(
"glGetProgramParameterdvNV");
2336 glad_glGetProgramParameterfvNV = (PFNGLGETPROGRAMPARAMETERFVNVPROC)load(
"glGetProgramParameterfvNV");
2337 glad_glGetProgramivNV = (PFNGLGETPROGRAMIVNVPROC)load(
"glGetProgramivNV");
2338 glad_glGetProgramStringNV = (PFNGLGETPROGRAMSTRINGNVPROC)load(
"glGetProgramStringNV");
2339 glad_glGetTrackMatrixivNV = (PFNGLGETTRACKMATRIXIVNVPROC)load(
"glGetTrackMatrixivNV");
2340 glad_glGetVertexAttribdvNV = (PFNGLGETVERTEXATTRIBDVNVPROC)load(
"glGetVertexAttribdvNV");
2341 glad_glGetVertexAttribfvNV = (PFNGLGETVERTEXATTRIBFVNVPROC)load(
"glGetVertexAttribfvNV");
2342 glad_glGetVertexAttribivNV = (PFNGLGETVERTEXATTRIBIVNVPROC)load(
"glGetVertexAttribivNV");
2343 glad_glGetVertexAttribPointervNV = (PFNGLGETVERTEXATTRIBPOINTERVNVPROC)load(
"glGetVertexAttribPointervNV");
2344 glad_glIsProgramNV = (PFNGLISPROGRAMNVPROC)load(
"glIsProgramNV");
2345 glad_glLoadProgramNV = (PFNGLLOADPROGRAMNVPROC)load(
"glLoadProgramNV");
2346 glad_glProgramParameter4dNV = (PFNGLPROGRAMPARAMETER4DNVPROC)load(
"glProgramParameter4dNV");
2347 glad_glProgramParameter4dvNV = (PFNGLPROGRAMPARAMETER4DVNVPROC)load(
"glProgramParameter4dvNV");
2348 glad_glProgramParameter4fNV = (PFNGLPROGRAMPARAMETER4FNVPROC)load(
"glProgramParameter4fNV");
2349 glad_glProgramParameter4fvNV = (PFNGLPROGRAMPARAMETER4FVNVPROC)load(
"glProgramParameter4fvNV");
2350 glad_glProgramParameters4dvNV = (PFNGLPROGRAMPARAMETERS4DVNVPROC)load(
"glProgramParameters4dvNV");
2351 glad_glProgramParameters4fvNV = (PFNGLPROGRAMPARAMETERS4FVNVPROC)load(
"glProgramParameters4fvNV");
2352 glad_glRequestResidentProgramsNV = (PFNGLREQUESTRESIDENTPROGRAMSNVPROC)load(
"glRequestResidentProgramsNV");
2353 glad_glTrackMatrixNV = (PFNGLTRACKMATRIXNVPROC)load(
"glTrackMatrixNV");
2354 glad_glVertexAttribPointerNV = (PFNGLVERTEXATTRIBPOINTERNVPROC)load(
"glVertexAttribPointerNV");
2355 glad_glVertexAttrib1dNV = (PFNGLVERTEXATTRIB1DNVPROC)load(
"glVertexAttrib1dNV");
2356 glad_glVertexAttrib1dvNV = (PFNGLVERTEXATTRIB1DVNVPROC)load(
"glVertexAttrib1dvNV");
2357 glad_glVertexAttrib1fNV = (PFNGLVERTEXATTRIB1FNVPROC)load(
"glVertexAttrib1fNV");
2358 glad_glVertexAttrib1fvNV = (PFNGLVERTEXATTRIB1FVNVPROC)load(
"glVertexAttrib1fvNV");
2359 glad_glVertexAttrib1sNV = (PFNGLVERTEXATTRIB1SNVPROC)load(
"glVertexAttrib1sNV");
2360 glad_glVertexAttrib1svNV = (PFNGLVERTEXATTRIB1SVNVPROC)load(
"glVertexAttrib1svNV");
2361 glad_glVertexAttrib2dNV = (PFNGLVERTEXATTRIB2DNVPROC)load(
"glVertexAttrib2dNV");
2362 glad_glVertexAttrib2dvNV = (PFNGLVERTEXATTRIB2DVNVPROC)load(
"glVertexAttrib2dvNV");
2363 glad_glVertexAttrib2fNV = (PFNGLVERTEXATTRIB2FNVPROC)load(
"glVertexAttrib2fNV");
2364 glad_glVertexAttrib2fvNV = (PFNGLVERTEXATTRIB2FVNVPROC)load(
"glVertexAttrib2fvNV");
2365 glad_glVertexAttrib2sNV = (PFNGLVERTEXATTRIB2SNVPROC)load(
"glVertexAttrib2sNV");
2366 glad_glVertexAttrib2svNV = (PFNGLVERTEXATTRIB2SVNVPROC)load(
"glVertexAttrib2svNV");
2367 glad_glVertexAttrib3dNV = (PFNGLVERTEXATTRIB3DNVPROC)load(
"glVertexAttrib3dNV");
2368 glad_glVertexAttrib3dvNV = (PFNGLVERTEXATTRIB3DVNVPROC)load(
"glVertexAttrib3dvNV");
2369 glad_glVertexAttrib3fNV = (PFNGLVERTEXATTRIB3FNVPROC)load(
"glVertexAttrib3fNV");
2370 glad_glVertexAttrib3fvNV = (PFNGLVERTEXATTRIB3FVNVPROC)load(
"glVertexAttrib3fvNV");
2371 glad_glVertexAttrib3sNV = (PFNGLVERTEXATTRIB3SNVPROC)load(
"glVertexAttrib3sNV");
2372 glad_glVertexAttrib3svNV = (PFNGLVERTEXATTRIB3SVNVPROC)load(
"glVertexAttrib3svNV");
2373 glad_glVertexAttrib4dNV = (PFNGLVERTEXATTRIB4DNVPROC)load(
"glVertexAttrib4dNV");
2374 glad_glVertexAttrib4dvNV = (PFNGLVERTEXATTRIB4DVNVPROC)load(
"glVertexAttrib4dvNV");
2375 glad_glVertexAttrib4fNV = (PFNGLVERTEXATTRIB4FNVPROC)load(
"glVertexAttrib4fNV");
2376 glad_glVertexAttrib4fvNV = (PFNGLVERTEXATTRIB4FVNVPROC)load(
"glVertexAttrib4fvNV");
2377 glad_glVertexAttrib4sNV = (PFNGLVERTEXATTRIB4SNVPROC)load(
"glVertexAttrib4sNV");
2378 glad_glVertexAttrib4svNV = (PFNGLVERTEXATTRIB4SVNVPROC)load(
"glVertexAttrib4svNV");
2379 glad_glVertexAttrib4ubNV = (PFNGLVERTEXATTRIB4UBNVPROC)load(
"glVertexAttrib4ubNV");
2380 glad_glVertexAttrib4ubvNV = (PFNGLVERTEXATTRIB4UBVNVPROC)load(
"glVertexAttrib4ubvNV");
2381 glad_glVertexAttribs1dvNV = (PFNGLVERTEXATTRIBS1DVNVPROC)load(
"glVertexAttribs1dvNV");
2382 glad_glVertexAttribs1fvNV = (PFNGLVERTEXATTRIBS1FVNVPROC)load(
"glVertexAttribs1fvNV");
2383 glad_glVertexAttribs1svNV = (PFNGLVERTEXATTRIBS1SVNVPROC)load(
"glVertexAttribs1svNV");
2384 glad_glVertexAttribs2dvNV = (PFNGLVERTEXATTRIBS2DVNVPROC)load(
"glVertexAttribs2dvNV");
2385 glad_glVertexAttribs2fvNV = (PFNGLVERTEXATTRIBS2FVNVPROC)load(
"glVertexAttribs2fvNV");
2386 glad_glVertexAttribs2svNV = (PFNGLVERTEXATTRIBS2SVNVPROC)load(
"glVertexAttribs2svNV");
2387 glad_glVertexAttribs3dvNV = (PFNGLVERTEXATTRIBS3DVNVPROC)load(
"glVertexAttribs3dvNV");
2388 glad_glVertexAttribs3fvNV = (PFNGLVERTEXATTRIBS3FVNVPROC)load(
"glVertexAttribs3fvNV");
2389 glad_glVertexAttribs3svNV = (PFNGLVERTEXATTRIBS3SVNVPROC)load(
"glVertexAttribs3svNV");
2390 glad_glVertexAttribs4dvNV = (PFNGLVERTEXATTRIBS4DVNVPROC)load(
"glVertexAttribs4dvNV");
2391 glad_glVertexAttribs4fvNV = (PFNGLVERTEXATTRIBS4FVNVPROC)load(
"glVertexAttribs4fvNV");
2392 glad_glVertexAttribs4svNV = (PFNGLVERTEXATTRIBS4SVNVPROC)load(
"glVertexAttribs4svNV");
2393 glad_glVertexAttribs4ubvNV = (PFNGLVERTEXATTRIBS4UBVNVPROC)load(
"glVertexAttribs4ubvNV");
2395static int find_extensionsGL(
void) {
2396 if (!get_exts())
return 0;
2397 GLAD_GL_ARB_depth_buffer_float = has_ext(
"GL_ARB_depth_buffer_float");
2398 GLAD_GL_ARB_draw_buffers = has_ext(
"GL_ARB_draw_buffers");
2399 GLAD_GL_ARB_draw_instanced = has_ext(
"GL_ARB_draw_instanced");
2400 GLAD_GL_ARB_fragment_program = has_ext(
"GL_ARB_fragment_program");
2401 GLAD_GL_ARB_fragment_program_shadow = has_ext(
"GL_ARB_fragment_program_shadow");
2402 GLAD_GL_ARB_fragment_shader = has_ext(
"GL_ARB_fragment_shader");
2403 GLAD_GL_ARB_framebuffer_object = has_ext(
"GL_ARB_framebuffer_object");
2404 GLAD_GL_ARB_get_program_binary = has_ext(
"GL_ARB_get_program_binary");
2405 GLAD_GL_ARB_instanced_arrays = has_ext(
"GL_ARB_instanced_arrays");
2406 GLAD_GL_ARB_multisample = has_ext(
"GL_ARB_multisample");
2407 GLAD_GL_ARB_multitexture = has_ext(
"GL_ARB_multitexture");
2408 GLAD_GL_ARB_occlusion_query = has_ext(
"GL_ARB_occlusion_query");
2409 GLAD_GL_ARB_pixel_buffer_object = has_ext(
"GL_ARB_pixel_buffer_object");
2410 GLAD_GL_ARB_point_parameters = has_ext(
"GL_ARB_point_parameters");
2411 GLAD_GL_ARB_point_sprite = has_ext(
"GL_ARB_point_sprite");
2412 GLAD_GL_ARB_seamless_cube_map = has_ext(
"GL_ARB_seamless_cube_map");
2413 GLAD_GL_ARB_shader_objects = has_ext(
"GL_ARB_shader_objects");
2414 GLAD_GL_ARB_shading_language_100 = has_ext(
"GL_ARB_shading_language_100");
2415 GLAD_GL_ARB_shadow = has_ext(
"GL_ARB_shadow");
2416 GLAD_GL_ARB_texture_compression = has_ext(
"GL_ARB_texture_compression");
2417 GLAD_GL_ARB_texture_cube_map = has_ext(
"GL_ARB_texture_cube_map");
2418 GLAD_GL_ARB_texture_env_combine = has_ext(
"GL_ARB_texture_env_combine");
2419 GLAD_GL_ARB_texture_float = has_ext(
"GL_ARB_texture_float");
2420 GLAD_GL_ARB_texture_non_power_of_two = has_ext(
"GL_ARB_texture_non_power_of_two");
2421 GLAD_GL_ARB_vertex_buffer_object = has_ext(
"GL_ARB_vertex_buffer_object");
2422 GLAD_GL_ARB_vertex_program = has_ext(
"GL_ARB_vertex_program");
2423 GLAD_GL_ARB_vertex_shader = has_ext(
"GL_ARB_vertex_shader");
2424 GLAD_GL_ATI_draw_buffers = has_ext(
"GL_ATI_draw_buffers");
2425 GLAD_GL_ATI_fragment_shader = has_ext(
"GL_ATI_fragment_shader");
2426 GLAD_GL_ATI_texture_float = has_ext(
"GL_ATI_texture_float");
2427 GLAD_GL_EXT_blend_equation_separate = has_ext(
"GL_EXT_blend_equation_separate");
2428 GLAD_GL_EXT_framebuffer_blit = has_ext(
"GL_EXT_framebuffer_blit");
2429 GLAD_GL_EXT_framebuffer_multisample = has_ext(
"GL_EXT_framebuffer_multisample");
2430 GLAD_GL_EXT_framebuffer_object = has_ext(
"GL_EXT_framebuffer_object");
2431 GLAD_GL_EXT_framebuffer_sRGB = has_ext(
"GL_EXT_framebuffer_sRGB");
2432 GLAD_GL_EXT_geometry_shader4 = has_ext(
"GL_EXT_geometry_shader4");
2433 GLAD_GL_EXT_pixel_buffer_object = has_ext(
"GL_EXT_pixel_buffer_object");
2434 GLAD_GL_EXT_point_parameters = has_ext(
"GL_EXT_point_parameters");
2435 GLAD_GL_EXT_secondary_color = has_ext(
"GL_EXT_secondary_color");
2436 GLAD_GL_EXT_stencil_two_side = has_ext(
"GL_EXT_stencil_two_side");
2437 GLAD_GL_EXT_stencil_wrap = has_ext(
"GL_EXT_stencil_wrap");
2438 GLAD_GL_EXT_texture_array = has_ext(
"GL_EXT_texture_array");
2439 GLAD_GL_EXT_texture_compression_s3tc = has_ext(
"GL_EXT_texture_compression_s3tc");
2440 GLAD_GL_EXT_texture_filter_anisotropic = has_ext(
"GL_EXT_texture_filter_anisotropic");
2441 GLAD_GL_EXT_texture_lod_bias = has_ext(
"GL_EXT_texture_lod_bias");
2442 GLAD_GL_EXT_texture_sRGB = has_ext(
"GL_EXT_texture_sRGB");
2443 GLAD_GL_GREMEDY_string_marker = has_ext(
"GL_GREMEDY_string_marker");
2444 GLAD_GL_NV_fragment_program2 = has_ext(
"GL_NV_fragment_program2");
2445 GLAD_GL_NV_fragment_program_option = has_ext(
"GL_NV_fragment_program_option");
2446 GLAD_GL_NV_geometry_program4 = has_ext(
"GL_NV_geometry_program4");
2447 GLAD_GL_NV_gpu_program4 = has_ext(
"GL_NV_gpu_program4");
2448 GLAD_GL_NV_register_combiners = has_ext(
"GL_NV_register_combiners");
2449 GLAD_GL_NV_register_combiners2 = has_ext(
"GL_NV_register_combiners2");
2450 GLAD_GL_NV_texture_compression_vtc = has_ext(
"GL_NV_texture_compression_vtc");
2451 GLAD_GL_NV_texture_shader = has_ext(
"GL_NV_texture_shader");
2452 GLAD_GL_NV_transform_feedback = has_ext(
"GL_NV_transform_feedback");
2453 GLAD_GL_NV_vertex_program = has_ext(
"GL_NV_vertex_program");
2454 GLAD_GL_NV_vertex_program2_option = has_ext(
"GL_NV_vertex_program2_option");
2455 GLAD_GL_NV_vertex_program3 = has_ext(
"GL_NV_vertex_program3");
2460static void find_coreGL(
void) {
2466 int i, major, minor;
2468 const char* version;
2469 const char* prefixes[] = {
2476 version = (
const char*) glGetString(GL_VERSION);
2477 if (!version)
return;
2479 for (i = 0; prefixes[i]; i++) {
2480 const size_t length = strlen(prefixes[i]);
2481 if (strncmp(version, prefixes[i], length) == 0) {
2489 sscanf_s(version,
"%d.%d", &major, &minor);
2491 sscanf(version,
"%d.%d", &major, &minor);
2494 GLVersion.major = major; GLVersion.minor = minor;
2495 max_loaded_major = major; max_loaded_minor = minor;
2496 GLAD_GL_VERSION_1_0 = (major == 1 && minor >= 0) || major > 1;
2497 GLAD_GL_VERSION_1_1 = (major == 1 && minor >= 1) || major > 1;
2498 GLAD_GL_VERSION_1_2 = (major == 1 && minor >= 2) || major > 1;
2499 GLAD_GL_VERSION_1_3 = (major == 1 && minor >= 3) || major > 1;
2500 GLAD_GL_VERSION_1_4 = (major == 1 && minor >= 4) || major > 1;
2501 GLAD_GL_VERSION_1_5 = (major == 1 && minor >= 5) || major > 1;
2502 GLAD_GL_VERSION_2_0 = (major == 2 && minor >= 0) || major > 2;
2503 GLAD_GL_VERSION_2_1 = (major == 2 && minor >= 1) || major > 2;
2504 if (GLVersion.major > 2 || (GLVersion.major >= 2 && GLVersion.minor >= 1)) {
2505 max_loaded_major = 2;
2506 max_loaded_minor = 1;
2510int gladLoadGLLoader(GLADloadproc load) {
2511 GLVersion.major = 0; GLVersion.minor = 0;
2512 glGetString = (PFNGLGETSTRINGPROC)load(
"glGetString");
2513 if(glGetString == NULL)
return 0;
2514 if(glGetString(GL_VERSION) == NULL)
return 0;
2516 load_GL_VERSION_1_0(load);
2517 load_GL_VERSION_1_1(load);
2518 load_GL_VERSION_1_2(load);
2519 load_GL_VERSION_1_3(load);
2520 load_GL_VERSION_1_4(load);
2521 load_GL_VERSION_1_5(load);
2522 load_GL_VERSION_2_0(load);
2523 load_GL_VERSION_2_1(load);
2525 if (!find_extensionsGL())
return 0;
2526 load_GL_ARB_draw_buffers(load);
2527 load_GL_ARB_draw_instanced(load);
2528 load_GL_ARB_fragment_program(load);
2529 load_GL_ARB_framebuffer_object(load);
2530 load_GL_ARB_get_program_binary(load);
2531 load_GL_ARB_instanced_arrays(load);
2532 load_GL_ARB_multisample(load);
2533 load_GL_ARB_multitexture(load);
2534 load_GL_ARB_occlusion_query(load);
2535 load_GL_ARB_point_parameters(load);
2536 load_GL_ARB_shader_objects(load);
2537 load_GL_ARB_texture_compression(load);
2538 load_GL_ARB_vertex_buffer_object(load);
2539 load_GL_ARB_vertex_program(load);
2540 load_GL_ARB_vertex_shader(load);
2541 load_GL_ATI_draw_buffers(load);
2542 load_GL_ATI_fragment_shader(load);
2543 load_GL_EXT_blend_equation_separate(load);
2544 load_GL_EXT_framebuffer_blit(load);
2545 load_GL_EXT_framebuffer_multisample(load);
2546 load_GL_EXT_framebuffer_object(load);
2547 load_GL_EXT_geometry_shader4(load);
2548 load_GL_EXT_point_parameters(load);
2549 load_GL_EXT_secondary_color(load);
2550 load_GL_EXT_stencil_two_side(load);
2551 load_GL_EXT_texture_array(load);
2552 load_GL_GREMEDY_string_marker(load);
2553 load_GL_NV_geometry_program4(load);
2554 load_GL_NV_gpu_program4(load);
2555 load_GL_NV_register_combiners(load);
2556 load_GL_NV_register_combiners2(load);
2557 load_GL_NV_transform_feedback(load);
2558 load_GL_NV_vertex_program(load);
2559 return GLVersion.major != 0 || GLVersion.minor != 0;