glad/glad.c
Go to the documentation of this file.
1 /*
2 
3  OpenGL loader generated by glad 0.1.28 on Fri Feb 1 17:37:51 2019.
4 
5  Language/Generator: C/C++
6  Specification: gl
7  APIs: gl=3.2
8  Profile: compatibility
9  Extensions:
10  GL_APPLE_vertex_array_object,
11  GL_ARB_multisample,
12  GL_ARB_robustness,
13  GL_ARB_vertex_array_object,
14  GL_KHR_debug
15  Loader: False
16  Local files: False
17  Omit khrplatform: False
18  Reproducible: False
19 
20  Commandline:
21  --profile="compatibility" --api="gl=3.2" --generator="c" --spec="gl" --no-loader --extensions="GL_APPLE_vertex_array_object,GL_ARB_multisample,GL_ARB_robustness,GL_ARB_vertex_array_object,GL_KHR_debug"
22  Online:
23  https://glad.dav1d.de/#profile=compatibility&language=c&specification=gl&api=gl%3D3.2&extensions=GL_APPLE_vertex_array_object&extensions=GL_ARB_multisample&extensions=GL_ARB_robustness&extensions=GL_ARB_vertex_array_object&extensions=GL_KHR_debug
24 */
25 
26 #pragma GCC diagnostic push
27 #pragma GCC diagnostic ignored "-Wpedantic"
28 
29 #include <stdio.h>
30 #include <stdlib.h>
31 #include <string.h>
32 #include <glad/glad.h>
33 
34 struct gladGLversionStruct GLVersion = { 0, 0 };
35 
36 #if defined(GL_ES_VERSION_3_0) || defined(GL_VERSION_3_0)
37 #define _GLAD_IS_SOME_NEW_VERSION 1
38 #endif
39 
40 static int max_loaded_major;
41 static int max_loaded_minor;
42 
43 static const char *exts = NULL;
44 static int num_exts_i = 0;
45 static char **exts_i = NULL;
46 
47 static int get_exts(void) {
48 #ifdef _GLAD_IS_SOME_NEW_VERSION
49  if(max_loaded_major < 3) {
50 #endif
51  exts = (const char *)glGetString(GL_EXTENSIONS);
52 #ifdef _GLAD_IS_SOME_NEW_VERSION
53  } else {
54  unsigned int index;
55 
56  num_exts_i = 0;
58  if (num_exts_i > 0) {
59  char **tmp_exts_i = (char **)realloc((void *)exts_i, (size_t)num_exts_i * (sizeof *exts_i));
60  if (tmp_exts_i == NULL) {
61  return 0;
62  }
63  exts_i = tmp_exts_i;
64  }
65 
66  if (exts_i == NULL) {
67  return 0;
68  }
69 
70  for(index = 0; index < (unsigned)num_exts_i; index++) {
71  const char *gl_str_tmp = (const char*)glGetStringi(GL_EXTENSIONS, index);
72  size_t len = strlen(gl_str_tmp);
73 
74  char *local_str = (char*)malloc((len+1) * sizeof(char));
75  if(local_str != NULL) {
76  memcpy(local_str, gl_str_tmp, (len+1) * sizeof(char));
77  }
78  exts_i[index] = local_str;
79  }
80  }
81 #endif
82  return 1;
83 }
84 
85 static void free_exts(void) {
86  if (exts_i != NULL) {
87  int index;
88  for(index = 0; index < num_exts_i; index++) {
89  free((char *)exts_i[index]);
90  }
91  free((void *)exts_i);
92  exts_i = NULL;
93  }
94 }
95 
96 static int has_ext(const char *ext) {
97 #ifdef _GLAD_IS_SOME_NEW_VERSION
98  if(max_loaded_major < 3) {
99 #endif
100  const char *extensions;
101  const char *loc;
102  const char *terminator;
103  extensions = exts;
104  if(extensions == NULL || ext == NULL) {
105  return 0;
106  }
107 
108  while(1) {
109  loc = strstr(extensions, ext);
110  if(loc == NULL) {
111  return 0;
112  }
113 
114  terminator = loc + strlen(ext);
115  if((loc == extensions || *(loc - 1) == ' ') &&
116  (*terminator == ' ' || *terminator == '\0')) {
117  return 1;
118  }
119  extensions = terminator;
120  }
121 #ifdef _GLAD_IS_SOME_NEW_VERSION
122  } else {
123  int index;
124  if(exts_i == NULL) return 0;
125  for(index = 0; index < num_exts_i; index++) {
126  const char *e = exts_i[index];
127 
128  if(exts_i[index] != NULL && strcmp(e, ext) == 0) {
129  return 1;
130  }
131  }
132  }
133 #endif
134 
135  return 0;
136 }
148 PFNGLACCUMPROC glad_glAccum = NULL;
149 PFNGLACTIVETEXTUREPROC glad_glActiveTexture = NULL;
150 PFNGLALPHAFUNCPROC glad_glAlphaFunc = NULL;
151 PFNGLARETEXTURESRESIDENTPROC glad_glAreTexturesResident = NULL;
152 PFNGLARRAYELEMENTPROC glad_glArrayElement = NULL;
153 PFNGLATTACHSHADERPROC glad_glAttachShader = NULL;
154 PFNGLBEGINPROC glad_glBegin = NULL;
155 PFNGLBEGINCONDITIONALRENDERPROC glad_glBeginConditionalRender = NULL;
156 PFNGLBEGINQUERYPROC glad_glBeginQuery = NULL;
157 PFNGLBEGINTRANSFORMFEEDBACKPROC glad_glBeginTransformFeedback = NULL;
158 PFNGLBINDATTRIBLOCATIONPROC glad_glBindAttribLocation = NULL;
159 PFNGLBINDBUFFERPROC glad_glBindBuffer = NULL;
160 PFNGLBINDBUFFERBASEPROC glad_glBindBufferBase = NULL;
161 PFNGLBINDBUFFERRANGEPROC glad_glBindBufferRange = NULL;
162 PFNGLBINDFRAGDATALOCATIONPROC glad_glBindFragDataLocation = NULL;
163 PFNGLBINDFRAMEBUFFERPROC glad_glBindFramebuffer = NULL;
164 PFNGLBINDRENDERBUFFERPROC glad_glBindRenderbuffer = NULL;
165 PFNGLBINDTEXTUREPROC glad_glBindTexture = NULL;
166 PFNGLBINDVERTEXARRAYPROC glad_glBindVertexArray = NULL;
167 PFNGLBITMAPPROC glad_glBitmap = NULL;
168 PFNGLBLENDCOLORPROC glad_glBlendColor = NULL;
169 PFNGLBLENDEQUATIONPROC glad_glBlendEquation = NULL;
170 PFNGLBLENDEQUATIONSEPARATEPROC glad_glBlendEquationSeparate = NULL;
171 PFNGLBLENDFUNCPROC glad_glBlendFunc = NULL;
172 PFNGLBLENDFUNCSEPARATEPROC glad_glBlendFuncSeparate = NULL;
173 PFNGLBLITFRAMEBUFFERPROC glad_glBlitFramebuffer = NULL;
174 PFNGLBUFFERDATAPROC glad_glBufferData = NULL;
175 PFNGLBUFFERSUBDATAPROC glad_glBufferSubData = NULL;
176 PFNGLCALLLISTPROC glad_glCallList = NULL;
177 PFNGLCALLLISTSPROC glad_glCallLists = NULL;
178 PFNGLCHECKFRAMEBUFFERSTATUSPROC glad_glCheckFramebufferStatus = NULL;
179 PFNGLCLAMPCOLORPROC glad_glClampColor = NULL;
181 PFNGLCLEARACCUMPROC glad_glClearAccum = NULL;
182 PFNGLCLEARBUFFERFIPROC glad_glClearBufferfi = NULL;
183 PFNGLCLEARBUFFERFVPROC glad_glClearBufferfv = NULL;
184 PFNGLCLEARBUFFERIVPROC glad_glClearBufferiv = NULL;
185 PFNGLCLEARBUFFERUIVPROC glad_glClearBufferuiv = NULL;
186 PFNGLCLEARCOLORPROC glad_glClearColor = NULL;
187 PFNGLCLEARDEPTHPROC glad_glClearDepth = NULL;
188 PFNGLCLEARINDEXPROC glad_glClearIndex = NULL;
189 PFNGLCLEARSTENCILPROC glad_glClearStencil = NULL;
190 PFNGLCLIENTACTIVETEXTUREPROC glad_glClientActiveTexture = NULL;
191 PFNGLCLIENTWAITSYNCPROC glad_glClientWaitSync = NULL;
192 PFNGLCLIPPLANEPROC glad_glClipPlane = NULL;
193 PFNGLCOLOR3BPROC glad_glColor3b = NULL;
194 PFNGLCOLOR3BVPROC glad_glColor3bv = NULL;
195 PFNGLCOLOR3DPROC glad_glColor3d = NULL;
196 PFNGLCOLOR3DVPROC glad_glColor3dv = NULL;
197 PFNGLCOLOR3FPROC glad_glColor3f = NULL;
198 PFNGLCOLOR3FVPROC glad_glColor3fv = NULL;
199 PFNGLCOLOR3IPROC glad_glColor3i = NULL;
200 PFNGLCOLOR3IVPROC glad_glColor3iv = NULL;
201 PFNGLCOLOR3SPROC glad_glColor3s = NULL;
202 PFNGLCOLOR3SVPROC glad_glColor3sv = NULL;
203 PFNGLCOLOR3UBPROC glad_glColor3ub = NULL;
204 PFNGLCOLOR3UBVPROC glad_glColor3ubv = NULL;
205 PFNGLCOLOR3UIPROC glad_glColor3ui = NULL;
206 PFNGLCOLOR3UIVPROC glad_glColor3uiv = NULL;
207 PFNGLCOLOR3USPROC glad_glColor3us = NULL;
208 PFNGLCOLOR3USVPROC glad_glColor3usv = NULL;
209 PFNGLCOLOR4BPROC glad_glColor4b = NULL;
210 PFNGLCOLOR4BVPROC glad_glColor4bv = NULL;
211 PFNGLCOLOR4DPROC glad_glColor4d = NULL;
212 PFNGLCOLOR4DVPROC glad_glColor4dv = NULL;
213 PFNGLCOLOR4FPROC glad_glColor4f = NULL;
214 PFNGLCOLOR4FVPROC glad_glColor4fv = NULL;
215 PFNGLCOLOR4IPROC glad_glColor4i = NULL;
216 PFNGLCOLOR4IVPROC glad_glColor4iv = NULL;
217 PFNGLCOLOR4SPROC glad_glColor4s = NULL;
218 PFNGLCOLOR4SVPROC glad_glColor4sv = NULL;
219 PFNGLCOLOR4UBPROC glad_glColor4ub = NULL;
220 PFNGLCOLOR4UBVPROC glad_glColor4ubv = NULL;
221 PFNGLCOLOR4UIPROC glad_glColor4ui = NULL;
222 PFNGLCOLOR4UIVPROC glad_glColor4uiv = NULL;
223 PFNGLCOLOR4USPROC glad_glColor4us = NULL;
224 PFNGLCOLOR4USVPROC glad_glColor4usv = NULL;
225 PFNGLCOLORMASKPROC glad_glColorMask = NULL;
226 PFNGLCOLORMASKIPROC glad_glColorMaski = NULL;
227 PFNGLCOLORMATERIALPROC glad_glColorMaterial = NULL;
228 PFNGLCOLORPOINTERPROC glad_glColorPointer = NULL;
229 PFNGLCOMPILESHADERPROC glad_glCompileShader = NULL;
230 PFNGLCOMPRESSEDTEXIMAGE1DPROC glad_glCompressedTexImage1D = NULL;
231 PFNGLCOMPRESSEDTEXIMAGE2DPROC glad_glCompressedTexImage2D = NULL;
232 PFNGLCOMPRESSEDTEXIMAGE3DPROC glad_glCompressedTexImage3D = NULL;
233 PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC glad_glCompressedTexSubImage1D = NULL;
234 PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glad_glCompressedTexSubImage2D = NULL;
235 PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC glad_glCompressedTexSubImage3D = NULL;
236 PFNGLCOPYBUFFERSUBDATAPROC glad_glCopyBufferSubData = NULL;
237 PFNGLCOPYPIXELSPROC glad_glCopyPixels = NULL;
238 PFNGLCOPYTEXIMAGE1DPROC glad_glCopyTexImage1D = NULL;
239 PFNGLCOPYTEXIMAGE2DPROC glad_glCopyTexImage2D = NULL;
240 PFNGLCOPYTEXSUBIMAGE1DPROC glad_glCopyTexSubImage1D = NULL;
241 PFNGLCOPYTEXSUBIMAGE2DPROC glad_glCopyTexSubImage2D = NULL;
242 PFNGLCOPYTEXSUBIMAGE3DPROC glad_glCopyTexSubImage3D = NULL;
243 PFNGLCREATEPROGRAMPROC glad_glCreateProgram = NULL;
244 PFNGLCREATESHADERPROC glad_glCreateShader = NULL;
245 PFNGLCULLFACEPROC glad_glCullFace = NULL;
246 PFNGLDELETEBUFFERSPROC glad_glDeleteBuffers = NULL;
247 PFNGLDELETEFRAMEBUFFERSPROC glad_glDeleteFramebuffers = NULL;
248 PFNGLDELETELISTSPROC glad_glDeleteLists = NULL;
249 PFNGLDELETEPROGRAMPROC glad_glDeleteProgram = NULL;
250 PFNGLDELETEQUERIESPROC glad_glDeleteQueries = NULL;
251 PFNGLDELETERENDERBUFFERSPROC glad_glDeleteRenderbuffers = NULL;
252 PFNGLDELETESHADERPROC glad_glDeleteShader = NULL;
253 PFNGLDELETESYNCPROC glad_glDeleteSync = NULL;
254 PFNGLDELETETEXTURESPROC glad_glDeleteTextures = NULL;
255 PFNGLDELETEVERTEXARRAYSPROC glad_glDeleteVertexArrays = NULL;
256 PFNGLDEPTHFUNCPROC glad_glDepthFunc = NULL;
257 PFNGLDEPTHMASKPROC glad_glDepthMask = NULL;
258 PFNGLDEPTHRANGEPROC glad_glDepthRange = NULL;
259 PFNGLDETACHSHADERPROC glad_glDetachShader = NULL;
260 PFNGLDISABLEPROC glad_glDisable = NULL;
261 PFNGLDISABLECLIENTSTATEPROC glad_glDisableClientState = NULL;
262 PFNGLDISABLEVERTEXATTRIBARRAYPROC glad_glDisableVertexAttribArray = NULL;
263 PFNGLDISABLEIPROC glad_glDisablei = NULL;
264 PFNGLDRAWARRAYSPROC glad_glDrawArrays = NULL;
265 PFNGLDRAWARRAYSINSTANCEDPROC glad_glDrawArraysInstanced = NULL;
266 PFNGLDRAWBUFFERPROC glad_glDrawBuffer = NULL;
267 PFNGLDRAWBUFFERSPROC glad_glDrawBuffers = NULL;
268 PFNGLDRAWELEMENTSPROC glad_glDrawElements = NULL;
269 PFNGLDRAWELEMENTSBASEVERTEXPROC glad_glDrawElementsBaseVertex = NULL;
270 PFNGLDRAWELEMENTSINSTANCEDPROC glad_glDrawElementsInstanced = NULL;
271 PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC glad_glDrawElementsInstancedBaseVertex = NULL;
272 PFNGLDRAWPIXELSPROC glad_glDrawPixels = NULL;
273 PFNGLDRAWRANGEELEMENTSPROC glad_glDrawRangeElements = NULL;
274 PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC glad_glDrawRangeElementsBaseVertex = NULL;
275 PFNGLEDGEFLAGPROC glad_glEdgeFlag = NULL;
276 PFNGLEDGEFLAGPOINTERPROC glad_glEdgeFlagPointer = NULL;
277 PFNGLEDGEFLAGVPROC glad_glEdgeFlagv = NULL;
278 PFNGLENABLEPROC glad_glEnable = NULL;
279 PFNGLENABLECLIENTSTATEPROC glad_glEnableClientState = NULL;
280 PFNGLENABLEVERTEXATTRIBARRAYPROC glad_glEnableVertexAttribArray = NULL;
281 PFNGLENABLEIPROC glad_glEnablei = NULL;
282 PFNGLENDPROC glad_glEnd = NULL;
283 PFNGLENDCONDITIONALRENDERPROC glad_glEndConditionalRender = NULL;
284 PFNGLENDLISTPROC glad_glEndList = NULL;
285 PFNGLENDQUERYPROC glad_glEndQuery = NULL;
286 PFNGLENDTRANSFORMFEEDBACKPROC glad_glEndTransformFeedback = NULL;
287 PFNGLEVALCOORD1DPROC glad_glEvalCoord1d = NULL;
288 PFNGLEVALCOORD1DVPROC glad_glEvalCoord1dv = NULL;
289 PFNGLEVALCOORD1FPROC glad_glEvalCoord1f = NULL;
290 PFNGLEVALCOORD1FVPROC glad_glEvalCoord1fv = NULL;
291 PFNGLEVALCOORD2DPROC glad_glEvalCoord2d = NULL;
292 PFNGLEVALCOORD2DVPROC glad_glEvalCoord2dv = NULL;
293 PFNGLEVALCOORD2FPROC glad_glEvalCoord2f = NULL;
294 PFNGLEVALCOORD2FVPROC glad_glEvalCoord2fv = NULL;
295 PFNGLEVALMESH1PROC glad_glEvalMesh1 = NULL;
296 PFNGLEVALMESH2PROC glad_glEvalMesh2 = NULL;
297 PFNGLEVALPOINT1PROC glad_glEvalPoint1 = NULL;
298 PFNGLEVALPOINT2PROC glad_glEvalPoint2 = NULL;
299 PFNGLFEEDBACKBUFFERPROC glad_glFeedbackBuffer = NULL;
300 PFNGLFENCESYNCPROC glad_glFenceSync = NULL;
301 PFNGLFINISHPROC glad_glFinish = NULL;
302 PFNGLFLUSHPROC glad_glFlush = NULL;
303 PFNGLFLUSHMAPPEDBUFFERRANGEPROC glad_glFlushMappedBufferRange = NULL;
304 PFNGLFOGCOORDPOINTERPROC glad_glFogCoordPointer = NULL;
305 PFNGLFOGCOORDDPROC glad_glFogCoordd = NULL;
306 PFNGLFOGCOORDDVPROC glad_glFogCoorddv = NULL;
307 PFNGLFOGCOORDFPROC glad_glFogCoordf = NULL;
308 PFNGLFOGCOORDFVPROC glad_glFogCoordfv = NULL;
309 PFNGLFOGFPROC glad_glFogf = NULL;
310 PFNGLFOGFVPROC glad_glFogfv = NULL;
311 PFNGLFOGIPROC glad_glFogi = NULL;
312 PFNGLFOGIVPROC glad_glFogiv = NULL;
313 PFNGLFRAMEBUFFERRENDERBUFFERPROC glad_glFramebufferRenderbuffer = NULL;
314 PFNGLFRAMEBUFFERTEXTUREPROC glad_glFramebufferTexture = NULL;
315 PFNGLFRAMEBUFFERTEXTURE1DPROC glad_glFramebufferTexture1D = NULL;
316 PFNGLFRAMEBUFFERTEXTURE2DPROC glad_glFramebufferTexture2D = NULL;
317 PFNGLFRAMEBUFFERTEXTURE3DPROC glad_glFramebufferTexture3D = NULL;
318 PFNGLFRAMEBUFFERTEXTURELAYERPROC glad_glFramebufferTextureLayer = NULL;
319 PFNGLFRONTFACEPROC glad_glFrontFace = NULL;
320 PFNGLFRUSTUMPROC glad_glFrustum = NULL;
321 PFNGLGENBUFFERSPROC glad_glGenBuffers = NULL;
322 PFNGLGENFRAMEBUFFERSPROC glad_glGenFramebuffers = NULL;
323 PFNGLGENLISTSPROC glad_glGenLists = NULL;
324 PFNGLGENQUERIESPROC glad_glGenQueries = NULL;
325 PFNGLGENRENDERBUFFERSPROC glad_glGenRenderbuffers = NULL;
326 PFNGLGENTEXTURESPROC glad_glGenTextures = NULL;
327 PFNGLGENVERTEXARRAYSPROC glad_glGenVertexArrays = NULL;
328 PFNGLGENERATEMIPMAPPROC glad_glGenerateMipmap = NULL;
329 PFNGLGETACTIVEATTRIBPROC glad_glGetActiveAttrib = NULL;
330 PFNGLGETACTIVEUNIFORMPROC glad_glGetActiveUniform = NULL;
331 PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC glad_glGetActiveUniformBlockName = NULL;
332 PFNGLGETACTIVEUNIFORMBLOCKIVPROC glad_glGetActiveUniformBlockiv = NULL;
333 PFNGLGETACTIVEUNIFORMNAMEPROC glad_glGetActiveUniformName = NULL;
334 PFNGLGETACTIVEUNIFORMSIVPROC glad_glGetActiveUniformsiv = NULL;
335 PFNGLGETATTACHEDSHADERSPROC glad_glGetAttachedShaders = NULL;
336 PFNGLGETATTRIBLOCATIONPROC glad_glGetAttribLocation = NULL;
337 PFNGLGETBOOLEANI_VPROC glad_glGetBooleani_v = NULL;
338 PFNGLGETBOOLEANVPROC glad_glGetBooleanv = NULL;
339 PFNGLGETBUFFERPARAMETERI64VPROC glad_glGetBufferParameteri64v = NULL;
340 PFNGLGETBUFFERPARAMETERIVPROC glad_glGetBufferParameteriv = NULL;
341 PFNGLGETBUFFERPOINTERVPROC glad_glGetBufferPointerv = NULL;
342 PFNGLGETBUFFERSUBDATAPROC glad_glGetBufferSubData = NULL;
343 PFNGLGETCLIPPLANEPROC glad_glGetClipPlane = NULL;
344 PFNGLGETCOMPRESSEDTEXIMAGEPROC glad_glGetCompressedTexImage = NULL;
345 PFNGLGETDOUBLEVPROC glad_glGetDoublev = NULL;
346 PFNGLGETERRORPROC glad_glGetError = NULL;
347 PFNGLGETFLOATVPROC glad_glGetFloatv = NULL;
348 PFNGLGETFRAGDATALOCATIONPROC glad_glGetFragDataLocation = NULL;
349 PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glad_glGetFramebufferAttachmentParameteriv = NULL;
350 PFNGLGETINTEGER64I_VPROC glad_glGetInteger64i_v = NULL;
351 PFNGLGETINTEGER64VPROC glad_glGetInteger64v = NULL;
352 PFNGLGETINTEGERI_VPROC glad_glGetIntegeri_v = NULL;
354 PFNGLGETLIGHTFVPROC glad_glGetLightfv = NULL;
355 PFNGLGETLIGHTIVPROC glad_glGetLightiv = NULL;
356 PFNGLGETMAPDVPROC glad_glGetMapdv = NULL;
357 PFNGLGETMAPFVPROC glad_glGetMapfv = NULL;
358 PFNGLGETMAPIVPROC glad_glGetMapiv = NULL;
359 PFNGLGETMATERIALFVPROC glad_glGetMaterialfv = NULL;
360 PFNGLGETMATERIALIVPROC glad_glGetMaterialiv = NULL;
361 PFNGLGETMULTISAMPLEFVPROC glad_glGetMultisamplefv = NULL;
362 PFNGLGETPIXELMAPFVPROC glad_glGetPixelMapfv = NULL;
363 PFNGLGETPIXELMAPUIVPROC glad_glGetPixelMapuiv = NULL;
364 PFNGLGETPIXELMAPUSVPROC glad_glGetPixelMapusv = NULL;
365 PFNGLGETPOINTERVPROC glad_glGetPointerv = NULL;
366 PFNGLGETPOLYGONSTIPPLEPROC glad_glGetPolygonStipple = NULL;
367 PFNGLGETPROGRAMINFOLOGPROC glad_glGetProgramInfoLog = NULL;
368 PFNGLGETPROGRAMIVPROC glad_glGetProgramiv = NULL;
369 PFNGLGETQUERYOBJECTIVPROC glad_glGetQueryObjectiv = NULL;
370 PFNGLGETQUERYOBJECTUIVPROC glad_glGetQueryObjectuiv = NULL;
371 PFNGLGETQUERYIVPROC glad_glGetQueryiv = NULL;
372 PFNGLGETRENDERBUFFERPARAMETERIVPROC glad_glGetRenderbufferParameteriv = NULL;
373 PFNGLGETSHADERINFOLOGPROC glad_glGetShaderInfoLog = NULL;
374 PFNGLGETSHADERSOURCEPROC glad_glGetShaderSource = NULL;
375 PFNGLGETSHADERIVPROC glad_glGetShaderiv = NULL;
378 PFNGLGETSYNCIVPROC glad_glGetSynciv = NULL;
379 PFNGLGETTEXENVFVPROC glad_glGetTexEnvfv = NULL;
380 PFNGLGETTEXENVIVPROC glad_glGetTexEnviv = NULL;
381 PFNGLGETTEXGENDVPROC glad_glGetTexGendv = NULL;
382 PFNGLGETTEXGENFVPROC glad_glGetTexGenfv = NULL;
383 PFNGLGETTEXGENIVPROC glad_glGetTexGeniv = NULL;
384 PFNGLGETTEXIMAGEPROC glad_glGetTexImage = NULL;
385 PFNGLGETTEXLEVELPARAMETERFVPROC glad_glGetTexLevelParameterfv = NULL;
386 PFNGLGETTEXLEVELPARAMETERIVPROC glad_glGetTexLevelParameteriv = NULL;
387 PFNGLGETTEXPARAMETERIIVPROC glad_glGetTexParameterIiv = NULL;
388 PFNGLGETTEXPARAMETERIUIVPROC glad_glGetTexParameterIuiv = NULL;
389 PFNGLGETTEXPARAMETERFVPROC glad_glGetTexParameterfv = NULL;
390 PFNGLGETTEXPARAMETERIVPROC glad_glGetTexParameteriv = NULL;
391 PFNGLGETTRANSFORMFEEDBACKVARYINGPROC glad_glGetTransformFeedbackVarying = NULL;
392 PFNGLGETUNIFORMBLOCKINDEXPROC glad_glGetUniformBlockIndex = NULL;
393 PFNGLGETUNIFORMINDICESPROC glad_glGetUniformIndices = NULL;
394 PFNGLGETUNIFORMLOCATIONPROC glad_glGetUniformLocation = NULL;
395 PFNGLGETUNIFORMFVPROC glad_glGetUniformfv = NULL;
396 PFNGLGETUNIFORMIVPROC glad_glGetUniformiv = NULL;
397 PFNGLGETUNIFORMUIVPROC glad_glGetUniformuiv = NULL;
398 PFNGLGETVERTEXATTRIBIIVPROC glad_glGetVertexAttribIiv = NULL;
399 PFNGLGETVERTEXATTRIBIUIVPROC glad_glGetVertexAttribIuiv = NULL;
400 PFNGLGETVERTEXATTRIBPOINTERVPROC glad_glGetVertexAttribPointerv = NULL;
401 PFNGLGETVERTEXATTRIBDVPROC glad_glGetVertexAttribdv = NULL;
402 PFNGLGETVERTEXATTRIBFVPROC glad_glGetVertexAttribfv = NULL;
403 PFNGLGETVERTEXATTRIBIVPROC glad_glGetVertexAttribiv = NULL;
404 PFNGLHINTPROC glad_glHint = NULL;
405 PFNGLINDEXMASKPROC glad_glIndexMask = NULL;
406 PFNGLINDEXPOINTERPROC glad_glIndexPointer = NULL;
407 PFNGLINDEXDPROC glad_glIndexd = NULL;
408 PFNGLINDEXDVPROC glad_glIndexdv = NULL;
409 PFNGLINDEXFPROC glad_glIndexf = NULL;
410 PFNGLINDEXFVPROC glad_glIndexfv = NULL;
411 PFNGLINDEXIPROC glad_glIndexi = NULL;
412 PFNGLINDEXIVPROC glad_glIndexiv = NULL;
413 PFNGLINDEXSPROC glad_glIndexs = NULL;
414 PFNGLINDEXSVPROC glad_glIndexsv = NULL;
415 PFNGLINDEXUBPROC glad_glIndexub = NULL;
416 PFNGLINDEXUBVPROC glad_glIndexubv = NULL;
417 PFNGLINITNAMESPROC glad_glInitNames = NULL;
418 PFNGLINTERLEAVEDARRAYSPROC glad_glInterleavedArrays = NULL;
419 PFNGLISBUFFERPROC glad_glIsBuffer = NULL;
420 PFNGLISENABLEDPROC glad_glIsEnabled = NULL;
421 PFNGLISENABLEDIPROC glad_glIsEnabledi = NULL;
422 PFNGLISFRAMEBUFFERPROC glad_glIsFramebuffer = NULL;
423 PFNGLISLISTPROC glad_glIsList = NULL;
424 PFNGLISPROGRAMPROC glad_glIsProgram = NULL;
425 PFNGLISQUERYPROC glad_glIsQuery = NULL;
426 PFNGLISRENDERBUFFERPROC glad_glIsRenderbuffer = NULL;
427 PFNGLISSHADERPROC glad_glIsShader = NULL;
428 PFNGLISSYNCPROC glad_glIsSync = NULL;
429 PFNGLISTEXTUREPROC glad_glIsTexture = NULL;
430 PFNGLISVERTEXARRAYPROC glad_glIsVertexArray = NULL;
431 PFNGLLIGHTMODELFPROC glad_glLightModelf = NULL;
432 PFNGLLIGHTMODELFVPROC glad_glLightModelfv = NULL;
433 PFNGLLIGHTMODELIPROC glad_glLightModeli = NULL;
434 PFNGLLIGHTMODELIVPROC glad_glLightModeliv = NULL;
435 PFNGLLIGHTFPROC glad_glLightf = NULL;
436 PFNGLLIGHTFVPROC glad_glLightfv = NULL;
437 PFNGLLIGHTIPROC glad_glLighti = NULL;
438 PFNGLLIGHTIVPROC glad_glLightiv = NULL;
439 PFNGLLINESTIPPLEPROC glad_glLineStipple = NULL;
440 PFNGLLINEWIDTHPROC glad_glLineWidth = NULL;
441 PFNGLLINKPROGRAMPROC glad_glLinkProgram = NULL;
442 PFNGLLISTBASEPROC glad_glListBase = NULL;
443 PFNGLLOADIDENTITYPROC glad_glLoadIdentity = NULL;
444 PFNGLLOADMATRIXDPROC glad_glLoadMatrixd = NULL;
445 PFNGLLOADMATRIXFPROC glad_glLoadMatrixf = NULL;
446 PFNGLLOADNAMEPROC glad_glLoadName = NULL;
447 PFNGLLOADTRANSPOSEMATRIXDPROC glad_glLoadTransposeMatrixd = NULL;
448 PFNGLLOADTRANSPOSEMATRIXFPROC glad_glLoadTransposeMatrixf = NULL;
449 PFNGLLOGICOPPROC glad_glLogicOp = NULL;
450 PFNGLMAP1DPROC glad_glMap1d = NULL;
451 PFNGLMAP1FPROC glad_glMap1f = NULL;
452 PFNGLMAP2DPROC glad_glMap2d = NULL;
453 PFNGLMAP2FPROC glad_glMap2f = NULL;
456 PFNGLMAPGRID1DPROC glad_glMapGrid1d = NULL;
457 PFNGLMAPGRID1FPROC glad_glMapGrid1f = NULL;
458 PFNGLMAPGRID2DPROC glad_glMapGrid2d = NULL;
459 PFNGLMAPGRID2FPROC glad_glMapGrid2f = NULL;
460 PFNGLMATERIALFPROC glad_glMaterialf = NULL;
461 PFNGLMATERIALFVPROC glad_glMaterialfv = NULL;
462 PFNGLMATERIALIPROC glad_glMateriali = NULL;
463 PFNGLMATERIALIVPROC glad_glMaterialiv = NULL;
464 PFNGLMATRIXMODEPROC glad_glMatrixMode = NULL;
465 PFNGLMULTMATRIXDPROC glad_glMultMatrixd = NULL;
466 PFNGLMULTMATRIXFPROC glad_glMultMatrixf = NULL;
467 PFNGLMULTTRANSPOSEMATRIXDPROC glad_glMultTransposeMatrixd = NULL;
468 PFNGLMULTTRANSPOSEMATRIXFPROC glad_glMultTransposeMatrixf = NULL;
469 PFNGLMULTIDRAWARRAYSPROC glad_glMultiDrawArrays = NULL;
470 PFNGLMULTIDRAWELEMENTSPROC glad_glMultiDrawElements = NULL;
471 PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC glad_glMultiDrawElementsBaseVertex = NULL;
472 PFNGLMULTITEXCOORD1DPROC glad_glMultiTexCoord1d = NULL;
473 PFNGLMULTITEXCOORD1DVPROC glad_glMultiTexCoord1dv = NULL;
474 PFNGLMULTITEXCOORD1FPROC glad_glMultiTexCoord1f = NULL;
475 PFNGLMULTITEXCOORD1FVPROC glad_glMultiTexCoord1fv = NULL;
476 PFNGLMULTITEXCOORD1IPROC glad_glMultiTexCoord1i = NULL;
477 PFNGLMULTITEXCOORD1IVPROC glad_glMultiTexCoord1iv = NULL;
478 PFNGLMULTITEXCOORD1SPROC glad_glMultiTexCoord1s = NULL;
479 PFNGLMULTITEXCOORD1SVPROC glad_glMultiTexCoord1sv = NULL;
480 PFNGLMULTITEXCOORD2DPROC glad_glMultiTexCoord2d = NULL;
481 PFNGLMULTITEXCOORD2DVPROC glad_glMultiTexCoord2dv = NULL;
482 PFNGLMULTITEXCOORD2FPROC glad_glMultiTexCoord2f = NULL;
483 PFNGLMULTITEXCOORD2FVPROC glad_glMultiTexCoord2fv = NULL;
484 PFNGLMULTITEXCOORD2IPROC glad_glMultiTexCoord2i = NULL;
485 PFNGLMULTITEXCOORD2IVPROC glad_glMultiTexCoord2iv = NULL;
486 PFNGLMULTITEXCOORD2SPROC glad_glMultiTexCoord2s = NULL;
487 PFNGLMULTITEXCOORD2SVPROC glad_glMultiTexCoord2sv = NULL;
488 PFNGLMULTITEXCOORD3DPROC glad_glMultiTexCoord3d = NULL;
489 PFNGLMULTITEXCOORD3DVPROC glad_glMultiTexCoord3dv = NULL;
490 PFNGLMULTITEXCOORD3FPROC glad_glMultiTexCoord3f = NULL;
491 PFNGLMULTITEXCOORD3FVPROC glad_glMultiTexCoord3fv = NULL;
492 PFNGLMULTITEXCOORD3IPROC glad_glMultiTexCoord3i = NULL;
493 PFNGLMULTITEXCOORD3IVPROC glad_glMultiTexCoord3iv = NULL;
494 PFNGLMULTITEXCOORD3SPROC glad_glMultiTexCoord3s = NULL;
495 PFNGLMULTITEXCOORD3SVPROC glad_glMultiTexCoord3sv = NULL;
496 PFNGLMULTITEXCOORD4DPROC glad_glMultiTexCoord4d = NULL;
497 PFNGLMULTITEXCOORD4DVPROC glad_glMultiTexCoord4dv = NULL;
498 PFNGLMULTITEXCOORD4FPROC glad_glMultiTexCoord4f = NULL;
499 PFNGLMULTITEXCOORD4FVPROC glad_glMultiTexCoord4fv = NULL;
500 PFNGLMULTITEXCOORD4IPROC glad_glMultiTexCoord4i = NULL;
501 PFNGLMULTITEXCOORD4IVPROC glad_glMultiTexCoord4iv = NULL;
502 PFNGLMULTITEXCOORD4SPROC glad_glMultiTexCoord4s = NULL;
503 PFNGLMULTITEXCOORD4SVPROC glad_glMultiTexCoord4sv = NULL;
504 PFNGLNEWLISTPROC glad_glNewList = NULL;
505 PFNGLNORMAL3BPROC glad_glNormal3b = NULL;
506 PFNGLNORMAL3BVPROC glad_glNormal3bv = NULL;
507 PFNGLNORMAL3DPROC glad_glNormal3d = NULL;
508 PFNGLNORMAL3DVPROC glad_glNormal3dv = NULL;
509 PFNGLNORMAL3FPROC glad_glNormal3f = NULL;
510 PFNGLNORMAL3FVPROC glad_glNormal3fv = NULL;
511 PFNGLNORMAL3IPROC glad_glNormal3i = NULL;
512 PFNGLNORMAL3IVPROC glad_glNormal3iv = NULL;
513 PFNGLNORMAL3SPROC glad_glNormal3s = NULL;
514 PFNGLNORMAL3SVPROC glad_glNormal3sv = NULL;
515 PFNGLNORMALPOINTERPROC glad_glNormalPointer = NULL;
516 PFNGLORTHOPROC glad_glOrtho = NULL;
517 PFNGLPASSTHROUGHPROC glad_glPassThrough = NULL;
518 PFNGLPIXELMAPFVPROC glad_glPixelMapfv = NULL;
519 PFNGLPIXELMAPUIVPROC glad_glPixelMapuiv = NULL;
520 PFNGLPIXELMAPUSVPROC glad_glPixelMapusv = NULL;
521 PFNGLPIXELSTOREFPROC glad_glPixelStoref = NULL;
522 PFNGLPIXELSTOREIPROC glad_glPixelStorei = NULL;
523 PFNGLPIXELTRANSFERFPROC glad_glPixelTransferf = NULL;
524 PFNGLPIXELTRANSFERIPROC glad_glPixelTransferi = NULL;
525 PFNGLPIXELZOOMPROC glad_glPixelZoom = NULL;
526 PFNGLPOINTPARAMETERFPROC glad_glPointParameterf = NULL;
527 PFNGLPOINTPARAMETERFVPROC glad_glPointParameterfv = NULL;
528 PFNGLPOINTPARAMETERIPROC glad_glPointParameteri = NULL;
529 PFNGLPOINTPARAMETERIVPROC glad_glPointParameteriv = NULL;
530 PFNGLPOINTSIZEPROC glad_glPointSize = NULL;
531 PFNGLPOLYGONMODEPROC glad_glPolygonMode = NULL;
532 PFNGLPOLYGONOFFSETPROC glad_glPolygonOffset = NULL;
533 PFNGLPOLYGONSTIPPLEPROC glad_glPolygonStipple = NULL;
534 PFNGLPOPATTRIBPROC glad_glPopAttrib = NULL;
535 PFNGLPOPCLIENTATTRIBPROC glad_glPopClientAttrib = NULL;
536 PFNGLPOPMATRIXPROC glad_glPopMatrix = NULL;
537 PFNGLPOPNAMEPROC glad_glPopName = NULL;
538 PFNGLPRIMITIVERESTARTINDEXPROC glad_glPrimitiveRestartIndex = NULL;
539 PFNGLPRIORITIZETEXTURESPROC glad_glPrioritizeTextures = NULL;
540 PFNGLPROVOKINGVERTEXPROC glad_glProvokingVertex = NULL;
541 PFNGLPUSHATTRIBPROC glad_glPushAttrib = NULL;
542 PFNGLPUSHCLIENTATTRIBPROC glad_glPushClientAttrib = NULL;
543 PFNGLPUSHMATRIXPROC glad_glPushMatrix = NULL;
544 PFNGLPUSHNAMEPROC glad_glPushName = NULL;
545 PFNGLRASTERPOS2DPROC glad_glRasterPos2d = NULL;
546 PFNGLRASTERPOS2DVPROC glad_glRasterPos2dv = NULL;
547 PFNGLRASTERPOS2FPROC glad_glRasterPos2f = NULL;
548 PFNGLRASTERPOS2FVPROC glad_glRasterPos2fv = NULL;
549 PFNGLRASTERPOS2IPROC glad_glRasterPos2i = NULL;
550 PFNGLRASTERPOS2IVPROC glad_glRasterPos2iv = NULL;
551 PFNGLRASTERPOS2SPROC glad_glRasterPos2s = NULL;
552 PFNGLRASTERPOS2SVPROC glad_glRasterPos2sv = NULL;
553 PFNGLRASTERPOS3DPROC glad_glRasterPos3d = NULL;
554 PFNGLRASTERPOS3DVPROC glad_glRasterPos3dv = NULL;
555 PFNGLRASTERPOS3FPROC glad_glRasterPos3f = NULL;
556 PFNGLRASTERPOS3FVPROC glad_glRasterPos3fv = NULL;
557 PFNGLRASTERPOS3IPROC glad_glRasterPos3i = NULL;
558 PFNGLRASTERPOS3IVPROC glad_glRasterPos3iv = NULL;
559 PFNGLRASTERPOS3SPROC glad_glRasterPos3s = NULL;
560 PFNGLRASTERPOS3SVPROC glad_glRasterPos3sv = NULL;
561 PFNGLRASTERPOS4DPROC glad_glRasterPos4d = NULL;
562 PFNGLRASTERPOS4DVPROC glad_glRasterPos4dv = NULL;
563 PFNGLRASTERPOS4FPROC glad_glRasterPos4f = NULL;
564 PFNGLRASTERPOS4FVPROC glad_glRasterPos4fv = NULL;
565 PFNGLRASTERPOS4IPROC glad_glRasterPos4i = NULL;
566 PFNGLRASTERPOS4IVPROC glad_glRasterPos4iv = NULL;
567 PFNGLRASTERPOS4SPROC glad_glRasterPos4s = NULL;
568 PFNGLRASTERPOS4SVPROC glad_glRasterPos4sv = NULL;
569 PFNGLREADBUFFERPROC glad_glReadBuffer = NULL;
570 PFNGLREADPIXELSPROC glad_glReadPixels = NULL;
571 PFNGLRECTDPROC glad_glRectd = NULL;
572 PFNGLRECTDVPROC glad_glRectdv = NULL;
573 PFNGLRECTFPROC glad_glRectf = NULL;
574 PFNGLRECTFVPROC glad_glRectfv = NULL;
575 PFNGLRECTIPROC glad_glRecti = NULL;
576 PFNGLRECTIVPROC glad_glRectiv = NULL;
577 PFNGLRECTSPROC glad_glRects = NULL;
578 PFNGLRECTSVPROC glad_glRectsv = NULL;
579 PFNGLRENDERMODEPROC glad_glRenderMode = NULL;
580 PFNGLRENDERBUFFERSTORAGEPROC glad_glRenderbufferStorage = NULL;
581 PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC glad_glRenderbufferStorageMultisample = NULL;
582 PFNGLROTATEDPROC glad_glRotated = NULL;
583 PFNGLROTATEFPROC glad_glRotatef = NULL;
584 PFNGLSAMPLECOVERAGEPROC glad_glSampleCoverage = NULL;
585 PFNGLSAMPLEMASKIPROC glad_glSampleMaski = NULL;
586 PFNGLSCALEDPROC glad_glScaled = NULL;
587 PFNGLSCALEFPROC glad_glScalef = NULL;
588 PFNGLSCISSORPROC glad_glScissor = NULL;
589 PFNGLSECONDARYCOLOR3BPROC glad_glSecondaryColor3b = NULL;
590 PFNGLSECONDARYCOLOR3BVPROC glad_glSecondaryColor3bv = NULL;
591 PFNGLSECONDARYCOLOR3DPROC glad_glSecondaryColor3d = NULL;
592 PFNGLSECONDARYCOLOR3DVPROC glad_glSecondaryColor3dv = NULL;
593 PFNGLSECONDARYCOLOR3FPROC glad_glSecondaryColor3f = NULL;
594 PFNGLSECONDARYCOLOR3FVPROC glad_glSecondaryColor3fv = NULL;
595 PFNGLSECONDARYCOLOR3IPROC glad_glSecondaryColor3i = NULL;
596 PFNGLSECONDARYCOLOR3IVPROC glad_glSecondaryColor3iv = NULL;
597 PFNGLSECONDARYCOLOR3SPROC glad_glSecondaryColor3s = NULL;
598 PFNGLSECONDARYCOLOR3SVPROC glad_glSecondaryColor3sv = NULL;
599 PFNGLSECONDARYCOLOR3UBPROC glad_glSecondaryColor3ub = NULL;
600 PFNGLSECONDARYCOLOR3UBVPROC glad_glSecondaryColor3ubv = NULL;
601 PFNGLSECONDARYCOLOR3UIPROC glad_glSecondaryColor3ui = NULL;
602 PFNGLSECONDARYCOLOR3UIVPROC glad_glSecondaryColor3uiv = NULL;
603 PFNGLSECONDARYCOLOR3USPROC glad_glSecondaryColor3us = NULL;
604 PFNGLSECONDARYCOLOR3USVPROC glad_glSecondaryColor3usv = NULL;
605 PFNGLSECONDARYCOLORPOINTERPROC glad_glSecondaryColorPointer = NULL;
606 PFNGLSELECTBUFFERPROC glad_glSelectBuffer = NULL;
607 PFNGLSHADEMODELPROC glad_glShadeModel = NULL;
608 PFNGLSHADERSOURCEPROC glad_glShaderSource = NULL;
609 PFNGLSTENCILFUNCPROC glad_glStencilFunc = NULL;
610 PFNGLSTENCILFUNCSEPARATEPROC glad_glStencilFuncSeparate = NULL;
611 PFNGLSTENCILMASKPROC glad_glStencilMask = NULL;
612 PFNGLSTENCILMASKSEPARATEPROC glad_glStencilMaskSeparate = NULL;
613 PFNGLSTENCILOPPROC glad_glStencilOp = NULL;
614 PFNGLSTENCILOPSEPARATEPROC glad_glStencilOpSeparate = NULL;
615 PFNGLTEXBUFFERPROC glad_glTexBuffer = NULL;
616 PFNGLTEXCOORD1DPROC glad_glTexCoord1d = NULL;
617 PFNGLTEXCOORD1DVPROC glad_glTexCoord1dv = NULL;
618 PFNGLTEXCOORD1FPROC glad_glTexCoord1f = NULL;
619 PFNGLTEXCOORD1FVPROC glad_glTexCoord1fv = NULL;
620 PFNGLTEXCOORD1IPROC glad_glTexCoord1i = NULL;
621 PFNGLTEXCOORD1IVPROC glad_glTexCoord1iv = NULL;
622 PFNGLTEXCOORD1SPROC glad_glTexCoord1s = NULL;
623 PFNGLTEXCOORD1SVPROC glad_glTexCoord1sv = NULL;
624 PFNGLTEXCOORD2DPROC glad_glTexCoord2d = NULL;
625 PFNGLTEXCOORD2DVPROC glad_glTexCoord2dv = NULL;
626 PFNGLTEXCOORD2FPROC glad_glTexCoord2f = NULL;
627 PFNGLTEXCOORD2FVPROC glad_glTexCoord2fv = NULL;
628 PFNGLTEXCOORD2IPROC glad_glTexCoord2i = NULL;
629 PFNGLTEXCOORD2IVPROC glad_glTexCoord2iv = NULL;
630 PFNGLTEXCOORD2SPROC glad_glTexCoord2s = NULL;
631 PFNGLTEXCOORD2SVPROC glad_glTexCoord2sv = NULL;
632 PFNGLTEXCOORD3DPROC glad_glTexCoord3d = NULL;
633 PFNGLTEXCOORD3DVPROC glad_glTexCoord3dv = NULL;
634 PFNGLTEXCOORD3FPROC glad_glTexCoord3f = NULL;
635 PFNGLTEXCOORD3FVPROC glad_glTexCoord3fv = NULL;
636 PFNGLTEXCOORD3IPROC glad_glTexCoord3i = NULL;
637 PFNGLTEXCOORD3IVPROC glad_glTexCoord3iv = NULL;
638 PFNGLTEXCOORD3SPROC glad_glTexCoord3s = NULL;
639 PFNGLTEXCOORD3SVPROC glad_glTexCoord3sv = NULL;
640 PFNGLTEXCOORD4DPROC glad_glTexCoord4d = NULL;
641 PFNGLTEXCOORD4DVPROC glad_glTexCoord4dv = NULL;
642 PFNGLTEXCOORD4FPROC glad_glTexCoord4f = NULL;
643 PFNGLTEXCOORD4FVPROC glad_glTexCoord4fv = NULL;
644 PFNGLTEXCOORD4IPROC glad_glTexCoord4i = NULL;
645 PFNGLTEXCOORD4IVPROC glad_glTexCoord4iv = NULL;
646 PFNGLTEXCOORD4SPROC glad_glTexCoord4s = NULL;
647 PFNGLTEXCOORD4SVPROC glad_glTexCoord4sv = NULL;
648 PFNGLTEXCOORDPOINTERPROC glad_glTexCoordPointer = NULL;
649 PFNGLTEXENVFPROC glad_glTexEnvf = NULL;
650 PFNGLTEXENVFVPROC glad_glTexEnvfv = NULL;
651 PFNGLTEXENVIPROC glad_glTexEnvi = NULL;
652 PFNGLTEXENVIVPROC glad_glTexEnviv = NULL;
653 PFNGLTEXGENDPROC glad_glTexGend = NULL;
654 PFNGLTEXGENDVPROC glad_glTexGendv = NULL;
655 PFNGLTEXGENFPROC glad_glTexGenf = NULL;
656 PFNGLTEXGENFVPROC glad_glTexGenfv = NULL;
657 PFNGLTEXGENIPROC glad_glTexGeni = NULL;
658 PFNGLTEXGENIVPROC glad_glTexGeniv = NULL;
659 PFNGLTEXIMAGE1DPROC glad_glTexImage1D = NULL;
660 PFNGLTEXIMAGE2DPROC glad_glTexImage2D = NULL;
661 PFNGLTEXIMAGE2DMULTISAMPLEPROC glad_glTexImage2DMultisample = NULL;
662 PFNGLTEXIMAGE3DPROC glad_glTexImage3D = NULL;
663 PFNGLTEXIMAGE3DMULTISAMPLEPROC glad_glTexImage3DMultisample = NULL;
664 PFNGLTEXPARAMETERIIVPROC glad_glTexParameterIiv = NULL;
665 PFNGLTEXPARAMETERIUIVPROC glad_glTexParameterIuiv = NULL;
666 PFNGLTEXPARAMETERFPROC glad_glTexParameterf = NULL;
667 PFNGLTEXPARAMETERFVPROC glad_glTexParameterfv = NULL;
668 PFNGLTEXPARAMETERIPROC glad_glTexParameteri = NULL;
669 PFNGLTEXPARAMETERIVPROC glad_glTexParameteriv = NULL;
670 PFNGLTEXSUBIMAGE1DPROC glad_glTexSubImage1D = NULL;
671 PFNGLTEXSUBIMAGE2DPROC glad_glTexSubImage2D = NULL;
672 PFNGLTEXSUBIMAGE3DPROC glad_glTexSubImage3D = NULL;
673 PFNGLTRANSFORMFEEDBACKVARYINGSPROC glad_glTransformFeedbackVaryings = NULL;
674 PFNGLTRANSLATEDPROC glad_glTranslated = NULL;
675 PFNGLTRANSLATEFPROC glad_glTranslatef = NULL;
676 PFNGLUNIFORM1FPROC glad_glUniform1f = NULL;
677 PFNGLUNIFORM1FVPROC glad_glUniform1fv = NULL;
678 PFNGLUNIFORM1IPROC glad_glUniform1i = NULL;
679 PFNGLUNIFORM1IVPROC glad_glUniform1iv = NULL;
680 PFNGLUNIFORM1UIPROC glad_glUniform1ui = NULL;
681 PFNGLUNIFORM1UIVPROC glad_glUniform1uiv = NULL;
682 PFNGLUNIFORM2FPROC glad_glUniform2f = NULL;
683 PFNGLUNIFORM2FVPROC glad_glUniform2fv = NULL;
684 PFNGLUNIFORM2IPROC glad_glUniform2i = NULL;
685 PFNGLUNIFORM2IVPROC glad_glUniform2iv = NULL;
686 PFNGLUNIFORM2UIPROC glad_glUniform2ui = NULL;
687 PFNGLUNIFORM2UIVPROC glad_glUniform2uiv = NULL;
688 PFNGLUNIFORM3FPROC glad_glUniform3f = NULL;
689 PFNGLUNIFORM3FVPROC glad_glUniform3fv = NULL;
690 PFNGLUNIFORM3IPROC glad_glUniform3i = NULL;
691 PFNGLUNIFORM3IVPROC glad_glUniform3iv = NULL;
692 PFNGLUNIFORM3UIPROC glad_glUniform3ui = NULL;
693 PFNGLUNIFORM3UIVPROC glad_glUniform3uiv = NULL;
694 PFNGLUNIFORM4FPROC glad_glUniform4f = NULL;
695 PFNGLUNIFORM4FVPROC glad_glUniform4fv = NULL;
696 PFNGLUNIFORM4IPROC glad_glUniform4i = NULL;
697 PFNGLUNIFORM4IVPROC glad_glUniform4iv = NULL;
698 PFNGLUNIFORM4UIPROC glad_glUniform4ui = NULL;
699 PFNGLUNIFORM4UIVPROC glad_glUniform4uiv = NULL;
700 PFNGLUNIFORMBLOCKBINDINGPROC glad_glUniformBlockBinding = NULL;
701 PFNGLUNIFORMMATRIX2FVPROC glad_glUniformMatrix2fv = NULL;
702 PFNGLUNIFORMMATRIX2X3FVPROC glad_glUniformMatrix2x3fv = NULL;
703 PFNGLUNIFORMMATRIX2X4FVPROC glad_glUniformMatrix2x4fv = NULL;
704 PFNGLUNIFORMMATRIX3FVPROC glad_glUniformMatrix3fv = NULL;
705 PFNGLUNIFORMMATRIX3X2FVPROC glad_glUniformMatrix3x2fv = NULL;
706 PFNGLUNIFORMMATRIX3X4FVPROC glad_glUniformMatrix3x4fv = NULL;
707 PFNGLUNIFORMMATRIX4FVPROC glad_glUniformMatrix4fv = NULL;
708 PFNGLUNIFORMMATRIX4X2FVPROC glad_glUniformMatrix4x2fv = NULL;
709 PFNGLUNIFORMMATRIX4X3FVPROC glad_glUniformMatrix4x3fv = NULL;
710 PFNGLUNMAPBUFFERPROC glad_glUnmapBuffer = NULL;
711 PFNGLUSEPROGRAMPROC glad_glUseProgram = NULL;
712 PFNGLVALIDATEPROGRAMPROC glad_glValidateProgram = NULL;
713 PFNGLVERTEX2DPROC glad_glVertex2d = NULL;
714 PFNGLVERTEX2DVPROC glad_glVertex2dv = NULL;
715 PFNGLVERTEX2FPROC glad_glVertex2f = NULL;
716 PFNGLVERTEX2FVPROC glad_glVertex2fv = NULL;
717 PFNGLVERTEX2IPROC glad_glVertex2i = NULL;
718 PFNGLVERTEX2IVPROC glad_glVertex2iv = NULL;
719 PFNGLVERTEX2SPROC glad_glVertex2s = NULL;
720 PFNGLVERTEX2SVPROC glad_glVertex2sv = NULL;
721 PFNGLVERTEX3DPROC glad_glVertex3d = NULL;
722 PFNGLVERTEX3DVPROC glad_glVertex3dv = NULL;
723 PFNGLVERTEX3FPROC glad_glVertex3f = NULL;
724 PFNGLVERTEX3FVPROC glad_glVertex3fv = NULL;
725 PFNGLVERTEX3IPROC glad_glVertex3i = NULL;
726 PFNGLVERTEX3IVPROC glad_glVertex3iv = NULL;
727 PFNGLVERTEX3SPROC glad_glVertex3s = NULL;
728 PFNGLVERTEX3SVPROC glad_glVertex3sv = NULL;
729 PFNGLVERTEX4DPROC glad_glVertex4d = NULL;
730 PFNGLVERTEX4DVPROC glad_glVertex4dv = NULL;
731 PFNGLVERTEX4FPROC glad_glVertex4f = NULL;
732 PFNGLVERTEX4FVPROC glad_glVertex4fv = NULL;
733 PFNGLVERTEX4IPROC glad_glVertex4i = NULL;
734 PFNGLVERTEX4IVPROC glad_glVertex4iv = NULL;
735 PFNGLVERTEX4SPROC glad_glVertex4s = NULL;
736 PFNGLVERTEX4SVPROC glad_glVertex4sv = NULL;
737 PFNGLVERTEXATTRIB1DPROC glad_glVertexAttrib1d = NULL;
738 PFNGLVERTEXATTRIB1DVPROC glad_glVertexAttrib1dv = NULL;
739 PFNGLVERTEXATTRIB1FPROC glad_glVertexAttrib1f = NULL;
740 PFNGLVERTEXATTRIB1FVPROC glad_glVertexAttrib1fv = NULL;
741 PFNGLVERTEXATTRIB1SPROC glad_glVertexAttrib1s = NULL;
742 PFNGLVERTEXATTRIB1SVPROC glad_glVertexAttrib1sv = NULL;
743 PFNGLVERTEXATTRIB2DPROC glad_glVertexAttrib2d = NULL;
744 PFNGLVERTEXATTRIB2DVPROC glad_glVertexAttrib2dv = NULL;
745 PFNGLVERTEXATTRIB2FPROC glad_glVertexAttrib2f = NULL;
746 PFNGLVERTEXATTRIB2FVPROC glad_glVertexAttrib2fv = NULL;
747 PFNGLVERTEXATTRIB2SPROC glad_glVertexAttrib2s = NULL;
748 PFNGLVERTEXATTRIB2SVPROC glad_glVertexAttrib2sv = NULL;
749 PFNGLVERTEXATTRIB3DPROC glad_glVertexAttrib3d = NULL;
750 PFNGLVERTEXATTRIB3DVPROC glad_glVertexAttrib3dv = NULL;
751 PFNGLVERTEXATTRIB3FPROC glad_glVertexAttrib3f = NULL;
752 PFNGLVERTEXATTRIB3FVPROC glad_glVertexAttrib3fv = NULL;
753 PFNGLVERTEXATTRIB3SPROC glad_glVertexAttrib3s = NULL;
754 PFNGLVERTEXATTRIB3SVPROC glad_glVertexAttrib3sv = NULL;
755 PFNGLVERTEXATTRIB4NBVPROC glad_glVertexAttrib4Nbv = NULL;
756 PFNGLVERTEXATTRIB4NIVPROC glad_glVertexAttrib4Niv = NULL;
757 PFNGLVERTEXATTRIB4NSVPROC glad_glVertexAttrib4Nsv = NULL;
758 PFNGLVERTEXATTRIB4NUBPROC glad_glVertexAttrib4Nub = NULL;
759 PFNGLVERTEXATTRIB4NUBVPROC glad_glVertexAttrib4Nubv = NULL;
760 PFNGLVERTEXATTRIB4NUIVPROC glad_glVertexAttrib4Nuiv = NULL;
761 PFNGLVERTEXATTRIB4NUSVPROC glad_glVertexAttrib4Nusv = NULL;
762 PFNGLVERTEXATTRIB4BVPROC glad_glVertexAttrib4bv = NULL;
763 PFNGLVERTEXATTRIB4DPROC glad_glVertexAttrib4d = NULL;
764 PFNGLVERTEXATTRIB4DVPROC glad_glVertexAttrib4dv = NULL;
765 PFNGLVERTEXATTRIB4FPROC glad_glVertexAttrib4f = NULL;
766 PFNGLVERTEXATTRIB4FVPROC glad_glVertexAttrib4fv = NULL;
767 PFNGLVERTEXATTRIB4IVPROC glad_glVertexAttrib4iv = NULL;
768 PFNGLVERTEXATTRIB4SPROC glad_glVertexAttrib4s = NULL;
769 PFNGLVERTEXATTRIB4SVPROC glad_glVertexAttrib4sv = NULL;
770 PFNGLVERTEXATTRIB4UBVPROC glad_glVertexAttrib4ubv = NULL;
771 PFNGLVERTEXATTRIB4UIVPROC glad_glVertexAttrib4uiv = NULL;
772 PFNGLVERTEXATTRIB4USVPROC glad_glVertexAttrib4usv = NULL;
773 PFNGLVERTEXATTRIBI1IPROC glad_glVertexAttribI1i = NULL;
774 PFNGLVERTEXATTRIBI1IVPROC glad_glVertexAttribI1iv = NULL;
775 PFNGLVERTEXATTRIBI1UIPROC glad_glVertexAttribI1ui = NULL;
776 PFNGLVERTEXATTRIBI1UIVPROC glad_glVertexAttribI1uiv = NULL;
777 PFNGLVERTEXATTRIBI2IPROC glad_glVertexAttribI2i = NULL;
778 PFNGLVERTEXATTRIBI2IVPROC glad_glVertexAttribI2iv = NULL;
779 PFNGLVERTEXATTRIBI2UIPROC glad_glVertexAttribI2ui = NULL;
780 PFNGLVERTEXATTRIBI2UIVPROC glad_glVertexAttribI2uiv = NULL;
781 PFNGLVERTEXATTRIBI3IPROC glad_glVertexAttribI3i = NULL;
782 PFNGLVERTEXATTRIBI3IVPROC glad_glVertexAttribI3iv = NULL;
783 PFNGLVERTEXATTRIBI3UIPROC glad_glVertexAttribI3ui = NULL;
784 PFNGLVERTEXATTRIBI3UIVPROC glad_glVertexAttribI3uiv = NULL;
785 PFNGLVERTEXATTRIBI4BVPROC glad_glVertexAttribI4bv = NULL;
786 PFNGLVERTEXATTRIBI4IPROC glad_glVertexAttribI4i = NULL;
787 PFNGLVERTEXATTRIBI4IVPROC glad_glVertexAttribI4iv = NULL;
788 PFNGLVERTEXATTRIBI4SVPROC glad_glVertexAttribI4sv = NULL;
789 PFNGLVERTEXATTRIBI4UBVPROC glad_glVertexAttribI4ubv = NULL;
790 PFNGLVERTEXATTRIBI4UIPROC glad_glVertexAttribI4ui = NULL;
791 PFNGLVERTEXATTRIBI4UIVPROC glad_glVertexAttribI4uiv = NULL;
792 PFNGLVERTEXATTRIBI4USVPROC glad_glVertexAttribI4usv = NULL;
793 PFNGLVERTEXATTRIBIPOINTERPROC glad_glVertexAttribIPointer = NULL;
794 PFNGLVERTEXATTRIBPOINTERPROC glad_glVertexAttribPointer = NULL;
795 PFNGLVERTEXPOINTERPROC glad_glVertexPointer = NULL;
796 PFNGLVIEWPORTPROC glad_glViewport = NULL;
797 PFNGLWAITSYNCPROC glad_glWaitSync = NULL;
798 PFNGLWINDOWPOS2DPROC glad_glWindowPos2d = NULL;
799 PFNGLWINDOWPOS2DVPROC glad_glWindowPos2dv = NULL;
800 PFNGLWINDOWPOS2FPROC glad_glWindowPos2f = NULL;
801 PFNGLWINDOWPOS2FVPROC glad_glWindowPos2fv = NULL;
802 PFNGLWINDOWPOS2IPROC glad_glWindowPos2i = NULL;
803 PFNGLWINDOWPOS2IVPROC glad_glWindowPos2iv = NULL;
804 PFNGLWINDOWPOS2SPROC glad_glWindowPos2s = NULL;
805 PFNGLWINDOWPOS2SVPROC glad_glWindowPos2sv = NULL;
806 PFNGLWINDOWPOS3DPROC glad_glWindowPos3d = NULL;
807 PFNGLWINDOWPOS3DVPROC glad_glWindowPos3dv = NULL;
808 PFNGLWINDOWPOS3FPROC glad_glWindowPos3f = NULL;
809 PFNGLWINDOWPOS3FVPROC glad_glWindowPos3fv = NULL;
810 PFNGLWINDOWPOS3IPROC glad_glWindowPos3i = NULL;
811 PFNGLWINDOWPOS3IVPROC glad_glWindowPos3iv = NULL;
812 PFNGLWINDOWPOS3SPROC glad_glWindowPos3s = NULL;
813 PFNGLWINDOWPOS3SVPROC glad_glWindowPos3sv = NULL;
819 PFNGLBINDVERTEXARRAYAPPLEPROC glad_glBindVertexArrayAPPLE = NULL;
820 PFNGLDELETEVERTEXARRAYSAPPLEPROC glad_glDeleteVertexArraysAPPLE = NULL;
821 PFNGLGENVERTEXARRAYSAPPLEPROC glad_glGenVertexArraysAPPLE = NULL;
822 PFNGLISVERTEXARRAYAPPLEPROC glad_glIsVertexArrayAPPLE = NULL;
823 PFNGLSAMPLECOVERAGEARBPROC glad_glSampleCoverageARB = NULL;
824 PFNGLGETGRAPHICSRESETSTATUSARBPROC glad_glGetGraphicsResetStatusARB = NULL;
825 PFNGLGETNTEXIMAGEARBPROC glad_glGetnTexImageARB = NULL;
826 PFNGLREADNPIXELSARBPROC glad_glReadnPixelsARB = NULL;
827 PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC glad_glGetnCompressedTexImageARB = NULL;
828 PFNGLGETNUNIFORMFVARBPROC glad_glGetnUniformfvARB = NULL;
829 PFNGLGETNUNIFORMIVARBPROC glad_glGetnUniformivARB = NULL;
830 PFNGLGETNUNIFORMUIVARBPROC glad_glGetnUniformuivARB = NULL;
831 PFNGLGETNUNIFORMDVARBPROC glad_glGetnUniformdvARB = NULL;
832 PFNGLGETNMAPDVARBPROC glad_glGetnMapdvARB = NULL;
833 PFNGLGETNMAPFVARBPROC glad_glGetnMapfvARB = NULL;
834 PFNGLGETNMAPIVARBPROC glad_glGetnMapivARB = NULL;
835 PFNGLGETNPIXELMAPFVARBPROC glad_glGetnPixelMapfvARB = NULL;
836 PFNGLGETNPIXELMAPUIVARBPROC glad_glGetnPixelMapuivARB = NULL;
837 PFNGLGETNPIXELMAPUSVARBPROC glad_glGetnPixelMapusvARB = NULL;
838 PFNGLGETNPOLYGONSTIPPLEARBPROC glad_glGetnPolygonStippleARB = NULL;
839 PFNGLGETNCOLORTABLEARBPROC glad_glGetnColorTableARB = NULL;
840 PFNGLGETNCONVOLUTIONFILTERARBPROC glad_glGetnConvolutionFilterARB = NULL;
841 PFNGLGETNSEPARABLEFILTERARBPROC glad_glGetnSeparableFilterARB = NULL;
842 PFNGLGETNHISTOGRAMARBPROC glad_glGetnHistogramARB = NULL;
843 PFNGLGETNMINMAXARBPROC glad_glGetnMinmaxARB = NULL;
844 PFNGLDEBUGMESSAGECONTROLPROC glad_glDebugMessageControl = NULL;
845 PFNGLDEBUGMESSAGEINSERTPROC glad_glDebugMessageInsert = NULL;
846 PFNGLDEBUGMESSAGECALLBACKPROC glad_glDebugMessageCallback = NULL;
847 PFNGLGETDEBUGMESSAGELOGPROC glad_glGetDebugMessageLog = NULL;
848 PFNGLPUSHDEBUGGROUPPROC glad_glPushDebugGroup = NULL;
849 PFNGLPOPDEBUGGROUPPROC glad_glPopDebugGroup = NULL;
850 PFNGLOBJECTLABELPROC glad_glObjectLabel = NULL;
851 PFNGLGETOBJECTLABELPROC glad_glGetObjectLabel = NULL;
852 PFNGLOBJECTPTRLABELPROC glad_glObjectPtrLabel = NULL;
853 PFNGLGETOBJECTPTRLABELPROC glad_glGetObjectPtrLabel = NULL;
854 PFNGLDEBUGMESSAGECONTROLKHRPROC glad_glDebugMessageControlKHR = NULL;
855 PFNGLDEBUGMESSAGEINSERTKHRPROC glad_glDebugMessageInsertKHR = NULL;
856 PFNGLDEBUGMESSAGECALLBACKKHRPROC glad_glDebugMessageCallbackKHR = NULL;
857 PFNGLGETDEBUGMESSAGELOGKHRPROC glad_glGetDebugMessageLogKHR = NULL;
858 PFNGLPUSHDEBUGGROUPKHRPROC glad_glPushDebugGroupKHR = NULL;
859 PFNGLPOPDEBUGGROUPKHRPROC glad_glPopDebugGroupKHR = NULL;
860 PFNGLOBJECTLABELKHRPROC glad_glObjectLabelKHR = NULL;
861 PFNGLGETOBJECTLABELKHRPROC glad_glGetObjectLabelKHR = NULL;
862 PFNGLOBJECTPTRLABELKHRPROC glad_glObjectPtrLabelKHR = NULL;
863 PFNGLGETOBJECTPTRLABELKHRPROC glad_glGetObjectPtrLabelKHR = NULL;
864 PFNGLGETPOINTERVKHRPROC glad_glGetPointervKHR = NULL;
866  if(!GLAD_GL_VERSION_1_0) return;
867  glad_glCullFace = (PFNGLCULLFACEPROC)load("glCullFace");
868  glad_glFrontFace = (PFNGLFRONTFACEPROC)load("glFrontFace");
869  glad_glHint = (PFNGLHINTPROC)load("glHint");
870  glad_glLineWidth = (PFNGLLINEWIDTHPROC)load("glLineWidth");
871  glad_glPointSize = (PFNGLPOINTSIZEPROC)load("glPointSize");
872  glad_glPolygonMode = (PFNGLPOLYGONMODEPROC)load("glPolygonMode");
873  glad_glScissor = (PFNGLSCISSORPROC)load("glScissor");
874  glad_glTexParameterf = (PFNGLTEXPARAMETERFPROC)load("glTexParameterf");
875  glad_glTexParameterfv = (PFNGLTEXPARAMETERFVPROC)load("glTexParameterfv");
876  glad_glTexParameteri = (PFNGLTEXPARAMETERIPROC)load("glTexParameteri");
877  glad_glTexParameteriv = (PFNGLTEXPARAMETERIVPROC)load("glTexParameteriv");
878  glad_glTexImage1D = (PFNGLTEXIMAGE1DPROC)load("glTexImage1D");
879  glad_glTexImage2D = (PFNGLTEXIMAGE2DPROC)load("glTexImage2D");
880  glad_glDrawBuffer = (PFNGLDRAWBUFFERPROC)load("glDrawBuffer");
881  glad_glClear = (PFNGLCLEARPROC)load("glClear");
882  glad_glClearColor = (PFNGLCLEARCOLORPROC)load("glClearColor");
883  glad_glClearStencil = (PFNGLCLEARSTENCILPROC)load("glClearStencil");
884  glad_glClearDepth = (PFNGLCLEARDEPTHPROC)load("glClearDepth");
885  glad_glStencilMask = (PFNGLSTENCILMASKPROC)load("glStencilMask");
886  glad_glColorMask = (PFNGLCOLORMASKPROC)load("glColorMask");
887  glad_glDepthMask = (PFNGLDEPTHMASKPROC)load("glDepthMask");
888  glad_glDisable = (PFNGLDISABLEPROC)load("glDisable");
889  glad_glEnable = (PFNGLENABLEPROC)load("glEnable");
890  glad_glFinish = (PFNGLFINISHPROC)load("glFinish");
891  glad_glFlush = (PFNGLFLUSHPROC)load("glFlush");
892  glad_glBlendFunc = (PFNGLBLENDFUNCPROC)load("glBlendFunc");
893  glad_glLogicOp = (PFNGLLOGICOPPROC)load("glLogicOp");
894  glad_glStencilFunc = (PFNGLSTENCILFUNCPROC)load("glStencilFunc");
895  glad_glStencilOp = (PFNGLSTENCILOPPROC)load("glStencilOp");
896  glad_glDepthFunc = (PFNGLDEPTHFUNCPROC)load("glDepthFunc");
897  glad_glPixelStoref = (PFNGLPIXELSTOREFPROC)load("glPixelStoref");
898  glad_glPixelStorei = (PFNGLPIXELSTOREIPROC)load("glPixelStorei");
899  glad_glReadBuffer = (PFNGLREADBUFFERPROC)load("glReadBuffer");
900  glad_glReadPixels = (PFNGLREADPIXELSPROC)load("glReadPixels");
901  glad_glGetBooleanv = (PFNGLGETBOOLEANVPROC)load("glGetBooleanv");
902  glad_glGetDoublev = (PFNGLGETDOUBLEVPROC)load("glGetDoublev");
903  glad_glGetError = (PFNGLGETERRORPROC)load("glGetError");
904  glad_glGetFloatv = (PFNGLGETFLOATVPROC)load("glGetFloatv");
905  glad_glGetIntegerv = (PFNGLGETINTEGERVPROC)load("glGetIntegerv");
906  glad_glGetString = (PFNGLGETSTRINGPROC)load("glGetString");
907  glad_glGetTexImage = (PFNGLGETTEXIMAGEPROC)load("glGetTexImage");
908  glad_glGetTexParameterfv = (PFNGLGETTEXPARAMETERFVPROC)load("glGetTexParameterfv");
909  glad_glGetTexParameteriv = (PFNGLGETTEXPARAMETERIVPROC)load("glGetTexParameteriv");
910  glad_glGetTexLevelParameterfv = (PFNGLGETTEXLEVELPARAMETERFVPROC)load("glGetTexLevelParameterfv");
911  glad_glGetTexLevelParameteriv = (PFNGLGETTEXLEVELPARAMETERIVPROC)load("glGetTexLevelParameteriv");
912  glad_glIsEnabled = (PFNGLISENABLEDPROC)load("glIsEnabled");
913  glad_glDepthRange = (PFNGLDEPTHRANGEPROC)load("glDepthRange");
914  glad_glViewport = (PFNGLVIEWPORTPROC)load("glViewport");
915  glad_glNewList = (PFNGLNEWLISTPROC)load("glNewList");
916  glad_glEndList = (PFNGLENDLISTPROC)load("glEndList");
917  glad_glCallList = (PFNGLCALLLISTPROC)load("glCallList");
918  glad_glCallLists = (PFNGLCALLLISTSPROC)load("glCallLists");
919  glad_glDeleteLists = (PFNGLDELETELISTSPROC)load("glDeleteLists");
920  glad_glGenLists = (PFNGLGENLISTSPROC)load("glGenLists");
921  glad_glListBase = (PFNGLLISTBASEPROC)load("glListBase");
922  glad_glBegin = (PFNGLBEGINPROC)load("glBegin");
923  glad_glBitmap = (PFNGLBITMAPPROC)load("glBitmap");
924  glad_glColor3b = (PFNGLCOLOR3BPROC)load("glColor3b");
925  glad_glColor3bv = (PFNGLCOLOR3BVPROC)load("glColor3bv");
926  glad_glColor3d = (PFNGLCOLOR3DPROC)load("glColor3d");
927  glad_glColor3dv = (PFNGLCOLOR3DVPROC)load("glColor3dv");
928  glad_glColor3f = (PFNGLCOLOR3FPROC)load("glColor3f");
929  glad_glColor3fv = (PFNGLCOLOR3FVPROC)load("glColor3fv");
930  glad_glColor3i = (PFNGLCOLOR3IPROC)load("glColor3i");
931  glad_glColor3iv = (PFNGLCOLOR3IVPROC)load("glColor3iv");
932  glad_glColor3s = (PFNGLCOLOR3SPROC)load("glColor3s");
933  glad_glColor3sv = (PFNGLCOLOR3SVPROC)load("glColor3sv");
934  glad_glColor3ub = (PFNGLCOLOR3UBPROC)load("glColor3ub");
935  glad_glColor3ubv = (PFNGLCOLOR3UBVPROC)load("glColor3ubv");
936  glad_glColor3ui = (PFNGLCOLOR3UIPROC)load("glColor3ui");
937  glad_glColor3uiv = (PFNGLCOLOR3UIVPROC)load("glColor3uiv");
938  glad_glColor3us = (PFNGLCOLOR3USPROC)load("glColor3us");
939  glad_glColor3usv = (PFNGLCOLOR3USVPROC)load("glColor3usv");
940  glad_glColor4b = (PFNGLCOLOR4BPROC)load("glColor4b");
941  glad_glColor4bv = (PFNGLCOLOR4BVPROC)load("glColor4bv");
942  glad_glColor4d = (PFNGLCOLOR4DPROC)load("glColor4d");
943  glad_glColor4dv = (PFNGLCOLOR4DVPROC)load("glColor4dv");
944  glad_glColor4f = (PFNGLCOLOR4FPROC)load("glColor4f");
945  glad_glColor4fv = (PFNGLCOLOR4FVPROC)load("glColor4fv");
946  glad_glColor4i = (PFNGLCOLOR4IPROC)load("glColor4i");
947  glad_glColor4iv = (PFNGLCOLOR4IVPROC)load("glColor4iv");
948  glad_glColor4s = (PFNGLCOLOR4SPROC)load("glColor4s");
949  glad_glColor4sv = (PFNGLCOLOR4SVPROC)load("glColor4sv");
950  glad_glColor4ub = (PFNGLCOLOR4UBPROC)load("glColor4ub");
951  glad_glColor4ubv = (PFNGLCOLOR4UBVPROC)load("glColor4ubv");
952  glad_glColor4ui = (PFNGLCOLOR4UIPROC)load("glColor4ui");
953  glad_glColor4uiv = (PFNGLCOLOR4UIVPROC)load("glColor4uiv");
954  glad_glColor4us = (PFNGLCOLOR4USPROC)load("glColor4us");
955  glad_glColor4usv = (PFNGLCOLOR4USVPROC)load("glColor4usv");
956  glad_glEdgeFlag = (PFNGLEDGEFLAGPROC)load("glEdgeFlag");
957  glad_glEdgeFlagv = (PFNGLEDGEFLAGVPROC)load("glEdgeFlagv");
958  glad_glEnd = (PFNGLENDPROC)load("glEnd");
959  glad_glIndexd = (PFNGLINDEXDPROC)load("glIndexd");
960  glad_glIndexdv = (PFNGLINDEXDVPROC)load("glIndexdv");
961  glad_glIndexf = (PFNGLINDEXFPROC)load("glIndexf");
962  glad_glIndexfv = (PFNGLINDEXFVPROC)load("glIndexfv");
963  glad_glIndexi = (PFNGLINDEXIPROC)load("glIndexi");
964  glad_glIndexiv = (PFNGLINDEXIVPROC)load("glIndexiv");
965  glad_glIndexs = (PFNGLINDEXSPROC)load("glIndexs");
966  glad_glIndexsv = (PFNGLINDEXSVPROC)load("glIndexsv");
967  glad_glNormal3b = (PFNGLNORMAL3BPROC)load("glNormal3b");
968  glad_glNormal3bv = (PFNGLNORMAL3BVPROC)load("glNormal3bv");
969  glad_glNormal3d = (PFNGLNORMAL3DPROC)load("glNormal3d");
970  glad_glNormal3dv = (PFNGLNORMAL3DVPROC)load("glNormal3dv");
971  glad_glNormal3f = (PFNGLNORMAL3FPROC)load("glNormal3f");
972  glad_glNormal3fv = (PFNGLNORMAL3FVPROC)load("glNormal3fv");
973  glad_glNormal3i = (PFNGLNORMAL3IPROC)load("glNormal3i");
974  glad_glNormal3iv = (PFNGLNORMAL3IVPROC)load("glNormal3iv");
975  glad_glNormal3s = (PFNGLNORMAL3SPROC)load("glNormal3s");
976  glad_glNormal3sv = (PFNGLNORMAL3SVPROC)load("glNormal3sv");
977  glad_glRasterPos2d = (PFNGLRASTERPOS2DPROC)load("glRasterPos2d");
978  glad_glRasterPos2dv = (PFNGLRASTERPOS2DVPROC)load("glRasterPos2dv");
979  glad_glRasterPos2f = (PFNGLRASTERPOS2FPROC)load("glRasterPos2f");
980  glad_glRasterPos2fv = (PFNGLRASTERPOS2FVPROC)load("glRasterPos2fv");
981  glad_glRasterPos2i = (PFNGLRASTERPOS2IPROC)load("glRasterPos2i");
982  glad_glRasterPos2iv = (PFNGLRASTERPOS2IVPROC)load("glRasterPos2iv");
983  glad_glRasterPos2s = (PFNGLRASTERPOS2SPROC)load("glRasterPos2s");
984  glad_glRasterPos2sv = (PFNGLRASTERPOS2SVPROC)load("glRasterPos2sv");
985  glad_glRasterPos3d = (PFNGLRASTERPOS3DPROC)load("glRasterPos3d");
986  glad_glRasterPos3dv = (PFNGLRASTERPOS3DVPROC)load("glRasterPos3dv");
987  glad_glRasterPos3f = (PFNGLRASTERPOS3FPROC)load("glRasterPos3f");
988  glad_glRasterPos3fv = (PFNGLRASTERPOS3FVPROC)load("glRasterPos3fv");
989  glad_glRasterPos3i = (PFNGLRASTERPOS3IPROC)load("glRasterPos3i");
990  glad_glRasterPos3iv = (PFNGLRASTERPOS3IVPROC)load("glRasterPos3iv");
991  glad_glRasterPos3s = (PFNGLRASTERPOS3SPROC)load("glRasterPos3s");
992  glad_glRasterPos3sv = (PFNGLRASTERPOS3SVPROC)load("glRasterPos3sv");
993  glad_glRasterPos4d = (PFNGLRASTERPOS4DPROC)load("glRasterPos4d");
994  glad_glRasterPos4dv = (PFNGLRASTERPOS4DVPROC)load("glRasterPos4dv");
995  glad_glRasterPos4f = (PFNGLRASTERPOS4FPROC)load("glRasterPos4f");
996  glad_glRasterPos4fv = (PFNGLRASTERPOS4FVPROC)load("glRasterPos4fv");
997  glad_glRasterPos4i = (PFNGLRASTERPOS4IPROC)load("glRasterPos4i");
998  glad_glRasterPos4iv = (PFNGLRASTERPOS4IVPROC)load("glRasterPos4iv");
999  glad_glRasterPos4s = (PFNGLRASTERPOS4SPROC)load("glRasterPos4s");
1000  glad_glRasterPos4sv = (PFNGLRASTERPOS4SVPROC)load("glRasterPos4sv");
1001  glad_glRectd = (PFNGLRECTDPROC)load("glRectd");
1002  glad_glRectdv = (PFNGLRECTDVPROC)load("glRectdv");
1003  glad_glRectf = (PFNGLRECTFPROC)load("glRectf");
1004  glad_glRectfv = (PFNGLRECTFVPROC)load("glRectfv");
1005  glad_glRecti = (PFNGLRECTIPROC)load("glRecti");
1006  glad_glRectiv = (PFNGLRECTIVPROC)load("glRectiv");
1007  glad_glRects = (PFNGLRECTSPROC)load("glRects");
1008  glad_glRectsv = (PFNGLRECTSVPROC)load("glRectsv");
1009  glad_glTexCoord1d = (PFNGLTEXCOORD1DPROC)load("glTexCoord1d");
1010  glad_glTexCoord1dv = (PFNGLTEXCOORD1DVPROC)load("glTexCoord1dv");
1011  glad_glTexCoord1f = (PFNGLTEXCOORD1FPROC)load("glTexCoord1f");
1012  glad_glTexCoord1fv = (PFNGLTEXCOORD1FVPROC)load("glTexCoord1fv");
1013  glad_glTexCoord1i = (PFNGLTEXCOORD1IPROC)load("glTexCoord1i");
1014  glad_glTexCoord1iv = (PFNGLTEXCOORD1IVPROC)load("glTexCoord1iv");
1015  glad_glTexCoord1s = (PFNGLTEXCOORD1SPROC)load("glTexCoord1s");
1016  glad_glTexCoord1sv = (PFNGLTEXCOORD1SVPROC)load("glTexCoord1sv");
1017  glad_glTexCoord2d = (PFNGLTEXCOORD2DPROC)load("glTexCoord2d");
1018  glad_glTexCoord2dv = (PFNGLTEXCOORD2DVPROC)load("glTexCoord2dv");
1019  glad_glTexCoord2f = (PFNGLTEXCOORD2FPROC)load("glTexCoord2f");
1020  glad_glTexCoord2fv = (PFNGLTEXCOORD2FVPROC)load("glTexCoord2fv");
1021  glad_glTexCoord2i = (PFNGLTEXCOORD2IPROC)load("glTexCoord2i");
1022  glad_glTexCoord2iv = (PFNGLTEXCOORD2IVPROC)load("glTexCoord2iv");
1023  glad_glTexCoord2s = (PFNGLTEXCOORD2SPROC)load("glTexCoord2s");
1024  glad_glTexCoord2sv = (PFNGLTEXCOORD2SVPROC)load("glTexCoord2sv");
1025  glad_glTexCoord3d = (PFNGLTEXCOORD3DPROC)load("glTexCoord3d");
1026  glad_glTexCoord3dv = (PFNGLTEXCOORD3DVPROC)load("glTexCoord3dv");
1027  glad_glTexCoord3f = (PFNGLTEXCOORD3FPROC)load("glTexCoord3f");
1028  glad_glTexCoord3fv = (PFNGLTEXCOORD3FVPROC)load("glTexCoord3fv");
1029  glad_glTexCoord3i = (PFNGLTEXCOORD3IPROC)load("glTexCoord3i");
1030  glad_glTexCoord3iv = (PFNGLTEXCOORD3IVPROC)load("glTexCoord3iv");
1031  glad_glTexCoord3s = (PFNGLTEXCOORD3SPROC)load("glTexCoord3s");
1032  glad_glTexCoord3sv = (PFNGLTEXCOORD3SVPROC)load("glTexCoord3sv");
1033  glad_glTexCoord4d = (PFNGLTEXCOORD4DPROC)load("glTexCoord4d");
1034  glad_glTexCoord4dv = (PFNGLTEXCOORD4DVPROC)load("glTexCoord4dv");
1035  glad_glTexCoord4f = (PFNGLTEXCOORD4FPROC)load("glTexCoord4f");
1036  glad_glTexCoord4fv = (PFNGLTEXCOORD4FVPROC)load("glTexCoord4fv");
1037  glad_glTexCoord4i = (PFNGLTEXCOORD4IPROC)load("glTexCoord4i");
1038  glad_glTexCoord4iv = (PFNGLTEXCOORD4IVPROC)load("glTexCoord4iv");
1039  glad_glTexCoord4s = (PFNGLTEXCOORD4SPROC)load("glTexCoord4s");
1040  glad_glTexCoord4sv = (PFNGLTEXCOORD4SVPROC)load("glTexCoord4sv");
1041  glad_glVertex2d = (PFNGLVERTEX2DPROC)load("glVertex2d");
1042  glad_glVertex2dv = (PFNGLVERTEX2DVPROC)load("glVertex2dv");
1043  glad_glVertex2f = (PFNGLVERTEX2FPROC)load("glVertex2f");
1044  glad_glVertex2fv = (PFNGLVERTEX2FVPROC)load("glVertex2fv");
1045  glad_glVertex2i = (PFNGLVERTEX2IPROC)load("glVertex2i");
1046  glad_glVertex2iv = (PFNGLVERTEX2IVPROC)load("glVertex2iv");
1047  glad_glVertex2s = (PFNGLVERTEX2SPROC)load("glVertex2s");
1048  glad_glVertex2sv = (PFNGLVERTEX2SVPROC)load("glVertex2sv");
1049  glad_glVertex3d = (PFNGLVERTEX3DPROC)load("glVertex3d");
1050  glad_glVertex3dv = (PFNGLVERTEX3DVPROC)load("glVertex3dv");
1051  glad_glVertex3f = (PFNGLVERTEX3FPROC)load("glVertex3f");
1052  glad_glVertex3fv = (PFNGLVERTEX3FVPROC)load("glVertex3fv");
1053  glad_glVertex3i = (PFNGLVERTEX3IPROC)load("glVertex3i");
1054  glad_glVertex3iv = (PFNGLVERTEX3IVPROC)load("glVertex3iv");
1055  glad_glVertex3s = (PFNGLVERTEX3SPROC)load("glVertex3s");
1056  glad_glVertex3sv = (PFNGLVERTEX3SVPROC)load("glVertex3sv");
1057  glad_glVertex4d = (PFNGLVERTEX4DPROC)load("glVertex4d");
1058  glad_glVertex4dv = (PFNGLVERTEX4DVPROC)load("glVertex4dv");
1059  glad_glVertex4f = (PFNGLVERTEX4FPROC)load("glVertex4f");
1060  glad_glVertex4fv = (PFNGLVERTEX4FVPROC)load("glVertex4fv");
1061  glad_glVertex4i = (PFNGLVERTEX4IPROC)load("glVertex4i");
1062  glad_glVertex4iv = (PFNGLVERTEX4IVPROC)load("glVertex4iv");
1063  glad_glVertex4s = (PFNGLVERTEX4SPROC)load("glVertex4s");
1064  glad_glVertex4sv = (PFNGLVERTEX4SVPROC)load("glVertex4sv");
1065  glad_glClipPlane = (PFNGLCLIPPLANEPROC)load("glClipPlane");
1066  glad_glColorMaterial = (PFNGLCOLORMATERIALPROC)load("glColorMaterial");
1067  glad_glFogf = (PFNGLFOGFPROC)load("glFogf");
1068  glad_glFogfv = (PFNGLFOGFVPROC)load("glFogfv");
1069  glad_glFogi = (PFNGLFOGIPROC)load("glFogi");
1070  glad_glFogiv = (PFNGLFOGIVPROC)load("glFogiv");
1071  glad_glLightf = (PFNGLLIGHTFPROC)load("glLightf");
1072  glad_glLightfv = (PFNGLLIGHTFVPROC)load("glLightfv");
1073  glad_glLighti = (PFNGLLIGHTIPROC)load("glLighti");
1074  glad_glLightiv = (PFNGLLIGHTIVPROC)load("glLightiv");
1075  glad_glLightModelf = (PFNGLLIGHTMODELFPROC)load("glLightModelf");
1076  glad_glLightModelfv = (PFNGLLIGHTMODELFVPROC)load("glLightModelfv");
1077  glad_glLightModeli = (PFNGLLIGHTMODELIPROC)load("glLightModeli");
1078  glad_glLightModeliv = (PFNGLLIGHTMODELIVPROC)load("glLightModeliv");
1079  glad_glLineStipple = (PFNGLLINESTIPPLEPROC)load("glLineStipple");
1080  glad_glMaterialf = (PFNGLMATERIALFPROC)load("glMaterialf");
1081  glad_glMaterialfv = (PFNGLMATERIALFVPROC)load("glMaterialfv");
1082  glad_glMateriali = (PFNGLMATERIALIPROC)load("glMateriali");
1083  glad_glMaterialiv = (PFNGLMATERIALIVPROC)load("glMaterialiv");
1084  glad_glPolygonStipple = (PFNGLPOLYGONSTIPPLEPROC)load("glPolygonStipple");
1085  glad_glShadeModel = (PFNGLSHADEMODELPROC)load("glShadeModel");
1086  glad_glTexEnvf = (PFNGLTEXENVFPROC)load("glTexEnvf");
1087  glad_glTexEnvfv = (PFNGLTEXENVFVPROC)load("glTexEnvfv");
1088  glad_glTexEnvi = (PFNGLTEXENVIPROC)load("glTexEnvi");
1089  glad_glTexEnviv = (PFNGLTEXENVIVPROC)load("glTexEnviv");
1090  glad_glTexGend = (PFNGLTEXGENDPROC)load("glTexGend");
1091  glad_glTexGendv = (PFNGLTEXGENDVPROC)load("glTexGendv");
1092  glad_glTexGenf = (PFNGLTEXGENFPROC)load("glTexGenf");
1093  glad_glTexGenfv = (PFNGLTEXGENFVPROC)load("glTexGenfv");
1094  glad_glTexGeni = (PFNGLTEXGENIPROC)load("glTexGeni");
1095  glad_glTexGeniv = (PFNGLTEXGENIVPROC)load("glTexGeniv");
1096  glad_glFeedbackBuffer = (PFNGLFEEDBACKBUFFERPROC)load("glFeedbackBuffer");
1097  glad_glSelectBuffer = (PFNGLSELECTBUFFERPROC)load("glSelectBuffer");
1098  glad_glRenderMode = (PFNGLRENDERMODEPROC)load("glRenderMode");
1099  glad_glInitNames = (PFNGLINITNAMESPROC)load("glInitNames");
1100  glad_glLoadName = (PFNGLLOADNAMEPROC)load("glLoadName");
1101  glad_glPassThrough = (PFNGLPASSTHROUGHPROC)load("glPassThrough");
1102  glad_glPopName = (PFNGLPOPNAMEPROC)load("glPopName");
1103  glad_glPushName = (PFNGLPUSHNAMEPROC)load("glPushName");
1104  glad_glClearAccum = (PFNGLCLEARACCUMPROC)load("glClearAccum");
1105  glad_glClearIndex = (PFNGLCLEARINDEXPROC)load("glClearIndex");
1106  glad_glIndexMask = (PFNGLINDEXMASKPROC)load("glIndexMask");
1107  glad_glAccum = (PFNGLACCUMPROC)load("glAccum");
1108  glad_glPopAttrib = (PFNGLPOPATTRIBPROC)load("glPopAttrib");
1109  glad_glPushAttrib = (PFNGLPUSHATTRIBPROC)load("glPushAttrib");
1110  glad_glMap1d = (PFNGLMAP1DPROC)load("glMap1d");
1111  glad_glMap1f = (PFNGLMAP1FPROC)load("glMap1f");
1112  glad_glMap2d = (PFNGLMAP2DPROC)load("glMap2d");
1113  glad_glMap2f = (PFNGLMAP2FPROC)load("glMap2f");
1114  glad_glMapGrid1d = (PFNGLMAPGRID1DPROC)load("glMapGrid1d");
1115  glad_glMapGrid1f = (PFNGLMAPGRID1FPROC)load("glMapGrid1f");
1116  glad_glMapGrid2d = (PFNGLMAPGRID2DPROC)load("glMapGrid2d");
1117  glad_glMapGrid2f = (PFNGLMAPGRID2FPROC)load("glMapGrid2f");
1118  glad_glEvalCoord1d = (PFNGLEVALCOORD1DPROC)load("glEvalCoord1d");
1119  glad_glEvalCoord1dv = (PFNGLEVALCOORD1DVPROC)load("glEvalCoord1dv");
1120  glad_glEvalCoord1f = (PFNGLEVALCOORD1FPROC)load("glEvalCoord1f");
1121  glad_glEvalCoord1fv = (PFNGLEVALCOORD1FVPROC)load("glEvalCoord1fv");
1122  glad_glEvalCoord2d = (PFNGLEVALCOORD2DPROC)load("glEvalCoord2d");
1123  glad_glEvalCoord2dv = (PFNGLEVALCOORD2DVPROC)load("glEvalCoord2dv");
1124  glad_glEvalCoord2f = (PFNGLEVALCOORD2FPROC)load("glEvalCoord2f");
1125  glad_glEvalCoord2fv = (PFNGLEVALCOORD2FVPROC)load("glEvalCoord2fv");
1126  glad_glEvalMesh1 = (PFNGLEVALMESH1PROC)load("glEvalMesh1");
1127  glad_glEvalPoint1 = (PFNGLEVALPOINT1PROC)load("glEvalPoint1");
1128  glad_glEvalMesh2 = (PFNGLEVALMESH2PROC)load("glEvalMesh2");
1129  glad_glEvalPoint2 = (PFNGLEVALPOINT2PROC)load("glEvalPoint2");
1130  glad_glAlphaFunc = (PFNGLALPHAFUNCPROC)load("glAlphaFunc");
1131  glad_glPixelZoom = (PFNGLPIXELZOOMPROC)load("glPixelZoom");
1132  glad_glPixelTransferf = (PFNGLPIXELTRANSFERFPROC)load("glPixelTransferf");
1133  glad_glPixelTransferi = (PFNGLPIXELTRANSFERIPROC)load("glPixelTransferi");
1134  glad_glPixelMapfv = (PFNGLPIXELMAPFVPROC)load("glPixelMapfv");
1135  glad_glPixelMapuiv = (PFNGLPIXELMAPUIVPROC)load("glPixelMapuiv");
1136  glad_glPixelMapusv = (PFNGLPIXELMAPUSVPROC)load("glPixelMapusv");
1137  glad_glCopyPixels = (PFNGLCOPYPIXELSPROC)load("glCopyPixels");
1138  glad_glDrawPixels = (PFNGLDRAWPIXELSPROC)load("glDrawPixels");
1139  glad_glGetClipPlane = (PFNGLGETCLIPPLANEPROC)load("glGetClipPlane");
1140  glad_glGetLightfv = (PFNGLGETLIGHTFVPROC)load("glGetLightfv");
1141  glad_glGetLightiv = (PFNGLGETLIGHTIVPROC)load("glGetLightiv");
1142  glad_glGetMapdv = (PFNGLGETMAPDVPROC)load("glGetMapdv");
1143  glad_glGetMapfv = (PFNGLGETMAPFVPROC)load("glGetMapfv");
1144  glad_glGetMapiv = (PFNGLGETMAPIVPROC)load("glGetMapiv");
1145  glad_glGetMaterialfv = (PFNGLGETMATERIALFVPROC)load("glGetMaterialfv");
1146  glad_glGetMaterialiv = (PFNGLGETMATERIALIVPROC)load("glGetMaterialiv");
1147  glad_glGetPixelMapfv = (PFNGLGETPIXELMAPFVPROC)load("glGetPixelMapfv");
1148  glad_glGetPixelMapuiv = (PFNGLGETPIXELMAPUIVPROC)load("glGetPixelMapuiv");
1149  glad_glGetPixelMapusv = (PFNGLGETPIXELMAPUSVPROC)load("glGetPixelMapusv");
1150  glad_glGetPolygonStipple = (PFNGLGETPOLYGONSTIPPLEPROC)load("glGetPolygonStipple");
1151  glad_glGetTexEnvfv = (PFNGLGETTEXENVFVPROC)load("glGetTexEnvfv");
1152  glad_glGetTexEnviv = (PFNGLGETTEXENVIVPROC)load("glGetTexEnviv");
1153  glad_glGetTexGendv = (PFNGLGETTEXGENDVPROC)load("glGetTexGendv");
1154  glad_glGetTexGenfv = (PFNGLGETTEXGENFVPROC)load("glGetTexGenfv");
1155  glad_glGetTexGeniv = (PFNGLGETTEXGENIVPROC)load("glGetTexGeniv");
1156  glad_glIsList = (PFNGLISLISTPROC)load("glIsList");
1157  glad_glFrustum = (PFNGLFRUSTUMPROC)load("glFrustum");
1158  glad_glLoadIdentity = (PFNGLLOADIDENTITYPROC)load("glLoadIdentity");
1159  glad_glLoadMatrixf = (PFNGLLOADMATRIXFPROC)load("glLoadMatrixf");
1160  glad_glLoadMatrixd = (PFNGLLOADMATRIXDPROC)load("glLoadMatrixd");
1161  glad_glMatrixMode = (PFNGLMATRIXMODEPROC)load("glMatrixMode");
1162  glad_glMultMatrixf = (PFNGLMULTMATRIXFPROC)load("glMultMatrixf");
1163  glad_glMultMatrixd = (PFNGLMULTMATRIXDPROC)load("glMultMatrixd");
1164  glad_glOrtho = (PFNGLORTHOPROC)load("glOrtho");
1165  glad_glPopMatrix = (PFNGLPOPMATRIXPROC)load("glPopMatrix");
1166  glad_glPushMatrix = (PFNGLPUSHMATRIXPROC)load("glPushMatrix");
1167  glad_glRotated = (PFNGLROTATEDPROC)load("glRotated");
1168  glad_glRotatef = (PFNGLROTATEFPROC)load("glRotatef");
1169  glad_glScaled = (PFNGLSCALEDPROC)load("glScaled");
1170  glad_glScalef = (PFNGLSCALEFPROC)load("glScalef");
1171  glad_glTranslated = (PFNGLTRANSLATEDPROC)load("glTranslated");
1172  glad_glTranslatef = (PFNGLTRANSLATEFPROC)load("glTranslatef");
1173 }
1175  if(!GLAD_GL_VERSION_1_1) return;
1176  glad_glDrawArrays = (PFNGLDRAWARRAYSPROC)load("glDrawArrays");
1177  glad_glDrawElements = (PFNGLDRAWELEMENTSPROC)load("glDrawElements");
1178  glad_glGetPointerv = (PFNGLGETPOINTERVPROC)load("glGetPointerv");
1179  glad_glPolygonOffset = (PFNGLPOLYGONOFFSETPROC)load("glPolygonOffset");
1180  glad_glCopyTexImage1D = (PFNGLCOPYTEXIMAGE1DPROC)load("glCopyTexImage1D");
1181  glad_glCopyTexImage2D = (PFNGLCOPYTEXIMAGE2DPROC)load("glCopyTexImage2D");
1182  glad_glCopyTexSubImage1D = (PFNGLCOPYTEXSUBIMAGE1DPROC)load("glCopyTexSubImage1D");
1183  glad_glCopyTexSubImage2D = (PFNGLCOPYTEXSUBIMAGE2DPROC)load("glCopyTexSubImage2D");
1184  glad_glTexSubImage1D = (PFNGLTEXSUBIMAGE1DPROC)load("glTexSubImage1D");
1185  glad_glTexSubImage2D = (PFNGLTEXSUBIMAGE2DPROC)load("glTexSubImage2D");
1186  glad_glBindTexture = (PFNGLBINDTEXTUREPROC)load("glBindTexture");
1187  glad_glDeleteTextures = (PFNGLDELETETEXTURESPROC)load("glDeleteTextures");
1188  glad_glGenTextures = (PFNGLGENTEXTURESPROC)load("glGenTextures");
1189  glad_glIsTexture = (PFNGLISTEXTUREPROC)load("glIsTexture");
1190  glad_glArrayElement = (PFNGLARRAYELEMENTPROC)load("glArrayElement");
1191  glad_glColorPointer = (PFNGLCOLORPOINTERPROC)load("glColorPointer");
1192  glad_glDisableClientState = (PFNGLDISABLECLIENTSTATEPROC)load("glDisableClientState");
1193  glad_glEdgeFlagPointer = (PFNGLEDGEFLAGPOINTERPROC)load("glEdgeFlagPointer");
1194  glad_glEnableClientState = (PFNGLENABLECLIENTSTATEPROC)load("glEnableClientState");
1195  glad_glIndexPointer = (PFNGLINDEXPOINTERPROC)load("glIndexPointer");
1196  glad_glInterleavedArrays = (PFNGLINTERLEAVEDARRAYSPROC)load("glInterleavedArrays");
1197  glad_glNormalPointer = (PFNGLNORMALPOINTERPROC)load("glNormalPointer");
1198  glad_glTexCoordPointer = (PFNGLTEXCOORDPOINTERPROC)load("glTexCoordPointer");
1199  glad_glVertexPointer = (PFNGLVERTEXPOINTERPROC)load("glVertexPointer");
1200  glad_glAreTexturesResident = (PFNGLARETEXTURESRESIDENTPROC)load("glAreTexturesResident");
1201  glad_glPrioritizeTextures = (PFNGLPRIORITIZETEXTURESPROC)load("glPrioritizeTextures");
1202  glad_glIndexub = (PFNGLINDEXUBPROC)load("glIndexub");
1203  glad_glIndexubv = (PFNGLINDEXUBVPROC)load("glIndexubv");
1204  glad_glPopClientAttrib = (PFNGLPOPCLIENTATTRIBPROC)load("glPopClientAttrib");
1205  glad_glPushClientAttrib = (PFNGLPUSHCLIENTATTRIBPROC)load("glPushClientAttrib");
1206 }
1208  if(!GLAD_GL_VERSION_1_2) return;
1209  glad_glDrawRangeElements = (PFNGLDRAWRANGEELEMENTSPROC)load("glDrawRangeElements");
1210  glad_glTexImage3D = (PFNGLTEXIMAGE3DPROC)load("glTexImage3D");
1211  glad_glTexSubImage3D = (PFNGLTEXSUBIMAGE3DPROC)load("glTexSubImage3D");
1212  glad_glCopyTexSubImage3D = (PFNGLCOPYTEXSUBIMAGE3DPROC)load("glCopyTexSubImage3D");
1213 }
1215  if(!GLAD_GL_VERSION_1_3) return;
1216  glad_glActiveTexture = (PFNGLACTIVETEXTUREPROC)load("glActiveTexture");
1217  glad_glSampleCoverage = (PFNGLSAMPLECOVERAGEPROC)load("glSampleCoverage");
1218  glad_glCompressedTexImage3D = (PFNGLCOMPRESSEDTEXIMAGE3DPROC)load("glCompressedTexImage3D");
1219  glad_glCompressedTexImage2D = (PFNGLCOMPRESSEDTEXIMAGE2DPROC)load("glCompressedTexImage2D");
1220  glad_glCompressedTexImage1D = (PFNGLCOMPRESSEDTEXIMAGE1DPROC)load("glCompressedTexImage1D");
1221  glad_glCompressedTexSubImage3D = (PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC)load("glCompressedTexSubImage3D");
1222  glad_glCompressedTexSubImage2D = (PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC)load("glCompressedTexSubImage2D");
1223  glad_glCompressedTexSubImage1D = (PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC)load("glCompressedTexSubImage1D");
1224  glad_glGetCompressedTexImage = (PFNGLGETCOMPRESSEDTEXIMAGEPROC)load("glGetCompressedTexImage");
1225  glad_glClientActiveTexture = (PFNGLCLIENTACTIVETEXTUREPROC)load("glClientActiveTexture");
1226  glad_glMultiTexCoord1d = (PFNGLMULTITEXCOORD1DPROC)load("glMultiTexCoord1d");
1227  glad_glMultiTexCoord1dv = (PFNGLMULTITEXCOORD1DVPROC)load("glMultiTexCoord1dv");
1228  glad_glMultiTexCoord1f = (PFNGLMULTITEXCOORD1FPROC)load("glMultiTexCoord1f");
1229  glad_glMultiTexCoord1fv = (PFNGLMULTITEXCOORD1FVPROC)load("glMultiTexCoord1fv");
1230  glad_glMultiTexCoord1i = (PFNGLMULTITEXCOORD1IPROC)load("glMultiTexCoord1i");
1231  glad_glMultiTexCoord1iv = (PFNGLMULTITEXCOORD1IVPROC)load("glMultiTexCoord1iv");
1232  glad_glMultiTexCoord1s = (PFNGLMULTITEXCOORD1SPROC)load("glMultiTexCoord1s");
1233  glad_glMultiTexCoord1sv = (PFNGLMULTITEXCOORD1SVPROC)load("glMultiTexCoord1sv");
1234  glad_glMultiTexCoord2d = (PFNGLMULTITEXCOORD2DPROC)load("glMultiTexCoord2d");
1235  glad_glMultiTexCoord2dv = (PFNGLMULTITEXCOORD2DVPROC)load("glMultiTexCoord2dv");
1236  glad_glMultiTexCoord2f = (PFNGLMULTITEXCOORD2FPROC)load("glMultiTexCoord2f");
1237  glad_glMultiTexCoord2fv = (PFNGLMULTITEXCOORD2FVPROC)load("glMultiTexCoord2fv");
1238  glad_glMultiTexCoord2i = (PFNGLMULTITEXCOORD2IPROC)load("glMultiTexCoord2i");
1239  glad_glMultiTexCoord2iv = (PFNGLMULTITEXCOORD2IVPROC)load("glMultiTexCoord2iv");
1240  glad_glMultiTexCoord2s = (PFNGLMULTITEXCOORD2SPROC)load("glMultiTexCoord2s");
1241  glad_glMultiTexCoord2sv = (PFNGLMULTITEXCOORD2SVPROC)load("glMultiTexCoord2sv");
1242  glad_glMultiTexCoord3d = (PFNGLMULTITEXCOORD3DPROC)load("glMultiTexCoord3d");
1243  glad_glMultiTexCoord3dv = (PFNGLMULTITEXCOORD3DVPROC)load("glMultiTexCoord3dv");
1244  glad_glMultiTexCoord3f = (PFNGLMULTITEXCOORD3FPROC)load("glMultiTexCoord3f");
1245  glad_glMultiTexCoord3fv = (PFNGLMULTITEXCOORD3FVPROC)load("glMultiTexCoord3fv");
1246  glad_glMultiTexCoord3i = (PFNGLMULTITEXCOORD3IPROC)load("glMultiTexCoord3i");
1247  glad_glMultiTexCoord3iv = (PFNGLMULTITEXCOORD3IVPROC)load("glMultiTexCoord3iv");
1248  glad_glMultiTexCoord3s = (PFNGLMULTITEXCOORD3SPROC)load("glMultiTexCoord3s");
1249  glad_glMultiTexCoord3sv = (PFNGLMULTITEXCOORD3SVPROC)load("glMultiTexCoord3sv");
1250  glad_glMultiTexCoord4d = (PFNGLMULTITEXCOORD4DPROC)load("glMultiTexCoord4d");
1251  glad_glMultiTexCoord4dv = (PFNGLMULTITEXCOORD4DVPROC)load("glMultiTexCoord4dv");
1252  glad_glMultiTexCoord4f = (PFNGLMULTITEXCOORD4FPROC)load("glMultiTexCoord4f");
1253  glad_glMultiTexCoord4fv = (PFNGLMULTITEXCOORD4FVPROC)load("glMultiTexCoord4fv");
1254  glad_glMultiTexCoord4i = (PFNGLMULTITEXCOORD4IPROC)load("glMultiTexCoord4i");
1255  glad_glMultiTexCoord4iv = (PFNGLMULTITEXCOORD4IVPROC)load("glMultiTexCoord4iv");
1256  glad_glMultiTexCoord4s = (PFNGLMULTITEXCOORD4SPROC)load("glMultiTexCoord4s");
1257  glad_glMultiTexCoord4sv = (PFNGLMULTITEXCOORD4SVPROC)load("glMultiTexCoord4sv");
1258  glad_glLoadTransposeMatrixf = (PFNGLLOADTRANSPOSEMATRIXFPROC)load("glLoadTransposeMatrixf");
1259  glad_glLoadTransposeMatrixd = (PFNGLLOADTRANSPOSEMATRIXDPROC)load("glLoadTransposeMatrixd");
1260  glad_glMultTransposeMatrixf = (PFNGLMULTTRANSPOSEMATRIXFPROC)load("glMultTransposeMatrixf");
1261  glad_glMultTransposeMatrixd = (PFNGLMULTTRANSPOSEMATRIXDPROC)load("glMultTransposeMatrixd");
1262 }
1264  if(!GLAD_GL_VERSION_1_4) return;
1265  glad_glBlendFuncSeparate = (PFNGLBLENDFUNCSEPARATEPROC)load("glBlendFuncSeparate");
1266  glad_glMultiDrawArrays = (PFNGLMULTIDRAWARRAYSPROC)load("glMultiDrawArrays");
1267  glad_glMultiDrawElements = (PFNGLMULTIDRAWELEMENTSPROC)load("glMultiDrawElements");
1268  glad_glPointParameterf = (PFNGLPOINTPARAMETERFPROC)load("glPointParameterf");
1269  glad_glPointParameterfv = (PFNGLPOINTPARAMETERFVPROC)load("glPointParameterfv");
1270  glad_glPointParameteri = (PFNGLPOINTPARAMETERIPROC)load("glPointParameteri");
1271  glad_glPointParameteriv = (PFNGLPOINTPARAMETERIVPROC)load("glPointParameteriv");
1272  glad_glFogCoordf = (PFNGLFOGCOORDFPROC)load("glFogCoordf");
1273  glad_glFogCoordfv = (PFNGLFOGCOORDFVPROC)load("glFogCoordfv");
1274  glad_glFogCoordd = (PFNGLFOGCOORDDPROC)load("glFogCoordd");
1275  glad_glFogCoorddv = (PFNGLFOGCOORDDVPROC)load("glFogCoorddv");
1276  glad_glFogCoordPointer = (PFNGLFOGCOORDPOINTERPROC)load("glFogCoordPointer");
1277  glad_glSecondaryColor3b = (PFNGLSECONDARYCOLOR3BPROC)load("glSecondaryColor3b");
1278  glad_glSecondaryColor3bv = (PFNGLSECONDARYCOLOR3BVPROC)load("glSecondaryColor3bv");
1279  glad_glSecondaryColor3d = (PFNGLSECONDARYCOLOR3DPROC)load("glSecondaryColor3d");
1280  glad_glSecondaryColor3dv = (PFNGLSECONDARYCOLOR3DVPROC)load("glSecondaryColor3dv");
1281  glad_glSecondaryColor3f = (PFNGLSECONDARYCOLOR3FPROC)load("glSecondaryColor3f");
1282  glad_glSecondaryColor3fv = (PFNGLSECONDARYCOLOR3FVPROC)load("glSecondaryColor3fv");
1283  glad_glSecondaryColor3i = (PFNGLSECONDARYCOLOR3IPROC)load("glSecondaryColor3i");
1284  glad_glSecondaryColor3iv = (PFNGLSECONDARYCOLOR3IVPROC)load("glSecondaryColor3iv");
1285  glad_glSecondaryColor3s = (PFNGLSECONDARYCOLOR3SPROC)load("glSecondaryColor3s");
1286  glad_glSecondaryColor3sv = (PFNGLSECONDARYCOLOR3SVPROC)load("glSecondaryColor3sv");
1287  glad_glSecondaryColor3ub = (PFNGLSECONDARYCOLOR3UBPROC)load("glSecondaryColor3ub");
1288  glad_glSecondaryColor3ubv = (PFNGLSECONDARYCOLOR3UBVPROC)load("glSecondaryColor3ubv");
1289  glad_glSecondaryColor3ui = (PFNGLSECONDARYCOLOR3UIPROC)load("glSecondaryColor3ui");
1290  glad_glSecondaryColor3uiv = (PFNGLSECONDARYCOLOR3UIVPROC)load("glSecondaryColor3uiv");
1291  glad_glSecondaryColor3us = (PFNGLSECONDARYCOLOR3USPROC)load("glSecondaryColor3us");
1292  glad_glSecondaryColor3usv = (PFNGLSECONDARYCOLOR3USVPROC)load("glSecondaryColor3usv");
1293  glad_glSecondaryColorPointer = (PFNGLSECONDARYCOLORPOINTERPROC)load("glSecondaryColorPointer");
1294  glad_glWindowPos2d = (PFNGLWINDOWPOS2DPROC)load("glWindowPos2d");
1295  glad_glWindowPos2dv = (PFNGLWINDOWPOS2DVPROC)load("glWindowPos2dv");
1296  glad_glWindowPos2f = (PFNGLWINDOWPOS2FPROC)load("glWindowPos2f");
1297  glad_glWindowPos2fv = (PFNGLWINDOWPOS2FVPROC)load("glWindowPos2fv");
1298  glad_glWindowPos2i = (PFNGLWINDOWPOS2IPROC)load("glWindowPos2i");
1299  glad_glWindowPos2iv = (PFNGLWINDOWPOS2IVPROC)load("glWindowPos2iv");
1300  glad_glWindowPos2s = (PFNGLWINDOWPOS2SPROC)load("glWindowPos2s");
1301  glad_glWindowPos2sv = (PFNGLWINDOWPOS2SVPROC)load("glWindowPos2sv");
1302  glad_glWindowPos3d = (PFNGLWINDOWPOS3DPROC)load("glWindowPos3d");
1303  glad_glWindowPos3dv = (PFNGLWINDOWPOS3DVPROC)load("glWindowPos3dv");
1304  glad_glWindowPos3f = (PFNGLWINDOWPOS3FPROC)load("glWindowPos3f");
1305  glad_glWindowPos3fv = (PFNGLWINDOWPOS3FVPROC)load("glWindowPos3fv");
1306  glad_glWindowPos3i = (PFNGLWINDOWPOS3IPROC)load("glWindowPos3i");
1307  glad_glWindowPos3iv = (PFNGLWINDOWPOS3IVPROC)load("glWindowPos3iv");
1308  glad_glWindowPos3s = (PFNGLWINDOWPOS3SPROC)load("glWindowPos3s");
1309  glad_glWindowPos3sv = (PFNGLWINDOWPOS3SVPROC)load("glWindowPos3sv");
1310  glad_glBlendColor = (PFNGLBLENDCOLORPROC)load("glBlendColor");
1311  glad_glBlendEquation = (PFNGLBLENDEQUATIONPROC)load("glBlendEquation");
1312 }
1314  if(!GLAD_GL_VERSION_1_5) return;
1315  glad_glGenQueries = (PFNGLGENQUERIESPROC)load("glGenQueries");
1316  glad_glDeleteQueries = (PFNGLDELETEQUERIESPROC)load("glDeleteQueries");
1317  glad_glIsQuery = (PFNGLISQUERYPROC)load("glIsQuery");
1318  glad_glBeginQuery = (PFNGLBEGINQUERYPROC)load("glBeginQuery");
1319  glad_glEndQuery = (PFNGLENDQUERYPROC)load("glEndQuery");
1320  glad_glGetQueryiv = (PFNGLGETQUERYIVPROC)load("glGetQueryiv");
1321  glad_glGetQueryObjectiv = (PFNGLGETQUERYOBJECTIVPROC)load("glGetQueryObjectiv");
1322  glad_glGetQueryObjectuiv = (PFNGLGETQUERYOBJECTUIVPROC)load("glGetQueryObjectuiv");
1323  glad_glBindBuffer = (PFNGLBINDBUFFERPROC)load("glBindBuffer");
1324  glad_glDeleteBuffers = (PFNGLDELETEBUFFERSPROC)load("glDeleteBuffers");
1325  glad_glGenBuffers = (PFNGLGENBUFFERSPROC)load("glGenBuffers");
1326  glad_glIsBuffer = (PFNGLISBUFFERPROC)load("glIsBuffer");
1327  glad_glBufferData = (PFNGLBUFFERDATAPROC)load("glBufferData");
1328  glad_glBufferSubData = (PFNGLBUFFERSUBDATAPROC)load("glBufferSubData");
1329  glad_glGetBufferSubData = (PFNGLGETBUFFERSUBDATAPROC)load("glGetBufferSubData");
1330  glad_glMapBuffer = (PFNGLMAPBUFFERPROC)load("glMapBuffer");
1331  glad_glUnmapBuffer = (PFNGLUNMAPBUFFERPROC)load("glUnmapBuffer");
1332  glad_glGetBufferParameteriv = (PFNGLGETBUFFERPARAMETERIVPROC)load("glGetBufferParameteriv");
1333  glad_glGetBufferPointerv = (PFNGLGETBUFFERPOINTERVPROC)load("glGetBufferPointerv");
1334 }
1336  if(!GLAD_GL_VERSION_2_0) return;
1337  glad_glBlendEquationSeparate = (PFNGLBLENDEQUATIONSEPARATEPROC)load("glBlendEquationSeparate");
1338  glad_glDrawBuffers = (PFNGLDRAWBUFFERSPROC)load("glDrawBuffers");
1339  glad_glStencilOpSeparate = (PFNGLSTENCILOPSEPARATEPROC)load("glStencilOpSeparate");
1340  glad_glStencilFuncSeparate = (PFNGLSTENCILFUNCSEPARATEPROC)load("glStencilFuncSeparate");
1341  glad_glStencilMaskSeparate = (PFNGLSTENCILMASKSEPARATEPROC)load("glStencilMaskSeparate");
1342  glad_glAttachShader = (PFNGLATTACHSHADERPROC)load("glAttachShader");
1343  glad_glBindAttribLocation = (PFNGLBINDATTRIBLOCATIONPROC)load("glBindAttribLocation");
1344  glad_glCompileShader = (PFNGLCOMPILESHADERPROC)load("glCompileShader");
1345  glad_glCreateProgram = (PFNGLCREATEPROGRAMPROC)load("glCreateProgram");
1346  glad_glCreateShader = (PFNGLCREATESHADERPROC)load("glCreateShader");
1347  glad_glDeleteProgram = (PFNGLDELETEPROGRAMPROC)load("glDeleteProgram");
1348  glad_glDeleteShader = (PFNGLDELETESHADERPROC)load("glDeleteShader");
1349  glad_glDetachShader = (PFNGLDETACHSHADERPROC)load("glDetachShader");
1350  glad_glDisableVertexAttribArray = (PFNGLDISABLEVERTEXATTRIBARRAYPROC)load("glDisableVertexAttribArray");
1351  glad_glEnableVertexAttribArray = (PFNGLENABLEVERTEXATTRIBARRAYPROC)load("glEnableVertexAttribArray");
1352  glad_glGetActiveAttrib = (PFNGLGETACTIVEATTRIBPROC)load("glGetActiveAttrib");
1353  glad_glGetActiveUniform = (PFNGLGETACTIVEUNIFORMPROC)load("glGetActiveUniform");
1354  glad_glGetAttachedShaders = (PFNGLGETATTACHEDSHADERSPROC)load("glGetAttachedShaders");
1355  glad_glGetAttribLocation = (PFNGLGETATTRIBLOCATIONPROC)load("glGetAttribLocation");
1356  glad_glGetProgramiv = (PFNGLGETPROGRAMIVPROC)load("glGetProgramiv");
1357  glad_glGetProgramInfoLog = (PFNGLGETPROGRAMINFOLOGPROC)load("glGetProgramInfoLog");
1358  glad_glGetShaderiv = (PFNGLGETSHADERIVPROC)load("glGetShaderiv");
1359  glad_glGetShaderInfoLog = (PFNGLGETSHADERINFOLOGPROC)load("glGetShaderInfoLog");
1360  glad_glGetShaderSource = (PFNGLGETSHADERSOURCEPROC)load("glGetShaderSource");
1361  glad_glGetUniformLocation = (PFNGLGETUNIFORMLOCATIONPROC)load("glGetUniformLocation");
1362  glad_glGetUniformfv = (PFNGLGETUNIFORMFVPROC)load("glGetUniformfv");
1363  glad_glGetUniformiv = (PFNGLGETUNIFORMIVPROC)load("glGetUniformiv");
1364  glad_glGetVertexAttribdv = (PFNGLGETVERTEXATTRIBDVPROC)load("glGetVertexAttribdv");
1365  glad_glGetVertexAttribfv = (PFNGLGETVERTEXATTRIBFVPROC)load("glGetVertexAttribfv");
1366  glad_glGetVertexAttribiv = (PFNGLGETVERTEXATTRIBIVPROC)load("glGetVertexAttribiv");
1367  glad_glGetVertexAttribPointerv = (PFNGLGETVERTEXATTRIBPOINTERVPROC)load("glGetVertexAttribPointerv");
1368  glad_glIsProgram = (PFNGLISPROGRAMPROC)load("glIsProgram");
1369  glad_glIsShader = (PFNGLISSHADERPROC)load("glIsShader");
1370  glad_glLinkProgram = (PFNGLLINKPROGRAMPROC)load("glLinkProgram");
1371  glad_glShaderSource = (PFNGLSHADERSOURCEPROC)load("glShaderSource");
1372  glad_glUseProgram = (PFNGLUSEPROGRAMPROC)load("glUseProgram");
1373  glad_glUniform1f = (PFNGLUNIFORM1FPROC)load("glUniform1f");
1374  glad_glUniform2f = (PFNGLUNIFORM2FPROC)load("glUniform2f");
1375  glad_glUniform3f = (PFNGLUNIFORM3FPROC)load("glUniform3f");
1376  glad_glUniform4f = (PFNGLUNIFORM4FPROC)load("glUniform4f");
1377  glad_glUniform1i = (PFNGLUNIFORM1IPROC)load("glUniform1i");
1378  glad_glUniform2i = (PFNGLUNIFORM2IPROC)load("glUniform2i");
1379  glad_glUniform3i = (PFNGLUNIFORM3IPROC)load("glUniform3i");
1380  glad_glUniform4i = (PFNGLUNIFORM4IPROC)load("glUniform4i");
1381  glad_glUniform1fv = (PFNGLUNIFORM1FVPROC)load("glUniform1fv");
1382  glad_glUniform2fv = (PFNGLUNIFORM2FVPROC)load("glUniform2fv");
1383  glad_glUniform3fv = (PFNGLUNIFORM3FVPROC)load("glUniform3fv");
1384  glad_glUniform4fv = (PFNGLUNIFORM4FVPROC)load("glUniform4fv");
1385  glad_glUniform1iv = (PFNGLUNIFORM1IVPROC)load("glUniform1iv");
1386  glad_glUniform2iv = (PFNGLUNIFORM2IVPROC)load("glUniform2iv");
1387  glad_glUniform3iv = (PFNGLUNIFORM3IVPROC)load("glUniform3iv");
1388  glad_glUniform4iv = (PFNGLUNIFORM4IVPROC)load("glUniform4iv");
1389  glad_glUniformMatrix2fv = (PFNGLUNIFORMMATRIX2FVPROC)load("glUniformMatrix2fv");
1390  glad_glUniformMatrix3fv = (PFNGLUNIFORMMATRIX3FVPROC)load("glUniformMatrix3fv");
1391  glad_glUniformMatrix4fv = (PFNGLUNIFORMMATRIX4FVPROC)load("glUniformMatrix4fv");
1392  glad_glValidateProgram = (PFNGLVALIDATEPROGRAMPROC)load("glValidateProgram");
1393  glad_glVertexAttrib1d = (PFNGLVERTEXATTRIB1DPROC)load("glVertexAttrib1d");
1394  glad_glVertexAttrib1dv = (PFNGLVERTEXATTRIB1DVPROC)load("glVertexAttrib1dv");
1395  glad_glVertexAttrib1f = (PFNGLVERTEXATTRIB1FPROC)load("glVertexAttrib1f");
1396  glad_glVertexAttrib1fv = (PFNGLVERTEXATTRIB1FVPROC)load("glVertexAttrib1fv");
1397  glad_glVertexAttrib1s = (PFNGLVERTEXATTRIB1SPROC)load("glVertexAttrib1s");
1398  glad_glVertexAttrib1sv = (PFNGLVERTEXATTRIB1SVPROC)load("glVertexAttrib1sv");
1399  glad_glVertexAttrib2d = (PFNGLVERTEXATTRIB2DPROC)load("glVertexAttrib2d");
1400  glad_glVertexAttrib2dv = (PFNGLVERTEXATTRIB2DVPROC)load("glVertexAttrib2dv");
1401  glad_glVertexAttrib2f = (PFNGLVERTEXATTRIB2FPROC)load("glVertexAttrib2f");
1402  glad_glVertexAttrib2fv = (PFNGLVERTEXATTRIB2FVPROC)load("glVertexAttrib2fv");
1403  glad_glVertexAttrib2s = (PFNGLVERTEXATTRIB2SPROC)load("glVertexAttrib2s");
1404  glad_glVertexAttrib2sv = (PFNGLVERTEXATTRIB2SVPROC)load("glVertexAttrib2sv");
1405  glad_glVertexAttrib3d = (PFNGLVERTEXATTRIB3DPROC)load("glVertexAttrib3d");
1406  glad_glVertexAttrib3dv = (PFNGLVERTEXATTRIB3DVPROC)load("glVertexAttrib3dv");
1407  glad_glVertexAttrib3f = (PFNGLVERTEXATTRIB3FPROC)load("glVertexAttrib3f");
1408  glad_glVertexAttrib3fv = (PFNGLVERTEXATTRIB3FVPROC)load("glVertexAttrib3fv");
1409  glad_glVertexAttrib3s = (PFNGLVERTEXATTRIB3SPROC)load("glVertexAttrib3s");
1410  glad_glVertexAttrib3sv = (PFNGLVERTEXATTRIB3SVPROC)load("glVertexAttrib3sv");
1411  glad_glVertexAttrib4Nbv = (PFNGLVERTEXATTRIB4NBVPROC)load("glVertexAttrib4Nbv");
1412  glad_glVertexAttrib4Niv = (PFNGLVERTEXATTRIB4NIVPROC)load("glVertexAttrib4Niv");
1413  glad_glVertexAttrib4Nsv = (PFNGLVERTEXATTRIB4NSVPROC)load("glVertexAttrib4Nsv");
1414  glad_glVertexAttrib4Nub = (PFNGLVERTEXATTRIB4NUBPROC)load("glVertexAttrib4Nub");
1415  glad_glVertexAttrib4Nubv = (PFNGLVERTEXATTRIB4NUBVPROC)load("glVertexAttrib4Nubv");
1416  glad_glVertexAttrib4Nuiv = (PFNGLVERTEXATTRIB4NUIVPROC)load("glVertexAttrib4Nuiv");
1417  glad_glVertexAttrib4Nusv = (PFNGLVERTEXATTRIB4NUSVPROC)load("glVertexAttrib4Nusv");
1418  glad_glVertexAttrib4bv = (PFNGLVERTEXATTRIB4BVPROC)load("glVertexAttrib4bv");
1419  glad_glVertexAttrib4d = (PFNGLVERTEXATTRIB4DPROC)load("glVertexAttrib4d");
1420  glad_glVertexAttrib4dv = (PFNGLVERTEXATTRIB4DVPROC)load("glVertexAttrib4dv");
1421  glad_glVertexAttrib4f = (PFNGLVERTEXATTRIB4FPROC)load("glVertexAttrib4f");
1422  glad_glVertexAttrib4fv = (PFNGLVERTEXATTRIB4FVPROC)load("glVertexAttrib4fv");
1423  glad_glVertexAttrib4iv = (PFNGLVERTEXATTRIB4IVPROC)load("glVertexAttrib4iv");
1424  glad_glVertexAttrib4s = (PFNGLVERTEXATTRIB4SPROC)load("glVertexAttrib4s");
1425  glad_glVertexAttrib4sv = (PFNGLVERTEXATTRIB4SVPROC)load("glVertexAttrib4sv");
1426  glad_glVertexAttrib4ubv = (PFNGLVERTEXATTRIB4UBVPROC)load("glVertexAttrib4ubv");
1427  glad_glVertexAttrib4uiv = (PFNGLVERTEXATTRIB4UIVPROC)load("glVertexAttrib4uiv");
1428  glad_glVertexAttrib4usv = (PFNGLVERTEXATTRIB4USVPROC)load("glVertexAttrib4usv");
1429  glad_glVertexAttribPointer = (PFNGLVERTEXATTRIBPOINTERPROC)load("glVertexAttribPointer");
1430 }
1432  if(!GLAD_GL_VERSION_2_1) return;
1433  glad_glUniformMatrix2x3fv = (PFNGLUNIFORMMATRIX2X3FVPROC)load("glUniformMatrix2x3fv");
1434  glad_glUniformMatrix3x2fv = (PFNGLUNIFORMMATRIX3X2FVPROC)load("glUniformMatrix3x2fv");
1435  glad_glUniformMatrix2x4fv = (PFNGLUNIFORMMATRIX2X4FVPROC)load("glUniformMatrix2x4fv");
1436  glad_glUniformMatrix4x2fv = (PFNGLUNIFORMMATRIX4X2FVPROC)load("glUniformMatrix4x2fv");
1437  glad_glUniformMatrix3x4fv = (PFNGLUNIFORMMATRIX3X4FVPROC)load("glUniformMatrix3x4fv");
1438  glad_glUniformMatrix4x3fv = (PFNGLUNIFORMMATRIX4X3FVPROC)load("glUniformMatrix4x3fv");
1439 }
1441  if(!GLAD_GL_VERSION_3_0) return;
1442  glad_glColorMaski = (PFNGLCOLORMASKIPROC)load("glColorMaski");
1443  glad_glGetBooleani_v = (PFNGLGETBOOLEANI_VPROC)load("glGetBooleani_v");
1444  glad_glGetIntegeri_v = (PFNGLGETINTEGERI_VPROC)load("glGetIntegeri_v");
1445  glad_glEnablei = (PFNGLENABLEIPROC)load("glEnablei");
1446  glad_glDisablei = (PFNGLDISABLEIPROC)load("glDisablei");
1447  glad_glIsEnabledi = (PFNGLISENABLEDIPROC)load("glIsEnabledi");
1448  glad_glBeginTransformFeedback = (PFNGLBEGINTRANSFORMFEEDBACKPROC)load("glBeginTransformFeedback");
1449  glad_glEndTransformFeedback = (PFNGLENDTRANSFORMFEEDBACKPROC)load("glEndTransformFeedback");
1450  glad_glBindBufferRange = (PFNGLBINDBUFFERRANGEPROC)load("glBindBufferRange");
1451  glad_glBindBufferBase = (PFNGLBINDBUFFERBASEPROC)load("glBindBufferBase");
1452  glad_glTransformFeedbackVaryings = (PFNGLTRANSFORMFEEDBACKVARYINGSPROC)load("glTransformFeedbackVaryings");
1453  glad_glGetTransformFeedbackVarying = (PFNGLGETTRANSFORMFEEDBACKVARYINGPROC)load("glGetTransformFeedbackVarying");
1454  glad_glClampColor = (PFNGLCLAMPCOLORPROC)load("glClampColor");
1455  glad_glBeginConditionalRender = (PFNGLBEGINCONDITIONALRENDERPROC)load("glBeginConditionalRender");
1456  glad_glEndConditionalRender = (PFNGLENDCONDITIONALRENDERPROC)load("glEndConditionalRender");
1457  glad_glVertexAttribIPointer = (PFNGLVERTEXATTRIBIPOINTERPROC)load("glVertexAttribIPointer");
1458  glad_glGetVertexAttribIiv = (PFNGLGETVERTEXATTRIBIIVPROC)load("glGetVertexAttribIiv");
1459  glad_glGetVertexAttribIuiv = (PFNGLGETVERTEXATTRIBIUIVPROC)load("glGetVertexAttribIuiv");
1460  glad_glVertexAttribI1i = (PFNGLVERTEXATTRIBI1IPROC)load("glVertexAttribI1i");
1461  glad_glVertexAttribI2i = (PFNGLVERTEXATTRIBI2IPROC)load("glVertexAttribI2i");
1462  glad_glVertexAttribI3i = (PFNGLVERTEXATTRIBI3IPROC)load("glVertexAttribI3i");
1463  glad_glVertexAttribI4i = (PFNGLVERTEXATTRIBI4IPROC)load("glVertexAttribI4i");
1464  glad_glVertexAttribI1ui = (PFNGLVERTEXATTRIBI1UIPROC)load("glVertexAttribI1ui");
1465  glad_glVertexAttribI2ui = (PFNGLVERTEXATTRIBI2UIPROC)load("glVertexAttribI2ui");
1466  glad_glVertexAttribI3ui = (PFNGLVERTEXATTRIBI3UIPROC)load("glVertexAttribI3ui");
1467  glad_glVertexAttribI4ui = (PFNGLVERTEXATTRIBI4UIPROC)load("glVertexAttribI4ui");
1468  glad_glVertexAttribI1iv = (PFNGLVERTEXATTRIBI1IVPROC)load("glVertexAttribI1iv");
1469  glad_glVertexAttribI2iv = (PFNGLVERTEXATTRIBI2IVPROC)load("glVertexAttribI2iv");
1470  glad_glVertexAttribI3iv = (PFNGLVERTEXATTRIBI3IVPROC)load("glVertexAttribI3iv");
1471  glad_glVertexAttribI4iv = (PFNGLVERTEXATTRIBI4IVPROC)load("glVertexAttribI4iv");
1472  glad_glVertexAttribI1uiv = (PFNGLVERTEXATTRIBI1UIVPROC)load("glVertexAttribI1uiv");
1473  glad_glVertexAttribI2uiv = (PFNGLVERTEXATTRIBI2UIVPROC)load("glVertexAttribI2uiv");
1474  glad_glVertexAttribI3uiv = (PFNGLVERTEXATTRIBI3UIVPROC)load("glVertexAttribI3uiv");
1475  glad_glVertexAttribI4uiv = (PFNGLVERTEXATTRIBI4UIVPROC)load("glVertexAttribI4uiv");
1476  glad_glVertexAttribI4bv = (PFNGLVERTEXATTRIBI4BVPROC)load("glVertexAttribI4bv");
1477  glad_glVertexAttribI4sv = (PFNGLVERTEXATTRIBI4SVPROC)load("glVertexAttribI4sv");
1478  glad_glVertexAttribI4ubv = (PFNGLVERTEXATTRIBI4UBVPROC)load("glVertexAttribI4ubv");
1479  glad_glVertexAttribI4usv = (PFNGLVERTEXATTRIBI4USVPROC)load("glVertexAttribI4usv");
1480  glad_glGetUniformuiv = (PFNGLGETUNIFORMUIVPROC)load("glGetUniformuiv");
1481  glad_glBindFragDataLocation = (PFNGLBINDFRAGDATALOCATIONPROC)load("glBindFragDataLocation");
1482  glad_glGetFragDataLocation = (PFNGLGETFRAGDATALOCATIONPROC)load("glGetFragDataLocation");
1483  glad_glUniform1ui = (PFNGLUNIFORM1UIPROC)load("glUniform1ui");
1484  glad_glUniform2ui = (PFNGLUNIFORM2UIPROC)load("glUniform2ui");
1485  glad_glUniform3ui = (PFNGLUNIFORM3UIPROC)load("glUniform3ui");
1486  glad_glUniform4ui = (PFNGLUNIFORM4UIPROC)load("glUniform4ui");
1487  glad_glUniform1uiv = (PFNGLUNIFORM1UIVPROC)load("glUniform1uiv");
1488  glad_glUniform2uiv = (PFNGLUNIFORM2UIVPROC)load("glUniform2uiv");
1489  glad_glUniform3uiv = (PFNGLUNIFORM3UIVPROC)load("glUniform3uiv");
1490  glad_glUniform4uiv = (PFNGLUNIFORM4UIVPROC)load("glUniform4uiv");
1491  glad_glTexParameterIiv = (PFNGLTEXPARAMETERIIVPROC)load("glTexParameterIiv");
1492  glad_glTexParameterIuiv = (PFNGLTEXPARAMETERIUIVPROC)load("glTexParameterIuiv");
1493  glad_glGetTexParameterIiv = (PFNGLGETTEXPARAMETERIIVPROC)load("glGetTexParameterIiv");
1494  glad_glGetTexParameterIuiv = (PFNGLGETTEXPARAMETERIUIVPROC)load("glGetTexParameterIuiv");
1495  glad_glClearBufferiv = (PFNGLCLEARBUFFERIVPROC)load("glClearBufferiv");
1496  glad_glClearBufferuiv = (PFNGLCLEARBUFFERUIVPROC)load("glClearBufferuiv");
1497  glad_glClearBufferfv = (PFNGLCLEARBUFFERFVPROC)load("glClearBufferfv");
1498  glad_glClearBufferfi = (PFNGLCLEARBUFFERFIPROC)load("glClearBufferfi");
1499  glad_glGetStringi = (PFNGLGETSTRINGIPROC)load("glGetStringi");
1500  glad_glIsRenderbuffer = (PFNGLISRENDERBUFFERPROC)load("glIsRenderbuffer");
1501  glad_glBindRenderbuffer = (PFNGLBINDRENDERBUFFERPROC)load("glBindRenderbuffer");
1502  glad_glDeleteRenderbuffers = (PFNGLDELETERENDERBUFFERSPROC)load("glDeleteRenderbuffers");
1503  glad_glGenRenderbuffers = (PFNGLGENRENDERBUFFERSPROC)load("glGenRenderbuffers");
1504  glad_glRenderbufferStorage = (PFNGLRENDERBUFFERSTORAGEPROC)load("glRenderbufferStorage");
1505  glad_glGetRenderbufferParameteriv = (PFNGLGETRENDERBUFFERPARAMETERIVPROC)load("glGetRenderbufferParameteriv");
1506  glad_glIsFramebuffer = (PFNGLISFRAMEBUFFERPROC)load("glIsFramebuffer");
1507  glad_glBindFramebuffer = (PFNGLBINDFRAMEBUFFERPROC)load("glBindFramebuffer");
1508  glad_glDeleteFramebuffers = (PFNGLDELETEFRAMEBUFFERSPROC)load("glDeleteFramebuffers");
1509  glad_glGenFramebuffers = (PFNGLGENFRAMEBUFFERSPROC)load("glGenFramebuffers");
1510  glad_glCheckFramebufferStatus = (PFNGLCHECKFRAMEBUFFERSTATUSPROC)load("glCheckFramebufferStatus");
1511  glad_glFramebufferTexture1D = (PFNGLFRAMEBUFFERTEXTURE1DPROC)load("glFramebufferTexture1D");
1512  glad_glFramebufferTexture2D = (PFNGLFRAMEBUFFERTEXTURE2DPROC)load("glFramebufferTexture2D");
1513  glad_glFramebufferTexture3D = (PFNGLFRAMEBUFFERTEXTURE3DPROC)load("glFramebufferTexture3D");
1514  glad_glFramebufferRenderbuffer = (PFNGLFRAMEBUFFERRENDERBUFFERPROC)load("glFramebufferRenderbuffer");
1515  glad_glGetFramebufferAttachmentParameteriv = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC)load("glGetFramebufferAttachmentParameteriv");
1516  glad_glGenerateMipmap = (PFNGLGENERATEMIPMAPPROC)load("glGenerateMipmap");
1517  glad_glBlitFramebuffer = (PFNGLBLITFRAMEBUFFERPROC)load("glBlitFramebuffer");
1518  glad_glRenderbufferStorageMultisample = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC)load("glRenderbufferStorageMultisample");
1519  glad_glFramebufferTextureLayer = (PFNGLFRAMEBUFFERTEXTURELAYERPROC)load("glFramebufferTextureLayer");
1520  glad_glMapBufferRange = (PFNGLMAPBUFFERRANGEPROC)load("glMapBufferRange");
1521  glad_glFlushMappedBufferRange = (PFNGLFLUSHMAPPEDBUFFERRANGEPROC)load("glFlushMappedBufferRange");
1522  glad_glBindVertexArray = (PFNGLBINDVERTEXARRAYPROC)load("glBindVertexArray");
1523  glad_glDeleteVertexArrays = (PFNGLDELETEVERTEXARRAYSPROC)load("glDeleteVertexArrays");
1524  glad_glGenVertexArrays = (PFNGLGENVERTEXARRAYSPROC)load("glGenVertexArrays");
1525  glad_glIsVertexArray = (PFNGLISVERTEXARRAYPROC)load("glIsVertexArray");
1526 }
1528  if(!GLAD_GL_VERSION_3_1) return;
1529  glad_glDrawArraysInstanced = (PFNGLDRAWARRAYSINSTANCEDPROC)load("glDrawArraysInstanced");
1530  glad_glDrawElementsInstanced = (PFNGLDRAWELEMENTSINSTANCEDPROC)load("glDrawElementsInstanced");
1531  glad_glTexBuffer = (PFNGLTEXBUFFERPROC)load("glTexBuffer");
1532  glad_glPrimitiveRestartIndex = (PFNGLPRIMITIVERESTARTINDEXPROC)load("glPrimitiveRestartIndex");
1533  glad_glCopyBufferSubData = (PFNGLCOPYBUFFERSUBDATAPROC)load("glCopyBufferSubData");
1534  glad_glGetUniformIndices = (PFNGLGETUNIFORMINDICESPROC)load("glGetUniformIndices");
1535  glad_glGetActiveUniformsiv = (PFNGLGETACTIVEUNIFORMSIVPROC)load("glGetActiveUniformsiv");
1536  glad_glGetActiveUniformName = (PFNGLGETACTIVEUNIFORMNAMEPROC)load("glGetActiveUniformName");
1537  glad_glGetUniformBlockIndex = (PFNGLGETUNIFORMBLOCKINDEXPROC)load("glGetUniformBlockIndex");
1538  glad_glGetActiveUniformBlockiv = (PFNGLGETACTIVEUNIFORMBLOCKIVPROC)load("glGetActiveUniformBlockiv");
1539  glad_glGetActiveUniformBlockName = (PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC)load("glGetActiveUniformBlockName");
1540  glad_glUniformBlockBinding = (PFNGLUNIFORMBLOCKBINDINGPROC)load("glUniformBlockBinding");
1541  glad_glBindBufferRange = (PFNGLBINDBUFFERRANGEPROC)load("glBindBufferRange");
1542  glad_glBindBufferBase = (PFNGLBINDBUFFERBASEPROC)load("glBindBufferBase");
1543  glad_glGetIntegeri_v = (PFNGLGETINTEGERI_VPROC)load("glGetIntegeri_v");
1544 }
1546  if(!GLAD_GL_VERSION_3_2) return;
1547  glad_glDrawElementsBaseVertex = (PFNGLDRAWELEMENTSBASEVERTEXPROC)load("glDrawElementsBaseVertex");
1548  glad_glDrawRangeElementsBaseVertex = (PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC)load("glDrawRangeElementsBaseVertex");
1549  glad_glDrawElementsInstancedBaseVertex = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC)load("glDrawElementsInstancedBaseVertex");
1550  glad_glMultiDrawElementsBaseVertex = (PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC)load("glMultiDrawElementsBaseVertex");
1551  glad_glProvokingVertex = (PFNGLPROVOKINGVERTEXPROC)load("glProvokingVertex");
1552  glad_glFenceSync = (PFNGLFENCESYNCPROC)load("glFenceSync");
1553  glad_glIsSync = (PFNGLISSYNCPROC)load("glIsSync");
1554  glad_glDeleteSync = (PFNGLDELETESYNCPROC)load("glDeleteSync");
1555  glad_glClientWaitSync = (PFNGLCLIENTWAITSYNCPROC)load("glClientWaitSync");
1556  glad_glWaitSync = (PFNGLWAITSYNCPROC)load("glWaitSync");
1557  glad_glGetInteger64v = (PFNGLGETINTEGER64VPROC)load("glGetInteger64v");
1558  glad_glGetSynciv = (PFNGLGETSYNCIVPROC)load("glGetSynciv");
1559  glad_glGetInteger64i_v = (PFNGLGETINTEGER64I_VPROC)load("glGetInteger64i_v");
1560  glad_glGetBufferParameteri64v = (PFNGLGETBUFFERPARAMETERI64VPROC)load("glGetBufferParameteri64v");
1561  glad_glFramebufferTexture = (PFNGLFRAMEBUFFERTEXTUREPROC)load("glFramebufferTexture");
1562  glad_glTexImage2DMultisample = (PFNGLTEXIMAGE2DMULTISAMPLEPROC)load("glTexImage2DMultisample");
1563  glad_glTexImage3DMultisample = (PFNGLTEXIMAGE3DMULTISAMPLEPROC)load("glTexImage3DMultisample");
1564  glad_glGetMultisamplefv = (PFNGLGETMULTISAMPLEFVPROC)load("glGetMultisamplefv");
1565  glad_glSampleMaski = (PFNGLSAMPLEMASKIPROC)load("glSampleMaski");
1566 }
1569  glad_glBindVertexArrayAPPLE = (PFNGLBINDVERTEXARRAYAPPLEPROC)load("glBindVertexArrayAPPLE");
1570  glad_glDeleteVertexArraysAPPLE = (PFNGLDELETEVERTEXARRAYSAPPLEPROC)load("glDeleteVertexArraysAPPLE");
1571  glad_glGenVertexArraysAPPLE = (PFNGLGENVERTEXARRAYSAPPLEPROC)load("glGenVertexArraysAPPLE");
1572  glad_glIsVertexArrayAPPLE = (PFNGLISVERTEXARRAYAPPLEPROC)load("glIsVertexArrayAPPLE");
1573 }
1575  if(!GLAD_GL_ARB_multisample) return;
1576  glad_glSampleCoverageARB = (PFNGLSAMPLECOVERAGEARBPROC)load("glSampleCoverageARB");
1577 }
1579  if(!GLAD_GL_ARB_robustness) return;
1580  glad_glGetGraphicsResetStatusARB = (PFNGLGETGRAPHICSRESETSTATUSARBPROC)load("glGetGraphicsResetStatusARB");
1581  glad_glGetnTexImageARB = (PFNGLGETNTEXIMAGEARBPROC)load("glGetnTexImageARB");
1582  glad_glReadnPixelsARB = (PFNGLREADNPIXELSARBPROC)load("glReadnPixelsARB");
1583  glad_glGetnCompressedTexImageARB = (PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC)load("glGetnCompressedTexImageARB");
1584  glad_glGetnUniformfvARB = (PFNGLGETNUNIFORMFVARBPROC)load("glGetnUniformfvARB");
1585  glad_glGetnUniformivARB = (PFNGLGETNUNIFORMIVARBPROC)load("glGetnUniformivARB");
1586  glad_glGetnUniformuivARB = (PFNGLGETNUNIFORMUIVARBPROC)load("glGetnUniformuivARB");
1587  glad_glGetnUniformdvARB = (PFNGLGETNUNIFORMDVARBPROC)load("glGetnUniformdvARB");
1588  glad_glGetnMapdvARB = (PFNGLGETNMAPDVARBPROC)load("glGetnMapdvARB");
1589  glad_glGetnMapfvARB = (PFNGLGETNMAPFVARBPROC)load("glGetnMapfvARB");
1590  glad_glGetnMapivARB = (PFNGLGETNMAPIVARBPROC)load("glGetnMapivARB");
1591  glad_glGetnPixelMapfvARB = (PFNGLGETNPIXELMAPFVARBPROC)load("glGetnPixelMapfvARB");
1592  glad_glGetnPixelMapuivARB = (PFNGLGETNPIXELMAPUIVARBPROC)load("glGetnPixelMapuivARB");
1593  glad_glGetnPixelMapusvARB = (PFNGLGETNPIXELMAPUSVARBPROC)load("glGetnPixelMapusvARB");
1594  glad_glGetnPolygonStippleARB = (PFNGLGETNPOLYGONSTIPPLEARBPROC)load("glGetnPolygonStippleARB");
1595  glad_glGetnColorTableARB = (PFNGLGETNCOLORTABLEARBPROC)load("glGetnColorTableARB");
1596  glad_glGetnConvolutionFilterARB = (PFNGLGETNCONVOLUTIONFILTERARBPROC)load("glGetnConvolutionFilterARB");
1597  glad_glGetnSeparableFilterARB = (PFNGLGETNSEPARABLEFILTERARBPROC)load("glGetnSeparableFilterARB");
1598  glad_glGetnHistogramARB = (PFNGLGETNHISTOGRAMARBPROC)load("glGetnHistogramARB");
1599  glad_glGetnMinmaxARB = (PFNGLGETNMINMAXARBPROC)load("glGetnMinmaxARB");
1600 }
1602  if(!GLAD_GL_ARB_vertex_array_object) return;
1603  glad_glBindVertexArray = (PFNGLBINDVERTEXARRAYPROC)load("glBindVertexArray");
1604  glad_glDeleteVertexArrays = (PFNGLDELETEVERTEXARRAYSPROC)load("glDeleteVertexArrays");
1605  glad_glGenVertexArrays = (PFNGLGENVERTEXARRAYSPROC)load("glGenVertexArrays");
1606  glad_glIsVertexArray = (PFNGLISVERTEXARRAYPROC)load("glIsVertexArray");
1607 }
1608 static void load_GL_KHR_debug(GLADloadproc load) {
1609  if(!GLAD_GL_KHR_debug) return;
1610  glad_glDebugMessageControl = (PFNGLDEBUGMESSAGECONTROLPROC)load("glDebugMessageControl");
1611  glad_glDebugMessageInsert = (PFNGLDEBUGMESSAGEINSERTPROC)load("glDebugMessageInsert");
1612  glad_glDebugMessageCallback = (PFNGLDEBUGMESSAGECALLBACKPROC)load("glDebugMessageCallback");
1613  glad_glGetDebugMessageLog = (PFNGLGETDEBUGMESSAGELOGPROC)load("glGetDebugMessageLog");
1614  glad_glPushDebugGroup = (PFNGLPUSHDEBUGGROUPPROC)load("glPushDebugGroup");
1615  glad_glPopDebugGroup = (PFNGLPOPDEBUGGROUPPROC)load("glPopDebugGroup");
1616  glad_glObjectLabel = (PFNGLOBJECTLABELPROC)load("glObjectLabel");
1617  glad_glGetObjectLabel = (PFNGLGETOBJECTLABELPROC)load("glGetObjectLabel");
1618  glad_glObjectPtrLabel = (PFNGLOBJECTPTRLABELPROC)load("glObjectPtrLabel");
1619  glad_glGetObjectPtrLabel = (PFNGLGETOBJECTPTRLABELPROC)load("glGetObjectPtrLabel");
1620  glad_glGetPointerv = (PFNGLGETPOINTERVPROC)load("glGetPointerv");
1621  glad_glDebugMessageControlKHR = (PFNGLDEBUGMESSAGECONTROLKHRPROC)load("glDebugMessageControlKHR");
1622  glad_glDebugMessageInsertKHR = (PFNGLDEBUGMESSAGEINSERTKHRPROC)load("glDebugMessageInsertKHR");
1623  glad_glDebugMessageCallbackKHR = (PFNGLDEBUGMESSAGECALLBACKKHRPROC)load("glDebugMessageCallbackKHR");
1624  glad_glGetDebugMessageLogKHR = (PFNGLGETDEBUGMESSAGELOGKHRPROC)load("glGetDebugMessageLogKHR");
1625  glad_glPushDebugGroupKHR = (PFNGLPUSHDEBUGGROUPKHRPROC)load("glPushDebugGroupKHR");
1626  glad_glPopDebugGroupKHR = (PFNGLPOPDEBUGGROUPKHRPROC)load("glPopDebugGroupKHR");
1627  glad_glObjectLabelKHR = (PFNGLOBJECTLABELKHRPROC)load("glObjectLabelKHR");
1628  glad_glGetObjectLabelKHR = (PFNGLGETOBJECTLABELKHRPROC)load("glGetObjectLabelKHR");
1629  glad_glObjectPtrLabelKHR = (PFNGLOBJECTPTRLABELKHRPROC)load("glObjectPtrLabelKHR");
1630  glad_glGetObjectPtrLabelKHR = (PFNGLGETOBJECTPTRLABELKHRPROC)load("glGetObjectPtrLabelKHR");
1631  glad_glGetPointervKHR = (PFNGLGETPOINTERVKHRPROC)load("glGetPointervKHR");
1632 }
1633 static int find_extensionsGL(void) {
1634  if (!get_exts()) return 0;
1635  GLAD_GL_APPLE_vertex_array_object = has_ext("GL_APPLE_vertex_array_object");
1636  GLAD_GL_ARB_multisample = has_ext("GL_ARB_multisample");
1637  GLAD_GL_ARB_robustness = has_ext("GL_ARB_robustness");
1638  GLAD_GL_ARB_vertex_array_object = has_ext("GL_ARB_vertex_array_object");
1639  GLAD_GL_KHR_debug = has_ext("GL_KHR_debug");
1640  free_exts();
1641  return 1;
1642 }
1643 
1644 static void find_coreGL(void) {
1645 
1646  /* Thank you @elmindreda
1647  * https://github.com/elmindreda/greg/blob/master/templates/greg.c.in#L176
1648  * https://github.com/glfw/glfw/blob/master/src/context.c#L36
1649  */
1650  int i, major, minor;
1651 
1652  const char* version;
1653  const char* prefixes[] = {
1654  "OpenGL ES-CM ",
1655  "OpenGL ES-CL ",
1656  "OpenGL ES ",
1657  NULL
1658  };
1659 
1660  version = (const char*) glGetString(GL_VERSION);
1661  if (!version) return;
1662 
1663  for (i = 0; prefixes[i]; i++) {
1664  const size_t length = strlen(prefixes[i]);
1665  if (strncmp(version, prefixes[i], length) == 0) {
1666  version += length;
1667  break;
1668  }
1669  }
1670 
1671 /* PR #18 */
1672 #ifdef _MSC_VER
1673  sscanf_s(version, "%d.%d", &major, &minor);
1674 #else
1675  sscanf(version, "%d.%d", &major, &minor);
1676 #endif
1677 
1678  GLVersion.major = major; GLVersion.minor = minor;
1680  GLAD_GL_VERSION_1_0 = (major == 1 && minor >= 0) || major > 1;
1681  GLAD_GL_VERSION_1_1 = (major == 1 && minor >= 1) || major > 1;
1682  GLAD_GL_VERSION_1_2 = (major == 1 && minor >= 2) || major > 1;
1683  GLAD_GL_VERSION_1_3 = (major == 1 && minor >= 3) || major > 1;
1684  GLAD_GL_VERSION_1_4 = (major == 1 && minor >= 4) || major > 1;
1685  GLAD_GL_VERSION_1_5 = (major == 1 && minor >= 5) || major > 1;
1686  GLAD_GL_VERSION_2_0 = (major == 2 && minor >= 0) || major > 2;
1687  GLAD_GL_VERSION_2_1 = (major == 2 && minor >= 1) || major > 2;
1688  GLAD_GL_VERSION_3_0 = (major == 3 && minor >= 0) || major > 3;
1689  GLAD_GL_VERSION_3_1 = (major == 3 && minor >= 1) || major > 3;
1690  GLAD_GL_VERSION_3_2 = (major == 3 && minor >= 2) || major > 3;
1691  if (GLVersion.major > 3 || (GLVersion.major >= 3 && GLVersion.minor >= 2)) {
1692  max_loaded_major = 3;
1693  max_loaded_minor = 2;
1694  }
1695 }
1696 
1698  GLVersion.major = 0; GLVersion.minor = 0;
1699  glGetString = (PFNGLGETSTRINGPROC)load("glGetString");
1700  if(glGetString == NULL) return 0;
1701  if(glGetString(GL_VERSION) == NULL) return 0;
1702  find_coreGL();
1703  load_GL_VERSION_1_0(load);
1704  load_GL_VERSION_1_1(load);
1705  load_GL_VERSION_1_2(load);
1706  load_GL_VERSION_1_3(load);
1707  load_GL_VERSION_1_4(load);
1708  load_GL_VERSION_1_5(load);
1709  load_GL_VERSION_2_0(load);
1710  load_GL_VERSION_2_1(load);
1711  load_GL_VERSION_3_0(load);
1712  load_GL_VERSION_3_1(load);
1713  load_GL_VERSION_3_2(load);
1714 
1715  if (!find_extensionsGL()) return 0;
1718  load_GL_ARB_robustness(load);
1720  load_GL_KHR_debug(load);
1721  return GLVersion.major != 0 || GLVersion.minor != 0;
1722 }
1723 
1724 #pragma GCC diagnostic pop
PFNGLCLEARACCUMPROC glad_glClearAccum
Definition: glad/glad.c:181
PFNGLPIXELMAPFVPROC glad_glPixelMapfv
Definition: glad/glad.c:518
int GLAD_GL_VERSION_3_1
Definition: glad/glad.c:146
PFNGLBINDVERTEXARRAYAPPLEPROC glad_glBindVertexArrayAPPLE
Definition: glad/glad.c:819
PFNGLDRAWELEMENTSPROC glad_glDrawElements
Definition: glad/glad.c:268
PFNGLLOADIDENTITYPROC glad_glLoadIdentity
Definition: glad/glad.c:443
PFNGLVERTEXATTRIBI1UIPROC glad_glVertexAttribI1ui
Definition: glad/glad.c:775
PFNGLMULTITEXCOORD4SPROC glad_glMultiTexCoord4s
Definition: glad/glad.c:502
PFNGLVERTEXATTRIBI3UIVPROC glad_glVertexAttribI3uiv
Definition: glad/glad.c:784
PFNGLREADBUFFERPROC glad_glReadBuffer
Definition: glad/glad.c:569
PFNGLGENVERTEXARRAYSPROC glad_glGenVertexArrays
Definition: glad/glad.c:327
PFNGLGETTRANSFORMFEEDBACKVARYINGPROC glad_glGetTransformFeedbackVarying
Definition: glad/glad.c:391
PFNGLUNIFORM3FVPROC glad_glUniform3fv
Definition: glad/glad.c:689
PFNGLGETMATERIALFVPROC glad_glGetMaterialfv
Definition: glad/glad.c:359
PFNGLSTENCILFUNCPROC glad_glStencilFunc
Definition: glad/glad.c:609
PFNGLGETSHADERIVPROC glad_glGetShaderiv
Definition: glad/glad.c:375
PFNGLGETSTRINGPROC glad_glGetString
Definition: glad/glad.c:376
PFNGLVERTEXATTRIB4FPROC glad_glVertexAttrib4f
Definition: glad/glad.c:765
PFNGLUNIFORM2IPROC glad_glUniform2i
Definition: glad/glad.c:684
PFNGLVERTEXATTRIB2SVPROC glad_glVertexAttrib2sv
Definition: glad/glad.c:748
PFNGLDELETEVERTEXARRAYSPROC glad_glDeleteVertexArrays
Definition: glad/glad.c:255
PFNGLTEXCOORD1IVPROC glad_glTexCoord1iv
Definition: glad/glad.c:621
PFNGLLISTBASEPROC glad_glListBase
Definition: glad/glad.c:442
PFNGLISSYNCPROC glad_glIsSync
Definition: glad/glad.c:428
PFNGLCOLOR3BVPROC glad_glColor3bv
Definition: glad/glad.c:194
PFNGLVERTEX3DVPROC glad_glVertex3dv
Definition: glad/glad.c:722
PFNGLGETLIGHTFVPROC glad_glGetLightfv
Definition: glad/glad.c:354
PFNGLMULTITEXCOORD3FVPROC glad_glMultiTexCoord3fv
Definition: glad/glad.c:491
PFNGLDELETEQUERIESPROC glad_glDeleteQueries
Definition: glad/glad.c:250
PFNGLTEXCOORD3FVPROC glad_glTexCoord3fv
Definition: glad/glad.c:635
PFNGLVERTEX3IVPROC glad_glVertex3iv
Definition: glad/glad.c:726
static void load_GL_VERSION_3_1(GLADloadproc load)
Definition: glad/glad.c:1527
PFNGLVERTEXATTRIB3DPROC glad_glVertexAttrib3d
Definition: glad/glad.c:749
PFNGLWINDOWPOS2DVPROC glad_glWindowPos2dv
Definition: glad/glad.c:799
PFNGLNORMAL3BVPROC glad_glNormal3bv
Definition: glad/glad.c:506
PFNGLUNIFORM4FVPROC glad_glUniform4fv
Definition: glad/glad.c:695
PFNGLNORMAL3FPROC glad_glNormal3f
Definition: glad/glad.c:509
PFNGLUNIFORM3IVPROC glad_glUniform3iv
Definition: glad/glad.c:691
PFNGLVERTEXATTRIBI4BVPROC glad_glVertexAttribI4bv
Definition: glad/glad.c:785
PFNGLEDGEFLAGVPROC glad_glEdgeFlagv
Definition: glad/glad.c:277
PFNGLBINDBUFFERBASEPROC glad_glBindBufferBase
Definition: glad/glad.c:160
PFNGLDRAWBUFFERSPROC glad_glDrawBuffers
Definition: glad/glad.c:267
PFNGLSTENCILOPPROC glad_glStencilOp
Definition: glad/glad.c:613
PFNGLGETPROGRAMIVPROC glad_glGetProgramiv
Definition: glad/glad.c:368
int GLAD_GL_VERSION_1_2
Definition: glad/glad.c:139
PFNGLSECONDARYCOLOR3USPROC glad_glSecondaryColor3us
Definition: glad/glad.c:603
PFNGLVERTEXATTRIB2FVPROC glad_glVertexAttrib2fv
Definition: glad/glad.c:746
PFNGLMATERIALIPROC glad_glMateriali
Definition: glad/glad.c:462
PFNGLGETOBJECTLABELKHRPROC glad_glGetObjectLabelKHR
Definition: glad/glad.c:861
PFNGLGETTEXLEVELPARAMETERFVPROC glad_glGetTexLevelParameterfv
Definition: glad/glad.c:385
static const char * exts
Definition: glad/glad.c:43
PFNGLLIGHTIVPROC glad_glLightiv
Definition: glad/glad.c:438
PFNGLGETSTRINGIPROC glad_glGetStringi
Definition: glad/glad.c:377
PFNGLDEBUGMESSAGECONTROLPROC glad_glDebugMessageControl
Definition: glad/glad.c:844
PFNGLBINDATTRIBLOCATIONPROC glad_glBindAttribLocation
Definition: glad/glad.c:158
PFNGLBINDBUFFERRANGEPROC glad_glBindBufferRange
Definition: glad/glad.c:161
static void load_GL_VERSION_1_1(GLADloadproc load)
Definition: glad/glad.c:1174
PFNGLCLAMPCOLORPROC glad_glClampColor
Definition: glad/glad.c:179
PFNGLINDEXSVPROC glad_glIndexsv
Definition: glad/glad.c:414
PFNGLBUFFERDATAPROC glad_glBufferData
Definition: glad/glad.c:174
PFNGLFRAMEBUFFERTEXTURE1DPROC glad_glFramebufferTexture1D
Definition: glad/glad.c:315
PFNGLGETVERTEXATTRIBIVPROC glad_glGetVertexAttribiv
Definition: glad/glad.c:403
PFNGLMAPGRID1DPROC glad_glMapGrid1d
Definition: glad/glad.c:456
PFNGLTEXCOORD4SVPROC glad_glTexCoord4sv
Definition: glad/glad.c:647
PFNGLGETINTEGERVPROC glad_glGetIntegerv
Definition: glad/glad.c:353
const GLubyte *APIENTRYP PFNGLGETSTRINGIPROC(GLenum name, GLuint index)
PFNGLRASTERPOS4IPROC glad_glRasterPos4i
Definition: glad/glad.c:565
PFNGLLINEWIDTHPROC glad_glLineWidth
Definition: glad/glad.c:440
PFNGLFOGCOORDDPROC glad_glFogCoordd
Definition: glad/glad.c:305
PFNGLCOPYTEXIMAGE2DPROC glad_glCopyTexImage2D
Definition: glad/glad.c:239
PFNGLPOINTSIZEPROC glad_glPointSize
Definition: glad/glad.c:530
PFNGLVERTEXATTRIBI4UIVPROC glad_glVertexAttribI4uiv
Definition: glad/glad.c:791
PFNGLMULTITEXCOORD1DPROC glad_glMultiTexCoord1d
Definition: glad/glad.c:472
PFNGLTEXENVFPROC glad_glTexEnvf
Definition: glad/glad.c:649
PFNGLTEXCOORD4DPROC glad_glTexCoord4d
Definition: glad/glad.c:640
PFNGLCOLOR4UBPROC glad_glColor4ub
Definition: glad/glad.c:219
PFNGLUNIFORM2FPROC glad_glUniform2f
Definition: glad/glad.c:682
PFNGLSCALEDPROC glad_glScaled
Definition: glad/glad.c:586
PFNGLGETACTIVEUNIFORMSIVPROC glad_glGetActiveUniformsiv
Definition: glad/glad.c:334
PFNGLGETSYNCIVPROC glad_glGetSynciv
Definition: glad/glad.c:378
PFNGLDEPTHMASKPROC glad_glDepthMask
Definition: glad/glad.c:257
PFNGLWINDOWPOS3FPROC glad_glWindowPos3f
Definition: glad/glad.c:808
PFNGLMULTITEXCOORD3DPROC glad_glMultiTexCoord3d
Definition: glad/glad.c:488
static void load_GL_VERSION_1_2(GLADloadproc load)
Definition: glad/glad.c:1207
PFNGLCLEARINDEXPROC glad_glClearIndex
Definition: glad/glad.c:188
PFNGLVERTEX4FVPROC glad_glVertex4fv
Definition: glad/glad.c:732
PFNGLISFRAMEBUFFERPROC glad_glIsFramebuffer
Definition: glad/glad.c:422
PFNGLTEXCOORD1IPROC glad_glTexCoord1i
Definition: glad/glad.c:620
PFNGLVERTEXATTRIBI1IVPROC glad_glVertexAttribI1iv
Definition: glad/glad.c:774
PFNGLVERTEX2FVPROC glad_glVertex2fv
Definition: glad/glad.c:716
PFNGLTEXCOORD4IPROC glad_glTexCoord4i
Definition: glad/glad.c:644
PFNGLVERTEXATTRIBI2IPROC glad_glVertexAttribI2i
Definition: glad/glad.c:777
PFNGLGETNPIXELMAPFVARBPROC glad_glGetnPixelMapfvARB
Definition: glad/glad.c:835
PFNGLSECONDARYCOLOR3IPROC glad_glSecondaryColor3i
Definition: glad/glad.c:595
PFNGLVERTEXATTRIBI2IVPROC glad_glVertexAttribI2iv
Definition: glad/glad.c:778
PFNGLCLEARPROC glad_glClear
Definition: glad/glad.c:180
PFNGLGETVERTEXATTRIBIIVPROC glad_glGetVertexAttribIiv
Definition: glad/glad.c:398
PFNGLUNIFORM4IPROC glad_glUniform4i
Definition: glad/glad.c:696
PFNGLGETBOOLEANI_VPROC glad_glGetBooleani_v
Definition: glad/glad.c:337
PFNGLVERTEXATTRIB4FVPROC glad_glVertexAttrib4fv
Definition: glad/glad.c:766
PFNGLMULTITEXCOORD1FPROC glad_glMultiTexCoord1f
Definition: glad/glad.c:474
PFNGLGETVERTEXATTRIBDVPROC glad_glGetVertexAttribdv
Definition: glad/glad.c:401
PFNGLVERTEXATTRIB3FVPROC glad_glVertexAttrib3fv
Definition: glad/glad.c:752
PFNGLUNIFORM1UIVPROC glad_glUniform1uiv
Definition: glad/glad.c:681
PFNGLDEPTHRANGEPROC glad_glDepthRange
Definition: glad/glad.c:258
PFNGLVERTEXATTRIBI1UIVPROC glad_glVertexAttribI1uiv
Definition: glad/glad.c:776
PFNGLTEXPARAMETERIPROC glad_glTexParameteri
Definition: glad/glad.c:668
PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC glad_glRenderbufferStorageMultisample
Definition: glad/glad.c:581
PFNGLMULTITEXCOORD4DPROC glad_glMultiTexCoord4d
Definition: glad/glad.c:496
PFNGLSECONDARYCOLOR3UBVPROC glad_glSecondaryColor3ubv
Definition: glad/glad.c:600
static char ** exts_i
Definition: glad/glad.c:45
PFNGLTEXENVIVPROC glad_glTexEnviv
Definition: glad/glad.c:652
int GLAD_GL_VERSION_2_1
Definition: glad/glad.c:144
PFNGLCLEARBUFFERFIPROC glad_glClearBufferfi
Definition: glad/glad.c:182
void *(* GLADloadproc)(const char *name)
PFNGLGETNUNIFORMDVARBPROC glad_glGetnUniformdvARB
Definition: glad/glad.c:831
PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glad_glGetFramebufferAttachmentParameteriv
Definition: glad/glad.c:349
PFNGLCOPYPIXELSPROC glad_glCopyPixels
Definition: glad/glad.c:237
PFNGLVERTEXATTRIB4NUIVPROC glad_glVertexAttrib4Nuiv
Definition: glad/glad.c:760
static int max_loaded_minor
Definition: glad/glad.c:41
PFNGLGENVERTEXARRAYSAPPLEPROC glad_glGenVertexArraysAPPLE
Definition: glad/glad.c:821
PFNGLISPROGRAMPROC glad_glIsProgram
Definition: glad/glad.c:424
int GLAD_GL_VERSION_1_1
Definition: glad/glad.c:138
PFNGLTRANSLATEFPROC glad_glTranslatef
Definition: glad/glad.c:675
PFNGLSECONDARYCOLOR3UIVPROC glad_glSecondaryColor3uiv
Definition: glad/glad.c:602
PFNGLPRIMITIVERESTARTINDEXPROC glad_glPrimitiveRestartIndex
Definition: glad/glad.c:538
PFNGLGETACTIVEUNIFORMNAMEPROC glad_glGetActiveUniformName
Definition: glad/glad.c:333
PFNGLVERTEXATTRIB4NUBVPROC glad_glVertexAttrib4Nubv
Definition: glad/glad.c:759
PFNGLGETBOOLEANVPROC glad_glGetBooleanv
Definition: glad/glad.c:338
PFNGLVERTEXATTRIB4USVPROC glad_glVertexAttrib4usv
Definition: glad/glad.c:772
PFNGLMATRIXMODEPROC glad_glMatrixMode
Definition: glad/glad.c:464
PFNGLBINDBUFFERPROC glad_glBindBuffer
Definition: glad/glad.c:159
#define glGetIntegerv
PFNGLGETGRAPHICSRESETSTATUSARBPROC glad_glGetGraphicsResetStatusARB
Definition: glad/glad.c:824
PFNGLGETDEBUGMESSAGELOGPROC glad_glGetDebugMessageLog
Definition: glad/glad.c:847
PFNGLTEXCOORD4IVPROC glad_glTexCoord4iv
Definition: glad/glad.c:645
PFNGLPIXELMAPUSVPROC glad_glPixelMapusv
Definition: glad/glad.c:520
int GLAD_GL_ARB_multisample
Definition: glad/glad.c:815
PFNGLVERTEXATTRIB4NUSVPROC glad_glVertexAttrib4Nusv
Definition: glad/glad.c:761
PFNGLFOGCOORDFPROC glad_glFogCoordf
Definition: glad/glad.c:307
PFNGLBLENDFUNCPROC glad_glBlendFunc
Definition: glad/glad.c:171
PFNGLGETERRORPROC glad_glGetError
Definition: glad/glad.c:346
PFNGLGETACTIVEATTRIBPROC glad_glGetActiveAttrib
Definition: glad/glad.c:329
PFNGLRENDERBUFFERSTORAGEPROC glad_glRenderbufferStorage
Definition: glad/glad.c:580
PFNGLDELETESHADERPROC glad_glDeleteShader
Definition: glad/glad.c:252
PFNGLCOLOR3UBPROC glad_glColor3ub
Definition: glad/glad.c:203
PFNGLLIGHTMODELFVPROC glad_glLightModelfv
Definition: glad/glad.c:432
PFNGLSECONDARYCOLOR3SVPROC glad_glSecondaryColor3sv
Definition: glad/glad.c:598
PFNGLGETACTIVEUNIFORMBLOCKIVPROC glad_glGetActiveUniformBlockiv
Definition: glad/glad.c:332
PFNGLINDEXFPROC glad_glIndexf
Definition: glad/glad.c:409
PFNGLVERTEXATTRIB2FPROC glad_glVertexAttrib2f
Definition: glad/glad.c:745
PFNGLINDEXDVPROC glad_glIndexdv
Definition: glad/glad.c:408
PFNGLGETFLOATVPROC glad_glGetFloatv
Definition: glad/glad.c:347
PFNGLISQUERYPROC glad_glIsQuery
Definition: glad/glad.c:425
PFNGLVERTEXATTRIB1FVPROC glad_glVertexAttrib1fv
Definition: glad/glad.c:740
PFNGLTEXPARAMETERIVPROC glad_glTexParameteriv
Definition: glad/glad.c:669
PFNGLCOLOR3USPROC glad_glColor3us
Definition: glad/glad.c:207
PFNGLUNIFORMMATRIX4X2FVPROC glad_glUniformMatrix4x2fv
Definition: glad/glad.c:708
PFNGLVERTEXATTRIB1DVPROC glad_glVertexAttrib1dv
Definition: glad/glad.c:738
PFNGLGETTEXPARAMETERIUIVPROC glad_glGetTexParameterIuiv
Definition: glad/glad.c:388
PFNGLMATERIALFPROC glad_glMaterialf
Definition: glad/glad.c:460
PFNGLGETPOINTERVKHRPROC glad_glGetPointervKHR
Definition: glad/glad.c:864
PFNGLVERTEXPOINTERPROC glad_glVertexPointer
Definition: glad/glad.c:795
PFNGLUNIFORMMATRIX3FVPROC glad_glUniformMatrix3fv
Definition: glad/glad.c:704
static void load_GL_ARB_multisample(GLADloadproc load)
Definition: glad/glad.c:1574
PFNGLISBUFFERPROC glad_glIsBuffer
Definition: glad/glad.c:419
PFNGLVERTEXATTRIB4NBVPROC glad_glVertexAttrib4Nbv
Definition: glad/glad.c:755
PFNGLWINDOWPOS2SVPROC glad_glWindowPos2sv
Definition: glad/glad.c:805
PFNGLPIXELMAPUIVPROC glad_glPixelMapuiv
Definition: glad/glad.c:519
PFNGLVERTEXATTRIBI1IPROC glad_glVertexAttribI1i
Definition: glad/glad.c:773
PFNGLTEXIMAGE3DPROC glad_glTexImage3D
Definition: glad/glad.c:662
PFNGLGETUNIFORMFVPROC glad_glGetUniformfv
Definition: glad/glad.c:395
PFNGLOBJECTPTRLABELKHRPROC glad_glObjectPtrLabelKHR
Definition: glad/glad.c:862
PFNGLMULTITEXCOORD2DPROC glad_glMultiTexCoord2d
Definition: glad/glad.c:480
PFNGLTEXGENIPROC glad_glTexGeni
Definition: glad/glad.c:657
PFNGLTEXCOORD4FPROC glad_glTexCoord4f
Definition: glad/glad.c:642
PFNGLNORMAL3SPROC glad_glNormal3s
Definition: glad/glad.c:513
PFNGLVIEWPORTPROC glad_glViewport
Definition: glad/glad.c:796
PFNGLUNIFORM3UIPROC glad_glUniform3ui
Definition: glad/glad.c:692
PFNGLGETRENDERBUFFERPARAMETERIVPROC glad_glGetRenderbufferParameteriv
Definition: glad/glad.c:372
PFNGLSECONDARYCOLOR3FPROC glad_glSecondaryColor3f
Definition: glad/glad.c:593
PFNGLSHADERSOURCEPROC glad_glShaderSource
Definition: glad/glad.c:608
PFNGLBINDRENDERBUFFERPROC glad_glBindRenderbuffer
Definition: glad/glad.c:164
PFNGLGETINTEGER64I_VPROC glad_glGetInteger64i_v
Definition: glad/glad.c:350
PFNGLMAP2DPROC glad_glMap2d
Definition: glad/glad.c:452
PFNGLRASTERPOS3DPROC glad_glRasterPos3d
Definition: glad/glad.c:553
PFNGLTEXCOORD2SPROC glad_glTexCoord2s
Definition: glad/glad.c:630
PFNGLSECONDARYCOLOR3SPROC glad_glSecondaryColor3s
Definition: glad/glad.c:597
PFNGLUNIFORM1IPROC glad_glUniform1i
Definition: glad/glad.c:678
PFNGLVERTEXATTRIB4DVPROC glad_glVertexAttrib4dv
Definition: glad/glad.c:764
PFNGLRASTERPOS3SPROC glad_glRasterPos3s
Definition: glad/glad.c:559
PFNGLGETUNIFORMUIVPROC glad_glGetUniformuiv
Definition: glad/glad.c:397
PFNGLFLUSHPROC glad_glFlush
Definition: glad/glad.c:302
static void load_GL_ARB_vertex_array_object(GLADloadproc load)
Definition: glad/glad.c:1601
PFNGLTEXCOORD4FVPROC glad_glTexCoord4fv
Definition: glad/glad.c:643
PFNGLTEXCOORD1SPROC glad_glTexCoord1s
Definition: glad/glad.c:622
PFNGLNORMALPOINTERPROC glad_glNormalPointer
Definition: glad/glad.c:515
PFNGLTEXIMAGE1DPROC glad_glTexImage1D
Definition: glad/glad.c:659
PFNGLVERTEX4DVPROC glad_glVertex4dv
Definition: glad/glad.c:730
PFNGLSELECTBUFFERPROC glad_glSelectBuffer
Definition: glad/glad.c:606
PFNGLCOLORMASKPROC glad_glColorMask
Definition: glad/glad.c:225
PFNGLCOPYTEXSUBIMAGE3DPROC glad_glCopyTexSubImage3D
Definition: glad/glad.c:242
PFNGLSHADEMODELPROC glad_glShadeModel
Definition: glad/glad.c:607
PFNGLRASTERPOS2IPROC glad_glRasterPos2i
Definition: glad/glad.c:549
PFNGLRASTERPOS3FPROC glad_glRasterPos3f
Definition: glad/glad.c:555
PFNGLFOGFPROC glad_glFogf
Definition: glad/glad.c:309
PFNGLWINDOWPOS2FPROC glad_glWindowPos2f
Definition: glad/glad.c:800
PFNGLGETNCOLORTABLEARBPROC glad_glGetnColorTableARB
Definition: glad/glad.c:839
PFNGLBEGINPROC glad_glBegin
Definition: glad/glad.c:154
PFNGLVERTEXATTRIB1FPROC glad_glVertexAttrib1f
Definition: glad/glad.c:739
PFNGLEVALCOORD1DVPROC glad_glEvalCoord1dv
Definition: glad/glad.c:288
PFNGLTEXCOORD2DVPROC glad_glTexCoord2dv
Definition: glad/glad.c:625
PFNGLRASTERPOS2FPROC glad_glRasterPos2f
Definition: glad/glad.c:547
PFNGLPOPMATRIXPROC glad_glPopMatrix
Definition: glad/glad.c:536
PFNGLGETCOMPRESSEDTEXIMAGEPROC glad_glGetCompressedTexImage
Definition: glad/glad.c:344
void(APIENTRY * PFNGLGETINTEGERVPROC)(GLenum, GLint *)
Definition: internal.h:113
PFNGLVERTEXATTRIB4UBVPROC glad_glVertexAttrib4ubv
Definition: glad/glad.c:770
PFNGLLINKPROGRAMPROC glad_glLinkProgram
Definition: glad/glad.c:441
PFNGLEVALCOORD1DPROC glad_glEvalCoord1d
Definition: glad/glad.c:287
PFNGLGETPOLYGONSTIPPLEPROC glad_glGetPolygonStipple
Definition: glad/glad.c:366
PFNGLUNIFORM3IPROC glad_glUniform3i
Definition: glad/glad.c:690
PFNGLGETTEXPARAMETERFVPROC glad_glGetTexParameterfv
Definition: glad/glad.c:389
PFNGLGETNUNIFORMUIVARBPROC glad_glGetnUniformuivARB
Definition: glad/glad.c:830
PFNGLLOADTRANSPOSEMATRIXFPROC glad_glLoadTransposeMatrixf
Definition: glad/glad.c:448
PFNGLCOMPRESSEDTEXIMAGE3DPROC glad_glCompressedTexImage3D
Definition: glad/glad.c:232
PFNGLGETFRAGDATALOCATIONPROC glad_glGetFragDataLocation
Definition: glad/glad.c:348
PFNGLUNIFORM4IVPROC glad_glUniform4iv
Definition: glad/glad.c:697
PFNGLVERTEXATTRIBI4USVPROC glad_glVertexAttribI4usv
Definition: glad/glad.c:792
PFNGLGETNUNIFORMFVARBPROC glad_glGetnUniformfvARB
Definition: glad/glad.c:828
PFNGLGENQUERIESPROC glad_glGenQueries
Definition: glad/glad.c:324
e
Definition: rmse.py:177
PFNGLBLENDEQUATIONPROC glad_glBlendEquation
Definition: glad/glad.c:169
PFNGLGENRENDERBUFFERSPROC glad_glGenRenderbuffers
Definition: glad/glad.c:325
PFNGLRASTERPOS4SVPROC glad_glRasterPos4sv
Definition: glad/glad.c:568
PFNGLSTENCILMASKSEPARATEPROC glad_glStencilMaskSeparate
Definition: glad/glad.c:612
PFNGLVERTEXATTRIBI2UIPROC glad_glVertexAttribI2ui
Definition: glad/glad.c:779
PFNGLGETUNIFORMIVPROC glad_glGetUniformiv
Definition: glad/glad.c:396
PFNGLCREATESHADERPROC glad_glCreateShader
Definition: glad/glad.c:244
PFNGLRENDERMODEPROC glad_glRenderMode
Definition: glad/glad.c:579
void *APIENTRYP PFNGLMAPBUFFERRANGEPROC(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access)
PFNGLCOLOR3SVPROC glad_glColor3sv
Definition: glad/glad.c:202
PFNGLTEXCOORD2DPROC glad_glTexCoord2d
Definition: glad/glad.c:624
int GLAD_GL_VERSION_2_0
Definition: glad/glad.c:143
PFNGLTEXCOORD3DPROC glad_glTexCoord3d
Definition: glad/glad.c:632
PFNGLPOLYGONMODEPROC glad_glPolygonMode
Definition: glad/glad.c:531
static int num_exts_i
Definition: glad/glad.c:44
PFNGLFRAMEBUFFERTEXTUREPROC glad_glFramebufferTexture
Definition: glad/glad.c:314
PFNGLGETNTEXIMAGEARBPROC glad_glGetnTexImageARB
Definition: glad/glad.c:825
PFNGLGETPIXELMAPUIVPROC glad_glGetPixelMapuiv
Definition: glad/glad.c:363
PFNGLFOGCOORDPOINTERPROC glad_glFogCoordPointer
Definition: glad/glad.c:304
PFNGLWINDOWPOS3SPROC glad_glWindowPos3s
Definition: glad/glad.c:812
PFNGLGETTEXIMAGEPROC glad_glGetTexImage
Definition: glad/glad.c:384
PFNGLGETATTACHEDSHADERSPROC glad_glGetAttachedShaders
Definition: glad/glad.c:335
GLuint index
PFNGLSECONDARYCOLOR3IVPROC glad_glSecondaryColor3iv
Definition: glad/glad.c:596
static int has_ext(const char *ext)
Definition: glad/glad.c:96
PFNGLINDEXDPROC glad_glIndexd
Definition: glad/glad.c:407
PFNGLTRANSFORMFEEDBACKVARYINGSPROC glad_glTransformFeedbackVaryings
Definition: glad/glad.c:673
PFNGLMULTITEXCOORD1IVPROC glad_glMultiTexCoord1iv
Definition: glad/glad.c:477
PFNGLDISABLEVERTEXATTRIBARRAYPROC glad_glDisableVertexAttribArray
Definition: glad/glad.c:262
PFNGLUNIFORM2UIVPROC glad_glUniform2uiv
Definition: glad/glad.c:687
PFNGLNORMAL3IVPROC glad_glNormal3iv
Definition: glad/glad.c:512
PFNGLINDEXUBPROC glad_glIndexub
Definition: glad/glad.c:415
PFNGLCOLOR3IVPROC glad_glColor3iv
Definition: glad/glad.c:200
PFNGLMAP1DPROC glad_glMap1d
Definition: glad/glad.c:450
PFNGLCOLOR4UIPROC glad_glColor4ui
Definition: glad/glad.c:221
PFNGLRASTERPOS3FVPROC glad_glRasterPos3fv
Definition: glad/glad.c:556
PFNGLDRAWARRAYSINSTANCEDPROC glad_glDrawArraysInstanced
Definition: glad/glad.c:265
PFNGLUNIFORM3UIVPROC glad_glUniform3uiv
Definition: glad/glad.c:693
PFNGLVERTEX2SPROC glad_glVertex2s
Definition: glad/glad.c:719
GLenum GLsizei len
Definition: glext.h:3285
PFNGLMULTITEXCOORD2DVPROC glad_glMultiTexCoord2dv
Definition: glad/glad.c:481
#define glGetStringi
PFNGLTEXPARAMETERIUIVPROC glad_glTexParameterIuiv
Definition: glad/glad.c:665
PFNGLISENABLEDIPROC glad_glIsEnabledi
Definition: glad/glad.c:421
PFNGLBINDFRAMEBUFFERPROC glad_glBindFramebuffer
Definition: glad/glad.c:163
PFNGLPASSTHROUGHPROC glad_glPassThrough
Definition: glad/glad.c:517
PFNGLCOLOR3SPROC glad_glColor3s
Definition: glad/glad.c:201
PFNGLCOPYBUFFERSUBDATAPROC glad_glCopyBufferSubData
Definition: glad/glad.c:236
PFNGLRECTFPROC glad_glRectf
Definition: glad/glad.c:573
PFNGLCOLOR4USVPROC glad_glColor4usv
Definition: glad/glad.c:224
PFNGLGENTEXTURESPROC glad_glGenTextures
Definition: glad/glad.c:326
PFNGLGENBUFFERSPROC glad_glGenBuffers
Definition: glad/glad.c:321
int GLAD_GL_VERSION_3_0
Definition: glad/glad.c:145
PFNGLMAPGRID2FPROC glad_glMapGrid2f
Definition: glad/glad.c:459
PFNGLUSEPROGRAMPROC glad_glUseProgram
Definition: glad/glad.c:711
PFNGLCLIENTACTIVETEXTUREPROC glad_glClientActiveTexture
Definition: glad/glad.c:190
PFNGLRECTFVPROC glad_glRectfv
Definition: glad/glad.c:574
PFNGLGETTEXPARAMETERIVPROC glad_glGetTexParameteriv
Definition: glad/glad.c:390
PFNGLGETACTIVEUNIFORMPROC glad_glGetActiveUniform
Definition: glad/glad.c:330
PFNGLVERTEX2SVPROC glad_glVertex2sv
Definition: glad/glad.c:720
PFNGLRASTERPOS2DVPROC glad_glRasterPos2dv
Definition: glad/glad.c:546
PFNGLCOLOR4SPROC glad_glColor4s
Definition: glad/glad.c:217
PFNGLMULTITEXCOORD2FVPROC glad_glMultiTexCoord2fv
Definition: glad/glad.c:483
PFNGLEVALPOINT2PROC glad_glEvalPoint2
Definition: glad/glad.c:298
PFNGLTEXCOORD2FVPROC glad_glTexCoord2fv
Definition: glad/glad.c:627
PFNGLCALLLISTSPROC glad_glCallLists
Definition: glad/glad.c:177
PFNGLMULTMATRIXDPROC glad_glMultMatrixd
Definition: glad/glad.c:465
static void load_GL_KHR_debug(GLADloadproc load)
Definition: glad/glad.c:1608
PFNGLFRAMEBUFFERTEXTURE2DPROC glad_glFramebufferTexture2D
Definition: glad/glad.c:316
static int get_exts(void)
Definition: glad/glad.c:47
PFNGLGETDEBUGMESSAGELOGKHRPROC glad_glGetDebugMessageLogKHR
Definition: glad/glad.c:857
PFNGLEVALMESH2PROC glad_glEvalMesh2
Definition: glad/glad.c:296
PFNGLFOGCOORDDVPROC glad_glFogCoorddv
Definition: glad/glad.c:306
PFNGLVERTEXATTRIB2DPROC glad_glVertexAttrib2d
Definition: glad/glad.c:743
PFNGLROTATEDPROC glad_glRotated
Definition: glad/glad.c:582
PFNGLCOLOR4UBVPROC glad_glColor4ubv
Definition: glad/glad.c:220
PFNGLWINDOWPOS3IVPROC glad_glWindowPos3iv
Definition: glad/glad.c:811
PFNGLDEBUGMESSAGECONTROLKHRPROC glad_glDebugMessageControlKHR
Definition: glad/glad.c:854
PFNGLEDGEFLAGPOINTERPROC glad_glEdgeFlagPointer
Definition: glad/glad.c:276
static void load_GL_VERSION_1_5(GLADloadproc load)
Definition: glad/glad.c:1313
PFNGLWINDOWPOS2DPROC glad_glWindowPos2d
Definition: glad/glad.c:798
PFNGLGETNPOLYGONSTIPPLEARBPROC glad_glGetnPolygonStippleARB
Definition: glad/glad.c:838
PFNGLUNIFORMBLOCKBINDINGPROC glad_glUniformBlockBinding
Definition: glad/glad.c:700
PFNGLVALIDATEPROGRAMPROC glad_glValidateProgram
Definition: glad/glad.c:712
PFNGLBINDTEXTUREPROC glad_glBindTexture
Definition: glad/glad.c:165
PFNGLPIXELZOOMPROC glad_glPixelZoom
Definition: glad/glad.c:525
int GLAD_GL_ARB_vertex_array_object
Definition: glad/glad.c:817
PFNGLMAPGRID2DPROC glad_glMapGrid2d
Definition: glad/glad.c:458
PFNGLDRAWPIXELSPROC glad_glDrawPixels
Definition: glad/glad.c:272
PFNGLVERTEX2DVPROC glad_glVertex2dv
Definition: glad/glad.c:714
PFNGLEVALCOORD2FVPROC glad_glEvalCoord2fv
Definition: glad/glad.c:294
PFNGLCULLFACEPROC glad_glCullFace
Definition: glad/glad.c:245
PFNGLGETMATERIALIVPROC glad_glGetMaterialiv
Definition: glad/glad.c:360
PFNGLMULTITEXCOORD1DVPROC glad_glMultiTexCoord1dv
Definition: glad/glad.c:473
PFNGLENDTRANSFORMFEEDBACKPROC glad_glEndTransformFeedback
Definition: glad/glad.c:286
PFNGLLIGHTFPROC glad_glLightf
Definition: glad/glad.c:435
PFNGLUNIFORM1UIPROC glad_glUniform1ui
Definition: glad/glad.c:680
PFNGLPIXELSTOREFPROC glad_glPixelStoref
Definition: glad/glad.c:521
PFNGLTEXCOORD3DVPROC glad_glTexCoord3dv
Definition: glad/glad.c:633
PFNGLTEXCOORD1FVPROC glad_glTexCoord1fv
Definition: glad/glad.c:619
PFNGLCOPYTEXIMAGE1DPROC glad_glCopyTexImage1D
Definition: glad/glad.c:238
PFNGLBLENDCOLORPROC glad_glBlendColor
Definition: glad/glad.c:168
PFNGLGETINTEGER64VPROC glad_glGetInteger64v
Definition: glad/glad.c:351
PFNGLFRONTFACEPROC glad_glFrontFace
Definition: glad/glad.c:319
PFNGLWINDOWPOS2IVPROC glad_glWindowPos2iv
Definition: glad/glad.c:803
PFNGLUNMAPBUFFERPROC glad_glUnmapBuffer
Definition: glad/glad.c:710
PFNGLTEXGENDPROC glad_glTexGend
Definition: glad/glad.c:653
PFNGLRASTERPOS2IVPROC glad_glRasterPos2iv
Definition: glad/glad.c:550
PFNGLBEGINQUERYPROC glad_glBeginQuery
Definition: glad/glad.c:156
PFNGLCOLORPOINTERPROC glad_glColorPointer
Definition: glad/glad.c:228
PFNGLMULTITEXCOORD2SVPROC glad_glMultiTexCoord2sv
Definition: glad/glad.c:487
PFNGLMAPGRID1FPROC glad_glMapGrid1f
Definition: glad/glad.c:457
PFNGLUNIFORMMATRIX2X4FVPROC glad_glUniformMatrix2x4fv
Definition: glad/glad.c:703
PFNGLGETINTEGERI_VPROC glad_glGetIntegeri_v
Definition: glad/glad.c:352
PFNGLTEXIMAGE3DMULTISAMPLEPROC glad_glTexImage3DMultisample
Definition: glad/glad.c:663
PFNGLGETQUERYOBJECTIVPROC glad_glGetQueryObjectiv
Definition: glad/glad.c:369
PFNGLACCUMPROC glad_glAccum
Definition: glad/glad.c:148
PFNGLISENABLEDPROC glad_glIsEnabled
Definition: glad/glad.c:420
int GLAD_GL_VERSION_3_2
Definition: glad/glad.c:147
PFNGLENDCONDITIONALRENDERPROC glad_glEndConditionalRender
Definition: glad/glad.c:283
PFNGLMULTITEXCOORD1SPROC glad_glMultiTexCoord1s
Definition: glad/glad.c:478
PFNGLSECONDARYCOLOR3FVPROC glad_glSecondaryColor3fv
Definition: glad/glad.c:594
PFNGLRASTERPOS4IVPROC glad_glRasterPos4iv
Definition: glad/glad.c:566
PFNGLLOADTRANSPOSEMATRIXDPROC glad_glLoadTransposeMatrixd
Definition: glad/glad.c:447
PFNGLGETTEXENVFVPROC glad_glGetTexEnvfv
Definition: glad/glad.c:379
PFNGLNEWLISTPROC glad_glNewList
Definition: glad/glad.c:504
PFNGLGETTEXGENFVPROC glad_glGetTexGenfv
Definition: glad/glad.c:382
PFNGLGETTEXLEVELPARAMETERIVPROC glad_glGetTexLevelParameteriv
Definition: glad/glad.c:386
PFNGLGETBUFFERPOINTERVPROC glad_glGetBufferPointerv
Definition: glad/glad.c:341
PFNGLCOMPILESHADERPROC glad_glCompileShader
Definition: glad/glad.c:229
PFNGLUNIFORMMATRIX3X2FVPROC glad_glUniformMatrix3x2fv
Definition: glad/glad.c:705
PFNGLCLEARSTENCILPROC glad_glClearStencil
Definition: glad/glad.c:189
PFNGLCOLOR4BVPROC glad_glColor4bv
Definition: glad/glad.c:210
PFNGLPRIORITIZETEXTURESPROC glad_glPrioritizeTextures
Definition: glad/glad.c:539
static void load_GL_VERSION_1_3(GLADloadproc load)
Definition: glad/glad.c:1214
static void free_exts(void)
Definition: glad/glad.c:85
PFNGLTEXCOORD4SPROC glad_glTexCoord4s
Definition: glad/glad.c:646
PFNGLRASTERPOS3SVPROC glad_glRasterPos3sv
Definition: glad/glad.c:560
PFNGLVERTEXATTRIBI4IPROC glad_glVertexAttribI4i
Definition: glad/glad.c:786
PFNGLPUSHNAMEPROC glad_glPushName
Definition: glad/glad.c:544
PFNGLPUSHCLIENTATTRIBPROC glad_glPushClientAttrib
Definition: glad/glad.c:542
PFNGLREADNPIXELSARBPROC glad_glReadnPixelsARB
Definition: glad/glad.c:826
PFNGLATTACHSHADERPROC glad_glAttachShader
Definition: glad/glad.c:153
PFNGLWINDOWPOS3FVPROC glad_glWindowPos3fv
Definition: glad/glad.c:809
PFNGLGETCLIPPLANEPROC glad_glGetClipPlane
Definition: glad/glad.c:343
PFNGLUNIFORM4UIPROC glad_glUniform4ui
Definition: glad/glad.c:698
static void load_GL_VERSION_3_2(GLADloadproc load)
Definition: glad/glad.c:1545
PFNGLCOLOR3BPROC glad_glColor3b
Definition: glad/glad.c:193
PFNGLRASTERPOS4FVPROC glad_glRasterPos4fv
Definition: glad/glad.c:564
PFNGLRASTERPOS3IVPROC glad_glRasterPos3iv
Definition: glad/glad.c:558
PFNGLTEXCOORD1SVPROC glad_glTexCoord1sv
Definition: glad/glad.c:623
PFNGLFOGIPROC glad_glFogi
Definition: glad/glad.c:311
PFNGLMULTITEXCOORD4FPROC glad_glMultiTexCoord4f
Definition: glad/glad.c:498
PFNGLENABLEIPROC glad_glEnablei
Definition: glad/glad.c:281
PFNGLWAITSYNCPROC glad_glWaitSync
Definition: glad/glad.c:797
PFNGLDISABLECLIENTSTATEPROC glad_glDisableClientState
Definition: glad/glad.c:261
PFNGLVERTEXATTRIBIPOINTERPROC glad_glVertexAttribIPointer
Definition: glad/glad.c:793
PFNGLCOLORMATERIALPROC glad_glColorMaterial
Definition: glad/glad.c:227
PFNGLUNIFORMMATRIX2FVPROC glad_glUniformMatrix2fv
Definition: glad/glad.c:701
PFNGLENDLISTPROC glad_glEndList
Definition: glad/glad.c:284
PFNGLCLEARBUFFERFVPROC glad_glClearBufferfv
Definition: glad/glad.c:183
PFNGLORTHOPROC glad_glOrtho
Definition: glad/glad.c:516
PFNGLFRAMEBUFFERTEXTURELAYERPROC glad_glFramebufferTextureLayer
Definition: glad/glad.c:318
PFNGLTEXPARAMETERIIVPROC glad_glTexParameterIiv
Definition: glad/glad.c:664
PFNGLTEXCOORD4DVPROC glad_glTexCoord4dv
Definition: glad/glad.c:641
PFNGLISSHADERPROC glad_glIsShader
Definition: glad/glad.c:427
PFNGLVERTEX3SVPROC glad_glVertex3sv
Definition: glad/glad.c:728
PFNGLCLIENTWAITSYNCPROC glad_glClientWaitSync
Definition: glad/glad.c:191
static void load_GL_VERSION_1_4(GLADloadproc load)
Definition: glad/glad.c:1263
PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC glad_glCompressedTexSubImage3D
Definition: glad/glad.c:235
PFNGLVERTEX3DPROC glad_glVertex3d
Definition: glad/glad.c:721
PFNGLGETVERTEXATTRIBFVPROC glad_glGetVertexAttribfv
Definition: glad/glad.c:402
PFNGLGETNMAPIVARBPROC glad_glGetnMapivARB
Definition: glad/glad.c:834
PFNGLDISABLEPROC glad_glDisable
Definition: glad/glad.c:260
PFNGLTEXCOORD2SVPROC glad_glTexCoord2sv
Definition: glad/glad.c:631
PFNGLFRAMEBUFFERRENDERBUFFERPROC glad_glFramebufferRenderbuffer
Definition: glad/glad.c:313
PFNGLMULTITEXCOORD3IVPROC glad_glMultiTexCoord3iv
Definition: glad/glad.c:493
PFNGLOBJECTLABELKHRPROC glad_glObjectLabelKHR
Definition: glad/glad.c:860
PFNGLVERTEX4IVPROC glad_glVertex4iv
Definition: glad/glad.c:734
PFNGLCOMPRESSEDTEXIMAGE2DPROC glad_glCompressedTexImage2D
Definition: glad/glad.c:231
PFNGLGETTEXENVIVPROC glad_glGetTexEnviv
Definition: glad/glad.c:380
PFNGLVERTEXATTRIB3FPROC glad_glVertexAttrib3f
Definition: glad/glad.c:751
PFNGLISRENDERBUFFERPROC glad_glIsRenderbuffer
Definition: glad/glad.c:426
PFNGLCOMPRESSEDTEXIMAGE1DPROC glad_glCompressedTexImage1D
Definition: glad/glad.c:230
PFNGLVERTEXATTRIB4DPROC glad_glVertexAttrib4d
Definition: glad/glad.c:763
PFNGLRASTERPOS2DPROC glad_glRasterPos2d
Definition: glad/glad.c:545
PFNGLDEPTHFUNCPROC glad_glDepthFunc
Definition: glad/glad.c:256
PFNGLFOGFVPROC glad_glFogfv
Definition: glad/glad.c:310
PFNGLCOLOR4BPROC glad_glColor4b
Definition: glad/glad.c:209
PFNGLVERTEXATTRIBI4IVPROC glad_glVertexAttribI4iv
Definition: glad/glad.c:787
PFNGLCALLLISTPROC glad_glCallList
Definition: glad/glad.c:176
PFNGLVERTEX3IPROC glad_glVertex3i
Definition: glad/glad.c:725
PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC glad_glDrawRangeElementsBaseVertex
Definition: glad/glad.c:274
PFNGLBEGINTRANSFORMFEEDBACKPROC glad_glBeginTransformFeedback
Definition: glad/glad.c:157
PFNGLLOADMATRIXFPROC glad_glLoadMatrixf
Definition: glad/glad.c:445
PFNGLVERTEXATTRIB4NIVPROC glad_glVertexAttrib4Niv
Definition: glad/glad.c:756
PFNGLEVALPOINT1PROC glad_glEvalPoint1
Definition: glad/glad.c:297
PFNGLVERTEXATTRIB2DVPROC glad_glVertexAttrib2dv
Definition: glad/glad.c:744
PFNGLUNIFORMMATRIX4FVPROC glad_glUniformMatrix4fv
Definition: glad/glad.c:707
PFNGLNORMAL3FVPROC glad_glNormal3fv
Definition: glad/glad.c:510
PFNGLGETBUFFERPARAMETERIVPROC glad_glGetBufferParameteriv
Definition: glad/glad.c:340
PFNGLPOINTPARAMETERFPROC glad_glPointParameterf
Definition: glad/glad.c:526
PFNGLMULTITEXCOORD1IPROC glad_glMultiTexCoord1i
Definition: glad/glad.c:476
void(APIENTRY * PFNGLCLEARPROC)(GLbitfield)
Definition: internal.h:111
PFNGLTEXCOORD3IVPROC glad_glTexCoord3iv
Definition: glad/glad.c:637
PFNGLCOLOR3DPROC glad_glColor3d
Definition: glad/glad.c:195
PFNGLSAMPLEMASKIPROC glad_glSampleMaski
Definition: glad/glad.c:585
PFNGLDRAWELEMENTSBASEVERTEXPROC glad_glDrawElementsBaseVertex
Definition: glad/glad.c:269
PFNGLCLEARBUFFERIVPROC glad_glClearBufferiv
Definition: glad/glad.c:184
PFNGLCOLOR3UIPROC glad_glColor3ui
Definition: glad/glad.c:205
PFNGLDELETEPROGRAMPROC glad_glDeleteProgram
Definition: glad/glad.c:249
PFNGLCOLOR3DVPROC glad_glColor3dv
Definition: glad/glad.c:196
PFNGLNORMAL3DPROC glad_glNormal3d
Definition: glad/glad.c:507
PFNGLVERTEXATTRIB1DPROC glad_glVertexAttrib1d
Definition: glad/glad.c:737
PFNGLSECONDARYCOLOR3UBPROC glad_glSecondaryColor3ub
Definition: glad/glad.c:599
PFNGLISTEXTUREPROC glad_glIsTexture
Definition: glad/glad.c:429
PFNGLARETEXTURESRESIDENTPROC glad_glAreTexturesResident
Definition: glad/glad.c:151
PFNGLRECTDPROC glad_glRectd
Definition: glad/glad.c:571
PFNGLPROVOKINGVERTEXPROC glad_glProvokingVertex
Definition: glad/glad.c:540
PFNGLRASTERPOS4SPROC glad_glRasterPos4s
Definition: glad/glad.c:567
PFNGLVERTEXATTRIB4BVPROC glad_glVertexAttrib4bv
Definition: glad/glad.c:762
PFNGLGETNPIXELMAPUSVARBPROC glad_glGetnPixelMapusvARB
Definition: glad/glad.c:837
PFNGLRASTERPOS4DVPROC glad_glRasterPos4dv
Definition: glad/glad.c:562
PFNGLSAMPLECOVERAGEARBPROC glad_glSampleCoverageARB
Definition: glad/glad.c:823
int GLAD_GL_VERSION_1_4
Definition: glad/glad.c:141
PFNGLISLISTPROC glad_glIsList
Definition: glad/glad.c:423
PFNGLMULTITEXCOORD3FPROC glad_glMultiTexCoord3f
Definition: glad/glad.c:490
PFNGLRASTERPOS4DPROC glad_glRasterPos4d
Definition: glad/glad.c:561
PFNGLRASTERPOS3DVPROC glad_glRasterPos3dv
Definition: glad/glad.c:554
static void find_coreGL(void)
Definition: glad/glad.c:1644
PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glad_glCompressedTexSubImage2D
Definition: glad/glad.c:234
PFNGLRASTERPOS3IPROC glad_glRasterPos3i
Definition: glad/glad.c:557
PFNGLGETNMINMAXARBPROC glad_glGetnMinmaxARB
Definition: glad/glad.c:843
int GLAD_GL_VERSION_1_5
Definition: glad/glad.c:142
PFNGLVERTEXATTRIB3SVPROC glad_glVertexAttrib3sv
Definition: glad/glad.c:754
PFNGLTEXCOORD1DVPROC glad_glTexCoord1dv
Definition: glad/glad.c:617
PFNGLGETNSEPARABLEFILTERARBPROC glad_glGetnSeparableFilterARB
Definition: glad/glad.c:841
PFNGLGETVERTEXATTRIBPOINTERVPROC glad_glGetVertexAttribPointerv
Definition: glad/glad.c:400
PFNGLPIXELSTOREIPROC glad_glPixelStorei
Definition: glad/glad.c:522
PFNGLVERTEX4DPROC glad_glVertex4d
Definition: glad/glad.c:729
PFNGLRASTERPOS2FVPROC glad_glRasterPos2fv
Definition: glad/glad.c:548
PFNGLBLENDEQUATIONSEPARATEPROC glad_glBlendEquationSeparate
Definition: glad/glad.c:170
PFNGLGETPOINTERVPROC glad_glGetPointerv
Definition: glad/glad.c:365
PFNGLFOGCOORDFVPROC glad_glFogCoordfv
Definition: glad/glad.c:308
PFNGLRECTSVPROC glad_glRectsv
Definition: glad/glad.c:578
PFNGLTEXSUBIMAGE3DPROC glad_glTexSubImage3D
Definition: glad/glad.c:672
static void load_GL_VERSION_3_0(GLADloadproc load)
Definition: glad/glad.c:1440
PFNGLMULTTRANSPOSEMATRIXDPROC glad_glMultTransposeMatrixd
Definition: glad/glad.c:467
PFNGLDELETELISTSPROC glad_glDeleteLists
Definition: glad/glad.c:248
PFNGLCOLOR4IVPROC glad_glColor4iv
Definition: glad/glad.c:216
PFNGLPUSHMATRIXPROC glad_glPushMatrix
Definition: glad/glad.c:543
PFNGLTEXIMAGE2DMULTISAMPLEPROC glad_glTexImage2DMultisample
Definition: glad/glad.c:661
static void load_GL_APPLE_vertex_array_object(GLADloadproc load)
Definition: glad/glad.c:1567
PFNGLGETNCONVOLUTIONFILTERARBPROC glad_glGetnConvolutionFilterARB
Definition: glad/glad.c:840
PFNGLENABLEVERTEXATTRIBARRAYPROC glad_glEnableVertexAttribArray
Definition: glad/glad.c:280
PFNGLSECONDARYCOLOR3DVPROC glad_glSecondaryColor3dv
Definition: glad/glad.c:592
PFNGLVERTEXATTRIBI4UIPROC glad_glVertexAttribI4ui
Definition: glad/glad.c:790
PFNGLMULTMATRIXFPROC glad_glMultMatrixf
Definition: glad/glad.c:466
PFNGLVERTEX3FVPROC glad_glVertex3fv
Definition: glad/glad.c:724
PFNGLVERTEXATTRIB4UIVPROC glad_glVertexAttrib4uiv
Definition: glad/glad.c:771
PFNGLVERTEXATTRIB4NUBPROC glad_glVertexAttrib4Nub
Definition: glad/glad.c:758
PFNGLINDEXSPROC glad_glIndexs
Definition: glad/glad.c:413
PFNGLGETUNIFORMINDICESPROC glad_glGetUniformIndices
Definition: glad/glad.c:393
PFNGLWINDOWPOS2IPROC glad_glWindowPos2i
Definition: glad/glad.c:802
PFNGLINDEXPOINTERPROC glad_glIndexPointer
Definition: glad/glad.c:406
PFNGLTEXCOORD2IVPROC glad_glTexCoord2iv
Definition: glad/glad.c:629
PFNGLGETPIXELMAPFVPROC glad_glGetPixelMapfv
Definition: glad/glad.c:362
PFNGLFLUSHMAPPEDBUFFERRANGEPROC glad_glFlushMappedBufferRange
Definition: glad/glad.c:303
PFNGLEDGEFLAGPROC glad_glEdgeFlag
Definition: glad/glad.c:275
PFNGLFENCESYNCPROC glad_glFenceSync
Definition: glad/glad.c:300
PFNGLDRAWRANGEELEMENTSPROC glad_glDrawRangeElements
Definition: glad/glad.c:273
PFNGLVERTEX4SPROC glad_glVertex4s
Definition: glad/glad.c:735
PFNGLGETPROGRAMINFOLOGPROC glad_glGetProgramInfoLog
Definition: glad/glad.c:367
PFNGLFRAMEBUFFERTEXTURE3DPROC glad_glFramebufferTexture3D
Definition: glad/glad.c:317
PFNGLACTIVETEXTUREPROC glad_glActiveTexture
Definition: glad/glad.c:149
PFNGLVERTEX2FPROC glad_glVertex2f
Definition: glad/glad.c:715
PFNGLNORMAL3IPROC glad_glNormal3i
Definition: glad/glad.c:511
PFNGLBINDFRAGDATALOCATIONPROC glad_glBindFragDataLocation
Definition: glad/glad.c:162
PFNGLVERTEX2IVPROC glad_glVertex2iv
Definition: glad/glad.c:718
PFNGLGENLISTSPROC glad_glGenLists
Definition: glad/glad.c:323
PFNGLWINDOWPOS2FVPROC glad_glWindowPos2fv
Definition: glad/glad.c:801
PFNGLTEXCOORDPOINTERPROC glad_glTexCoordPointer
Definition: glad/glad.c:648
PFNGLGETOBJECTLABELPROC glad_glGetObjectLabel
Definition: glad/glad.c:851
PFNGLMAPBUFFERRANGEPROC glad_glMapBufferRange
Definition: glad/glad.c:455
PFNGLGENFRAMEBUFFERSPROC glad_glGenFramebuffers
Definition: glad/glad.c:322
PFNGLMAPBUFFERPROC glad_glMapBuffer
Definition: glad/glad.c:454
PFNGLBITMAPPROC glad_glBitmap
Definition: glad/glad.c:167
PFNGLTEXSUBIMAGE2DPROC glad_glTexSubImage2D
Definition: glad/glad.c:671
PFNGLMULTITEXCOORD3SPROC glad_glMultiTexCoord3s
Definition: glad/glad.c:494
PFNGLTEXENVFVPROC glad_glTexEnvfv
Definition: glad/glad.c:650
PFNGLUNIFORMMATRIX3X4FVPROC glad_glUniformMatrix3x4fv
Definition: glad/glad.c:706
PFNGLCHECKFRAMEBUFFERSTATUSPROC glad_glCheckFramebufferStatus
Definition: glad/glad.c:178
PFNGLUNIFORM2FVPROC glad_glUniform2fv
Definition: glad/glad.c:683
PFNGLLOADNAMEPROC glad_glLoadName
Definition: glad/glad.c:446
void *APIENTRYP PFNGLMAPBUFFERPROC(GLenum target, GLenum access)
PFNGLGETTEXPARAMETERIIVPROC glad_glGetTexParameterIiv
Definition: glad/glad.c:387
PFNGLPIXELTRANSFERIPROC glad_glPixelTransferi
Definition: glad/glad.c:524
PFNGLDRAWBUFFERPROC glad_glDrawBuffer
Definition: glad/glad.c:266
PFNGLMULTITEXCOORD1SVPROC glad_glMultiTexCoord1sv
Definition: glad/glad.c:479
PFNGLINDEXMASKPROC glad_glIndexMask
Definition: glad/glad.c:405
PFNGLINITNAMESPROC glad_glInitNames
Definition: glad/glad.c:417
PFNGLVERTEXATTRIB4IVPROC glad_glVertexAttrib4iv
Definition: glad/glad.c:767
int GLAD_GL_VERSION_1_0
Definition: glad/glad.c:137
PFNGLTEXIMAGE2DPROC glad_glTexImage2D
Definition: glad/glad.c:660
PFNGLDELETEVERTEXARRAYSAPPLEPROC glad_glDeleteVertexArraysAPPLE
Definition: glad/glad.c:820
PFNGLEVALCOORD2FPROC glad_glEvalCoord2f
Definition: glad/glad.c:293
PFNGLWINDOWPOS3DVPROC glad_glWindowPos3dv
Definition: glad/glad.c:807
PFNGLGETNMAPDVARBPROC glad_glGetnMapdvARB
Definition: glad/glad.c:832
PFNGLISVERTEXARRAYAPPLEPROC glad_glIsVertexArrayAPPLE
Definition: glad/glad.c:822
PFNGLDETACHSHADERPROC glad_glDetachShader
Definition: glad/glad.c:259
const GLubyte *APIENTRYP PFNGLGETSTRINGPROC(GLenum name)
PFNGLGETNUNIFORMIVARBPROC glad_glGetnUniformivARB
Definition: glad/glad.c:829
PFNGLSECONDARYCOLOR3BVPROC glad_glSecondaryColor3bv
Definition: glad/glad.c:590
PFNGLGETBUFFERSUBDATAPROC glad_glGetBufferSubData
Definition: glad/glad.c:342
PFNGLPOLYGONOFFSETPROC glad_glPolygonOffset
Definition: glad/glad.c:532
PFNGLMULTIDRAWELEMENTSPROC glad_glMultiDrawElements
Definition: glad/glad.c:470
PFNGLALPHAFUNCPROC glad_glAlphaFunc
Definition: glad/glad.c:150
PFNGLCOPYTEXSUBIMAGE2DPROC glad_glCopyTexSubImage2D
Definition: glad/glad.c:241
PFNGLBINDVERTEXARRAYPROC glad_glBindVertexArray
Definition: glad/glad.c:166
PFNGLVERTEXATTRIB3DVPROC glad_glVertexAttrib3dv
Definition: glad/glad.c:750
PFNGLPOINTPARAMETERIPROC glad_glPointParameteri
Definition: glad/glad.c:528
static void load_GL_VERSION_1_0(GLADloadproc load)
Definition: glad/glad.c:865
PFNGLDELETEBUFFERSPROC glad_glDeleteBuffers
Definition: glad/glad.c:246
int gladLoadGLLoader(GLADloadproc load)
Definition: glad/glad.c:1697
PFNGLPOPCLIENTATTRIBPROC glad_glPopClientAttrib
Definition: glad/glad.c:535
PFNGLCLEARCOLORPROC glad_glClearColor
Definition: glad/glad.c:186
PFNGLPUSHDEBUGGROUPKHRPROC glad_glPushDebugGroupKHR
Definition: glad/glad.c:858
PFNGLGETUNIFORMBLOCKINDEXPROC glad_glGetUniformBlockIndex
Definition: glad/glad.c:392
PFNGLSECONDARYCOLORPOINTERPROC glad_glSecondaryColorPointer
Definition: glad/glad.c:605
PFNGLEVALCOORD2DPROC glad_glEvalCoord2d
Definition: glad/glad.c:291
PFNGLLINESTIPPLEPROC glad_glLineStipple
Definition: glad/glad.c:439
PFNGLGENERATEMIPMAPPROC glad_glGenerateMipmap
Definition: glad/glad.c:328
PFNGLCOLORMASKIPROC glad_glColorMaski
Definition: glad/glad.c:226
PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC glad_glGetnCompressedTexImageARB
Definition: glad/glad.c:827
PFNGLPOINTPARAMETERIVPROC glad_glPointParameteriv
Definition: glad/glad.c:529
PFNGLDELETERENDERBUFFERSPROC glad_glDeleteRenderbuffers
Definition: glad/glad.c:251
PFNGLVERTEX4FPROC glad_glVertex4f
Definition: glad/glad.c:731
PFNGLMULTITEXCOORD2IVPROC glad_glMultiTexCoord2iv
Definition: glad/glad.c:485
PFNGLINTERLEAVEDARRAYSPROC glad_glInterleavedArrays
Definition: glad/glad.c:418
PFNGLVERTEXATTRIB4NSVPROC glad_glVertexAttrib4Nsv
Definition: glad/glad.c:757
PFNGLPOPNAMEPROC glad_glPopName
Definition: glad/glad.c:537
PFNGLGETOBJECTPTRLABELPROC glad_glGetObjectPtrLabel
Definition: glad/glad.c:853
PFNGLGETSHADERINFOLOGPROC glad_glGetShaderInfoLog
Definition: glad/glad.c:373
PFNGLVERTEXATTRIBI3UIPROC glad_glVertexAttribI3ui
Definition: glad/glad.c:783
PFNGLSTENCILMASKPROC glad_glStencilMask
Definition: glad/glad.c:611
PFNGLGETDOUBLEVPROC glad_glGetDoublev
Definition: glad/glad.c:345
#define GL_EXTENSIONS
PFNGLNORMAL3SVPROC glad_glNormal3sv
Definition: glad/glad.c:514
PFNGLCOLOR3IPROC glad_glColor3i
Definition: glad/glad.c:199
PFNGLMULTITEXCOORD3SVPROC glad_glMultiTexCoord3sv
Definition: glad/glad.c:495
PFNGLBLITFRAMEBUFFERPROC glad_glBlitFramebuffer
Definition: glad/glad.c:173
PFNGLTEXPARAMETERFPROC glad_glTexParameterf
Definition: glad/glad.c:666
PFNGLUNIFORM2UIPROC glad_glUniform2ui
Definition: glad/glad.c:686
PFNGLEVALCOORD2DVPROC glad_glEvalCoord2dv
Definition: glad/glad.c:292
PFNGLGETTEXGENIVPROC glad_glGetTexGeniv
Definition: glad/glad.c:383
PFNGLPUSHDEBUGGROUPPROC glad_glPushDebugGroup
Definition: glad/glad.c:848
PFNGLENABLECLIENTSTATEPROC glad_glEnableClientState
Definition: glad/glad.c:279
PFNGLCOLOR3USVPROC glad_glColor3usv
Definition: glad/glad.c:208
PFNGLVERTEXATTRIB4SPROC glad_glVertexAttrib4s
Definition: glad/glad.c:768
PFNGLTRANSLATEDPROC glad_glTranslated
Definition: glad/glad.c:674
PFNGLEVALMESH1PROC glad_glEvalMesh1
Definition: glad/glad.c:295
PFNGLSAMPLECOVERAGEPROC glad_glSampleCoverage
Definition: glad/glad.c:584
PFNGLTEXCOORD2FPROC glad_glTexCoord2f
Definition: glad/glad.c:626
PFNGLARRAYELEMENTPROC glad_glArrayElement
Definition: glad/glad.c:152
PFNGLTEXCOORD3FPROC glad_glTexCoord3f
Definition: glad/glad.c:634
PFNGLCOLOR4UIVPROC glad_glColor4uiv
Definition: glad/glad.c:222
PFNGLNORMAL3DVPROC glad_glNormal3dv
Definition: glad/glad.c:508
PFNGLVERTEXATTRIBI2UIVPROC glad_glVertexAttribI2uiv
Definition: glad/glad.c:780
PFNGLPOINTPARAMETERFVPROC glad_glPointParameterfv
Definition: glad/glad.c:527
PFNGLGETNHISTOGRAMARBPROC glad_glGetnHistogramARB
Definition: glad/glad.c:842
PFNGLCLEARDEPTHPROC glad_glClearDepth
Definition: glad/glad.c:187
PFNGLTEXCOORD3SVPROC glad_glTexCoord3sv
Definition: glad/glad.c:639
PFNGLDEBUGMESSAGEINSERTPROC glad_glDebugMessageInsert
Definition: glad/glad.c:845
PFNGLDELETETEXTURESPROC glad_glDeleteTextures
Definition: glad/glad.c:254
PFNGLDISABLEIPROC glad_glDisablei
Definition: glad/glad.c:263
int GLAD_GL_VERSION_1_3
Definition: glad/glad.c:140
PFNGLCLIPPLANEPROC glad_glClipPlane
Definition: glad/glad.c:192
PFNGLMULTITEXCOORD1FVPROC glad_glMultiTexCoord1fv
Definition: glad/glad.c:475
PFNGLFOGIVPROC glad_glFogiv
Definition: glad/glad.c:312
PFNGLGETTEXGENDVPROC glad_glGetTexGendv
Definition: glad/glad.c:381
PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC glad_glMultiDrawElementsBaseVertex
Definition: glad/glad.c:471
PFNGLUNIFORMMATRIX2X3FVPROC glad_glUniformMatrix2x3fv
Definition: glad/glad.c:702
PFNGLRECTIPROC glad_glRecti
Definition: glad/glad.c:575
PFNGLVERTEXATTRIB2SPROC glad_glVertexAttrib2s
Definition: glad/glad.c:747
PFNGLVERTEXATTRIBI4UBVPROC glad_glVertexAttribI4ubv
Definition: glad/glad.c:789
PFNGLFINISHPROC glad_glFinish
Definition: glad/glad.c:301
PFNGLVERTEX3FPROC glad_glVertex3f
Definition: glad/glad.c:723
PFNGLDELETEFRAMEBUFFERSPROC glad_glDeleteFramebuffers
Definition: glad/glad.c:247
#define glGetString
PFNGLTEXCOORD1DPROC glad_glTexCoord1d
Definition: glad/glad.c:616
PFNGLGETMAPFVPROC glad_glGetMapfv
Definition: glad/glad.c:357
PFNGLDEBUGMESSAGECALLBACKPROC glad_glDebugMessageCallback
Definition: glad/glad.c:846
PFNGLMULTITEXCOORD4IPROC glad_glMultiTexCoord4i
Definition: glad/glad.c:500
PFNGLVERTEXATTRIBPOINTERPROC glad_glVertexAttribPointer
Definition: glad/glad.c:794
PFNGLGETATTRIBLOCATIONPROC glad_glGetAttribLocation
Definition: glad/glad.c:336
PFNGLUNIFORM1FVPROC glad_glUniform1fv
Definition: glad/glad.c:677
PFNGLPIXELTRANSFERFPROC glad_glPixelTransferf
Definition: glad/glad.c:523
PFNGLGETSHADERSOURCEPROC glad_glGetShaderSource
Definition: glad/glad.c:374
PFNGLGETMAPDVPROC glad_glGetMapdv
Definition: glad/glad.c:356
int GLAD_GL_KHR_debug
Definition: glad/glad.c:818
PFNGLINDEXIVPROC glad_glIndexiv
Definition: glad/glad.c:412
PFNGLDELETESYNCPROC glad_glDeleteSync
Definition: glad/glad.c:253
PFNGLMAP1FPROC glad_glMap1f
Definition: glad/glad.c:451
PFNGLDEBUGMESSAGECALLBACKKHRPROC glad_glDebugMessageCallbackKHR
Definition: glad/glad.c:856
PFNGLVERTEX2IPROC glad_glVertex2i
Definition: glad/glad.c:717
PFNGLVERTEXATTRIB1SPROC glad_glVertexAttrib1s
Definition: glad/glad.c:741
PFNGLVERTEXATTRIBI4SVPROC glad_glVertexAttribI4sv
Definition: glad/glad.c:788
PFNGLTEXCOORD1FPROC glad_glTexCoord1f
Definition: glad/glad.c:618
PFNGLCOLOR3UIVPROC glad_glColor3uiv
Definition: glad/glad.c:206
PFNGLRASTERPOS4FPROC glad_glRasterPos4f
Definition: glad/glad.c:563
PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC glad_glGetActiveUniformBlockName
Definition: glad/glad.c:331
PFNGLMULTITEXCOORD2SPROC glad_glMultiTexCoord2s
Definition: glad/glad.c:486
PFNGLVERTEX3SPROC glad_glVertex3s
Definition: glad/glad.c:727
PFNGLSTENCILFUNCSEPARATEPROC glad_glStencilFuncSeparate
Definition: glad/glad.c:610
PFNGLCOLOR4DVPROC glad_glColor4dv
Definition: glad/glad.c:212
PFNGLGETQUERYIVPROC glad_glGetQueryiv
Definition: glad/glad.c:371
#define NULL
Definition: tinycthread.c:47
PFNGLMULTITEXCOORD3DVPROC glad_glMultiTexCoord3dv
Definition: glad/glad.c:489
PFNGLLOADMATRIXDPROC glad_glLoadMatrixd
Definition: glad/glad.c:444
PFNGLWINDOWPOS3IPROC glad_glWindowPos3i
Definition: glad/glad.c:810
struct gladGLversionStruct GLVersion
Definition: glad/glad.c:34
PFNGLCOLOR4SVPROC glad_glColor4sv
Definition: glad/glad.c:218
PFNGLRASTERPOS2SPROC glad_glRasterPos2s
Definition: glad/glad.c:551
int i
PFNGLWINDOWPOS2SPROC glad_glWindowPos2s
Definition: glad/glad.c:804
GLenum GLuint GLenum GLsizei length
PFNGLENABLEPROC glad_glEnable
Definition: glad/glad.c:278
PFNGLLIGHTIPROC glad_glLighti
Definition: glad/glad.c:437
PFNGLINDEXUBVPROC glad_glIndexubv
Definition: glad/glad.c:416
PFNGLTEXPARAMETERFVPROC glad_glTexParameterfv
Definition: glad/glad.c:667
PFNGLVERTEX4IPROC glad_glVertex4i
Definition: glad/glad.c:733
PFNGLMULTITEXCOORD4SVPROC glad_glMultiTexCoord4sv
Definition: glad/glad.c:503
PFNGLHINTPROC glad_glHint
Definition: glad/glad.c:404
int GLAD_GL_APPLE_vertex_array_object
Definition: glad/glad.c:814
static int max_loaded_major
Definition: glad/glad.c:40
PFNGLEVALCOORD1FVPROC glad_glEvalCoord1fv
Definition: glad/glad.c:290
PFNGLMULTTRANSPOSEMATRIXFPROC glad_glMultTransposeMatrixf
Definition: glad/glad.c:468
PFNGLSECONDARYCOLOR3UIPROC glad_glSecondaryColor3ui
Definition: glad/glad.c:601
PFNGLGETMULTISAMPLEFVPROC glad_glGetMultisamplefv
Definition: glad/glad.c:361
PFNGLMULTITEXCOORD4DVPROC glad_glMultiTexCoord4dv
Definition: glad/glad.c:497
PFNGLINDEXFVPROC glad_glIndexfv
Definition: glad/glad.c:410
PFNGLMAP2FPROC glad_glMap2f
Definition: glad/glad.c:453
PFNGLUNIFORM4FPROC glad_glUniform4f
Definition: glad/glad.c:694
PFNGLGETUNIFORMLOCATIONPROC glad_glGetUniformLocation
Definition: glad/glad.c:394
PFNGLVERTEX2DPROC glad_glVertex2d
Definition: glad/glad.c:713
PFNGLSECONDARYCOLOR3USVPROC glad_glSecondaryColor3usv
Definition: glad/glad.c:604
PFNGLUNIFORM4UIVPROC glad_glUniform4uiv
Definition: glad/glad.c:699
PFNGLFRUSTUMPROC glad_glFrustum
Definition: glad/glad.c:320
PFNGLSCALEFPROC glad_glScalef
Definition: glad/glad.c:587
int GLAD_GL_ARB_robustness
Definition: glad/glad.c:816
#define GL_VERSION
PFNGLGETNPIXELMAPUIVARBPROC glad_glGetnPixelMapuivARB
Definition: glad/glad.c:836
PFNGLCOLOR4USPROC glad_glColor4us
Definition: glad/glad.c:223
PFNGLDEBUGMESSAGEINSERTKHRPROC glad_glDebugMessageInsertKHR
Definition: glad/glad.c:855
PFNGLRECTIVPROC glad_glRectiv
Definition: glad/glad.c:576
PFNGLCOLOR4FVPROC glad_glColor4fv
Definition: glad/glad.c:214
PFNGLDRAWELEMENTSINSTANCEDPROC glad_glDrawElementsInstanced
Definition: glad/glad.c:270
PFNGLPOPDEBUGGROUPKHRPROC glad_glPopDebugGroupKHR
Definition: glad/glad.c:859
PFNGLMULTIDRAWARRAYSPROC glad_glMultiDrawArrays
Definition: glad/glad.c:469
PFNGLCOLOR3FPROC glad_glColor3f
Definition: glad/glad.c:197
PFNGLSECONDARYCOLOR3DPROC glad_glSecondaryColor3d
Definition: glad/glad.c:591
PFNGLVERTEXATTRIB1SVPROC glad_glVertexAttrib1sv
Definition: glad/glad.c:742
PFNGLTEXCOORD3SPROC glad_glTexCoord3s
Definition: glad/glad.c:638
PFNGLFEEDBACKBUFFERPROC glad_glFeedbackBuffer
Definition: glad/glad.c:299
PFNGLTEXENVIPROC glad_glTexEnvi
Definition: glad/glad.c:651
PFNGLTEXGENDVPROC glad_glTexGendv
Definition: glad/glad.c:654
PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC glad_glDrawElementsInstancedBaseVertex
Definition: glad/glad.c:271
PFNGLVERTEXATTRIBI3IVPROC glad_glVertexAttribI3iv
Definition: glad/glad.c:782
PFNGLMULTITEXCOORD2IPROC glad_glMultiTexCoord2i
Definition: glad/glad.c:484
PFNGLLIGHTMODELIVPROC glad_glLightModeliv
Definition: glad/glad.c:434
PFNGLMATERIALIVPROC glad_glMaterialiv
Definition: glad/glad.c:463
PFNGLGETOBJECTPTRLABELKHRPROC glad_glGetObjectPtrLabelKHR
Definition: glad/glad.c:863
PFNGLVERTEXATTRIBI3IPROC glad_glVertexAttribI3i
Definition: glad/glad.c:781
PFNGLISVERTEXARRAYPROC glad_glIsVertexArray
Definition: glad/glad.c:430
PFNGLTEXSUBIMAGE1DPROC glad_glTexSubImage1D
Definition: glad/glad.c:670
PFNGLTEXBUFFERPROC glad_glTexBuffer
Definition: glad/glad.c:615
PFNGLLIGHTFVPROC glad_glLightfv
Definition: glad/glad.c:436
PFNGLDRAWARRAYSPROC glad_glDrawArrays
Definition: glad/glad.c:264
PFNGLMULTITEXCOORD4IVPROC glad_glMultiTexCoord4iv
Definition: glad/glad.c:501
PFNGLLIGHTMODELFPROC glad_glLightModelf
Definition: glad/glad.c:431
#define GL_NUM_EXTENSIONS
PFNGLCOPYTEXSUBIMAGE1DPROC glad_glCopyTexSubImage1D
Definition: glad/glad.c:240
PFNGLPUSHATTRIBPROC glad_glPushAttrib
Definition: glad/glad.c:541
PFNGLOBJECTPTRLABELPROC glad_glObjectPtrLabel
Definition: glad/glad.c:852
PFNGLSTENCILOPSEPARATEPROC glad_glStencilOpSeparate
Definition: glad/glad.c:614
PFNGLBUFFERSUBDATAPROC glad_glBufferSubData
Definition: glad/glad.c:175
PFNGLCREATEPROGRAMPROC glad_glCreateProgram
Definition: glad/glad.c:243
PFNGLTEXCOORD2IPROC glad_glTexCoord2i
Definition: glad/glad.c:628
PFNGLGETLIGHTIVPROC glad_glGetLightiv
Definition: glad/glad.c:355
PFNGLMULTITEXCOORD3IPROC glad_glMultiTexCoord3i
Definition: glad/glad.c:492
PFNGLPOPATTRIBPROC glad_glPopAttrib
Definition: glad/glad.c:534
PFNGLCOLOR4IPROC glad_glColor4i
Definition: glad/glad.c:215
PFNGLNORMAL3BPROC glad_glNormal3b
Definition: glad/glad.c:505
PFNGLOBJECTLABELPROC glad_glObjectLabel
Definition: glad/glad.c:850
PFNGLTEXCOORD3IPROC glad_glTexCoord3i
Definition: glad/glad.c:636
PFNGLCOLOR4FPROC glad_glColor4f
Definition: glad/glad.c:213
PFNGLENDPROC glad_glEnd
Definition: glad/glad.c:282
static void load_GL_VERSION_2_1(GLADloadproc load)
Definition: glad/glad.c:1431
PFNGLRASTERPOS2SVPROC glad_glRasterPos2sv
Definition: glad/glad.c:552
PFNGLBEGINCONDITIONALRENDERPROC glad_glBeginConditionalRender
Definition: glad/glad.c:155
PFNGLTEXGENIVPROC glad_glTexGeniv
Definition: glad/glad.c:658
PFNGLREADPIXELSPROC glad_glReadPixels
Definition: glad/glad.c:570
PFNGLVERTEXATTRIB4SVPROC glad_glVertexAttrib4sv
Definition: glad/glad.c:769
PFNGLVERTEXATTRIB3SPROC glad_glVertexAttrib3s
Definition: glad/glad.c:753
PFNGLEVALCOORD1FPROC glad_glEvalCoord1f
Definition: glad/glad.c:289
PFNGLRECTSPROC glad_glRects
Definition: glad/glad.c:577
PFNGLGETNMAPFVARBPROC glad_glGetnMapfvARB
Definition: glad/glad.c:833
PFNGLINDEXIPROC glad_glIndexi
Definition: glad/glad.c:411
PFNGLUNIFORMMATRIX4X3FVPROC glad_glUniformMatrix4x3fv
Definition: glad/glad.c:709
PFNGLUNIFORM1FPROC glad_glUniform1f
Definition: glad/glad.c:676
PFNGLSECONDARYCOLOR3BPROC glad_glSecondaryColor3b
Definition: glad/glad.c:589
PFNGLBLENDFUNCSEPARATEPROC glad_glBlendFuncSeparate
Definition: glad/glad.c:172
PFNGLMULTITEXCOORD4FVPROC glad_glMultiTexCoord4fv
Definition: glad/glad.c:499
PFNGLGETVERTEXATTRIBIUIVPROC glad_glGetVertexAttribIuiv
Definition: glad/glad.c:399
PFNGLWINDOWPOS3DPROC glad_glWindowPos3d
Definition: glad/glad.c:806
PFNGLCOLOR4DPROC glad_glColor4d
Definition: glad/glad.c:211
PFNGLUNIFORM1IVPROC glad_glUniform1iv
Definition: glad/glad.c:679
PFNGLENDQUERYPROC glad_glEndQuery
Definition: glad/glad.c:285
PFNGLPOPDEBUGGROUPPROC glad_glPopDebugGroup
Definition: glad/glad.c:849
static void load_GL_ARB_robustness(GLADloadproc load)
Definition: glad/glad.c:1578
PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC glad_glCompressedTexSubImage1D
Definition: glad/glad.c:233
PFNGLROTATEFPROC glad_glRotatef
Definition: glad/glad.c:583
PFNGLPOLYGONSTIPPLEPROC glad_glPolygonStipple
Definition: glad/glad.c:533
PFNGLLIGHTMODELIPROC glad_glLightModeli
Definition: glad/glad.c:433
PFNGLCLEARBUFFERUIVPROC glad_glClearBufferuiv
Definition: glad/glad.c:185
PFNGLSCISSORPROC glad_glScissor
Definition: glad/glad.c:588
PFNGLLOGICOPPROC glad_glLogicOp
Definition: glad/glad.c:449
PFNGLVERTEX4SVPROC glad_glVertex4sv
Definition: glad/glad.c:736
PFNGLTEXGENFPROC glad_glTexGenf
Definition: glad/glad.c:655
PFNGLTEXGENFVPROC glad_glTexGenfv
Definition: glad/glad.c:656
PFNGLCOLOR3FVPROC glad_glColor3fv
Definition: glad/glad.c:198
PFNGLRECTDVPROC glad_glRectdv
Definition: glad/glad.c:572
PFNGLUNIFORM3FPROC glad_glUniform3f
Definition: glad/glad.c:688
static int find_extensionsGL(void)
Definition: glad/glad.c:1633
static void load_GL_VERSION_2_0(GLADloadproc load)
Definition: glad/glad.c:1335
PFNGLWINDOWPOS3SVPROC glad_glWindowPos3sv
Definition: glad/glad.c:813
PFNGLGETQUERYOBJECTUIVPROC glad_glGetQueryObjectuiv
Definition: glad/glad.c:370
PFNGLUNIFORM2IVPROC glad_glUniform2iv
Definition: glad/glad.c:685
PFNGLMULTITEXCOORD2FPROC glad_glMultiTexCoord2f
Definition: glad/glad.c:482
PFNGLCOLOR3UBVPROC glad_glColor3ubv
Definition: glad/glad.c:204
PFNGLGETBUFFERPARAMETERI64VPROC glad_glGetBufferParameteri64v
Definition: glad/glad.c:339
PFNGLGETPIXELMAPUSVPROC glad_glGetPixelMapusv
Definition: glad/glad.c:364
PFNGLMATERIALFVPROC glad_glMaterialfv
Definition: glad/glad.c:461
PFNGLGETMAPIVPROC glad_glGetMapiv
Definition: glad/glad.c:358


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:47:15