diff options
author | Fox Caminiti <fox@foxcam.net> | 2023-02-11 17:37:49 -0500 |
---|---|---|
committer | Fox Caminiti <fox@foxcam.net> | 2023-02-11 17:37:49 -0500 |
commit | bd25daeae033e4f905ae0145831a7d8fdd92e471 (patch) | |
tree | 7e602f31449d8eb58212a028e91e7eb32e4bbf84 /dependencies/src | |
parent | 52c6ad3f2686cb66a8954ca5dac7f3eba4676cc3 (diff) |
v4.0
Diffstat (limited to 'dependencies/src')
-rw-r--r-- | dependencies/src/glad.c | 8595 |
1 files changed, 7884 insertions, 711 deletions
diff --git a/dependencies/src/glad.c b/dependencies/src/glad.c index bbb7c06..0e02da3 100644 --- a/dependencies/src/glad.c +++ b/dependencies/src/glad.c @@ -1,1085 +1,6796 @@ -/* - - OpenGL loader generated by glad 0.1.35 on Fri Jul 29 13:28:57 2022. - - Language/Generator: C/C++ - Specification: gl - APIs: gl=3.3 - Profile: core - Extensions: - - Loader: True - Local files: False - Omit khrplatform: False - Reproducible: False - - Commandline: - --profile="core" --api="gl=3.3" --generator="c" --spec="gl" --extensions="" - Online: - https://glad.dav1d.de/#profile=core&language=c&specification=gl&loader=on&api=gl%3D3.3 -*/ - +/** + * SPDX-License-Identifier: (WTFPL OR CC0-1.0) AND Apache-2.0 + */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <glad.h> -static void* get_proc(const char *namez); - -#if defined(_WIN32) || defined(__CYGWIN__) -#ifndef _WINDOWS_ -#undef APIENTRY -#endif -#include <windows.h> -static HMODULE libGL; - -typedef void* (APIENTRYP PFNWGLGETPROCADDRESSPROC_PRIVATE)(const char*); -static PFNWGLGETPROCADDRESSPROC_PRIVATE gladGetProcAddressPtr; +#ifndef GLAD_IMPL_UTIL_C_ +#define GLAD_IMPL_UTIL_C_ #ifdef _MSC_VER -#ifdef __has_include - #if __has_include(<winapifamily.h>) - #define HAVE_WINAPIFAMILY 1 - #endif -#elif _MSC_VER >= 1700 && !_USING_V110_SDK71_ - #define HAVE_WINAPIFAMILY 1 -#endif -#endif - -#ifdef HAVE_WINAPIFAMILY - #include <winapifamily.h> - #if !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) && WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) - #define IS_UWP 1 - #endif -#endif - -static -int open_gl(void) { -#ifndef IS_UWP - libGL = LoadLibraryW(L"opengl32.dll"); - if(libGL != NULL) { - void (* tmp)(void); - tmp = (void(*)(void)) GetProcAddress(libGL, "wglGetProcAddress"); - gladGetProcAddressPtr = (PFNWGLGETPROCADDRESSPROC_PRIVATE) tmp; - return gladGetProcAddressPtr != NULL; - } -#endif - - return 0; -} - -static -void close_gl(void) { - if(libGL != NULL) { - FreeLibrary((HMODULE) libGL); - libGL = NULL; - } -} +#define GLAD_IMPL_UTIL_SSCANF sscanf_s #else -#include <dlfcn.h> -static void* libGL; - -#if !defined(__APPLE__) && !defined(__HAIKU__) -typedef void* (APIENTRYP PFNGLXGETPROCADDRESSPROC_PRIVATE)(const char*); -static PFNGLXGETPROCADDRESSPROC_PRIVATE gladGetProcAddressPtr; +#define GLAD_IMPL_UTIL_SSCANF sscanf #endif -static -int open_gl(void) { -#ifdef __APPLE__ - static const char *NAMES[] = { - "../Frameworks/OpenGL.framework/OpenGL", - "/Library/Frameworks/OpenGL.framework/OpenGL", - "/System/Library/Frameworks/OpenGL.framework/OpenGL", - "/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL" - }; -#else - static const char *NAMES[] = {"libGL.so.1", "libGL.so"}; -#endif - - unsigned int index = 0; - for(index = 0; index < (sizeof(NAMES) / sizeof(NAMES[0])); index++) { - libGL = dlopen(NAMES[index], RTLD_NOW | RTLD_GLOBAL); +#endif /* GLAD_IMPL_UTIL_C_ */ - if(libGL != NULL) { -#if defined(__APPLE__) || defined(__HAIKU__) - return 1; -#else - gladGetProcAddressPtr = (PFNGLXGETPROCADDRESSPROC_PRIVATE)dlsym(libGL, - "glXGetProcAddressARB"); - return gladGetProcAddressPtr != NULL; +#ifdef __cplusplus +extern "C" { #endif - } - } - return 0; -} -static -void close_gl(void) { - if(libGL != NULL) { - dlclose(libGL); - libGL = NULL; - } -} -#endif - -static -void* get_proc(const char *namez) { - void* result = NULL; - if(libGL == NULL) return NULL; -#if !defined(__APPLE__) && !defined(__HAIKU__) - if(gladGetProcAddressPtr != NULL) { - result = gladGetProcAddressPtr(namez); - } -#endif - if(result == NULL) { -#if defined(_WIN32) || defined(__CYGWIN__) - result = (void*)GetProcAddress((HMODULE) libGL, namez); -#else - result = dlsym(libGL, namez); -#endif - } +int GLAD_GL_VERSION_1_0 = 0; +int GLAD_GL_VERSION_1_1 = 0; +int GLAD_GL_VERSION_1_2 = 0; +int GLAD_GL_VERSION_1_3 = 0; +int GLAD_GL_VERSION_1_4 = 0; +int GLAD_GL_VERSION_1_5 = 0; +int GLAD_GL_VERSION_2_0 = 0; +int GLAD_GL_VERSION_2_1 = 0; +int GLAD_GL_VERSION_3_0 = 0; +int GLAD_GL_VERSION_3_1 = 0; +int GLAD_GL_VERSION_3_2 = 0; +int GLAD_GL_VERSION_3_3 = 0; - return result; -} -int gladLoadGL(void) { - int status = 0; +static void _pre_call_gl_callback_default(const char *name, GLADapiproc apiproc, int len_args, ...) { + GLAD_UNUSED(len_args); - if(open_gl()) { - status = gladLoadGLLoader(&get_proc); - close_gl(); + if (apiproc == NULL) { + fprintf(stderr, "GLAD: ERROR %s is NULL!\n", name); + return; + } + if (glad_glGetError == NULL) { + fprintf(stderr, "GLAD: ERROR glGetError is NULL!\n"); + return; } - return status; + (void) glad_glGetError(); } +static void _post_call_gl_callback_default(void *ret, const char *name, GLADapiproc apiproc, int len_args, ...) { + GLenum error_code; -struct gladGLversionStruct GLVersion = { 0, 0 }; + GLAD_UNUSED(ret); + GLAD_UNUSED(apiproc); + GLAD_UNUSED(len_args); -#if defined(GL_ES_VERSION_3_0) || defined(GL_VERSION_3_0) -#define _GLAD_IS_SOME_NEW_VERSION 1 -#endif - -static int max_loaded_major; -static int max_loaded_minor; - -static const char *exts = NULL; -static int num_exts_i = 0; -static char **exts_i = NULL; + error_code = glad_glGetError(); -static int get_exts(void) { -#ifdef _GLAD_IS_SOME_NEW_VERSION - if(max_loaded_major < 3) { -#endif - exts = (const char *)glGetString(GL_EXTENSIONS); -#ifdef _GLAD_IS_SOME_NEW_VERSION - } else { - unsigned int index; - - num_exts_i = 0; - glGetIntegerv(GL_NUM_EXTENSIONS, &num_exts_i); - if (num_exts_i > 0) { - exts_i = (char **)malloc((size_t)num_exts_i * (sizeof *exts_i)); - } - - if (exts_i == NULL) { - return 0; - } - - for(index = 0; index < (unsigned)num_exts_i; index++) { - const char *gl_str_tmp = (const char*)glGetStringi(GL_EXTENSIONS, index); - size_t len = strlen(gl_str_tmp); - - char *local_str = (char*)malloc((len+1) * sizeof(char)); - if(local_str != NULL) { - memcpy(local_str, gl_str_tmp, (len+1) * sizeof(char)); - } - exts_i[index] = local_str; - } + if (error_code != GL_NO_ERROR) { + fprintf(stderr, "GLAD: ERROR %d in %s!\n", error_code, name); } -#endif - return 1; } -static void free_exts(void) { - if (exts_i != NULL) { - int index; - for(index = 0; index < num_exts_i; index++) { - free((char *)exts_i[index]); - } - free((void *)exts_i); - exts_i = NULL; - } +static GLADprecallback _pre_call_gl_callback = _pre_call_gl_callback_default; +void gladSetGLPreCallback(GLADprecallback cb) { + _pre_call_gl_callback = cb; +} +static GLADpostcallback _post_call_gl_callback = _post_call_gl_callback_default; +void gladSetGLPostCallback(GLADpostcallback cb) { + _post_call_gl_callback = cb; } -static int has_ext(const char *ext) { -#ifdef _GLAD_IS_SOME_NEW_VERSION - if(max_loaded_major < 3) { -#endif - const char *extensions; - const char *loc; - const char *terminator; - extensions = exts; - if(extensions == NULL || ext == NULL) { - return 0; - } - - while(1) { - loc = strstr(extensions, ext); - if(loc == NULL) { - return 0; - } - - terminator = loc + strlen(ext); - if((loc == extensions || *(loc - 1) == ' ') && - (*terminator == ' ' || *terminator == '\0')) { - return 1; - } - extensions = terminator; - } -#ifdef _GLAD_IS_SOME_NEW_VERSION - } else { - int index; - if(exts_i == NULL) return 0; - for(index = 0; index < num_exts_i; index++) { - const char *e = exts_i[index]; - - if(exts_i[index] != NULL && strcmp(e, ext) == 0) { - return 1; - } - } - } -#endif - - return 0; +PFNGLACCUMPROC glad_glAccum = NULL; +static void GLAD_API_PTR glad_debug_impl_glAccum(GLenum op, GLfloat value) { + _pre_call_gl_callback("glAccum", (GLADapiproc) glad_glAccum, 2, op, value); + glad_glAccum(op, value); + _post_call_gl_callback(NULL, "glAccum", (GLADapiproc) glad_glAccum, 2, op, value); + } -int GLAD_GL_VERSION_1_0 = 0; -int GLAD_GL_VERSION_1_1 = 0; -int GLAD_GL_VERSION_1_2 = 0; -int GLAD_GL_VERSION_1_3 = 0; -int GLAD_GL_VERSION_1_4 = 0; -int GLAD_GL_VERSION_1_5 = 0; -int GLAD_GL_VERSION_2_0 = 0; -int GLAD_GL_VERSION_2_1 = 0; -int GLAD_GL_VERSION_3_0 = 0; -int GLAD_GL_VERSION_3_1 = 0; -int GLAD_GL_VERSION_3_2 = 0; -int GLAD_GL_VERSION_3_3 = 0; +PFNGLACCUMPROC glad_debug_glAccum = glad_debug_impl_glAccum; PFNGLACTIVETEXTUREPROC glad_glActiveTexture = NULL; +static void GLAD_API_PTR glad_debug_impl_glActiveTexture(GLenum texture) { + _pre_call_gl_callback("glActiveTexture", (GLADapiproc) glad_glActiveTexture, 1, texture); + glad_glActiveTexture(texture); + _post_call_gl_callback(NULL, "glActiveTexture", (GLADapiproc) glad_glActiveTexture, 1, texture); + +} +PFNGLACTIVETEXTUREPROC glad_debug_glActiveTexture = glad_debug_impl_glActiveTexture; +PFNGLALPHAFUNCPROC glad_glAlphaFunc = NULL; +static void GLAD_API_PTR glad_debug_impl_glAlphaFunc(GLenum func, GLfloat ref) { + _pre_call_gl_callback("glAlphaFunc", (GLADapiproc) glad_glAlphaFunc, 2, func, ref); + glad_glAlphaFunc(func, ref); + _post_call_gl_callback(NULL, "glAlphaFunc", (GLADapiproc) glad_glAlphaFunc, 2, func, ref); + +} +PFNGLALPHAFUNCPROC glad_debug_glAlphaFunc = glad_debug_impl_glAlphaFunc; +PFNGLARETEXTURESRESIDENTPROC glad_glAreTexturesResident = NULL; +static GLboolean GLAD_API_PTR glad_debug_impl_glAreTexturesResident(GLsizei n, const GLuint * textures, GLboolean * residences) { + GLboolean ret; + _pre_call_gl_callback("glAreTexturesResident", (GLADapiproc) glad_glAreTexturesResident, 3, n, textures, residences); + ret = glad_glAreTexturesResident(n, textures, residences); + _post_call_gl_callback((void*) &ret, "glAreTexturesResident", (GLADapiproc) glad_glAreTexturesResident, 3, n, textures, residences); + return ret; +} +PFNGLARETEXTURESRESIDENTPROC glad_debug_glAreTexturesResident = glad_debug_impl_glAreTexturesResident; +PFNGLARRAYELEMENTPROC glad_glArrayElement = NULL; +static void GLAD_API_PTR glad_debug_impl_glArrayElement(GLint i) { + _pre_call_gl_callback("glArrayElement", (GLADapiproc) glad_glArrayElement, 1, i); + glad_glArrayElement(i); + _post_call_gl_callback(NULL, "glArrayElement", (GLADapiproc) glad_glArrayElement, 1, i); + +} +PFNGLARRAYELEMENTPROC glad_debug_glArrayElement = glad_debug_impl_glArrayElement; PFNGLATTACHSHADERPROC glad_glAttachShader = NULL; +static void GLAD_API_PTR glad_debug_impl_glAttachShader(GLuint program, GLuint shader) { + _pre_call_gl_callback("glAttachShader", (GLADapiproc) glad_glAttachShader, 2, program, shader); + glad_glAttachShader(program, shader); + _post_call_gl_callback(NULL, "glAttachShader", (GLADapiproc) glad_glAttachShader, 2, program, shader); + +} +PFNGLATTACHSHADERPROC glad_debug_glAttachShader = glad_debug_impl_glAttachShader; +PFNGLBEGINPROC glad_glBegin = NULL; +static void GLAD_API_PTR glad_debug_impl_glBegin(GLenum mode) { + _pre_call_gl_callback("glBegin", (GLADapiproc) glad_glBegin, 1, mode); + glad_glBegin(mode); + _post_call_gl_callback(NULL, "glBegin", (GLADapiproc) glad_glBegin, 1, mode); + +} +PFNGLBEGINPROC glad_debug_glBegin = glad_debug_impl_glBegin; PFNGLBEGINCONDITIONALRENDERPROC glad_glBeginConditionalRender = NULL; +static void GLAD_API_PTR glad_debug_impl_glBeginConditionalRender(GLuint id, GLenum mode) { + _pre_call_gl_callback("glBeginConditionalRender", (GLADapiproc) glad_glBeginConditionalRender, 2, id, mode); + glad_glBeginConditionalRender(id, mode); + _post_call_gl_callback(NULL, "glBeginConditionalRender", (GLADapiproc) glad_glBeginConditionalRender, 2, id, mode); + +} +PFNGLBEGINCONDITIONALRENDERPROC glad_debug_glBeginConditionalRender = glad_debug_impl_glBeginConditionalRender; PFNGLBEGINQUERYPROC glad_glBeginQuery = NULL; +static void GLAD_API_PTR glad_debug_impl_glBeginQuery(GLenum target, GLuint id) { + _pre_call_gl_callback("glBeginQuery", (GLADapiproc) glad_glBeginQuery, 2, target, id); + glad_glBeginQuery(target, id); + _post_call_gl_callback(NULL, "glBeginQuery", (GLADapiproc) glad_glBeginQuery, 2, target, id); + +} +PFNGLBEGINQUERYPROC glad_debug_glBeginQuery = glad_debug_impl_glBeginQuery; PFNGLBEGINTRANSFORMFEEDBACKPROC glad_glBeginTransformFeedback = NULL; +static void GLAD_API_PTR glad_debug_impl_glBeginTransformFeedback(GLenum primitiveMode) { + _pre_call_gl_callback("glBeginTransformFeedback", (GLADapiproc) glad_glBeginTransformFeedback, 1, primitiveMode); + glad_glBeginTransformFeedback(primitiveMode); + _post_call_gl_callback(NULL, "glBeginTransformFeedback", (GLADapiproc) glad_glBeginTransformFeedback, 1, primitiveMode); + +} +PFNGLBEGINTRANSFORMFEEDBACKPROC glad_debug_glBeginTransformFeedback = glad_debug_impl_glBeginTransformFeedback; PFNGLBINDATTRIBLOCATIONPROC glad_glBindAttribLocation = NULL; +static void GLAD_API_PTR glad_debug_impl_glBindAttribLocation(GLuint program, GLuint index, const GLchar * name) { + _pre_call_gl_callback("glBindAttribLocation", (GLADapiproc) glad_glBindAttribLocation, 3, program, index, name); + glad_glBindAttribLocation(program, index, name); + _post_call_gl_callback(NULL, "glBindAttribLocation", (GLADapiproc) glad_glBindAttribLocation, 3, program, index, name); + +} +PFNGLBINDATTRIBLOCATIONPROC glad_debug_glBindAttribLocation = glad_debug_impl_glBindAttribLocation; PFNGLBINDBUFFERPROC glad_glBindBuffer = NULL; +static void GLAD_API_PTR glad_debug_impl_glBindBuffer(GLenum target, GLuint buffer) { + _pre_call_gl_callback("glBindBuffer", (GLADapiproc) glad_glBindBuffer, 2, target, buffer); + glad_glBindBuffer(target, buffer); + _post_call_gl_callback(NULL, "glBindBuffer", (GLADapiproc) glad_glBindBuffer, 2, target, buffer); + +} +PFNGLBINDBUFFERPROC glad_debug_glBindBuffer = glad_debug_impl_glBindBuffer; PFNGLBINDBUFFERBASEPROC glad_glBindBufferBase = NULL; +static void GLAD_API_PTR glad_debug_impl_glBindBufferBase(GLenum target, GLuint index, GLuint buffer) { + _pre_call_gl_callback("glBindBufferBase", (GLADapiproc) glad_glBindBufferBase, 3, target, index, buffer); + glad_glBindBufferBase(target, index, buffer); + _post_call_gl_callback(NULL, "glBindBufferBase", (GLADapiproc) glad_glBindBufferBase, 3, target, index, buffer); + +} +PFNGLBINDBUFFERBASEPROC glad_debug_glBindBufferBase = glad_debug_impl_glBindBufferBase; PFNGLBINDBUFFERRANGEPROC glad_glBindBufferRange = NULL; +static void GLAD_API_PTR glad_debug_impl_glBindBufferRange(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size) { + _pre_call_gl_callback("glBindBufferRange", (GLADapiproc) glad_glBindBufferRange, 5, target, index, buffer, offset, size); + glad_glBindBufferRange(target, index, buffer, offset, size); + _post_call_gl_callback(NULL, "glBindBufferRange", (GLADapiproc) glad_glBindBufferRange, 5, target, index, buffer, offset, size); + +} +PFNGLBINDBUFFERRANGEPROC glad_debug_glBindBufferRange = glad_debug_impl_glBindBufferRange; PFNGLBINDFRAGDATALOCATIONPROC glad_glBindFragDataLocation = NULL; +static void GLAD_API_PTR glad_debug_impl_glBindFragDataLocation(GLuint program, GLuint color, const GLchar * name) { + _pre_call_gl_callback("glBindFragDataLocation", (GLADapiproc) glad_glBindFragDataLocation, 3, program, color, name); + glad_glBindFragDataLocation(program, color, name); + _post_call_gl_callback(NULL, "glBindFragDataLocation", (GLADapiproc) glad_glBindFragDataLocation, 3, program, color, name); + +} +PFNGLBINDFRAGDATALOCATIONPROC glad_debug_glBindFragDataLocation = glad_debug_impl_glBindFragDataLocation; PFNGLBINDFRAGDATALOCATIONINDEXEDPROC glad_glBindFragDataLocationIndexed = NULL; +static void GLAD_API_PTR glad_debug_impl_glBindFragDataLocationIndexed(GLuint program, GLuint colorNumber, GLuint index, const GLchar * name) { + _pre_call_gl_callback("glBindFragDataLocationIndexed", (GLADapiproc) glad_glBindFragDataLocationIndexed, 4, program, colorNumber, index, name); + glad_glBindFragDataLocationIndexed(program, colorNumber, index, name); + _post_call_gl_callback(NULL, "glBindFragDataLocationIndexed", (GLADapiproc) glad_glBindFragDataLocationIndexed, 4, program, colorNumber, index, name); + +} +PFNGLBINDFRAGDATALOCATIONINDEXEDPROC glad_debug_glBindFragDataLocationIndexed = glad_debug_impl_glBindFragDataLocationIndexed; PFNGLBINDFRAMEBUFFERPROC glad_glBindFramebuffer = NULL; +static void GLAD_API_PTR glad_debug_impl_glBindFramebuffer(GLenum target, GLuint framebuffer) { + _pre_call_gl_callback("glBindFramebuffer", (GLADapiproc) glad_glBindFramebuffer, 2, target, framebuffer); + glad_glBindFramebuffer(target, framebuffer); + _post_call_gl_callback(NULL, "glBindFramebuffer", (GLADapiproc) glad_glBindFramebuffer, 2, target, framebuffer); + +} +PFNGLBINDFRAMEBUFFERPROC glad_debug_glBindFramebuffer = glad_debug_impl_glBindFramebuffer; PFNGLBINDRENDERBUFFERPROC glad_glBindRenderbuffer = NULL; +static void GLAD_API_PTR glad_debug_impl_glBindRenderbuffer(GLenum target, GLuint renderbuffer) { + _pre_call_gl_callback("glBindRenderbuffer", (GLADapiproc) glad_glBindRenderbuffer, 2, target, renderbuffer); + glad_glBindRenderbuffer(target, renderbuffer); + _post_call_gl_callback(NULL, "glBindRenderbuffer", (GLADapiproc) glad_glBindRenderbuffer, 2, target, renderbuffer); + +} +PFNGLBINDRENDERBUFFERPROC glad_debug_glBindRenderbuffer = glad_debug_impl_glBindRenderbuffer; PFNGLBINDSAMPLERPROC glad_glBindSampler = NULL; +static void GLAD_API_PTR glad_debug_impl_glBindSampler(GLuint unit, GLuint sampler) { + _pre_call_gl_callback("glBindSampler", (GLADapiproc) glad_glBindSampler, 2, unit, sampler); + glad_glBindSampler(unit, sampler); + _post_call_gl_callback(NULL, "glBindSampler", (GLADapiproc) glad_glBindSampler, 2, unit, sampler); + +} +PFNGLBINDSAMPLERPROC glad_debug_glBindSampler = glad_debug_impl_glBindSampler; PFNGLBINDTEXTUREPROC glad_glBindTexture = NULL; +static void GLAD_API_PTR glad_debug_impl_glBindTexture(GLenum target, GLuint texture) { + _pre_call_gl_callback("glBindTexture", (GLADapiproc) glad_glBindTexture, 2, target, texture); + glad_glBindTexture(target, texture); + _post_call_gl_callback(NULL, "glBindTexture", (GLADapiproc) glad_glBindTexture, 2, target, texture); + +} +PFNGLBINDTEXTUREPROC glad_debug_glBindTexture = glad_debug_impl_glBindTexture; PFNGLBINDVERTEXARRAYPROC glad_glBindVertexArray = NULL; +static void GLAD_API_PTR glad_debug_impl_glBindVertexArray(GLuint array) { + _pre_call_gl_callback("glBindVertexArray", (GLADapiproc) glad_glBindVertexArray, 1, array); + glad_glBindVertexArray(array); + _post_call_gl_callback(NULL, "glBindVertexArray", (GLADapiproc) glad_glBindVertexArray, 1, array); + +} +PFNGLBINDVERTEXARRAYPROC glad_debug_glBindVertexArray = glad_debug_impl_glBindVertexArray; +PFNGLBITMAPPROC glad_glBitmap = NULL; +static void GLAD_API_PTR glad_debug_impl_glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte * bitmap) { + _pre_call_gl_callback("glBitmap", (GLADapiproc) glad_glBitmap, 7, width, height, xorig, yorig, xmove, ymove, bitmap); + glad_glBitmap(width, height, xorig, yorig, xmove, ymove, bitmap); + _post_call_gl_callback(NULL, "glBitmap", (GLADapiproc) glad_glBitmap, 7, width, height, xorig, yorig, xmove, ymove, bitmap); + +} +PFNGLBITMAPPROC glad_debug_glBitmap = glad_debug_impl_glBitmap; PFNGLBLENDCOLORPROC glad_glBlendColor = NULL; +static void GLAD_API_PTR glad_debug_impl_glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { + _pre_call_gl_callback("glBlendColor", (GLADapiproc) glad_glBlendColor, 4, red, green, blue, alpha); + glad_glBlendColor(red, green, blue, alpha); + _post_call_gl_callback(NULL, "glBlendColor", (GLADapiproc) glad_glBlendColor, 4, red, green, blue, alpha); + +} +PFNGLBLENDCOLORPROC glad_debug_glBlendColor = glad_debug_impl_glBlendColor; PFNGLBLENDEQUATIONPROC glad_glBlendEquation = NULL; +static void GLAD_API_PTR glad_debug_impl_glBlendEquation(GLenum mode) { + _pre_call_gl_callback("glBlendEquation", (GLADapiproc) glad_glBlendEquation, 1, mode); + glad_glBlendEquation(mode); + _post_call_gl_callback(NULL, "glBlendEquation", (GLADapiproc) glad_glBlendEquation, 1, mode); + +} +PFNGLBLENDEQUATIONPROC glad_debug_glBlendEquation = glad_debug_impl_glBlendEquation; PFNGLBLENDEQUATIONSEPARATEPROC glad_glBlendEquationSeparate = NULL; +static void GLAD_API_PTR glad_debug_impl_glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha) { + _pre_call_gl_callback("glBlendEquationSeparate", (GLADapiproc) glad_glBlendEquationSeparate, 2, modeRGB, modeAlpha); + glad_glBlendEquationSeparate(modeRGB, modeAlpha); + _post_call_gl_callback(NULL, "glBlendEquationSeparate", (GLADapiproc) glad_glBlendEquationSeparate, 2, modeRGB, modeAlpha); + +} +PFNGLBLENDEQUATIONSEPARATEPROC glad_debug_glBlendEquationSeparate = glad_debug_impl_glBlendEquationSeparate; PFNGLBLENDFUNCPROC glad_glBlendFunc = NULL; +static void GLAD_API_PTR glad_debug_impl_glBlendFunc(GLenum sfactor, GLenum dfactor) { + _pre_call_gl_callback("glBlendFunc", (GLADapiproc) glad_glBlendFunc, 2, sfactor, dfactor); + glad_glBlendFunc(sfactor, dfactor); + _post_call_gl_callback(NULL, "glBlendFunc", (GLADapiproc) glad_glBlendFunc, 2, sfactor, dfactor); + +} +PFNGLBLENDFUNCPROC glad_debug_glBlendFunc = glad_debug_impl_glBlendFunc; PFNGLBLENDFUNCSEPARATEPROC glad_glBlendFuncSeparate = NULL; +static void GLAD_API_PTR glad_debug_impl_glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) { + _pre_call_gl_callback("glBlendFuncSeparate", (GLADapiproc) glad_glBlendFuncSeparate, 4, sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); + glad_glBlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); + _post_call_gl_callback(NULL, "glBlendFuncSeparate", (GLADapiproc) glad_glBlendFuncSeparate, 4, sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); + +} +PFNGLBLENDFUNCSEPARATEPROC glad_debug_glBlendFuncSeparate = glad_debug_impl_glBlendFuncSeparate; PFNGLBLITFRAMEBUFFERPROC glad_glBlitFramebuffer = NULL; +static void GLAD_API_PTR glad_debug_impl_glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) { + _pre_call_gl_callback("glBlitFramebuffer", (GLADapiproc) glad_glBlitFramebuffer, 10, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); + glad_glBlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); + _post_call_gl_callback(NULL, "glBlitFramebuffer", (GLADapiproc) glad_glBlitFramebuffer, 10, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); + +} +PFNGLBLITFRAMEBUFFERPROC glad_debug_glBlitFramebuffer = glad_debug_impl_glBlitFramebuffer; PFNGLBUFFERDATAPROC glad_glBufferData = NULL; +static void GLAD_API_PTR glad_debug_impl_glBufferData(GLenum target, GLsizeiptr size, const void * data, GLenum usage) { + _pre_call_gl_callback("glBufferData", (GLADapiproc) glad_glBufferData, 4, target, size, data, usage); + glad_glBufferData(target, size, data, usage); + _post_call_gl_callback(NULL, "glBufferData", (GLADapiproc) glad_glBufferData, 4, target, size, data, usage); + +} +PFNGLBUFFERDATAPROC glad_debug_glBufferData = glad_debug_impl_glBufferData; PFNGLBUFFERSUBDATAPROC glad_glBufferSubData = NULL; +static void GLAD_API_PTR glad_debug_impl_glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const void * data) { + _pre_call_gl_callback("glBufferSubData", (GLADapiproc) glad_glBufferSubData, 4, target, offset, size, data); + glad_glBufferSubData(target, offset, size, data); + _post_call_gl_callback(NULL, "glBufferSubData", (GLADapiproc) glad_glBufferSubData, 4, target, offset, size, data); + +} +PFNGLBUFFERSUBDATAPROC glad_debug_glBufferSubData = glad_debug_impl_glBufferSubData; +PFNGLCALLLISTPROC glad_glCallList = NULL; +static void GLAD_API_PTR glad_debug_impl_glCallList(GLuint list) { + _pre_call_gl_callback("glCallList", (GLADapiproc) glad_glCallList, 1, list); + glad_glCallList(list); + _post_call_gl_callback(NULL, "glCallList", (GLADapiproc) glad_glCallList, 1, list); + +} +PFNGLCALLLISTPROC glad_debug_glCallList = glad_debug_impl_glCallList; +PFNGLCALLLISTSPROC glad_glCallLists = NULL; +static void GLAD_API_PTR glad_debug_impl_glCallLists(GLsizei n, GLenum type, const void * lists) { + _pre_call_gl_callback("glCallLists", (GLADapiproc) glad_glCallLists, 3, n, type, lists); + glad_glCallLists(n, type, lists); + _post_call_gl_callback(NULL, "glCallLists", (GLADapiproc) glad_glCallLists, 3, n, type, lists); + +} +PFNGLCALLLISTSPROC glad_debug_glCallLists = glad_debug_impl_glCallLists; PFNGLCHECKFRAMEBUFFERSTATUSPROC glad_glCheckFramebufferStatus = NULL; +static GLenum GLAD_API_PTR glad_debug_impl_glCheckFramebufferStatus(GLenum target) { + GLenum ret; + _pre_call_gl_callback("glCheckFramebufferStatus", (GLADapiproc) glad_glCheckFramebufferStatus, 1, target); + ret = glad_glCheckFramebufferStatus(target); + _post_call_gl_callback((void*) &ret, "glCheckFramebufferStatus", (GLADapiproc) glad_glCheckFramebufferStatus, 1, target); + return ret; +} +PFNGLCHECKFRAMEBUFFERSTATUSPROC glad_debug_glCheckFramebufferStatus = glad_debug_impl_glCheckFramebufferStatus; PFNGLCLAMPCOLORPROC glad_glClampColor = NULL; +static void GLAD_API_PTR glad_debug_impl_glClampColor(GLenum target, GLenum clamp) { + _pre_call_gl_callback("glClampColor", (GLADapiproc) glad_glClampColor, 2, target, clamp); + glad_glClampColor(target, clamp); + _post_call_gl_callback(NULL, "glClampColor", (GLADapiproc) glad_glClampColor, 2, target, clamp); + +} +PFNGLCLAMPCOLORPROC glad_debug_glClampColor = glad_debug_impl_glClampColor; PFNGLCLEARPROC glad_glClear = NULL; +static void GLAD_API_PTR glad_debug_impl_glClear(GLbitfield mask) { + _pre_call_gl_callback("glClear", (GLADapiproc) glad_glClear, 1, mask); + glad_glClear(mask); + _post_call_gl_callback(NULL, "glClear", (GLADapiproc) glad_glClear, 1, mask); + +} +PFNGLCLEARPROC glad_debug_glClear = glad_debug_impl_glClear; +PFNGLCLEARACCUMPROC glad_glClearAccum = NULL; +static void GLAD_API_PTR glad_debug_impl_glClearAccum(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { + _pre_call_gl_callback("glClearAccum", (GLADapiproc) glad_glClearAccum, 4, red, green, blue, alpha); + glad_glClearAccum(red, green, blue, alpha); + _post_call_gl_callback(NULL, "glClearAccum", (GLADapiproc) glad_glClearAccum, 4, red, green, blue, alpha); + +} +PFNGLCLEARACCUMPROC glad_debug_glClearAccum = glad_debug_impl_glClearAccum; PFNGLCLEARBUFFERFIPROC glad_glClearBufferfi = NULL; +static void GLAD_API_PTR glad_debug_impl_glClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil) { + _pre_call_gl_callback("glClearBufferfi", (GLADapiproc) glad_glClearBufferfi, 4, buffer, drawbuffer, depth, stencil); + glad_glClearBufferfi(buffer, drawbuffer, depth, stencil); + _post_call_gl_callback(NULL, "glClearBufferfi", (GLADapiproc) glad_glClearBufferfi, 4, buffer, drawbuffer, depth, stencil); + +} +PFNGLCLEARBUFFERFIPROC glad_debug_glClearBufferfi = glad_debug_impl_glClearBufferfi; PFNGLCLEARBUFFERFVPROC glad_glClearBufferfv = NULL; +static void GLAD_API_PTR glad_debug_impl_glClearBufferfv(GLenum buffer, GLint drawbuffer, const GLfloat * value) { + _pre_call_gl_callback("glClearBufferfv", (GLADapiproc) glad_glClearBufferfv, 3, buffer, drawbuffer, value); + glad_glClearBufferfv(buffer, drawbuffer, value); + _post_call_gl_callback(NULL, "glClearBufferfv", (GLADapiproc) glad_glClearBufferfv, 3, buffer, drawbuffer, value); + +} +PFNGLCLEARBUFFERFVPROC glad_debug_glClearBufferfv = glad_debug_impl_glClearBufferfv; PFNGLCLEARBUFFERIVPROC glad_glClearBufferiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint * value) { + _pre_call_gl_callback("glClearBufferiv", (GLADapiproc) glad_glClearBufferiv, 3, buffer, drawbuffer, value); + glad_glClearBufferiv(buffer, drawbuffer, value); + _post_call_gl_callback(NULL, "glClearBufferiv", (GLADapiproc) glad_glClearBufferiv, 3, buffer, drawbuffer, value); + +} +PFNGLCLEARBUFFERIVPROC glad_debug_glClearBufferiv = glad_debug_impl_glClearBufferiv; PFNGLCLEARBUFFERUIVPROC glad_glClearBufferuiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint * value) { + _pre_call_gl_callback("glClearBufferuiv", (GLADapiproc) glad_glClearBufferuiv, 3, buffer, drawbuffer, value); + glad_glClearBufferuiv(buffer, drawbuffer, value); + _post_call_gl_callback(NULL, "glClearBufferuiv", (GLADapiproc) glad_glClearBufferuiv, 3, buffer, drawbuffer, value); + +} +PFNGLCLEARBUFFERUIVPROC glad_debug_glClearBufferuiv = glad_debug_impl_glClearBufferuiv; PFNGLCLEARCOLORPROC glad_glClearColor = NULL; +static void GLAD_API_PTR glad_debug_impl_glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { + _pre_call_gl_callback("glClearColor", (GLADapiproc) glad_glClearColor, 4, red, green, blue, alpha); + glad_glClearColor(red, green, blue, alpha); + _post_call_gl_callback(NULL, "glClearColor", (GLADapiproc) glad_glClearColor, 4, red, green, blue, alpha); + +} +PFNGLCLEARCOLORPROC glad_debug_glClearColor = glad_debug_impl_glClearColor; PFNGLCLEARDEPTHPROC glad_glClearDepth = NULL; +static void GLAD_API_PTR glad_debug_impl_glClearDepth(GLdouble depth) { + _pre_call_gl_callback("glClearDepth", (GLADapiproc) glad_glClearDepth, 1, depth); + glad_glClearDepth(depth); + _post_call_gl_callback(NULL, "glClearDepth", (GLADapiproc) glad_glClearDepth, 1, depth); + +} +PFNGLCLEARDEPTHPROC glad_debug_glClearDepth = glad_debug_impl_glClearDepth; +PFNGLCLEARINDEXPROC glad_glClearIndex = NULL; +static void GLAD_API_PTR glad_debug_impl_glClearIndex(GLfloat c) { + _pre_call_gl_callback("glClearIndex", (GLADapiproc) glad_glClearIndex, 1, c); + glad_glClearIndex(c); + _post_call_gl_callback(NULL, "glClearIndex", (GLADapiproc) glad_glClearIndex, 1, c); + +} +PFNGLCLEARINDEXPROC glad_debug_glClearIndex = glad_debug_impl_glClearIndex; PFNGLCLEARSTENCILPROC glad_glClearStencil = NULL; +static void GLAD_API_PTR glad_debug_impl_glClearStencil(GLint s) { + _pre_call_gl_callback("glClearStencil", (GLADapiproc) glad_glClearStencil, 1, s); + glad_glClearStencil(s); + _post_call_gl_callback(NULL, "glClearStencil", (GLADapiproc) glad_glClearStencil, 1, s); + +} +PFNGLCLEARSTENCILPROC glad_debug_glClearStencil = glad_debug_impl_glClearStencil; +PFNGLCLIENTACTIVETEXTUREPROC glad_glClientActiveTexture = NULL; +static void GLAD_API_PTR glad_debug_impl_glClientActiveTexture(GLenum texture) { + _pre_call_gl_callback("glClientActiveTexture", (GLADapiproc) glad_glClientActiveTexture, 1, texture); + glad_glClientActiveTexture(texture); + _post_call_gl_callback(NULL, "glClientActiveTexture", (GLADapiproc) glad_glClientActiveTexture, 1, texture); + +} +PFNGLCLIENTACTIVETEXTUREPROC glad_debug_glClientActiveTexture = glad_debug_impl_glClientActiveTexture; PFNGLCLIENTWAITSYNCPROC glad_glClientWaitSync = NULL; +static GLenum GLAD_API_PTR glad_debug_impl_glClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) { + GLenum ret; + _pre_call_gl_callback("glClientWaitSync", (GLADapiproc) glad_glClientWaitSync, 3, sync, flags, timeout); + ret = glad_glClientWaitSync(sync, flags, timeout); + _post_call_gl_callback((void*) &ret, "glClientWaitSync", (GLADapiproc) glad_glClientWaitSync, 3, sync, flags, timeout); + return ret; +} +PFNGLCLIENTWAITSYNCPROC glad_debug_glClientWaitSync = glad_debug_impl_glClientWaitSync; +PFNGLCLIPPLANEPROC glad_glClipPlane = NULL; +static void GLAD_API_PTR glad_debug_impl_glClipPlane(GLenum plane, const GLdouble * equation) { + _pre_call_gl_callback("glClipPlane", (GLADapiproc) glad_glClipPlane, 2, plane, equation); + glad_glClipPlane(plane, equation); + _post_call_gl_callback(NULL, "glClipPlane", (GLADapiproc) glad_glClipPlane, 2, plane, equation); + +} +PFNGLCLIPPLANEPROC glad_debug_glClipPlane = glad_debug_impl_glClipPlane; +PFNGLCOLOR3BPROC glad_glColor3b = NULL; +static void GLAD_API_PTR glad_debug_impl_glColor3b(GLbyte red, GLbyte green, GLbyte blue) { + _pre_call_gl_callback("glColor3b", (GLADapiproc) glad_glColor3b, 3, red, green, blue); + glad_glColor3b(red, green, blue); + _post_call_gl_callback(NULL, "glColor3b", (GLADapiproc) glad_glColor3b, 3, red, green, blue); + +} +PFNGLCOLOR3BPROC glad_debug_glColor3b = glad_debug_impl_glColor3b; +PFNGLCOLOR3BVPROC glad_glColor3bv = NULL; +static void GLAD_API_PTR glad_debug_impl_glColor3bv(const GLbyte * v) { + _pre_call_gl_callback("glColor3bv", (GLADapiproc) glad_glColor3bv, 1, v); + glad_glColor3bv(v); + _post_call_gl_callback(NULL, "glColor3bv", (GLADapiproc) glad_glColor3bv, 1, v); + +} +PFNGLCOLOR3BVPROC glad_debug_glColor3bv = glad_debug_impl_glColor3bv; +PFNGLCOLOR3DPROC glad_glColor3d = NULL; +static void GLAD_API_PTR glad_debug_impl_glColor3d(GLdouble red, GLdouble green, GLdouble blue) { + _pre_call_gl_callback("glColor3d", (GLADapiproc) glad_glColor3d, 3, red, green, blue); + glad_glColor3d(red, green, blue); + _post_call_gl_callback(NULL, "glColor3d", (GLADapiproc) glad_glColor3d, 3, red, green, blue); + +} +PFNGLCOLOR3DPROC glad_debug_glColor3d = glad_debug_impl_glColor3d; +PFNGLCOLOR3DVPROC glad_glColor3dv = NULL; +static void GLAD_API_PTR glad_debug_impl_glColor3dv(const GLdouble * v) { + _pre_call_gl_callback("glColor3dv", (GLADapiproc) glad_glColor3dv, 1, v); + glad_glColor3dv(v); + _post_call_gl_callback(NULL, "glColor3dv", (GLADapiproc) glad_glColor3dv, 1, v); + +} +PFNGLCOLOR3DVPROC glad_debug_glColor3dv = glad_debug_impl_glColor3dv; +PFNGLCOLOR3FPROC glad_glColor3f = NULL; +static void GLAD_API_PTR glad_debug_impl_glColor3f(GLfloat red, GLfloat green, GLfloat blue) { + _pre_call_gl_callback("glColor3f", (GLADapiproc) glad_glColor3f, 3, red, green, blue); + glad_glColor3f(red, green, blue); + _post_call_gl_callback(NULL, "glColor3f", (GLADapiproc) glad_glColor3f, 3, red, green, blue); + +} +PFNGLCOLOR3FPROC glad_debug_glColor3f = glad_debug_impl_glColor3f; +PFNGLCOLOR3FVPROC glad_glColor3fv = NULL; +static void GLAD_API_PTR glad_debug_impl_glColor3fv(const GLfloat * v) { + _pre_call_gl_callback("glColor3fv", (GLADapiproc) glad_glColor3fv, 1, v); + glad_glColor3fv(v); + _post_call_gl_callback(NULL, "glColor3fv", (GLADapiproc) glad_glColor3fv, 1, v); + +} +PFNGLCOLOR3FVPROC glad_debug_glColor3fv = glad_debug_impl_glColor3fv; +PFNGLCOLOR3IPROC glad_glColor3i = NULL; +static void GLAD_API_PTR glad_debug_impl_glColor3i(GLint red, GLint green, GLint blue) { + _pre_call_gl_callback("glColor3i", (GLADapiproc) glad_glColor3i, 3, red, green, blue); + glad_glColor3i(red, green, blue); + _post_call_gl_callback(NULL, "glColor3i", (GLADapiproc) glad_glColor3i, 3, red, green, blue); + +} +PFNGLCOLOR3IPROC glad_debug_glColor3i = glad_debug_impl_glColor3i; +PFNGLCOLOR3IVPROC glad_glColor3iv = NULL; +static void GLAD_API_PTR glad_debug_impl_glColor3iv(const GLint * v) { + _pre_call_gl_callback("glColor3iv", (GLADapiproc) glad_glColor3iv, 1, v); + glad_glColor3iv(v); + _post_call_gl_callback(NULL, "glColor3iv", (GLADapiproc) glad_glColor3iv, 1, v); + +} +PFNGLCOLOR3IVPROC glad_debug_glColor3iv = glad_debug_impl_glColor3iv; +PFNGLCOLOR3SPROC glad_glColor3s = NULL; +static void GLAD_API_PTR glad_debug_impl_glColor3s(GLshort red, GLshort green, GLshort blue) { + _pre_call_gl_callback("glColor3s", (GLADapiproc) glad_glColor3s, 3, red, green, blue); + glad_glColor3s(red, green, blue); + _post_call_gl_callback(NULL, "glColor3s", (GLADapiproc) glad_glColor3s, 3, red, green, blue); + +} +PFNGLCOLOR3SPROC glad_debug_glColor3s = glad_debug_impl_glColor3s; +PFNGLCOLOR3SVPROC glad_glColor3sv = NULL; +static void GLAD_API_PTR glad_debug_impl_glColor3sv(const GLshort * v) { + _pre_call_gl_callback("glColor3sv", (GLADapiproc) glad_glColor3sv, 1, v); + glad_glColor3sv(v); + _post_call_gl_callback(NULL, "glColor3sv", (GLADapiproc) glad_glColor3sv, 1, v); + +} +PFNGLCOLOR3SVPROC glad_debug_glColor3sv = glad_debug_impl_glColor3sv; +PFNGLCOLOR3UBPROC glad_glColor3ub = NULL; +static void GLAD_API_PTR glad_debug_impl_glColor3ub(GLubyte red, GLubyte green, GLubyte blue) { + _pre_call_gl_callback("glColor3ub", (GLADapiproc) glad_glColor3ub, 3, red, green, blue); + glad_glColor3ub(red, green, blue); + _post_call_gl_callback(NULL, "glColor3ub", (GLADapiproc) glad_glColor3ub, 3, red, green, blue); + +} +PFNGLCOLOR3UBPROC glad_debug_glColor3ub = glad_debug_impl_glColor3ub; +PFNGLCOLOR3UBVPROC glad_glColor3ubv = NULL; +static void GLAD_API_PTR glad_debug_impl_glColor3ubv(const GLubyte * v) { + _pre_call_gl_callback("glColor3ubv", (GLADapiproc) glad_glColor3ubv, 1, v); + glad_glColor3ubv(v); + _post_call_gl_callback(NULL, "glColor3ubv", (GLADapiproc) glad_glColor3ubv, 1, v); + +} +PFNGLCOLOR3UBVPROC glad_debug_glColor3ubv = glad_debug_impl_glColor3ubv; +PFNGLCOLOR3UIPROC glad_glColor3ui = NULL; +static void GLAD_API_PTR glad_debug_impl_glColor3ui(GLuint red, GLuint green, GLuint blue) { + _pre_call_gl_callback("glColor3ui", (GLADapiproc) glad_glColor3ui, 3, red, green, blue); + glad_glColor3ui(red, green, blue); + _post_call_gl_callback(NULL, "glColor3ui", (GLADapiproc) glad_glColor3ui, 3, red, green, blue); + +} +PFNGLCOLOR3UIPROC glad_debug_glColor3ui = glad_debug_impl_glColor3ui; +PFNGLCOLOR3UIVPROC glad_glColor3uiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glColor3uiv(const GLuint * v) { + _pre_call_gl_callback("glColor3uiv", (GLADapiproc) glad_glColor3uiv, 1, v); + glad_glColor3uiv(v); + _post_call_gl_callback(NULL, "glColor3uiv", (GLADapiproc) glad_glColor3uiv, 1, v); + +} +PFNGLCOLOR3UIVPROC glad_debug_glColor3uiv = glad_debug_impl_glColor3uiv; +PFNGLCOLOR3USPROC glad_glColor3us = NULL; +static void GLAD_API_PTR glad_debug_impl_glColor3us(GLushort red, GLushort green, GLushort blue) { + _pre_call_gl_callback("glColor3us", (GLADapiproc) glad_glColor3us, 3, red, green, blue); + glad_glColor3us(red, green, blue); + _post_call_gl_callback(NULL, "glColor3us", (GLADapiproc) glad_glColor3us, 3, red, green, blue); + +} +PFNGLCOLOR3USPROC glad_debug_glColor3us = glad_debug_impl_glColor3us; +PFNGLCOLOR3USVPROC glad_glColor3usv = NULL; +static void GLAD_API_PTR glad_debug_impl_glColor3usv(const GLushort * v) { + _pre_call_gl_callback("glColor3usv", (GLADapiproc) glad_glColor3usv, 1, v); + glad_glColor3usv(v); + _post_call_gl_callback(NULL, "glColor3usv", (GLADapiproc) glad_glColor3usv, 1, v); + +} +PFNGLCOLOR3USVPROC glad_debug_glColor3usv = glad_debug_impl_glColor3usv; +PFNGLCOLOR4BPROC glad_glColor4b = NULL; +static void GLAD_API_PTR glad_debug_impl_glColor4b(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha) { + _pre_call_gl_callback("glColor4b", (GLADapiproc) glad_glColor4b, 4, red, green, blue, alpha); + glad_glColor4b(red, green, blue, alpha); + _post_call_gl_callback(NULL, "glColor4b", (GLADapiproc) glad_glColor4b, 4, red, green, blue, alpha); + +} +PFNGLCOLOR4BPROC glad_debug_glColor4b = glad_debug_impl_glColor4b; +PFNGLCOLOR4BVPROC glad_glColor4bv = NULL; +static void GLAD_API_PTR glad_debug_impl_glColor4bv(const GLbyte * v) { + _pre_call_gl_callback("glColor4bv", (GLADapiproc) glad_glColor4bv, 1, v); + glad_glColor4bv(v); + _post_call_gl_callback(NULL, "glColor4bv", (GLADapiproc) glad_glColor4bv, 1, v); + +} +PFNGLCOLOR4BVPROC glad_debug_glColor4bv = glad_debug_impl_glColor4bv; +PFNGLCOLOR4DPROC glad_glColor4d = NULL; +static void GLAD_API_PTR glad_debug_impl_glColor4d(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha) { + _pre_call_gl_callback("glColor4d", (GLADapiproc) glad_glColor4d, 4, red, green, blue, alpha); + glad_glColor4d(red, green, blue, alpha); + _post_call_gl_callback(NULL, "glColor4d", (GLADapiproc) glad_glColor4d, 4, red, green, blue, alpha); + +} +PFNGLCOLOR4DPROC glad_debug_glColor4d = glad_debug_impl_glColor4d; +PFNGLCOLOR4DVPROC glad_glColor4dv = NULL; +static void GLAD_API_PTR glad_debug_impl_glColor4dv(const GLdouble * v) { + _pre_call_gl_callback("glColor4dv", (GLADapiproc) glad_glColor4dv, 1, v); + glad_glColor4dv(v); + _post_call_gl_callback(NULL, "glColor4dv", (GLADapiproc) glad_glColor4dv, 1, v); + +} +PFNGLCOLOR4DVPROC glad_debug_glColor4dv = glad_debug_impl_glColor4dv; +PFNGLCOLOR4FPROC glad_glColor4f = NULL; +static void GLAD_API_PTR glad_debug_impl_glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { + _pre_call_gl_callback("glColor4f", (GLADapiproc) glad_glColor4f, 4, red, green, blue, alpha); + glad_glColor4f(red, green, blue, alpha); + _post_call_gl_callback(NULL, "glColor4f", (GLADapiproc) glad_glColor4f, 4, red, green, blue, alpha); + +} +PFNGLCOLOR4FPROC glad_debug_glColor4f = glad_debug_impl_glColor4f; +PFNGLCOLOR4FVPROC glad_glColor4fv = NULL; +static void GLAD_API_PTR glad_debug_impl_glColor4fv(const GLfloat * v) { + _pre_call_gl_callback("glColor4fv", (GLADapiproc) glad_glColor4fv, 1, v); + glad_glColor4fv(v); + _post_call_gl_callback(NULL, "glColor4fv", (GLADapiproc) glad_glColor4fv, 1, v); + +} +PFNGLCOLOR4FVPROC glad_debug_glColor4fv = glad_debug_impl_glColor4fv; +PFNGLCOLOR4IPROC glad_glColor4i = NULL; +static void GLAD_API_PTR glad_debug_impl_glColor4i(GLint red, GLint green, GLint blue, GLint alpha) { + _pre_call_gl_callback("glColor4i", (GLADapiproc) glad_glColor4i, 4, red, green, blue, alpha); + glad_glColor4i(red, green, blue, alpha); + _post_call_gl_callback(NULL, "glColor4i", (GLADapiproc) glad_glColor4i, 4, red, green, blue, alpha); + +} +PFNGLCOLOR4IPROC glad_debug_glColor4i = glad_debug_impl_glColor4i; +PFNGLCOLOR4IVPROC glad_glColor4iv = NULL; +static void GLAD_API_PTR glad_debug_impl_glColor4iv(const GLint * v) { + _pre_call_gl_callback("glColor4iv", (GLADapiproc) glad_glColor4iv, 1, v); + glad_glColor4iv(v); + _post_call_gl_callback(NULL, "glColor4iv", (GLADapiproc) glad_glColor4iv, 1, v); + +} +PFNGLCOLOR4IVPROC glad_debug_glColor4iv = glad_debug_impl_glColor4iv; +PFNGLCOLOR4SPROC glad_glColor4s = NULL; +static void GLAD_API_PTR glad_debug_impl_glColor4s(GLshort red, GLshort green, GLshort blue, GLshort alpha) { + _pre_call_gl_callback("glColor4s", (GLADapiproc) glad_glColor4s, 4, red, green, blue, alpha); + glad_glColor4s(red, green, blue, alpha); + _post_call_gl_callback(NULL, "glColor4s", (GLADapiproc) glad_glColor4s, 4, red, green, blue, alpha); + +} +PFNGLCOLOR4SPROC glad_debug_glColor4s = glad_debug_impl_glColor4s; +PFNGLCOLOR4SVPROC glad_glColor4sv = NULL; +static void GLAD_API_PTR glad_debug_impl_glColor4sv(const GLshort * v) { + _pre_call_gl_callback("glColor4sv", (GLADapiproc) glad_glColor4sv, 1, v); + glad_glColor4sv(v); + _post_call_gl_callback(NULL, "glColor4sv", (GLADapiproc) glad_glColor4sv, 1, v); + +} +PFNGLCOLOR4SVPROC glad_debug_glColor4sv = glad_debug_impl_glColor4sv; +PFNGLCOLOR4UBPROC glad_glColor4ub = NULL; +static void GLAD_API_PTR glad_debug_impl_glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) { + _pre_call_gl_callback("glColor4ub", (GLADapiproc) glad_glColor4ub, 4, red, green, blue, alpha); + glad_glColor4ub(red, green, blue, alpha); + _post_call_gl_callback(NULL, "glColor4ub", (GLADapiproc) glad_glColor4ub, 4, red, green, blue, alpha); + +} +PFNGLCOLOR4UBPROC glad_debug_glColor4ub = glad_debug_impl_glColor4ub; +PFNGLCOLOR4UBVPROC glad_glColor4ubv = NULL; +static void GLAD_API_PTR glad_debug_impl_glColor4ubv(const GLubyte * v) { + _pre_call_gl_callback("glColor4ubv", (GLADapiproc) glad_glColor4ubv, 1, v); + glad_glColor4ubv(v); + _post_call_gl_callback(NULL, "glColor4ubv", (GLADapiproc) glad_glColor4ubv, 1, v); + +} +PFNGLCOLOR4UBVPROC glad_debug_glColor4ubv = glad_debug_impl_glColor4ubv; +PFNGLCOLOR4UIPROC glad_glColor4ui = NULL; +static void GLAD_API_PTR glad_debug_impl_glColor4ui(GLuint red, GLuint green, GLuint blue, GLuint alpha) { + _pre_call_gl_callback("glColor4ui", (GLADapiproc) glad_glColor4ui, 4, red, green, blue, alpha); + glad_glColor4ui(red, green, blue, alpha); + _post_call_gl_callback(NULL, "glColor4ui", (GLADapiproc) glad_glColor4ui, 4, red, green, blue, alpha); + +} +PFNGLCOLOR4UIPROC glad_debug_glColor4ui = glad_debug_impl_glColor4ui; +PFNGLCOLOR4UIVPROC glad_glColor4uiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glColor4uiv(const GLuint * v) { + _pre_call_gl_callback("glColor4uiv", (GLADapiproc) glad_glColor4uiv, 1, v); + glad_glColor4uiv(v); + _post_call_gl_callback(NULL, "glColor4uiv", (GLADapiproc) glad_glColor4uiv, 1, v); + +} +PFNGLCOLOR4UIVPROC glad_debug_glColor4uiv = glad_debug_impl_glColor4uiv; +PFNGLCOLOR4USPROC glad_glColor4us = NULL; +static void GLAD_API_PTR glad_debug_impl_glColor4us(GLushort red, GLushort green, GLushort blue, GLushort alpha) { + _pre_call_gl_callback("glColor4us", (GLADapiproc) glad_glColor4us, 4, red, green, blue, alpha); + glad_glColor4us(red, green, blue, alpha); + _post_call_gl_callback(NULL, "glColor4us", (GLADapiproc) glad_glColor4us, 4, red, green, blue, alpha); + +} +PFNGLCOLOR4USPROC glad_debug_glColor4us = glad_debug_impl_glColor4us; +PFNGLCOLOR4USVPROC glad_glColor4usv = NULL; +static void GLAD_API_PTR glad_debug_impl_glColor4usv(const GLushort * v) { + _pre_call_gl_callback("glColor4usv", (GLADapiproc) glad_glColor4usv, 1, v); + glad_glColor4usv(v); + _post_call_gl_callback(NULL, "glColor4usv", (GLADapiproc) glad_glColor4usv, 1, v); + +} +PFNGLCOLOR4USVPROC glad_debug_glColor4usv = glad_debug_impl_glColor4usv; PFNGLCOLORMASKPROC glad_glColorMask = NULL; +static void GLAD_API_PTR glad_debug_impl_glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) { + _pre_call_gl_callback("glColorMask", (GLADapiproc) glad_glColorMask, 4, red, green, blue, alpha); + glad_glColorMask(red, green, blue, alpha); + _post_call_gl_callback(NULL, "glColorMask", (GLADapiproc) glad_glColorMask, 4, red, green, blue, alpha); + +} +PFNGLCOLORMASKPROC glad_debug_glColorMask = glad_debug_impl_glColorMask; PFNGLCOLORMASKIPROC glad_glColorMaski = NULL; +static void GLAD_API_PTR glad_debug_impl_glColorMaski(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a) { + _pre_call_gl_callback("glColorMaski", (GLADapiproc) glad_glColorMaski, 5, index, r, g, b, a); + glad_glColorMaski(index, r, g, b, a); + _post_call_gl_callback(NULL, "glColorMaski", (GLADapiproc) glad_glColorMaski, 5, index, r, g, b, a); + +} +PFNGLCOLORMASKIPROC glad_debug_glColorMaski = glad_debug_impl_glColorMaski; +PFNGLCOLORMATERIALPROC glad_glColorMaterial = NULL; +static void GLAD_API_PTR glad_debug_impl_glColorMaterial(GLenum face, GLenum mode) { + _pre_call_gl_callback("glColorMaterial", (GLADapiproc) glad_glColorMaterial, 2, face, mode); + glad_glColorMaterial(face, mode); + _post_call_gl_callback(NULL, "glColorMaterial", (GLADapiproc) glad_glColorMaterial, 2, face, mode); + +} +PFNGLCOLORMATERIALPROC glad_debug_glColorMaterial = glad_debug_impl_glColorMaterial; PFNGLCOLORP3UIPROC glad_glColorP3ui = NULL; +static void GLAD_API_PTR glad_debug_impl_glColorP3ui(GLenum type, GLuint color) { + _pre_call_gl_callback("glColorP3ui", (GLADapiproc) glad_glColorP3ui, 2, type, color); + glad_glColorP3ui(type, color); + _post_call_gl_callback(NULL, "glColorP3ui", (GLADapiproc) glad_glColorP3ui, 2, type, color); + +} +PFNGLCOLORP3UIPROC glad_debug_glColorP3ui = glad_debug_impl_glColorP3ui; PFNGLCOLORP3UIVPROC glad_glColorP3uiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glColorP3uiv(GLenum type, const GLuint * color) { + _pre_call_gl_callback("glColorP3uiv", (GLADapiproc) glad_glColorP3uiv, 2, type, color); + glad_glColorP3uiv(type, color); + _post_call_gl_callback(NULL, "glColorP3uiv", (GLADapiproc) glad_glColorP3uiv, 2, type, color); + +} +PFNGLCOLORP3UIVPROC glad_debug_glColorP3uiv = glad_debug_impl_glColorP3uiv; PFNGLCOLORP4UIPROC glad_glColorP4ui = NULL; +static void GLAD_API_PTR glad_debug_impl_glColorP4ui(GLenum type, GLuint color) { + _pre_call_gl_callback("glColorP4ui", (GLADapiproc) glad_glColorP4ui, 2, type, color); + glad_glColorP4ui(type, color); + _post_call_gl_callback(NULL, "glColorP4ui", (GLADapiproc) glad_glColorP4ui, 2, type, color); + +} +PFNGLCOLORP4UIPROC glad_debug_glColorP4ui = glad_debug_impl_glColorP4ui; PFNGLCOLORP4UIVPROC glad_glColorP4uiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glColorP4uiv(GLenum type, const GLuint * color) { + _pre_call_gl_callback("glColorP4uiv", (GLADapiproc) glad_glColorP4uiv, 2, type, color); + glad_glColorP4uiv(type, color); + _post_call_gl_callback(NULL, "glColorP4uiv", (GLADapiproc) glad_glColorP4uiv, 2, type, color); + +} +PFNGLCOLORP4UIVPROC glad_debug_glColorP4uiv = glad_debug_impl_glColorP4uiv; +PFNGLCOLORPOINTERPROC glad_glColorPointer = NULL; +static void GLAD_API_PTR glad_debug_impl_glColorPointer(GLint size, GLenum type, GLsizei stride, const void * pointer) { + _pre_call_gl_callback("glColorPointer", (GLADapiproc) glad_glColorPointer, 4, size, type, stride, pointer); + glad_glColorPointer(size, type, stride, pointer); + _post_call_gl_callback(NULL, "glColorPointer", (GLADapiproc) glad_glColorPointer, 4, size, type, stride, pointer); + +} +PFNGLCOLORPOINTERPROC glad_debug_glColorPointer = glad_debug_impl_glColorPointer; PFNGLCOMPILESHADERPROC glad_glCompileShader = NULL; +static void GLAD_API_PTR glad_debug_impl_glCompileShader(GLuint shader) { + _pre_call_gl_callback("glCompileShader", (GLADapiproc) glad_glCompileShader, 1, shader); + glad_glCompileShader(shader); + _post_call_gl_callback(NULL, "glCompileShader", (GLADapiproc) glad_glCompileShader, 1, shader); + +} +PFNGLCOMPILESHADERPROC glad_debug_glCompileShader = glad_debug_impl_glCompileShader; PFNGLCOMPRESSEDTEXIMAGE1DPROC glad_glCompressedTexImage1D = NULL; +static void GLAD_API_PTR glad_debug_impl_glCompressedTexImage1D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void * data) { + _pre_call_gl_callback("glCompressedTexImage1D", (GLADapiproc) glad_glCompressedTexImage1D, 7, target, level, internalformat, width, border, imageSize, data); + glad_glCompressedTexImage1D(target, level, internalformat, width, border, imageSize, data); + _post_call_gl_callback(NULL, "glCompressedTexImage1D", (GLADapiproc) glad_glCompressedTexImage1D, 7, target, level, internalformat, width, border, imageSize, data); + +} +PFNGLCOMPRESSEDTEXIMAGE1DPROC glad_debug_glCompressedTexImage1D = glad_debug_impl_glCompressedTexImage1D; PFNGLCOMPRESSEDTEXIMAGE2DPROC glad_glCompressedTexImage2D = NULL; +static void GLAD_API_PTR glad_debug_impl_glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void * data) { + _pre_call_gl_callback("glCompressedTexImage2D", (GLADapiproc) glad_glCompressedTexImage2D, 8, target, level, internalformat, width, height, border, imageSize, data); + glad_glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data); + _post_call_gl_callback(NULL, "glCompressedTexImage2D", (GLADapiproc) glad_glCompressedTexImage2D, 8, target, level, internalformat, width, height, border, imageSize, data); + +} +PFNGLCOMPRESSEDTEXIMAGE2DPROC glad_debug_glCompressedTexImage2D = glad_debug_impl_glCompressedTexImage2D; PFNGLCOMPRESSEDTEXIMAGE3DPROC glad_glCompressedTexImage3D = NULL; +static void GLAD_API_PTR glad_debug_impl_glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void * data) { + _pre_call_gl_callback("glCompressedTexImage3D", (GLADapiproc) glad_glCompressedTexImage3D, 9, target, level, internalformat, width, height, depth, border, imageSize, data); + glad_glCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data); + _post_call_gl_callback(NULL, "glCompressedTexImage3D", (GLADapiproc) glad_glCompressedTexImage3D, 9, target, level, internalformat, width, height, depth, border, imageSize, data); + +} +PFNGLCOMPRESSEDTEXIMAGE3DPROC glad_debug_glCompressedTexImage3D = glad_debug_impl_glCompressedTexImage3D; PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC glad_glCompressedTexSubImage1D = NULL; +static void GLAD_API_PTR glad_debug_impl_glCompressedTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void * data) { + _pre_call_gl_callback("glCompressedTexSubImage1D", (GLADapiproc) glad_glCompressedTexSubImage1D, 7, target, level, xoffset, width, format, imageSize, data); + glad_glCompressedTexSubImage1D(target, level, xoffset, width, format, imageSize, data); + _post_call_gl_callback(NULL, "glCompressedTexSubImage1D", (GLADapiproc) glad_glCompressedTexSubImage1D, 7, target, level, xoffset, width, format, imageSize, data); + +} +PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC glad_debug_glCompressedTexSubImage1D = glad_debug_impl_glCompressedTexSubImage1D; PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glad_glCompressedTexSubImage2D = NULL; +static void GLAD_API_PTR glad_debug_impl_glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void * data) { + _pre_call_gl_callback("glCompressedTexSubImage2D", (GLADapiproc) glad_glCompressedTexSubImage2D, 9, target, level, xoffset, yoffset, width, height, format, imageSize, data); + glad_glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data); + _post_call_gl_callback(NULL, "glCompressedTexSubImage2D", (GLADapiproc) glad_glCompressedTexSubImage2D, 9, target, level, xoffset, yoffset, width, height, format, imageSize, data); + +} +PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glad_debug_glCompressedTexSubImage2D = glad_debug_impl_glCompressedTexSubImage2D; PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC glad_glCompressedTexSubImage3D = NULL; +static void GLAD_API_PTR glad_debug_impl_glCompressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void * data) { + _pre_call_gl_callback("glCompressedTexSubImage3D", (GLADapiproc) glad_glCompressedTexSubImage3D, 11, target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); + glad_glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); + _post_call_gl_callback(NULL, "glCompressedTexSubImage3D", (GLADapiproc) glad_glCompressedTexSubImage3D, 11, target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); + +} +PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC glad_debug_glCompressedTexSubImage3D = glad_debug_impl_glCompressedTexSubImage3D; PFNGLCOPYBUFFERSUBDATAPROC glad_glCopyBufferSubData = NULL; +static void GLAD_API_PTR glad_debug_impl_glCopyBufferSubData(GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size) { + _pre_call_gl_callback("glCopyBufferSubData", (GLADapiproc) glad_glCopyBufferSubData, 5, readTarget, writeTarget, readOffset, writeOffset, size); + glad_glCopyBufferSubData(readTarget, writeTarget, readOffset, writeOffset, size); + _post_call_gl_callback(NULL, "glCopyBufferSubData", (GLADapiproc) glad_glCopyBufferSubData, 5, readTarget, writeTarget, readOffset, writeOffset, size); + +} +PFNGLCOPYBUFFERSUBDATAPROC glad_debug_glCopyBufferSubData = glad_debug_impl_glCopyBufferSubData; +PFNGLCOPYPIXELSPROC glad_glCopyPixels = NULL; +static void GLAD_API_PTR glad_debug_impl_glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type) { + _pre_call_gl_callback("glCopyPixels", (GLADapiproc) glad_glCopyPixels, 5, x, y, width, height, type); + glad_glCopyPixels(x, y, width, height, type); + _post_call_gl_callback(NULL, "glCopyPixels", (GLADapiproc) glad_glCopyPixels, 5, x, y, width, height, type); + +} +PFNGLCOPYPIXELSPROC glad_debug_glCopyPixels = glad_debug_impl_glCopyPixels; PFNGLCOPYTEXIMAGE1DPROC glad_glCopyTexImage1D = NULL; +static void GLAD_API_PTR glad_debug_impl_glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) { + _pre_call_gl_callback("glCopyTexImage1D", (GLADapiproc) glad_glCopyTexImage1D, 7, target, level, internalformat, x, y, width, border); + glad_glCopyTexImage1D(target, level, internalformat, x, y, width, border); + _post_call_gl_callback(NULL, "glCopyTexImage1D", (GLADapiproc) glad_glCopyTexImage1D, 7, target, level, internalformat, x, y, width, border); + +} +PFNGLCOPYTEXIMAGE1DPROC glad_debug_glCopyTexImage1D = glad_debug_impl_glCopyTexImage1D; PFNGLCOPYTEXIMAGE2DPROC glad_glCopyTexImage2D = NULL; +static void GLAD_API_PTR glad_debug_impl_glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) { + _pre_call_gl_callback("glCopyTexImage2D", (GLADapiproc) glad_glCopyTexImage2D, 8, target, level, internalformat, x, y, width, height, border); + glad_glCopyTexImage2D(target, level, internalformat, x, y, width, height, border); + _post_call_gl_callback(NULL, "glCopyTexImage2D", (GLADapiproc) glad_glCopyTexImage2D, 8, target, level, internalformat, x, y, width, height, border); + +} +PFNGLCOPYTEXIMAGE2DPROC glad_debug_glCopyTexImage2D = glad_debug_impl_glCopyTexImage2D; PFNGLCOPYTEXSUBIMAGE1DPROC glad_glCopyTexSubImage1D = NULL; +static void GLAD_API_PTR glad_debug_impl_glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) { + _pre_call_gl_callback("glCopyTexSubImage1D", (GLADapiproc) glad_glCopyTexSubImage1D, 6, target, level, xoffset, x, y, width); + glad_glCopyTexSubImage1D(target, level, xoffset, x, y, width); + _post_call_gl_callback(NULL, "glCopyTexSubImage1D", (GLADapiproc) glad_glCopyTexSubImage1D, 6, target, level, xoffset, x, y, width); + +} +PFNGLCOPYTEXSUBIMAGE1DPROC glad_debug_glCopyTexSubImage1D = glad_debug_impl_glCopyTexSubImage1D; PFNGLCOPYTEXSUBIMAGE2DPROC glad_glCopyTexSubImage2D = NULL; +static void GLAD_API_PTR glad_debug_impl_glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) { + _pre_call_gl_callback("glCopyTexSubImage2D", (GLADapiproc) glad_glCopyTexSubImage2D, 8, target, level, xoffset, yoffset, x, y, width, height); + glad_glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height); + _post_call_gl_callback(NULL, "glCopyTexSubImage2D", (GLADapiproc) glad_glCopyTexSubImage2D, 8, target, level, xoffset, yoffset, x, y, width, height); + +} +PFNGLCOPYTEXSUBIMAGE2DPROC glad_debug_glCopyTexSubImage2D = glad_debug_impl_glCopyTexSubImage2D; PFNGLCOPYTEXSUBIMAGE3DPROC glad_glCopyTexSubImage3D = NULL; +static void GLAD_API_PTR glad_debug_impl_glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) { + _pre_call_gl_callback("glCopyTexSubImage3D", (GLADapiproc) glad_glCopyTexSubImage3D, 9, target, level, xoffset, yoffset, zoffset, x, y, width, height); + glad_glCopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height); + _post_call_gl_callback(NULL, "glCopyTexSubImage3D", (GLADapiproc) glad_glCopyTexSubImage3D, 9, target, level, xoffset, yoffset, zoffset, x, y, width, height); + +} +PFNGLCOPYTEXSUBIMAGE3DPROC glad_debug_glCopyTexSubImage3D = glad_debug_impl_glCopyTexSubImage3D; PFNGLCREATEPROGRAMPROC glad_glCreateProgram = NULL; +static GLuint GLAD_API_PTR glad_debug_impl_glCreateProgram(void) { + GLuint ret; + _pre_call_gl_callback("glCreateProgram", (GLADapiproc) glad_glCreateProgram, 0); + ret = glad_glCreateProgram(); + _post_call_gl_callback((void*) &ret, "glCreateProgram", (GLADapiproc) glad_glCreateProgram, 0); + return ret; +} +PFNGLCREATEPROGRAMPROC glad_debug_glCreateProgram = glad_debug_impl_glCreateProgram; PFNGLCREATESHADERPROC glad_glCreateShader = NULL; +static GLuint GLAD_API_PTR glad_debug_impl_glCreateShader(GLenum type) { + GLuint ret; + _pre_call_gl_callback("glCreateShader", (GLADapiproc) glad_glCreateShader, 1, type); + ret = glad_glCreateShader(type); + _post_call_gl_callback((void*) &ret, "glCreateShader", (GLADapiproc) glad_glCreateShader, 1, type); + return ret; +} +PFNGLCREATESHADERPROC glad_debug_glCreateShader = glad_debug_impl_glCreateShader; PFNGLCULLFACEPROC glad_glCullFace = NULL; +static void GLAD_API_PTR glad_debug_impl_glCullFace(GLenum mode) { + _pre_call_gl_callback("glCullFace", (GLADapiproc) glad_glCullFace, 1, mode); + glad_glCullFace(mode); + _post_call_gl_callback(NULL, "glCullFace", (GLADapiproc) glad_glCullFace, 1, mode); + +} +PFNGLCULLFACEPROC glad_debug_glCullFace = glad_debug_impl_glCullFace; PFNGLDELETEBUFFERSPROC glad_glDeleteBuffers = NULL; +static void GLAD_API_PTR glad_debug_impl_glDeleteBuffers(GLsizei n, const GLuint * buffers) { + _pre_call_gl_callback("glDeleteBuffers", (GLADapiproc) glad_glDeleteBuffers, 2, n, buffers); + glad_glDeleteBuffers(n, buffers); + _post_call_gl_callback(NULL, "glDeleteBuffers", (GLADapiproc) glad_glDeleteBuffers, 2, n, buffers); + +} +PFNGLDELETEBUFFERSPROC glad_debug_glDeleteBuffers = glad_debug_impl_glDeleteBuffers; PFNGLDELETEFRAMEBUFFERSPROC glad_glDeleteFramebuffers = NULL; +static void GLAD_API_PTR glad_debug_impl_glDeleteFramebuffers(GLsizei n, const GLuint * framebuffers) { + _pre_call_gl_callback("glDeleteFramebuffers", (GLADapiproc) glad_glDeleteFramebuffers, 2, n, framebuffers); + glad_glDeleteFramebuffers(n, framebuffers); + _post_call_gl_callback(NULL, "glDeleteFramebuffers", (GLADapiproc) glad_glDeleteFramebuffers, 2, n, framebuffers); + +} +PFNGLDELETEFRAMEBUFFERSPROC glad_debug_glDeleteFramebuffers = glad_debug_impl_glDeleteFramebuffers; +PFNGLDELETELISTSPROC glad_glDeleteLists = NULL; +static void GLAD_API_PTR glad_debug_impl_glDeleteLists(GLuint list, GLsizei range) { + _pre_call_gl_callback("glDeleteLists", (GLADapiproc) glad_glDeleteLists, 2, list, range); + glad_glDeleteLists(list, range); + _post_call_gl_callback(NULL, "glDeleteLists", (GLADapiproc) glad_glDeleteLists, 2, list, range); + +} +PFNGLDELETELISTSPROC glad_debug_glDeleteLists = glad_debug_impl_glDeleteLists; PFNGLDELETEPROGRAMPROC glad_glDeleteProgram = NULL; +static void GLAD_API_PTR glad_debug_impl_glDeleteProgram(GLuint program) { + _pre_call_gl_callback("glDeleteProgram", (GLADapiproc) glad_glDeleteProgram, 1, program); + glad_glDeleteProgram(program); + _post_call_gl_callback(NULL, "glDeleteProgram", (GLADapiproc) glad_glDeleteProgram, 1, program); + +} +PFNGLDELETEPROGRAMPROC glad_debug_glDeleteProgram = glad_debug_impl_glDeleteProgram; PFNGLDELETEQUERIESPROC glad_glDeleteQueries = NULL; +static void GLAD_API_PTR glad_debug_impl_glDeleteQueries(GLsizei n, const GLuint * ids) { + _pre_call_gl_callback("glDeleteQueries", (GLADapiproc) glad_glDeleteQueries, 2, n, ids); + glad_glDeleteQueries(n, ids); + _post_call_gl_callback(NULL, "glDeleteQueries", (GLADapiproc) glad_glDeleteQueries, 2, n, ids); + +} +PFNGLDELETEQUERIESPROC glad_debug_glDeleteQueries = glad_debug_impl_glDeleteQueries; PFNGLDELETERENDERBUFFERSPROC glad_glDeleteRenderbuffers = NULL; +static void GLAD_API_PTR glad_debug_impl_glDeleteRenderbuffers(GLsizei n, const GLuint * renderbuffers) { + _pre_call_gl_callback("glDeleteRenderbuffers", (GLADapiproc) glad_glDeleteRenderbuffers, 2, n, renderbuffers); + glad_glDeleteRenderbuffers(n, renderbuffers); + _post_call_gl_callback(NULL, "glDeleteRenderbuffers", (GLADapiproc) glad_glDeleteRenderbuffers, 2, n, renderbuffers); + +} +PFNGLDELETERENDERBUFFERSPROC glad_debug_glDeleteRenderbuffers = glad_debug_impl_glDeleteRenderbuffers; PFNGLDELETESAMPLERSPROC glad_glDeleteSamplers = NULL; +static void GLAD_API_PTR glad_debug_impl_glDeleteSamplers(GLsizei count, const GLuint * samplers) { + _pre_call_gl_callback("glDeleteSamplers", (GLADapiproc) glad_glDeleteSamplers, 2, count, samplers); + glad_glDeleteSamplers(count, samplers); + _post_call_gl_callback(NULL, "glDeleteSamplers", (GLADapiproc) glad_glDeleteSamplers, 2, count, samplers); + +} +PFNGLDELETESAMPLERSPROC glad_debug_glDeleteSamplers = glad_debug_impl_glDeleteSamplers; PFNGLDELETESHADERPROC glad_glDeleteShader = NULL; +static void GLAD_API_PTR glad_debug_impl_glDeleteShader(GLuint shader) { + _pre_call_gl_callback("glDeleteShader", (GLADapiproc) glad_glDeleteShader, 1, shader); + glad_glDeleteShader(shader); + _post_call_gl_callback(NULL, "glDeleteShader", (GLADapiproc) glad_glDeleteShader, 1, shader); + +} +PFNGLDELETESHADERPROC glad_debug_glDeleteShader = glad_debug_impl_glDeleteShader; PFNGLDELETESYNCPROC glad_glDeleteSync = NULL; +static void GLAD_API_PTR glad_debug_impl_glDeleteSync(GLsync sync) { + _pre_call_gl_callback("glDeleteSync", (GLADapiproc) glad_glDeleteSync, 1, sync); + glad_glDeleteSync(sync); + _post_call_gl_callback(NULL, "glDeleteSync", (GLADapiproc) glad_glDeleteSync, 1, sync); + +} +PFNGLDELETESYNCPROC glad_debug_glDeleteSync = glad_debug_impl_glDeleteSync; PFNGLDELETETEXTURESPROC glad_glDeleteTextures = NULL; +static void GLAD_API_PTR glad_debug_impl_glDeleteTextures(GLsizei n, const GLuint * textures) { + _pre_call_gl_callback("glDeleteTextures", (GLADapiproc) glad_glDeleteTextures, 2, n, textures); + glad_glDeleteTextures(n, textures); + _post_call_gl_callback(NULL, "glDeleteTextures", (GLADapiproc) glad_glDeleteTextures, 2, n, textures); + +} +PFNGLDELETETEXTURESPROC glad_debug_glDeleteTextures = glad_debug_impl_glDeleteTextures; PFNGLDELETEVERTEXARRAYSPROC glad_glDeleteVertexArrays = NULL; +static void GLAD_API_PTR glad_debug_impl_glDeleteVertexArrays(GLsizei n, const GLuint * arrays) { + _pre_call_gl_callback("glDeleteVertexArrays", (GLADapiproc) glad_glDeleteVertexArrays, 2, n, arrays); + glad_glDeleteVertexArrays(n, arrays); + _post_call_gl_callback(NULL, "glDeleteVertexArrays", (GLADapiproc) glad_glDeleteVertexArrays, 2, n, arrays); + +} +PFNGLDELETEVERTEXARRAYSPROC glad_debug_glDeleteVertexArrays = glad_debug_impl_glDeleteVertexArrays; PFNGLDEPTHFUNCPROC glad_glDepthFunc = NULL; +static void GLAD_API_PTR glad_debug_impl_glDepthFunc(GLenum func) { + _pre_call_gl_callback("glDepthFunc", (GLADapiproc) glad_glDepthFunc, 1, func); + glad_glDepthFunc(func); + _post_call_gl_callback(NULL, "glDepthFunc", (GLADapiproc) glad_glDepthFunc, 1, func); + +} +PFNGLDEPTHFUNCPROC glad_debug_glDepthFunc = glad_debug_impl_glDepthFunc; PFNGLDEPTHMASKPROC glad_glDepthMask = NULL; +static void GLAD_API_PTR glad_debug_impl_glDepthMask(GLboolean flag) { + _pre_call_gl_callback("glDepthMask", (GLADapiproc) glad_glDepthMask, 1, flag); + glad_glDepthMask(flag); + _post_call_gl_callback(NULL, "glDepthMask", (GLADapiproc) glad_glDepthMask, 1, flag); + +} +PFNGLDEPTHMASKPROC glad_debug_glDepthMask = glad_debug_impl_glDepthMask; PFNGLDEPTHRANGEPROC glad_glDepthRange = NULL; +static void GLAD_API_PTR glad_debug_impl_glDepthRange(GLdouble n, GLdouble f) { + _pre_call_gl_callback("glDepthRange", (GLADapiproc) glad_glDepthRange, 2, n, f); + glad_glDepthRange(n, f); + _post_call_gl_callback(NULL, "glDepthRange", (GLADapiproc) glad_glDepthRange, 2, n, f); + +} +PFNGLDEPTHRANGEPROC glad_debug_glDepthRange = glad_debug_impl_glDepthRange; PFNGLDETACHSHADERPROC glad_glDetachShader = NULL; +static void GLAD_API_PTR glad_debug_impl_glDetachShader(GLuint program, GLuint shader) { + _pre_call_gl_callback("glDetachShader", (GLADapiproc) glad_glDetachShader, 2, program, shader); + glad_glDetachShader(program, shader); + _post_call_gl_callback(NULL, "glDetachShader", (GLADapiproc) glad_glDetachShader, 2, program, shader); + +} +PFNGLDETACHSHADERPROC glad_debug_glDetachShader = glad_debug_impl_glDetachShader; PFNGLDISABLEPROC glad_glDisable = NULL; +static void GLAD_API_PTR glad_debug_impl_glDisable(GLenum cap) { + _pre_call_gl_callback("glDisable", (GLADapiproc) glad_glDisable, 1, cap); + glad_glDisable(cap); + _post_call_gl_callback(NULL, "glDisable", (GLADapiproc) glad_glDisable, 1, cap); + +} +PFNGLDISABLEPROC glad_debug_glDisable = glad_debug_impl_glDisable; +PFNGLDISABLECLIENTSTATEPROC glad_glDisableClientState = NULL; +static void GLAD_API_PTR glad_debug_impl_glDisableClientState(GLenum array) { + _pre_call_gl_callback("glDisableClientState", (GLADapiproc) glad_glDisableClientState, 1, array); + glad_glDisableClientState(array); + _post_call_gl_callback(NULL, "glDisableClientState", (GLADapiproc) glad_glDisableClientState, 1, array); + +} +PFNGLDISABLECLIENTSTATEPROC glad_debug_glDisableClientState = glad_debug_impl_glDisableClientState; PFNGLDISABLEVERTEXATTRIBARRAYPROC glad_glDisableVertexAttribArray = NULL; +static void GLAD_API_PTR glad_debug_impl_glDisableVertexAttribArray(GLuint index) { + _pre_call_gl_callback("glDisableVertexAttribArray", (GLADapiproc) glad_glDisableVertexAttribArray, 1, index); + glad_glDisableVertexAttribArray(index); + _post_call_gl_callback(NULL, "glDisableVertexAttribArray", (GLADapiproc) glad_glDisableVertexAttribArray, 1, index); + +} +PFNGLDISABLEVERTEXATTRIBARRAYPROC glad_debug_glDisableVertexAttribArray = glad_debug_impl_glDisableVertexAttribArray; PFNGLDISABLEIPROC glad_glDisablei = NULL; +static void GLAD_API_PTR glad_debug_impl_glDisablei(GLenum target, GLuint index) { + _pre_call_gl_callback("glDisablei", (GLADapiproc) glad_glDisablei, 2, target, index); + glad_glDisablei(target, index); + _post_call_gl_callback(NULL, "glDisablei", (GLADapiproc) glad_glDisablei, 2, target, index); + +} +PFNGLDISABLEIPROC glad_debug_glDisablei = glad_debug_impl_glDisablei; PFNGLDRAWARRAYSPROC glad_glDrawArrays = NULL; +static void GLAD_API_PTR glad_debug_impl_glDrawArrays(GLenum mode, GLint first, GLsizei count) { + _pre_call_gl_callback("glDrawArrays", (GLADapiproc) glad_glDrawArrays, 3, mode, first, count); + glad_glDrawArrays(mode, first, count); + _post_call_gl_callback(NULL, "glDrawArrays", (GLADapiproc) glad_glDrawArrays, 3, mode, first, count); + +} +PFNGLDRAWARRAYSPROC glad_debug_glDrawArrays = glad_debug_impl_glDrawArrays; PFNGLDRAWARRAYSINSTANCEDPROC glad_glDrawArraysInstanced = NULL; +static void GLAD_API_PTR glad_debug_impl_glDrawArraysInstanced(GLenum mode, GLint first, GLsizei count, GLsizei instancecount) { + _pre_call_gl_callback("glDrawArraysInstanced", (GLADapiproc) glad_glDrawArraysInstanced, 4, mode, first, count, instancecount); + glad_glDrawArraysInstanced(mode, first, count, instancecount); + _post_call_gl_callback(NULL, "glDrawArraysInstanced", (GLADapiproc) glad_glDrawArraysInstanced, 4, mode, first, count, instancecount); + +} +PFNGLDRAWARRAYSINSTANCEDPROC glad_debug_glDrawArraysInstanced = glad_debug_impl_glDrawArraysInstanced; PFNGLDRAWBUFFERPROC glad_glDrawBuffer = NULL; +static void GLAD_API_PTR glad_debug_impl_glDrawBuffer(GLenum buf) { + _pre_call_gl_callback("glDrawBuffer", (GLADapiproc) glad_glDrawBuffer, 1, buf); + glad_glDrawBuffer(buf); + _post_call_gl_callback(NULL, "glDrawBuffer", (GLADapiproc) glad_glDrawBuffer, 1, buf); + +} +PFNGLDRAWBUFFERPROC glad_debug_glDrawBuffer = glad_debug_impl_glDrawBuffer; PFNGLDRAWBUFFERSPROC glad_glDrawBuffers = NULL; +static void GLAD_API_PTR glad_debug_impl_glDrawBuffers(GLsizei n, const GLenum * bufs) { + _pre_call_gl_callback("glDrawBuffers", (GLADapiproc) glad_glDrawBuffers, 2, n, bufs); + glad_glDrawBuffers(n, bufs); + _post_call_gl_callback(NULL, "glDrawBuffers", (GLADapiproc) glad_glDrawBuffers, 2, n, bufs); + +} +PFNGLDRAWBUFFERSPROC glad_debug_glDrawBuffers = glad_debug_impl_glDrawBuffers; PFNGLDRAWELEMENTSPROC glad_glDrawElements = NULL; +static void GLAD_API_PTR glad_debug_impl_glDrawElements(GLenum mode, GLsizei count, GLenum type, const void * indices) { + _pre_call_gl_callback("glDrawElements", (GLADapiproc) glad_glDrawElements, 4, mode, count, type, indices); + glad_glDrawElements(mode, count, type, indices); + _post_call_gl_callback(NULL, "glDrawElements", (GLADapiproc) glad_glDrawElements, 4, mode, count, type, indices); + +} +PFNGLDRAWELEMENTSPROC glad_debug_glDrawElements = glad_debug_impl_glDrawElements; PFNGLDRAWELEMENTSBASEVERTEXPROC glad_glDrawElementsBaseVertex = NULL; +static void GLAD_API_PTR glad_debug_impl_glDrawElementsBaseVertex(GLenum mode, GLsizei count, GLenum type, const void * indices, GLint basevertex) { + _pre_call_gl_callback("glDrawElementsBaseVertex", (GLADapiproc) glad_glDrawElementsBaseVertex, 5, mode, count, type, indices, basevertex); + glad_glDrawElementsBaseVertex(mode, count, type, indices, basevertex); + _post_call_gl_callback(NULL, "glDrawElementsBaseVertex", (GLADapiproc) glad_glDrawElementsBaseVertex, 5, mode, count, type, indices, basevertex); + +} +PFNGLDRAWELEMENTSBASEVERTEXPROC glad_debug_glDrawElementsBaseVertex = glad_debug_impl_glDrawElementsBaseVertex; PFNGLDRAWELEMENTSINSTANCEDPROC glad_glDrawElementsInstanced = NULL; +static void GLAD_API_PTR glad_debug_impl_glDrawElementsInstanced(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount) { + _pre_call_gl_callback("glDrawElementsInstanced", (GLADapiproc) glad_glDrawElementsInstanced, 5, mode, count, type, indices, instancecount); + glad_glDrawElementsInstanced(mode, count, type, indices, instancecount); + _post_call_gl_callback(NULL, "glDrawElementsInstanced", (GLADapiproc) glad_glDrawElementsInstanced, 5, mode, count, type, indices, instancecount); + +} +PFNGLDRAWELEMENTSINSTANCEDPROC glad_debug_glDrawElementsInstanced = glad_debug_impl_glDrawElementsInstanced; PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC glad_glDrawElementsInstancedBaseVertex = NULL; +static void GLAD_API_PTR glad_debug_impl_glDrawElementsInstancedBaseVertex(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLint basevertex) { + _pre_call_gl_callback("glDrawElementsInstancedBaseVertex", (GLADapiproc) glad_glDrawElementsInstancedBaseVertex, 6, mode, count, type, indices, instancecount, basevertex); + glad_glDrawElementsInstancedBaseVertex(mode, count, type, indices, instancecount, basevertex); + _post_call_gl_callback(NULL, "glDrawElementsInstancedBaseVertex", (GLADapiproc) glad_glDrawElementsInstancedBaseVertex, 6, mode, count, type, indices, instancecount, basevertex); + +} +PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC glad_debug_glDrawElementsInstancedBaseVertex = glad_debug_impl_glDrawElementsInstancedBaseVertex; +PFNGLDRAWPIXELSPROC glad_glDrawPixels = NULL; +static void GLAD_API_PTR glad_debug_impl_glDrawPixels(GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels) { + _pre_call_gl_callback("glDrawPixels", (GLADapiproc) glad_glDrawPixels, 5, width, height, format, type, pixels); + glad_glDrawPixels(width, height, format, type, pixels); + _post_call_gl_callback(NULL, "glDrawPixels", (GLADapiproc) glad_glDrawPixels, 5, width, height, format, type, pixels); + +} +PFNGLDRAWPIXELSPROC glad_debug_glDrawPixels = glad_debug_impl_glDrawPixels; PFNGLDRAWRANGEELEMENTSPROC glad_glDrawRangeElements = NULL; +static void GLAD_API_PTR glad_debug_impl_glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void * indices) { + _pre_call_gl_callback("glDrawRangeElements", (GLADapiproc) glad_glDrawRangeElements, 6, mode, start, end, count, type, indices); + glad_glDrawRangeElements(mode, start, end, count, type, indices); + _post_call_gl_callback(NULL, "glDrawRangeElements", (GLADapiproc) glad_glDrawRangeElements, 6, mode, start, end, count, type, indices); + +} +PFNGLDRAWRANGEELEMENTSPROC glad_debug_glDrawRangeElements = glad_debug_impl_glDrawRangeElements; PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC glad_glDrawRangeElementsBaseVertex = NULL; +static void GLAD_API_PTR glad_debug_impl_glDrawRangeElementsBaseVertex(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void * indices, GLint basevertex) { + _pre_call_gl_callback("glDrawRangeElementsBaseVertex", (GLADapiproc) glad_glDrawRangeElementsBaseVertex, 7, mode, start, end, count, type, indices, basevertex); + glad_glDrawRangeElementsBaseVertex(mode, start, end, count, type, indices, basevertex); + _post_call_gl_callback(NULL, "glDrawRangeElementsBaseVertex", (GLADapiproc) glad_glDrawRangeElementsBaseVertex, 7, mode, start, end, count, type, indices, basevertex); + +} +PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC glad_debug_glDrawRangeElementsBaseVertex = glad_debug_impl_glDrawRangeElementsBaseVertex; +PFNGLEDGEFLAGPROC glad_glEdgeFlag = NULL; +static void GLAD_API_PTR glad_debug_impl_glEdgeFlag(GLboolean flag) { + _pre_call_gl_callback("glEdgeFlag", (GLADapiproc) glad_glEdgeFlag, 1, flag); + glad_glEdgeFlag(flag); + _post_call_gl_callback(NULL, "glEdgeFlag", (GLADapiproc) glad_glEdgeFlag, 1, flag); + +} +PFNGLEDGEFLAGPROC glad_debug_glEdgeFlag = glad_debug_impl_glEdgeFlag; +PFNGLEDGEFLAGPOINTERPROC glad_glEdgeFlagPointer = NULL; +static void GLAD_API_PTR glad_debug_impl_glEdgeFlagPointer(GLsizei stride, const void * pointer) { + _pre_call_gl_callback("glEdgeFlagPointer", (GLADapiproc) glad_glEdgeFlagPointer, 2, stride, pointer); + glad_glEdgeFlagPointer(stride, pointer); + _post_call_gl_callback(NULL, "glEdgeFlagPointer", (GLADapiproc) glad_glEdgeFlagPointer, 2, stride, pointer); + +} +PFNGLEDGEFLAGPOINTERPROC glad_debug_glEdgeFlagPointer = glad_debug_impl_glEdgeFlagPointer; +PFNGLEDGEFLAGVPROC glad_glEdgeFlagv = NULL; +static void GLAD_API_PTR glad_debug_impl_glEdgeFlagv(const GLboolean * flag) { + _pre_call_gl_callback("glEdgeFlagv", (GLADapiproc) glad_glEdgeFlagv, 1, flag); + glad_glEdgeFlagv(flag); + _post_call_gl_callback(NULL, "glEdgeFlagv", (GLADapiproc) glad_glEdgeFlagv, 1, flag); + +} +PFNGLEDGEFLAGVPROC glad_debug_glEdgeFlagv = glad_debug_impl_glEdgeFlagv; PFNGLENABLEPROC glad_glEnable = NULL; +static void GLAD_API_PTR glad_debug_impl_glEnable(GLenum cap) { + _pre_call_gl_callback("glEnable", (GLADapiproc) glad_glEnable, 1, cap); + glad_glEnable(cap); + _post_call_gl_callback(NULL, "glEnable", (GLADapiproc) glad_glEnable, 1, cap); + +} +PFNGLENABLEPROC glad_debug_glEnable = glad_debug_impl_glEnable; +PFNGLENABLECLIENTSTATEPROC glad_glEnableClientState = NULL; +static void GLAD_API_PTR glad_debug_impl_glEnableClientState(GLenum array) { + _pre_call_gl_callback("glEnableClientState", (GLADapiproc) glad_glEnableClientState, 1, array); + glad_glEnableClientState(array); + _post_call_gl_callback(NULL, "glEnableClientState", (GLADapiproc) glad_glEnableClientState, 1, array); + +} +PFNGLENABLECLIENTSTATEPROC glad_debug_glEnableClientState = glad_debug_impl_glEnableClientState; PFNGLENABLEVERTEXATTRIBARRAYPROC glad_glEnableVertexAttribArray = NULL; +static void GLAD_API_PTR glad_debug_impl_glEnableVertexAttribArray(GLuint index) { + _pre_call_gl_callback("glEnableVertexAttribArray", (GLADapiproc) glad_glEnableVertexAttribArray, 1, index); + glad_glEnableVertexAttribArray(index); + _post_call_gl_callback(NULL, "glEnableVertexAttribArray", (GLADapiproc) glad_glEnableVertexAttribArray, 1, index); + +} +PFNGLENABLEVERTEXATTRIBARRAYPROC glad_debug_glEnableVertexAttribArray = glad_debug_impl_glEnableVertexAttribArray; PFNGLENABLEIPROC glad_glEnablei = NULL; +static void GLAD_API_PTR glad_debug_impl_glEnablei(GLenum target, GLuint index) { + _pre_call_gl_callback("glEnablei", (GLADapiproc) glad_glEnablei, 2, target, index); + glad_glEnablei(target, index); + _post_call_gl_callback(NULL, "glEnablei", (GLADapiproc) glad_glEnablei, 2, target, index); + +} +PFNGLENABLEIPROC glad_debug_glEnablei = glad_debug_impl_glEnablei; +PFNGLENDPROC glad_glEnd = NULL; +static void GLAD_API_PTR glad_debug_impl_glEnd(void) { + _pre_call_gl_callback("glEnd", (GLADapiproc) glad_glEnd, 0); + glad_glEnd(); + _post_call_gl_callback(NULL, "glEnd", (GLADapiproc) glad_glEnd, 0); + +} +PFNGLENDPROC glad_debug_glEnd = glad_debug_impl_glEnd; PFNGLENDCONDITIONALRENDERPROC glad_glEndConditionalRender = NULL; +static void GLAD_API_PTR glad_debug_impl_glEndConditionalRender(void) { + _pre_call_gl_callback("glEndConditionalRender", (GLADapiproc) glad_glEndConditionalRender, 0); + glad_glEndConditionalRender(); + _post_call_gl_callback(NULL, "glEndConditionalRender", (GLADapiproc) glad_glEndConditionalRender, 0); + +} +PFNGLENDCONDITIONALRENDERPROC glad_debug_glEndConditionalRender = glad_debug_impl_glEndConditionalRender; +PFNGLENDLISTPROC glad_glEndList = NULL; +static void GLAD_API_PTR glad_debug_impl_glEndList(void) { + _pre_call_gl_callback("glEndList", (GLADapiproc) glad_glEndList, 0); + glad_glEndList(); + _post_call_gl_callback(NULL, "glEndList", (GLADapiproc) glad_glEndList, 0); + +} +PFNGLENDLISTPROC glad_debug_glEndList = glad_debug_impl_glEndList; PFNGLENDQUERYPROC glad_glEndQuery = NULL; +static void GLAD_API_PTR glad_debug_impl_glEndQuery(GLenum target) { + _pre_call_gl_callback("glEndQuery", (GLADapiproc) glad_glEndQuery, 1, target); + glad_glEndQuery(target); + _post_call_gl_callback(NULL, "glEndQuery", (GLADapiproc) glad_glEndQuery, 1, target); + +} +PFNGLENDQUERYPROC glad_debug_glEndQuery = glad_debug_impl_glEndQuery; PFNGLENDTRANSFORMFEEDBACKPROC glad_glEndTransformFeedback = NULL; +static void GLAD_API_PTR glad_debug_impl_glEndTransformFeedback(void) { + _pre_call_gl_callback("glEndTransformFeedback", (GLADapiproc) glad_glEndTransformFeedback, 0); + glad_glEndTransformFeedback(); + _post_call_gl_callback(NULL, "glEndTransformFeedback", (GLADapiproc) glad_glEndTransformFeedback, 0); + +} +PFNGLENDTRANSFORMFEEDBACKPROC glad_debug_glEndTransformFeedback = glad_debug_impl_glEndTransformFeedback; +PFNGLEVALCOORD1DPROC glad_glEvalCoord1d = NULL; +static void GLAD_API_PTR glad_debug_impl_glEvalCoord1d(GLdouble u) { + _pre_call_gl_callback("glEvalCoord1d", (GLADapiproc) glad_glEvalCoord1d, 1, u); + glad_glEvalCoord1d(u); + _post_call_gl_callback(NULL, "glEvalCoord1d", (GLADapiproc) glad_glEvalCoord1d, 1, u); + +} +PFNGLEVALCOORD1DPROC glad_debug_glEvalCoord1d = glad_debug_impl_glEvalCoord1d; +PFNGLEVALCOORD1DVPROC glad_glEvalCoord1dv = NULL; +static void GLAD_API_PTR glad_debug_impl_glEvalCoord1dv(const GLdouble * u) { + _pre_call_gl_callback("glEvalCoord1dv", (GLADapiproc) glad_glEvalCoord1dv, 1, u); + glad_glEvalCoord1dv(u); + _post_call_gl_callback(NULL, "glEvalCoord1dv", (GLADapiproc) glad_glEvalCoord1dv, 1, u); + +} +PFNGLEVALCOORD1DVPROC glad_debug_glEvalCoord1dv = glad_debug_impl_glEvalCoord1dv; +PFNGLEVALCOORD1FPROC glad_glEvalCoord1f = NULL; +static void GLAD_API_PTR glad_debug_impl_glEvalCoord1f(GLfloat u) { + _pre_call_gl_callback("glEvalCoord1f", (GLADapiproc) glad_glEvalCoord1f, 1, u); + glad_glEvalCoord1f(u); + _post_call_gl_callback(NULL, "glEvalCoord1f", (GLADapiproc) glad_glEvalCoord1f, 1, u); + +} +PFNGLEVALCOORD1FPROC glad_debug_glEvalCoord1f = glad_debug_impl_glEvalCoord1f; +PFNGLEVALCOORD1FVPROC glad_glEvalCoord1fv = NULL; +static void GLAD_API_PTR glad_debug_impl_glEvalCoord1fv(const GLfloat * u) { + _pre_call_gl_callback("glEvalCoord1fv", (GLADapiproc) glad_glEvalCoord1fv, 1, u); + glad_glEvalCoord1fv(u); + _post_call_gl_callback(NULL, "glEvalCoord1fv", (GLADapiproc) glad_glEvalCoord1fv, 1, u); + +} +PFNGLEVALCOORD1FVPROC glad_debug_glEvalCoord1fv = glad_debug_impl_glEvalCoord1fv; +PFNGLEVALCOORD2DPROC glad_glEvalCoord2d = NULL; +static void GLAD_API_PTR glad_debug_impl_glEvalCoord2d(GLdouble u, GLdouble v) { + _pre_call_gl_callback("glEvalCoord2d", (GLADapiproc) glad_glEvalCoord2d, 2, u, v); + glad_glEvalCoord2d(u, v); + _post_call_gl_callback(NULL, "glEvalCoord2d", (GLADapiproc) glad_glEvalCoord2d, 2, u, v); + +} +PFNGLEVALCOORD2DPROC glad_debug_glEvalCoord2d = glad_debug_impl_glEvalCoord2d; +PFNGLEVALCOORD2DVPROC glad_glEvalCoord2dv = NULL; +static void GLAD_API_PTR glad_debug_impl_glEvalCoord2dv(const GLdouble * u) { + _pre_call_gl_callback("glEvalCoord2dv", (GLADapiproc) glad_glEvalCoord2dv, 1, u); + glad_glEvalCoord2dv(u); + _post_call_gl_callback(NULL, "glEvalCoord2dv", (GLADapiproc) glad_glEvalCoord2dv, 1, u); + +} +PFNGLEVALCOORD2DVPROC glad_debug_glEvalCoord2dv = glad_debug_impl_glEvalCoord2dv; +PFNGLEVALCOORD2FPROC glad_glEvalCoord2f = NULL; +static void GLAD_API_PTR glad_debug_impl_glEvalCoord2f(GLfloat u, GLfloat v) { + _pre_call_gl_callback("glEvalCoord2f", (GLADapiproc) glad_glEvalCoord2f, 2, u, v); + glad_glEvalCoord2f(u, v); + _post_call_gl_callback(NULL, "glEvalCoord2f", (GLADapiproc) glad_glEvalCoord2f, 2, u, v); + +} +PFNGLEVALCOORD2FPROC glad_debug_glEvalCoord2f = glad_debug_impl_glEvalCoord2f; +PFNGLEVALCOORD2FVPROC glad_glEvalCoord2fv = NULL; +static void GLAD_API_PTR glad_debug_impl_glEvalCoord2fv(const GLfloat * u) { + _pre_call_gl_callback("glEvalCoord2fv", (GLADapiproc) glad_glEvalCoord2fv, 1, u); + glad_glEvalCoord2fv(u); + _post_call_gl_callback(NULL, "glEvalCoord2fv", (GLADapiproc) glad_glEvalCoord2fv, 1, u); + +} +PFNGLEVALCOORD2FVPROC glad_debug_glEvalCoord2fv = glad_debug_impl_glEvalCoord2fv; +PFNGLEVALMESH1PROC glad_glEvalMesh1 = NULL; +static void GLAD_API_PTR glad_debug_impl_glEvalMesh1(GLenum mode, GLint i1, GLint i2) { + _pre_call_gl_callback("glEvalMesh1", (GLADapiproc) glad_glEvalMesh1, 3, mode, i1, i2); + glad_glEvalMesh1(mode, i1, i2); + _post_call_gl_callback(NULL, "glEvalMesh1", (GLADapiproc) glad_glEvalMesh1, 3, mode, i1, i2); + +} +PFNGLEVALMESH1PROC glad_debug_glEvalMesh1 = glad_debug_impl_glEvalMesh1; +PFNGLEVALMESH2PROC glad_glEvalMesh2 = NULL; +static void GLAD_API_PTR glad_debug_impl_glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2) { + _pre_call_gl_callback("glEvalMesh2", (GLADapiproc) glad_glEvalMesh2, 5, mode, i1, i2, j1, j2); + glad_glEvalMesh2(mode, i1, i2, j1, j2); + _post_call_gl_callback(NULL, "glEvalMesh2", (GLADapiproc) glad_glEvalMesh2, 5, mode, i1, i2, j1, j2); + +} +PFNGLEVALMESH2PROC glad_debug_glEvalMesh2 = glad_debug_impl_glEvalMesh2; +PFNGLEVALPOINT1PROC glad_glEvalPoint1 = NULL; +static void GLAD_API_PTR glad_debug_impl_glEvalPoint1(GLint i) { + _pre_call_gl_callback("glEvalPoint1", (GLADapiproc) glad_glEvalPoint1, 1, i); + glad_glEvalPoint1(i); + _post_call_gl_callback(NULL, "glEvalPoint1", (GLADapiproc) glad_glEvalPoint1, 1, i); + +} +PFNGLEVALPOINT1PROC glad_debug_glEvalPoint1 = glad_debug_impl_glEvalPoint1; +PFNGLEVALPOINT2PROC glad_glEvalPoint2 = NULL; +static void GLAD_API_PTR glad_debug_impl_glEvalPoint2(GLint i, GLint j) { + _pre_call_gl_callback("glEvalPoint2", (GLADapiproc) glad_glEvalPoint2, 2, i, j); + glad_glEvalPoint2(i, j); + _post_call_gl_callback(NULL, "glEvalPoint2", (GLADapiproc) glad_glEvalPoint2, 2, i, j); + +} +PFNGLEVALPOINT2PROC glad_debug_glEvalPoint2 = glad_debug_impl_glEvalPoint2; +PFNGLFEEDBACKBUFFERPROC glad_glFeedbackBuffer = NULL; +static void GLAD_API_PTR glad_debug_impl_glFeedbackBuffer(GLsizei size, GLenum type, GLfloat * buffer) { + _pre_call_gl_callback("glFeedbackBuffer", (GLADapiproc) glad_glFeedbackBuffer, 3, size, type, buffer); + glad_glFeedbackBuffer(size, type, buffer); + _post_call_gl_callback(NULL, "glFeedbackBuffer", (GLADapiproc) glad_glFeedbackBuffer, 3, size, type, buffer); + +} +PFNGLFEEDBACKBUFFERPROC glad_debug_glFeedbackBuffer = glad_debug_impl_glFeedbackBuffer; PFNGLFENCESYNCPROC glad_glFenceSync = NULL; +static GLsync GLAD_API_PTR glad_debug_impl_glFenceSync(GLenum condition, GLbitfield flags) { + GLsync ret; + _pre_call_gl_callback("glFenceSync", (GLADapiproc) glad_glFenceSync, 2, condition, flags); + ret = glad_glFenceSync(condition, flags); + _post_call_gl_callback((void*) &ret, "glFenceSync", (GLADapiproc) glad_glFenceSync, 2, condition, flags); + return ret; +} +PFNGLFENCESYNCPROC glad_debug_glFenceSync = glad_debug_impl_glFenceSync; PFNGLFINISHPROC glad_glFinish = NULL; +static void GLAD_API_PTR glad_debug_impl_glFinish(void) { + _pre_call_gl_callback("glFinish", (GLADapiproc) glad_glFinish, 0); + glad_glFinish(); + _post_call_gl_callback(NULL, "glFinish", (GLADapiproc) glad_glFinish, 0); + +} +PFNGLFINISHPROC glad_debug_glFinish = glad_debug_impl_glFinish; PFNGLFLUSHPROC glad_glFlush = NULL; +static void GLAD_API_PTR glad_debug_impl_glFlush(void) { + _pre_call_gl_callback("glFlush", (GLADapiproc) glad_glFlush, 0); + glad_glFlush(); + _post_call_gl_callback(NULL, "glFlush", (GLADapiproc) glad_glFlush, 0); + +} +PFNGLFLUSHPROC glad_debug_glFlush = glad_debug_impl_glFlush; PFNGLFLUSHMAPPEDBUFFERRANGEPROC glad_glFlushMappedBufferRange = NULL; +static void GLAD_API_PTR glad_debug_impl_glFlushMappedBufferRange(GLenum target, GLintptr offset, GLsizeiptr length) { + _pre_call_gl_callback("glFlushMappedBufferRange", (GLADapiproc) glad_glFlushMappedBufferRange, 3, target, offset, length); + glad_glFlushMappedBufferRange(target, offset, length); + _post_call_gl_callback(NULL, "glFlushMappedBufferRange", (GLADapiproc) glad_glFlushMappedBufferRange, 3, target, offset, length); + +} +PFNGLFLUSHMAPPEDBUFFERRANGEPROC glad_debug_glFlushMappedBufferRange = glad_debug_impl_glFlushMappedBufferRange; +PFNGLFOGCOORDPOINTERPROC glad_glFogCoordPointer = NULL; +static void GLAD_API_PTR glad_debug_impl_glFogCoordPointer(GLenum type, GLsizei stride, const void * pointer) { + _pre_call_gl_callback("glFogCoordPointer", (GLADapiproc) glad_glFogCoordPointer, 3, type, stride, pointer); + glad_glFogCoordPointer(type, stride, pointer); + _post_call_gl_callback(NULL, "glFogCoordPointer", (GLADapiproc) glad_glFogCoordPointer, 3, type, stride, pointer); + +} +PFNGLFOGCOORDPOINTERPROC glad_debug_glFogCoordPointer = glad_debug_impl_glFogCoordPointer; +PFNGLFOGCOORDDPROC glad_glFogCoordd = NULL; +static void GLAD_API_PTR glad_debug_impl_glFogCoordd(GLdouble coord) { + _pre_call_gl_callback("glFogCoordd", (GLADapiproc) glad_glFogCoordd, 1, coord); + glad_glFogCoordd(coord); + _post_call_gl_callback(NULL, "glFogCoordd", (GLADapiproc) glad_glFogCoordd, 1, coord); + +} +PFNGLFOGCOORDDPROC glad_debug_glFogCoordd = glad_debug_impl_glFogCoordd; +PFNGLFOGCOORDDVPROC glad_glFogCoorddv = NULL; +static void GLAD_API_PTR glad_debug_impl_glFogCoorddv(const GLdouble * coord) { + _pre_call_gl_callback("glFogCoorddv", (GLADapiproc) glad_glFogCoorddv, 1, coord); + glad_glFogCoorddv(coord); + _post_call_gl_callback(NULL, "glFogCoorddv", (GLADapiproc) glad_glFogCoorddv, 1, coord); + +} +PFNGLFOGCOORDDVPROC glad_debug_glFogCoorddv = glad_debug_impl_glFogCoorddv; +PFNGLFOGCOORDFPROC glad_glFogCoordf = NULL; +static void GLAD_API_PTR glad_debug_impl_glFogCoordf(GLfloat coord) { + _pre_call_gl_callback("glFogCoordf", (GLADapiproc) glad_glFogCoordf, 1, coord); + glad_glFogCoordf(coord); + _post_call_gl_callback(NULL, "glFogCoordf", (GLADapiproc) glad_glFogCoordf, 1, coord); + +} +PFNGLFOGCOORDFPROC glad_debug_glFogCoordf = glad_debug_impl_glFogCoordf; +PFNGLFOGCOORDFVPROC glad_glFogCoordfv = NULL; +static void GLAD_API_PTR glad_debug_impl_glFogCoordfv(const GLfloat * coord) { + _pre_call_gl_callback("glFogCoordfv", (GLADapiproc) glad_glFogCoordfv, 1, coord); + glad_glFogCoordfv(coord); + _post_call_gl_callback(NULL, "glFogCoordfv", (GLADapiproc) glad_glFogCoordfv, 1, coord); + +} +PFNGLFOGCOORDFVPROC glad_debug_glFogCoordfv = glad_debug_impl_glFogCoordfv; +PFNGLFOGFPROC glad_glFogf = NULL; +static void GLAD_API_PTR glad_debug_impl_glFogf(GLenum pname, GLfloat param) { + _pre_call_gl_callback("glFogf", (GLADapiproc) glad_glFogf, 2, pname, param); + glad_glFogf(pname, param); + _post_call_gl_callback(NULL, "glFogf", (GLADapiproc) glad_glFogf, 2, pname, param); + +} +PFNGLFOGFPROC glad_debug_glFogf = glad_debug_impl_glFogf; +PFNGLFOGFVPROC glad_glFogfv = NULL; +static void GLAD_API_PTR glad_debug_impl_glFogfv(GLenum pname, const GLfloat * params) { + _pre_call_gl_callback("glFogfv", (GLADapiproc) glad_glFogfv, 2, pname, params); + glad_glFogfv(pname, params); + _post_call_gl_callback(NULL, "glFogfv", (GLADapiproc) glad_glFogfv, 2, pname, params); + +} +PFNGLFOGFVPROC glad_debug_glFogfv = glad_debug_impl_glFogfv; +PFNGLFOGIPROC glad_glFogi = NULL; +static void GLAD_API_PTR glad_debug_impl_glFogi(GLenum pname, GLint param) { + _pre_call_gl_callback("glFogi", (GLADapiproc) glad_glFogi, 2, pname, param); + glad_glFogi(pname, param); + _post_call_gl_callback(NULL, "glFogi", (GLADapiproc) glad_glFogi, 2, pname, param); + +} +PFNGLFOGIPROC glad_debug_glFogi = glad_debug_impl_glFogi; +PFNGLFOGIVPROC glad_glFogiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glFogiv(GLenum pname, const GLint * params) { + _pre_call_gl_callback("glFogiv", (GLADapiproc) glad_glFogiv, 2, pname, params); + glad_glFogiv(pname, params); + _post_call_gl_callback(NULL, "glFogiv", (GLADapiproc) glad_glFogiv, 2, pname, params); + +} +PFNGLFOGIVPROC glad_debug_glFogiv = glad_debug_impl_glFogiv; PFNGLFRAMEBUFFERRENDERBUFFERPROC glad_glFramebufferRenderbuffer = NULL; +static void GLAD_API_PTR glad_debug_impl_glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) { + _pre_call_gl_callback("glFramebufferRenderbuffer", (GLADapiproc) glad_glFramebufferRenderbuffer, 4, target, attachment, renderbuffertarget, renderbuffer); + glad_glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer); + _post_call_gl_callback(NULL, "glFramebufferRenderbuffer", (GLADapiproc) glad_glFramebufferRenderbuffer, 4, target, attachment, renderbuffertarget, renderbuffer); + +} +PFNGLFRAMEBUFFERRENDERBUFFERPROC glad_debug_glFramebufferRenderbuffer = glad_debug_impl_glFramebufferRenderbuffer; PFNGLFRAMEBUFFERTEXTUREPROC glad_glFramebufferTexture = NULL; +static void GLAD_API_PTR glad_debug_impl_glFramebufferTexture(GLenum target, GLenum attachment, GLuint texture, GLint level) { + _pre_call_gl_callback("glFramebufferTexture", (GLADapiproc) glad_glFramebufferTexture, 4, target, attachment, texture, level); + glad_glFramebufferTexture(target, attachment, texture, level); + _post_call_gl_callback(NULL, "glFramebufferTexture", (GLADapiproc) glad_glFramebufferTexture, 4, target, attachment, texture, level); + +} +PFNGLFRAMEBUFFERTEXTUREPROC glad_debug_glFramebufferTexture = glad_debug_impl_glFramebufferTexture; PFNGLFRAMEBUFFERTEXTURE1DPROC glad_glFramebufferTexture1D = NULL; +static void GLAD_API_PTR glad_debug_impl_glFramebufferTexture1D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) { + _pre_call_gl_callback("glFramebufferTexture1D", (GLADapiproc) glad_glFramebufferTexture1D, 5, target, attachment, textarget, texture, level); + glad_glFramebufferTexture1D(target, attachment, textarget, texture, level); + _post_call_gl_callback(NULL, "glFramebufferTexture1D", (GLADapiproc) glad_glFramebufferTexture1D, 5, target, attachment, textarget, texture, level); + +} +PFNGLFRAMEBUFFERTEXTURE1DPROC glad_debug_glFramebufferTexture1D = glad_debug_impl_glFramebufferTexture1D; PFNGLFRAMEBUFFERTEXTURE2DPROC glad_glFramebufferTexture2D = NULL; +static void GLAD_API_PTR glad_debug_impl_glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) { + _pre_call_gl_callback("glFramebufferTexture2D", (GLADapiproc) glad_glFramebufferTexture2D, 5, target, attachment, textarget, texture, level); + glad_glFramebufferTexture2D(target, attachment, textarget, texture, level); + _post_call_gl_callback(NULL, "glFramebufferTexture2D", (GLADapiproc) glad_glFramebufferTexture2D, 5, target, attachment, textarget, texture, level); + +} +PFNGLFRAMEBUFFERTEXTURE2DPROC glad_debug_glFramebufferTexture2D = glad_debug_impl_glFramebufferTexture2D; PFNGLFRAMEBUFFERTEXTURE3DPROC glad_glFramebufferTexture3D = NULL; +static void GLAD_API_PTR glad_debug_impl_glFramebufferTexture3D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset) { + _pre_call_gl_callback("glFramebufferTexture3D", (GLADapiproc) glad_glFramebufferTexture3D, 6, target, attachment, textarget, texture, level, zoffset); + glad_glFramebufferTexture3D(target, attachment, textarget, texture, level, zoffset); + _post_call_gl_callback(NULL, "glFramebufferTexture3D", (GLADapiproc) glad_glFramebufferTexture3D, 6, target, attachment, textarget, texture, level, zoffset); + +} +PFNGLFRAMEBUFFERTEXTURE3DPROC glad_debug_glFramebufferTexture3D = glad_debug_impl_glFramebufferTexture3D; PFNGLFRAMEBUFFERTEXTURELAYERPROC glad_glFramebufferTextureLayer = NULL; +static void GLAD_API_PTR glad_debug_impl_glFramebufferTextureLayer(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer) { + _pre_call_gl_callback("glFramebufferTextureLayer", (GLADapiproc) glad_glFramebufferTextureLayer, 5, target, attachment, texture, level, layer); + glad_glFramebufferTextureLayer(target, attachment, texture, level, layer); + _post_call_gl_callback(NULL, "glFramebufferTextureLayer", (GLADapiproc) glad_glFramebufferTextureLayer, 5, target, attachment, texture, level, layer); + +} +PFNGLFRAMEBUFFERTEXTURELAYERPROC glad_debug_glFramebufferTextureLayer = glad_debug_impl_glFramebufferTextureLayer; PFNGLFRONTFACEPROC glad_glFrontFace = NULL; +static void GLAD_API_PTR glad_debug_impl_glFrontFace(GLenum mode) { + _pre_call_gl_callback("glFrontFace", (GLADapiproc) glad_glFrontFace, 1, mode); + glad_glFrontFace(mode); + _post_call_gl_callback(NULL, "glFrontFace", (GLADapiproc) glad_glFrontFace, 1, mode); + +} +PFNGLFRONTFACEPROC glad_debug_glFrontFace = glad_debug_impl_glFrontFace; +PFNGLFRUSTUMPROC glad_glFrustum = NULL; +static void GLAD_API_PTR glad_debug_impl_glFrustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) { + _pre_call_gl_callback("glFrustum", (GLADapiproc) glad_glFrustum, 6, left, right, bottom, top, zNear, zFar); + glad_glFrustum(left, right, bottom, top, zNear, zFar); + _post_call_gl_callback(NULL, "glFrustum", (GLADapiproc) glad_glFrustum, 6, left, right, bottom, top, zNear, zFar); + +} +PFNGLFRUSTUMPROC glad_debug_glFrustum = glad_debug_impl_glFrustum; PFNGLGENBUFFERSPROC glad_glGenBuffers = NULL; +static void GLAD_API_PTR glad_debug_impl_glGenBuffers(GLsizei n, GLuint * buffers) { + _pre_call_gl_callback("glGenBuffers", (GLADapiproc) glad_glGenBuffers, 2, n, buffers); + glad_glGenBuffers(n, buffers); + _post_call_gl_callback(NULL, "glGenBuffers", (GLADapiproc) glad_glGenBuffers, 2, n, buffers); + +} +PFNGLGENBUFFERSPROC glad_debug_glGenBuffers = glad_debug_impl_glGenBuffers; PFNGLGENFRAMEBUFFERSPROC glad_glGenFramebuffers = NULL; +static void GLAD_API_PTR glad_debug_impl_glGenFramebuffers(GLsizei n, GLuint * framebuffers) { + _pre_call_gl_callback("glGenFramebuffers", (GLADapiproc) glad_glGenFramebuffers, 2, n, framebuffers); + glad_glGenFramebuffers(n, framebuffers); + _post_call_gl_callback(NULL, "glGenFramebuffers", (GLADapiproc) glad_glGenFramebuffers, 2, n, framebuffers); + +} +PFNGLGENFRAMEBUFFERSPROC glad_debug_glGenFramebuffers = glad_debug_impl_glGenFramebuffers; +PFNGLGENLISTSPROC glad_glGenLists = NULL; +static GLuint GLAD_API_PTR glad_debug_impl_glGenLists(GLsizei range) { + GLuint ret; + _pre_call_gl_callback("glGenLists", (GLADapiproc) glad_glGenLists, 1, range); + ret = glad_glGenLists(range); + _post_call_gl_callback((void*) &ret, "glGenLists", (GLADapiproc) glad_glGenLists, 1, range); + return ret; +} +PFNGLGENLISTSPROC glad_debug_glGenLists = glad_debug_impl_glGenLists; PFNGLGENQUERIESPROC glad_glGenQueries = NULL; +static void GLAD_API_PTR glad_debug_impl_glGenQueries(GLsizei n, GLuint * ids) { + _pre_call_gl_callback("glGenQueries", (GLADapiproc) glad_glGenQueries, 2, n, ids); + glad_glGenQueries(n, ids); + _post_call_gl_callback(NULL, "glGenQueries", (GLADapiproc) glad_glGenQueries, 2, n, ids); + +} +PFNGLGENQUERIESPROC glad_debug_glGenQueries = glad_debug_impl_glGenQueries; PFNGLGENRENDERBUFFERSPROC glad_glGenRenderbuffers = NULL; +static void GLAD_API_PTR glad_debug_impl_glGenRenderbuffers(GLsizei n, GLuint * renderbuffers) { + _pre_call_gl_callback("glGenRenderbuffers", (GLADapiproc) glad_glGenRenderbuffers, 2, n, renderbuffers); + glad_glGenRenderbuffers(n, renderbuffers); + _post_call_gl_callback(NULL, "glGenRenderbuffers", (GLADapiproc) glad_glGenRenderbuffers, 2, n, renderbuffers); + +} +PFNGLGENRENDERBUFFERSPROC glad_debug_glGenRenderbuffers = glad_debug_impl_glGenRenderbuffers; PFNGLGENSAMPLERSPROC glad_glGenSamplers = NULL; +static void GLAD_API_PTR glad_debug_impl_glGenSamplers(GLsizei count, GLuint * samplers) { + _pre_call_gl_callback("glGenSamplers", (GLADapiproc) glad_glGenSamplers, 2, count, samplers); + glad_glGenSamplers(count, samplers); + _post_call_gl_callback(NULL, "glGenSamplers", (GLADapiproc) glad_glGenSamplers, 2, count, samplers); + +} +PFNGLGENSAMPLERSPROC glad_debug_glGenSamplers = glad_debug_impl_glGenSamplers; PFNGLGENTEXTURESPROC glad_glGenTextures = NULL; +static void GLAD_API_PTR glad_debug_impl_glGenTextures(GLsizei n, GLuint * textures) { + _pre_call_gl_callback("glGenTextures", (GLADapiproc) glad_glGenTextures, 2, n, textures); + glad_glGenTextures(n, textures); + _post_call_gl_callback(NULL, "glGenTextures", (GLADapiproc) glad_glGenTextures, 2, n, textures); + +} +PFNGLGENTEXTURESPROC glad_debug_glGenTextures = glad_debug_impl_glGenTextures; PFNGLGENVERTEXARRAYSPROC glad_glGenVertexArrays = NULL; +static void GLAD_API_PTR glad_debug_impl_glGenVertexArrays(GLsizei n, GLuint * arrays) { + _pre_call_gl_callback("glGenVertexArrays", (GLADapiproc) glad_glGenVertexArrays, 2, n, arrays); + glad_glGenVertexArrays(n, arrays); + _post_call_gl_callback(NULL, "glGenVertexArrays", (GLADapiproc) glad_glGenVertexArrays, 2, n, arrays); + +} +PFNGLGENVERTEXARRAYSPROC glad_debug_glGenVertexArrays = glad_debug_impl_glGenVertexArrays; PFNGLGENERATEMIPMAPPROC glad_glGenerateMipmap = NULL; +static void GLAD_API_PTR glad_debug_impl_glGenerateMipmap(GLenum target) { + _pre_call_gl_callback("glGenerateMipmap", (GLADapiproc) glad_glGenerateMipmap, 1, target); + glad_glGenerateMipmap(target); + _post_call_gl_callback(NULL, "glGenerateMipmap", (GLADapiproc) glad_glGenerateMipmap, 1, target); + +} +PFNGLGENERATEMIPMAPPROC glad_debug_glGenerateMipmap = glad_debug_impl_glGenerateMipmap; PFNGLGETACTIVEATTRIBPROC glad_glGetActiveAttrib = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name) { + _pre_call_gl_callback("glGetActiveAttrib", (GLADapiproc) glad_glGetActiveAttrib, 7, program, index, bufSize, length, size, type, name); + glad_glGetActiveAttrib(program, index, bufSize, length, size, type, name); + _post_call_gl_callback(NULL, "glGetActiveAttrib", (GLADapiproc) glad_glGetActiveAttrib, 7, program, index, bufSize, length, size, type, name); + +} +PFNGLGETACTIVEATTRIBPROC glad_debug_glGetActiveAttrib = glad_debug_impl_glGetActiveAttrib; PFNGLGETACTIVEUNIFORMPROC glad_glGetActiveUniform = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name) { + _pre_call_gl_callback("glGetActiveUniform", (GLADapiproc) glad_glGetActiveUniform, 7, program, index, bufSize, length, size, type, name); + glad_glGetActiveUniform(program, index, bufSize, length, size, type, name); + _post_call_gl_callback(NULL, "glGetActiveUniform", (GLADapiproc) glad_glGetActiveUniform, 7, program, index, bufSize, length, size, type, name); + +} +PFNGLGETACTIVEUNIFORMPROC glad_debug_glGetActiveUniform = glad_debug_impl_glGetActiveUniform; PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC glad_glGetActiveUniformBlockName = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetActiveUniformBlockName(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei * length, GLchar * uniformBlockName) { + _pre_call_gl_callback("glGetActiveUniformBlockName", (GLADapiproc) glad_glGetActiveUniformBlockName, 5, program, uniformBlockIndex, bufSize, length, uniformBlockName); + glad_glGetActiveUniformBlockName(program, uniformBlockIndex, bufSize, length, uniformBlockName); + _post_call_gl_callback(NULL, "glGetActiveUniformBlockName", (GLADapiproc) glad_glGetActiveUniformBlockName, 5, program, uniformBlockIndex, bufSize, length, uniformBlockName); + +} +PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC glad_debug_glGetActiveUniformBlockName = glad_debug_impl_glGetActiveUniformBlockName; PFNGLGETACTIVEUNIFORMBLOCKIVPROC glad_glGetActiveUniformBlockiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetActiveUniformBlockiv(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint * params) { + _pre_call_gl_callback("glGetActiveUniformBlockiv", (GLADapiproc) glad_glGetActiveUniformBlockiv, 4, program, uniformBlockIndex, pname, params); + glad_glGetActiveUniformBlockiv(program, uniformBlockIndex, pname, params); + _post_call_gl_callback(NULL, "glGetActiveUniformBlockiv", (GLADapiproc) glad_glGetActiveUniformBlockiv, 4, program, uniformBlockIndex, pname, params); + +} +PFNGLGETACTIVEUNIFORMBLOCKIVPROC glad_debug_glGetActiveUniformBlockiv = glad_debug_impl_glGetActiveUniformBlockiv; PFNGLGETACTIVEUNIFORMNAMEPROC glad_glGetActiveUniformName = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetActiveUniformName(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei * length, GLchar * uniformName) { + _pre_call_gl_callback("glGetActiveUniformName", (GLADapiproc) glad_glGetActiveUniformName, 5, program, uniformIndex, bufSize, length, uniformName); + glad_glGetActiveUniformName(program, uniformIndex, bufSize, length, uniformName); + _post_call_gl_callback(NULL, "glGetActiveUniformName", (GLADapiproc) glad_glGetActiveUniformName, 5, program, uniformIndex, bufSize, length, uniformName); + +} +PFNGLGETACTIVEUNIFORMNAMEPROC glad_debug_glGetActiveUniformName = glad_debug_impl_glGetActiveUniformName; PFNGLGETACTIVEUNIFORMSIVPROC glad_glGetActiveUniformsiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetActiveUniformsiv(GLuint program, GLsizei uniformCount, const GLuint * uniformIndices, GLenum pname, GLint * params) { + _pre_call_gl_callback("glGetActiveUniformsiv", (GLADapiproc) glad_glGetActiveUniformsiv, 5, program, uniformCount, uniformIndices, pname, params); + glad_glGetActiveUniformsiv(program, uniformCount, uniformIndices, pname, params); + _post_call_gl_callback(NULL, "glGetActiveUniformsiv", (GLADapiproc) glad_glGetActiveUniformsiv, 5, program, uniformCount, uniformIndices, pname, params); + +} +PFNGLGETACTIVEUNIFORMSIVPROC glad_debug_glGetActiveUniformsiv = glad_debug_impl_glGetActiveUniformsiv; PFNGLGETATTACHEDSHADERSPROC glad_glGetAttachedShaders = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei * count, GLuint * shaders) { + _pre_call_gl_callback("glGetAttachedShaders", (GLADapiproc) glad_glGetAttachedShaders, 4, program, maxCount, count, shaders); + glad_glGetAttachedShaders(program, maxCount, count, shaders); + _post_call_gl_callback(NULL, "glGetAttachedShaders", (GLADapiproc) glad_glGetAttachedShaders, 4, program, maxCount, count, shaders); + +} +PFNGLGETATTACHEDSHADERSPROC glad_debug_glGetAttachedShaders = glad_debug_impl_glGetAttachedShaders; PFNGLGETATTRIBLOCATIONPROC glad_glGetAttribLocation = NULL; +static GLint GLAD_API_PTR glad_debug_impl_glGetAttribLocation(GLuint program, const GLchar * name) { + GLint ret; + _pre_call_gl_callback("glGetAttribLocation", (GLADapiproc) glad_glGetAttribLocation, 2, program, name); + ret = glad_glGetAttribLocation(program, name); + _post_call_gl_callback((void*) &ret, "glGetAttribLocation", (GLADapiproc) glad_glGetAttribLocation, 2, program, name); + return ret; +} +PFNGLGETATTRIBLOCATIONPROC glad_debug_glGetAttribLocation = glad_debug_impl_glGetAttribLocation; PFNGLGETBOOLEANI_VPROC glad_glGetBooleani_v = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetBooleani_v(GLenum target, GLuint index, GLboolean * data) { + _pre_call_gl_callback("glGetBooleani_v", (GLADapiproc) glad_glGetBooleani_v, 3, target, index, data); + glad_glGetBooleani_v(target, index, data); + _post_call_gl_callback(NULL, "glGetBooleani_v", (GLADapiproc) glad_glGetBooleani_v, 3, target, index, data); + +} +PFNGLGETBOOLEANI_VPROC glad_debug_glGetBooleani_v = glad_debug_impl_glGetBooleani_v; PFNGLGETBOOLEANVPROC glad_glGetBooleanv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetBooleanv(GLenum pname, GLboolean * data) { + _pre_call_gl_callback("glGetBooleanv", (GLADapiproc) glad_glGetBooleanv, 2, pname, data); + glad_glGetBooleanv(pname, data); + _post_call_gl_callback(NULL, "glGetBooleanv", (GLADapiproc) glad_glGetBooleanv, 2, pname, data); + +} +PFNGLGETBOOLEANVPROC glad_debug_glGetBooleanv = glad_debug_impl_glGetBooleanv; PFNGLGETBUFFERPARAMETERI64VPROC glad_glGetBufferParameteri64v = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetBufferParameteri64v(GLenum target, GLenum pname, GLint64 * params) { + _pre_call_gl_callback("glGetBufferParameteri64v", (GLADapiproc) glad_glGetBufferParameteri64v, 3, target, pname, params); + glad_glGetBufferParameteri64v(target, pname, params); + _post_call_gl_callback(NULL, "glGetBufferParameteri64v", (GLADapiproc) glad_glGetBufferParameteri64v, 3, target, pname, params); + +} +PFNGLGETBUFFERPARAMETERI64VPROC glad_debug_glGetBufferParameteri64v = glad_debug_impl_glGetBufferParameteri64v; PFNGLGETBUFFERPARAMETERIVPROC glad_glGetBufferParameteriv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetBufferParameteriv(GLenum target, GLenum pname, GLint * params) { + _pre_call_gl_callback("glGetBufferParameteriv", (GLADapiproc) glad_glGetBufferParameteriv, 3, target, pname, params); + glad_glGetBufferParameteriv(target, pname, params); + _post_call_gl_callback(NULL, "glGetBufferParameteriv", (GLADapiproc) glad_glGetBufferParameteriv, 3, target, pname, params); + +} +PFNGLGETBUFFERPARAMETERIVPROC glad_debug_glGetBufferParameteriv = glad_debug_impl_glGetBufferParameteriv; PFNGLGETBUFFERPOINTERVPROC glad_glGetBufferPointerv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetBufferPointerv(GLenum target, GLenum pname, void ** params) { + _pre_call_gl_callback("glGetBufferPointerv", (GLADapiproc) glad_glGetBufferPointerv, 3, target, pname, params); + glad_glGetBufferPointerv(target, pname, params); + _post_call_gl_callback(NULL, "glGetBufferPointerv", (GLADapiproc) glad_glGetBufferPointerv, 3, target, pname, params); + +} +PFNGLGETBUFFERPOINTERVPROC glad_debug_glGetBufferPointerv = glad_debug_impl_glGetBufferPointerv; PFNGLGETBUFFERSUBDATAPROC glad_glGetBufferSubData = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, void * data) { + _pre_call_gl_callback("glGetBufferSubData", (GLADapiproc) glad_glGetBufferSubData, 4, target, offset, size, data); + glad_glGetBufferSubData(target, offset, size, data); + _post_call_gl_callback(NULL, "glGetBufferSubData", (GLADapiproc) glad_glGetBufferSubData, 4, target, offset, size, data); + +} +PFNGLGETBUFFERSUBDATAPROC glad_debug_glGetBufferSubData = glad_debug_impl_glGetBufferSubData; +PFNGLGETCLIPPLANEPROC glad_glGetClipPlane = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetClipPlane(GLenum plane, GLdouble * equation) { + _pre_call_gl_callback("glGetClipPlane", (GLADapiproc) glad_glGetClipPlane, 2, plane, equation); + glad_glGetClipPlane(plane, equation); + _post_call_gl_callback(NULL, "glGetClipPlane", (GLADapiproc) glad_glGetClipPlane, 2, plane, equation); + +} +PFNGLGETCLIPPLANEPROC glad_debug_glGetClipPlane = glad_debug_impl_glGetClipPlane; PFNGLGETCOMPRESSEDTEXIMAGEPROC glad_glGetCompressedTexImage = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetCompressedTexImage(GLenum target, GLint level, void * img) { + _pre_call_gl_callback("glGetCompressedTexImage", (GLADapiproc) glad_glGetCompressedTexImage, 3, target, level, img); + glad_glGetCompressedTexImage(target, level, img); + _post_call_gl_callback(NULL, "glGetCompressedTexImage", (GLADapiproc) glad_glGetCompressedTexImage, 3, target, level, img); + +} +PFNGLGETCOMPRESSEDTEXIMAGEPROC glad_debug_glGetCompressedTexImage = glad_debug_impl_glGetCompressedTexImage; PFNGLGETDOUBLEVPROC glad_glGetDoublev = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetDoublev(GLenum pname, GLdouble * data) { + _pre_call_gl_callback("glGetDoublev", (GLADapiproc) glad_glGetDoublev, 2, pname, data); + glad_glGetDoublev(pname, data); + _post_call_gl_callback(NULL, "glGetDoublev", (GLADapiproc) glad_glGetDoublev, 2, pname, data); + +} +PFNGLGETDOUBLEVPROC glad_debug_glGetDoublev = glad_debug_impl_glGetDoublev; PFNGLGETERRORPROC glad_glGetError = NULL; +static GLenum GLAD_API_PTR glad_debug_impl_glGetError(void) { + GLenum ret; + _pre_call_gl_callback("glGetError", (GLADapiproc) glad_glGetError, 0); + ret = glad_glGetError(); + _post_call_gl_callback((void*) &ret, "glGetError", (GLADapiproc) glad_glGetError, 0); + return ret; +} +PFNGLGETERRORPROC glad_debug_glGetError = glad_debug_impl_glGetError; PFNGLGETFLOATVPROC glad_glGetFloatv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetFloatv(GLenum pname, GLfloat * data) { + _pre_call_gl_callback("glGetFloatv", (GLADapiproc) glad_glGetFloatv, 2, pname, data); + glad_glGetFloatv(pname, data); + _post_call_gl_callback(NULL, "glGetFloatv", (GLADapiproc) glad_glGetFloatv, 2, pname, data); + +} +PFNGLGETFLOATVPROC glad_debug_glGetFloatv = glad_debug_impl_glGetFloatv; PFNGLGETFRAGDATAINDEXPROC glad_glGetFragDataIndex = NULL; +static GLint GLAD_API_PTR glad_debug_impl_glGetFragDataIndex(GLuint program, const GLchar * name) { + GLint ret; + _pre_call_gl_callback("glGetFragDataIndex", (GLADapiproc) glad_glGetFragDataIndex, 2, program, name); + ret = glad_glGetFragDataIndex(program, name); + _post_call_gl_callback((void*) &ret, "glGetFragDataIndex", (GLADapiproc) glad_glGetFragDataIndex, 2, program, name); + return ret; +} +PFNGLGETFRAGDATAINDEXPROC glad_debug_glGetFragDataIndex = glad_debug_impl_glGetFragDataIndex; PFNGLGETFRAGDATALOCATIONPROC glad_glGetFragDataLocation = NULL; +static GLint GLAD_API_PTR glad_debug_impl_glGetFragDataLocation(GLuint program, const GLchar * name) { + GLint ret; + _pre_call_gl_callback("glGetFragDataLocation", (GLADapiproc) glad_glGetFragDataLocation, 2, program, name); + ret = glad_glGetFragDataLocation(program, name); + _post_call_gl_callback((void*) &ret, "glGetFragDataLocation", (GLADapiproc) glad_glGetFragDataLocation, 2, program, name); + return ret; +} +PFNGLGETFRAGDATALOCATIONPROC glad_debug_glGetFragDataLocation = glad_debug_impl_glGetFragDataLocation; PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glad_glGetFramebufferAttachmentParameteriv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint * params) { + _pre_call_gl_callback("glGetFramebufferAttachmentParameteriv", (GLADapiproc) glad_glGetFramebufferAttachmentParameteriv, 4, target, attachment, pname, params); + glad_glGetFramebufferAttachmentParameteriv(target, attachment, pname, params); + _post_call_gl_callback(NULL, "glGetFramebufferAttachmentParameteriv", (GLADapiproc) glad_glGetFramebufferAttachmentParameteriv, 4, target, attachment, pname, params); + +} +PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glad_debug_glGetFramebufferAttachmentParameteriv = glad_debug_impl_glGetFramebufferAttachmentParameteriv; PFNGLGETINTEGER64I_VPROC glad_glGetInteger64i_v = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetInteger64i_v(GLenum target, GLuint index, GLint64 * data) { + _pre_call_gl_callback("glGetInteger64i_v", (GLADapiproc) glad_glGetInteger64i_v, 3, target, index, data); + glad_glGetInteger64i_v(target, index, data); + _post_call_gl_callback(NULL, "glGetInteger64i_v", (GLADapiproc) glad_glGetInteger64i_v, 3, target, index, data); + +} +PFNGLGETINTEGER64I_VPROC glad_debug_glGetInteger64i_v = glad_debug_impl_glGetInteger64i_v; PFNGLGETINTEGER64VPROC glad_glGetInteger64v = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetInteger64v(GLenum pname, GLint64 * data) { + _pre_call_gl_callback("glGetInteger64v", (GLADapiproc) glad_glGetInteger64v, 2, pname, data); + glad_glGetInteger64v(pname, data); + _post_call_gl_callback(NULL, "glGetInteger64v", (GLADapiproc) glad_glGetInteger64v, 2, pname, data); + +} +PFNGLGETINTEGER64VPROC glad_debug_glGetInteger64v = glad_debug_impl_glGetInteger64v; PFNGLGETINTEGERI_VPROC glad_glGetIntegeri_v = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetIntegeri_v(GLenum target, GLuint index, GLint * data) { + _pre_call_gl_callback("glGetIntegeri_v", (GLADapiproc) glad_glGetIntegeri_v, 3, target, index, data); + glad_glGetIntegeri_v(target, index, data); + _post_call_gl_callback(NULL, "glGetIntegeri_v", (GLADapiproc) glad_glGetIntegeri_v, 3, target, index, data); + +} +PFNGLGETINTEGERI_VPROC glad_debug_glGetIntegeri_v = glad_debug_impl_glGetIntegeri_v; PFNGLGETINTEGERVPROC glad_glGetIntegerv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetIntegerv(GLenum pname, GLint * data) { + _pre_call_gl_callback("glGetIntegerv", (GLADapiproc) glad_glGetIntegerv, 2, pname, data); + glad_glGetIntegerv(pname, data); + _post_call_gl_callback(NULL, "glGetIntegerv", (GLADapiproc) glad_glGetIntegerv, 2, pname, data); + +} +PFNGLGETINTEGERVPROC glad_debug_glGetIntegerv = glad_debug_impl_glGetIntegerv; +PFNGLGETLIGHTFVPROC glad_glGetLightfv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetLightfv(GLenum light, GLenum pname, GLfloat * params) { + _pre_call_gl_callback("glGetLightfv", (GLADapiproc) glad_glGetLightfv, 3, light, pname, params); + glad_glGetLightfv(light, pname, params); + _post_call_gl_callback(NULL, "glGetLightfv", (GLADapiproc) glad_glGetLightfv, 3, light, pname, params); + +} +PFNGLGETLIGHTFVPROC glad_debug_glGetLightfv = glad_debug_impl_glGetLightfv; +PFNGLGETLIGHTIVPROC glad_glGetLightiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetLightiv(GLenum light, GLenum pname, GLint * params) { + _pre_call_gl_callback("glGetLightiv", (GLADapiproc) glad_glGetLightiv, 3, light, pname, params); + glad_glGetLightiv(light, pname, params); + _post_call_gl_callback(NULL, "glGetLightiv", (GLADapiproc) glad_glGetLightiv, 3, light, pname, params); + +} +PFNGLGETLIGHTIVPROC glad_debug_glGetLightiv = glad_debug_impl_glGetLightiv; +PFNGLGETMAPDVPROC glad_glGetMapdv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetMapdv(GLenum target, GLenum query, GLdouble * v) { + _pre_call_gl_callback("glGetMapdv", (GLADapiproc) glad_glGetMapdv, 3, target, query, v); + glad_glGetMapdv(target, query, v); + _post_call_gl_callback(NULL, "glGetMapdv", (GLADapiproc) glad_glGetMapdv, 3, target, query, v); + +} +PFNGLGETMAPDVPROC glad_debug_glGetMapdv = glad_debug_impl_glGetMapdv; +PFNGLGETMAPFVPROC glad_glGetMapfv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetMapfv(GLenum target, GLenum query, GLfloat * v) { + _pre_call_gl_callback("glGetMapfv", (GLADapiproc) glad_glGetMapfv, 3, target, query, v); + glad_glGetMapfv(target, query, v); + _post_call_gl_callback(NULL, "glGetMapfv", (GLADapiproc) glad_glGetMapfv, 3, target, query, v); + +} +PFNGLGETMAPFVPROC glad_debug_glGetMapfv = glad_debug_impl_glGetMapfv; +PFNGLGETMAPIVPROC glad_glGetMapiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetMapiv(GLenum target, GLenum query, GLint * v) { + _pre_call_gl_callback("glGetMapiv", (GLADapiproc) glad_glGetMapiv, 3, target, query, v); + glad_glGetMapiv(target, query, v); + _post_call_gl_callback(NULL, "glGetMapiv", (GLADapiproc) glad_glGetMapiv, 3, target, query, v); + +} +PFNGLGETMAPIVPROC glad_debug_glGetMapiv = glad_debug_impl_glGetMapiv; +PFNGLGETMATERIALFVPROC glad_glGetMaterialfv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetMaterialfv(GLenum face, GLenum pname, GLfloat * params) { + _pre_call_gl_callback("glGetMaterialfv", (GLADapiproc) glad_glGetMaterialfv, 3, face, pname, params); + glad_glGetMaterialfv(face, pname, params); + _post_call_gl_callback(NULL, "glGetMaterialfv", (GLADapiproc) glad_glGetMaterialfv, 3, face, pname, params); + +} +PFNGLGETMATERIALFVPROC glad_debug_glGetMaterialfv = glad_debug_impl_glGetMaterialfv; +PFNGLGETMATERIALIVPROC glad_glGetMaterialiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetMaterialiv(GLenum face, GLenum pname, GLint * params) { + _pre_call_gl_callback("glGetMaterialiv", (GLADapiproc) glad_glGetMaterialiv, 3, face, pname, params); + glad_glGetMaterialiv(face, pname, params); + _post_call_gl_callback(NULL, "glGetMaterialiv", (GLADapiproc) glad_glGetMaterialiv, 3, face, pname, params); + +} +PFNGLGETMATERIALIVPROC glad_debug_glGetMaterialiv = glad_debug_impl_glGetMaterialiv; PFNGLGETMULTISAMPLEFVPROC glad_glGetMultisamplefv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetMultisamplefv(GLenum pname, GLuint index, GLfloat * val) { + _pre_call_gl_callback("glGetMultisamplefv", (GLADapiproc) glad_glGetMultisamplefv, 3, pname, index, val); + glad_glGetMultisamplefv(pname, index, val); + _post_call_gl_callback(NULL, "glGetMultisamplefv", (GLADapiproc) glad_glGetMultisamplefv, 3, pname, index, val); + +} +PFNGLGETMULTISAMPLEFVPROC glad_debug_glGetMultisamplefv = glad_debug_impl_glGetMultisamplefv; +PFNGLGETPIXELMAPFVPROC glad_glGetPixelMapfv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetPixelMapfv(GLenum map, GLfloat * values) { + _pre_call_gl_callback("glGetPixelMapfv", (GLADapiproc) glad_glGetPixelMapfv, 2, map, values); + glad_glGetPixelMapfv(map, values); + _post_call_gl_callback(NULL, "glGetPixelMapfv", (GLADapiproc) glad_glGetPixelMapfv, 2, map, values); + +} +PFNGLGETPIXELMAPFVPROC glad_debug_glGetPixelMapfv = glad_debug_impl_glGetPixelMapfv; +PFNGLGETPIXELMAPUIVPROC glad_glGetPixelMapuiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetPixelMapuiv(GLenum map, GLuint * values) { + _pre_call_gl_callback("glGetPixelMapuiv", (GLADapiproc) glad_glGetPixelMapuiv, 2, map, values); + glad_glGetPixelMapuiv(map, values); + _post_call_gl_callback(NULL, "glGetPixelMapuiv", (GLADapiproc) glad_glGetPixelMapuiv, 2, map, values); + +} +PFNGLGETPIXELMAPUIVPROC glad_debug_glGetPixelMapuiv = glad_debug_impl_glGetPixelMapuiv; +PFNGLGETPIXELMAPUSVPROC glad_glGetPixelMapusv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetPixelMapusv(GLenum map, GLushort * values) { + _pre_call_gl_callback("glGetPixelMapusv", (GLADapiproc) glad_glGetPixelMapusv, 2, map, values); + glad_glGetPixelMapusv(map, values); + _post_call_gl_callback(NULL, "glGetPixelMapusv", (GLADapiproc) glad_glGetPixelMapusv, 2, map, values); + +} +PFNGLGETPIXELMAPUSVPROC glad_debug_glGetPixelMapusv = glad_debug_impl_glGetPixelMapusv; +PFNGLGETPOINTERVPROC glad_glGetPointerv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetPointerv(GLenum pname, void ** params) { + _pre_call_gl_callback("glGetPointerv", (GLADapiproc) glad_glGetPointerv, 2, pname, params); + glad_glGetPointerv(pname, params); + _post_call_gl_callback(NULL, "glGetPointerv", (GLADapiproc) glad_glGetPointerv, 2, pname, params); + +} +PFNGLGETPOINTERVPROC glad_debug_glGetPointerv = glad_debug_impl_glGetPointerv; +PFNGLGETPOLYGONSTIPPLEPROC glad_glGetPolygonStipple = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetPolygonStipple(GLubyte * mask) { + _pre_call_gl_callback("glGetPolygonStipple", (GLADapiproc) glad_glGetPolygonStipple, 1, mask); + glad_glGetPolygonStipple(mask); + _post_call_gl_callback(NULL, "glGetPolygonStipple", (GLADapiproc) glad_glGetPolygonStipple, 1, mask); + +} +PFNGLGETPOLYGONSTIPPLEPROC glad_debug_glGetPolygonStipple = glad_debug_impl_glGetPolygonStipple; PFNGLGETPROGRAMINFOLOGPROC glad_glGetProgramInfoLog = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei * length, GLchar * infoLog) { + _pre_call_gl_callback("glGetProgramInfoLog", (GLADapiproc) glad_glGetProgramInfoLog, 4, program, bufSize, length, infoLog); + glad_glGetProgramInfoLog(program, bufSize, length, infoLog); + _post_call_gl_callback(NULL, "glGetProgramInfoLog", (GLADapiproc) glad_glGetProgramInfoLog, 4, program, bufSize, length, infoLog); + +} +PFNGLGETPROGRAMINFOLOGPROC glad_debug_glGetProgramInfoLog = glad_debug_impl_glGetProgramInfoLog; PFNGLGETPROGRAMIVPROC glad_glGetProgramiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetProgramiv(GLuint program, GLenum pname, GLint * params) { + _pre_call_gl_callback("glGetProgramiv", (GLADapiproc) glad_glGetProgramiv, 3, program, pname, params); + glad_glGetProgramiv(program, pname, params); + _post_call_gl_callback(NULL, "glGetProgramiv", (GLADapiproc) glad_glGetProgramiv, 3, program, pname, params); + +} +PFNGLGETPROGRAMIVPROC glad_debug_glGetProgramiv = glad_debug_impl_glGetProgramiv; PFNGLGETQUERYOBJECTI64VPROC glad_glGetQueryObjecti64v = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetQueryObjecti64v(GLuint id, GLenum pname, GLint64 * params) { + _pre_call_gl_callback("glGetQueryObjecti64v", (GLADapiproc) glad_glGetQueryObjecti64v, 3, id, pname, params); + glad_glGetQueryObjecti64v(id, pname, params); + _post_call_gl_callback(NULL, "glGetQueryObjecti64v", (GLADapiproc) glad_glGetQueryObjecti64v, 3, id, pname, params); + +} +PFNGLGETQUERYOBJECTI64VPROC glad_debug_glGetQueryObjecti64v = glad_debug_impl_glGetQueryObjecti64v; PFNGLGETQUERYOBJECTIVPROC glad_glGetQueryObjectiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetQueryObjectiv(GLuint id, GLenum pname, GLint * params) { + _pre_call_gl_callback("glGetQueryObjectiv", (GLADapiproc) glad_glGetQueryObjectiv, 3, id, pname, params); + glad_glGetQueryObjectiv(id, pname, params); + _post_call_gl_callback(NULL, "glGetQueryObjectiv", (GLADapiproc) glad_glGetQueryObjectiv, 3, id, pname, params); + +} +PFNGLGETQUERYOBJECTIVPROC glad_debug_glGetQueryObjectiv = glad_debug_impl_glGetQueryObjectiv; PFNGLGETQUERYOBJECTUI64VPROC glad_glGetQueryObjectui64v = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetQueryObjectui64v(GLuint id, GLenum pname, GLuint64 * params) { + _pre_call_gl_callback("glGetQueryObjectui64v", (GLADapiproc) glad_glGetQueryObjectui64v, 3, id, pname, params); + glad_glGetQueryObjectui64v(id, pname, params); + _post_call_gl_callback(NULL, "glGetQueryObjectui64v", (GLADapiproc) glad_glGetQueryObjectui64v, 3, id, pname, params); + +} +PFNGLGETQUERYOBJECTUI64VPROC glad_debug_glGetQueryObjectui64v = glad_debug_impl_glGetQueryObjectui64v; PFNGLGETQUERYOBJECTUIVPROC glad_glGetQueryObjectuiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint * params) { + _pre_call_gl_callback("glGetQueryObjectuiv", (GLADapiproc) glad_glGetQueryObjectuiv, 3, id, pname, params); + glad_glGetQueryObjectuiv(id, pname, params); + _post_call_gl_callback(NULL, "glGetQueryObjectuiv", (GLADapiproc) glad_glGetQueryObjectuiv, 3, id, pname, params); + +} +PFNGLGETQUERYOBJECTUIVPROC glad_debug_glGetQueryObjectuiv = glad_debug_impl_glGetQueryObjectuiv; PFNGLGETQUERYIVPROC glad_glGetQueryiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetQueryiv(GLenum target, GLenum pname, GLint * params) { + _pre_call_gl_callback("glGetQueryiv", (GLADapiproc) glad_glGetQueryiv, 3, target, pname, params); + glad_glGetQueryiv(target, pname, params); + _post_call_gl_callback(NULL, "glGetQueryiv", (GLADapiproc) glad_glGetQueryiv, 3, target, pname, params); + +} +PFNGLGETQUERYIVPROC glad_debug_glGetQueryiv = glad_debug_impl_glGetQueryiv; PFNGLGETRENDERBUFFERPARAMETERIVPROC glad_glGetRenderbufferParameteriv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint * params) { + _pre_call_gl_callback("glGetRenderbufferParameteriv", (GLADapiproc) glad_glGetRenderbufferParameteriv, 3, target, pname, params); + glad_glGetRenderbufferParameteriv(target, pname, params); + _post_call_gl_callback(NULL, "glGetRenderbufferParameteriv", (GLADapiproc) glad_glGetRenderbufferParameteriv, 3, target, pname, params); + +} +PFNGLGETRENDERBUFFERPARAMETERIVPROC glad_debug_glGetRenderbufferParameteriv = glad_debug_impl_glGetRenderbufferParameteriv; PFNGLGETSAMPLERPARAMETERIIVPROC glad_glGetSamplerParameterIiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetSamplerParameterIiv(GLuint sampler, GLenum pname, GLint * params) { + _pre_call_gl_callback("glGetSamplerParameterIiv", (GLADapiproc) glad_glGetSamplerParameterIiv, 3, sampler, pname, params); + glad_glGetSamplerParameterIiv(sampler, pname, params); + _post_call_gl_callback(NULL, "glGetSamplerParameterIiv", (GLADapiproc) glad_glGetSamplerParameterIiv, 3, sampler, pname, params); + +} +PFNGLGETSAMPLERPARAMETERIIVPROC glad_debug_glGetSamplerParameterIiv = glad_debug_impl_glGetSamplerParameterIiv; PFNGLGETSAMPLERPARAMETERIUIVPROC glad_glGetSamplerParameterIuiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetSamplerParameterIuiv(GLuint sampler, GLenum pname, GLuint * params) { + _pre_call_gl_callback("glGetSamplerParameterIuiv", (GLADapiproc) glad_glGetSamplerParameterIuiv, 3, sampler, pname, params); + glad_glGetSamplerParameterIuiv(sampler, pname, params); + _post_call_gl_callback(NULL, "glGetSamplerParameterIuiv", (GLADapiproc) glad_glGetSamplerParameterIuiv, 3, sampler, pname, params); + +} +PFNGLGETSAMPLERPARAMETERIUIVPROC glad_debug_glGetSamplerParameterIuiv = glad_debug_impl_glGetSamplerParameterIuiv; PFNGLGETSAMPLERPARAMETERFVPROC glad_glGetSamplerParameterfv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetSamplerParameterfv(GLuint sampler, GLenum pname, GLfloat * params) { + _pre_call_gl_callback("glGetSamplerParameterfv", (GLADapiproc) glad_glGetSamplerParameterfv, 3, sampler, pname, params); + glad_glGetSamplerParameterfv(sampler, pname, params); + _post_call_gl_callback(NULL, "glGetSamplerParameterfv", (GLADapiproc) glad_glGetSamplerParameterfv, 3, sampler, pname, params); + +} +PFNGLGETSAMPLERPARAMETERFVPROC glad_debug_glGetSamplerParameterfv = glad_debug_impl_glGetSamplerParameterfv; PFNGLGETSAMPLERPARAMETERIVPROC glad_glGetSamplerParameteriv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetSamplerParameteriv(GLuint sampler, GLenum pname, GLint * params) { + _pre_call_gl_callback("glGetSamplerParameteriv", (GLADapiproc) glad_glGetSamplerParameteriv, 3, sampler, pname, params); + glad_glGetSamplerParameteriv(sampler, pname, params); + _post_call_gl_callback(NULL, "glGetSamplerParameteriv", (GLADapiproc) glad_glGetSamplerParameteriv, 3, sampler, pname, params); + +} +PFNGLGETSAMPLERPARAMETERIVPROC glad_debug_glGetSamplerParameteriv = glad_debug_impl_glGetSamplerParameteriv; PFNGLGETSHADERINFOLOGPROC glad_glGetShaderInfoLog = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * infoLog) { + _pre_call_gl_callback("glGetShaderInfoLog", (GLADapiproc) glad_glGetShaderInfoLog, 4, shader, bufSize, length, infoLog); + glad_glGetShaderInfoLog(shader, bufSize, length, infoLog); + _post_call_gl_callback(NULL, "glGetShaderInfoLog", (GLADapiproc) glad_glGetShaderInfoLog, 4, shader, bufSize, length, infoLog); + +} +PFNGLGETSHADERINFOLOGPROC glad_debug_glGetShaderInfoLog = glad_debug_impl_glGetShaderInfoLog; PFNGLGETSHADERSOURCEPROC glad_glGetShaderSource = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * source) { + _pre_call_gl_callback("glGetShaderSource", (GLADapiproc) glad_glGetShaderSource, 4, shader, bufSize, length, source); + glad_glGetShaderSource(shader, bufSize, length, source); + _post_call_gl_callback(NULL, "glGetShaderSource", (GLADapiproc) glad_glGetShaderSource, 4, shader, bufSize, length, source); + +} +PFNGLGETSHADERSOURCEPROC glad_debug_glGetShaderSource = glad_debug_impl_glGetShaderSource; PFNGLGETSHADERIVPROC glad_glGetShaderiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetShaderiv(GLuint shader, GLenum pname, GLint * params) { + _pre_call_gl_callback("glGetShaderiv", (GLADapiproc) glad_glGetShaderiv, 3, shader, pname, params); + glad_glGetShaderiv(shader, pname, params); + _post_call_gl_callback(NULL, "glGetShaderiv", (GLADapiproc) glad_glGetShaderiv, 3, shader, pname, params); + +} +PFNGLGETSHADERIVPROC glad_debug_glGetShaderiv = glad_debug_impl_glGetShaderiv; PFNGLGETSTRINGPROC glad_glGetString = NULL; +static const GLubyte * GLAD_API_PTR glad_debug_impl_glGetString(GLenum name) { + const GLubyte * ret; + _pre_call_gl_callback("glGetString", (GLADapiproc) glad_glGetString, 1, name); + ret = glad_glGetString(name); + _post_call_gl_callback((void*) &ret, "glGetString", (GLADapiproc) glad_glGetString, 1, name); + return ret; +} +PFNGLGETSTRINGPROC glad_debug_glGetString = glad_debug_impl_glGetString; PFNGLGETSTRINGIPROC glad_glGetStringi = NULL; +static const GLubyte * GLAD_API_PTR glad_debug_impl_glGetStringi(GLenum name, GLuint index) { + const GLubyte * ret; + _pre_call_gl_callback("glGetStringi", (GLADapiproc) glad_glGetStringi, 2, name, index); + ret = glad_glGetStringi(name, index); + _post_call_gl_callback((void*) &ret, "glGetStringi", (GLADapiproc) glad_glGetStringi, 2, name, index); + return ret; +} +PFNGLGETSTRINGIPROC glad_debug_glGetStringi = glad_debug_impl_glGetStringi; PFNGLGETSYNCIVPROC glad_glGetSynciv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetSynciv(GLsync sync, GLenum pname, GLsizei count, GLsizei * length, GLint * values) { + _pre_call_gl_callback("glGetSynciv", (GLADapiproc) glad_glGetSynciv, 5, sync, pname, count, length, values); + glad_glGetSynciv(sync, pname, count, length, values); + _post_call_gl_callback(NULL, "glGetSynciv", (GLADapiproc) glad_glGetSynciv, 5, sync, pname, count, length, values); + +} +PFNGLGETSYNCIVPROC glad_debug_glGetSynciv = glad_debug_impl_glGetSynciv; +PFNGLGETTEXENVFVPROC glad_glGetTexEnvfv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetTexEnvfv(GLenum target, GLenum pname, GLfloat * params) { + _pre_call_gl_callback("glGetTexEnvfv", (GLADapiproc) glad_glGetTexEnvfv, 3, target, pname, params); + glad_glGetTexEnvfv(target, pname, params); + _post_call_gl_callback(NULL, "glGetTexEnvfv", (GLADapiproc) glad_glGetTexEnvfv, 3, target, pname, params); + +} +PFNGLGETTEXENVFVPROC glad_debug_glGetTexEnvfv = glad_debug_impl_glGetTexEnvfv; +PFNGLGETTEXENVIVPROC glad_glGetTexEnviv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetTexEnviv(GLenum target, GLenum pname, GLint * params) { + _pre_call_gl_callback("glGetTexEnviv", (GLADapiproc) glad_glGetTexEnviv, 3, target, pname, params); + glad_glGetTexEnviv(target, pname, params); + _post_call_gl_callback(NULL, "glGetTexEnviv", (GLADapiproc) glad_glGetTexEnviv, 3, target, pname, params); + +} +PFNGLGETTEXENVIVPROC glad_debug_glGetTexEnviv = glad_debug_impl_glGetTexEnviv; +PFNGLGETTEXGENDVPROC glad_glGetTexGendv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetTexGendv(GLenum coord, GLenum pname, GLdouble * params) { + _pre_call_gl_callback("glGetTexGendv", (GLADapiproc) glad_glGetTexGendv, 3, coord, pname, params); + glad_glGetTexGendv(coord, pname, params); + _post_call_gl_callback(NULL, "glGetTexGendv", (GLADapiproc) glad_glGetTexGendv, 3, coord, pname, params); + +} +PFNGLGETTEXGENDVPROC glad_debug_glGetTexGendv = glad_debug_impl_glGetTexGendv; +PFNGLGETTEXGENFVPROC glad_glGetTexGenfv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetTexGenfv(GLenum coord, GLenum pname, GLfloat * params) { + _pre_call_gl_callback("glGetTexGenfv", (GLADapiproc) glad_glGetTexGenfv, 3, coord, pname, params); + glad_glGetTexGenfv(coord, pname, params); + _post_call_gl_callback(NULL, "glGetTexGenfv", (GLADapiproc) glad_glGetTexGenfv, 3, coord, pname, params); + +} +PFNGLGETTEXGENFVPROC glad_debug_glGetTexGenfv = glad_debug_impl_glGetTexGenfv; +PFNGLGETTEXGENIVPROC glad_glGetTexGeniv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetTexGeniv(GLenum coord, GLenum pname, GLint * params) { + _pre_call_gl_callback("glGetTexGeniv", (GLADapiproc) glad_glGetTexGeniv, 3, coord, pname, params); + glad_glGetTexGeniv(coord, pname, params); + _post_call_gl_callback(NULL, "glGetTexGeniv", (GLADapiproc) glad_glGetTexGeniv, 3, coord, pname, params); + +} +PFNGLGETTEXGENIVPROC glad_debug_glGetTexGeniv = glad_debug_impl_glGetTexGeniv; PFNGLGETTEXIMAGEPROC glad_glGetTexImage = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, void * pixels) { + _pre_call_gl_callback("glGetTexImage", (GLADapiproc) glad_glGetTexImage, 5, target, level, format, type, pixels); + glad_glGetTexImage(target, level, format, type, pixels); + _post_call_gl_callback(NULL, "glGetTexImage", (GLADapiproc) glad_glGetTexImage, 5, target, level, format, type, pixels); + +} +PFNGLGETTEXIMAGEPROC glad_debug_glGetTexImage = glad_debug_impl_glGetTexImage; PFNGLGETTEXLEVELPARAMETERFVPROC glad_glGetTexLevelParameterfv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat * params) { + _pre_call_gl_callback("glGetTexLevelParameterfv", (GLADapiproc) glad_glGetTexLevelParameterfv, 4, target, level, pname, params); + glad_glGetTexLevelParameterfv(target, level, pname, params); + _post_call_gl_callback(NULL, "glGetTexLevelParameterfv", (GLADapiproc) glad_glGetTexLevelParameterfv, 4, target, level, pname, params); + +} +PFNGLGETTEXLEVELPARAMETERFVPROC glad_debug_glGetTexLevelParameterfv = glad_debug_impl_glGetTexLevelParameterfv; PFNGLGETTEXLEVELPARAMETERIVPROC glad_glGetTexLevelParameteriv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint * params) { + _pre_call_gl_callback("glGetTexLevelParameteriv", (GLADapiproc) glad_glGetTexLevelParameteriv, 4, target, level, pname, params); + glad_glGetTexLevelParameteriv(target, level, pname, params); + _post_call_gl_callback(NULL, "glGetTexLevelParameteriv", (GLADapiproc) glad_glGetTexLevelParameteriv, 4, target, level, pname, params); + +} +PFNGLGETTEXLEVELPARAMETERIVPROC glad_debug_glGetTexLevelParameteriv = glad_debug_impl_glGetTexLevelParameteriv; PFNGLGETTEXPARAMETERIIVPROC glad_glGetTexParameterIiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetTexParameterIiv(GLenum target, GLenum pname, GLint * params) { + _pre_call_gl_callback("glGetTexParameterIiv", (GLADapiproc) glad_glGetTexParameterIiv, 3, target, pname, params); + glad_glGetTexParameterIiv(target, pname, params); + _post_call_gl_callback(NULL, "glGetTexParameterIiv", (GLADapiproc) glad_glGetTexParameterIiv, 3, target, pname, params); + +} +PFNGLGETTEXPARAMETERIIVPROC glad_debug_glGetTexParameterIiv = glad_debug_impl_glGetTexParameterIiv; PFNGLGETTEXPARAMETERIUIVPROC glad_glGetTexParameterIuiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetTexParameterIuiv(GLenum target, GLenum pname, GLuint * params) { + _pre_call_gl_callback("glGetTexParameterIuiv", (GLADapiproc) glad_glGetTexParameterIuiv, 3, target, pname, params); + glad_glGetTexParameterIuiv(target, pname, params); + _post_call_gl_callback(NULL, "glGetTexParameterIuiv", (GLADapiproc) glad_glGetTexParameterIuiv, 3, target, pname, params); + +} +PFNGLGETTEXPARAMETERIUIVPROC glad_debug_glGetTexParameterIuiv = glad_debug_impl_glGetTexParameterIuiv; PFNGLGETTEXPARAMETERFVPROC glad_glGetTexParameterfv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetTexParameterfv(GLenum target, GLenum pname, GLfloat * params) { + _pre_call_gl_callback("glGetTexParameterfv", (GLADapiproc) glad_glGetTexParameterfv, 3, target, pname, params); + glad_glGetTexParameterfv(target, pname, params); + _post_call_gl_callback(NULL, "glGetTexParameterfv", (GLADapiproc) glad_glGetTexParameterfv, 3, target, pname, params); + +} +PFNGLGETTEXPARAMETERFVPROC glad_debug_glGetTexParameterfv = glad_debug_impl_glGetTexParameterfv; PFNGLGETTEXPARAMETERIVPROC glad_glGetTexParameteriv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetTexParameteriv(GLenum target, GLenum pname, GLint * params) { + _pre_call_gl_callback("glGetTexParameteriv", (GLADapiproc) glad_glGetTexParameteriv, 3, target, pname, params); + glad_glGetTexParameteriv(target, pname, params); + _post_call_gl_callback(NULL, "glGetTexParameteriv", (GLADapiproc) glad_glGetTexParameteriv, 3, target, pname, params); + +} +PFNGLGETTEXPARAMETERIVPROC glad_debug_glGetTexParameteriv = glad_debug_impl_glGetTexParameteriv; PFNGLGETTRANSFORMFEEDBACKVARYINGPROC glad_glGetTransformFeedbackVarying = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetTransformFeedbackVarying(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLsizei * size, GLenum * type, GLchar * name) { + _pre_call_gl_callback("glGetTransformFeedbackVarying", (GLADapiproc) glad_glGetTransformFeedbackVarying, 7, program, index, bufSize, length, size, type, name); + glad_glGetTransformFeedbackVarying(program, index, bufSize, length, size, type, name); + _post_call_gl_callback(NULL, "glGetTransformFeedbackVarying", (GLADapiproc) glad_glGetTransformFeedbackVarying, 7, program, index, bufSize, length, size, type, name); + +} +PFNGLGETTRANSFORMFEEDBACKVARYINGPROC glad_debug_glGetTransformFeedbackVarying = glad_debug_impl_glGetTransformFeedbackVarying; PFNGLGETUNIFORMBLOCKINDEXPROC glad_glGetUniformBlockIndex = NULL; +static GLuint GLAD_API_PTR glad_debug_impl_glGetUniformBlockIndex(GLuint program, const GLchar * uniformBlockName) { + GLuint ret; + _pre_call_gl_callback("glGetUniformBlockIndex", (GLADapiproc) glad_glGetUniformBlockIndex, 2, program, uniformBlockName); + ret = glad_glGetUniformBlockIndex(program, uniformBlockName); + _post_call_gl_callback((void*) &ret, "glGetUniformBlockIndex", (GLADapiproc) glad_glGetUniformBlockIndex, 2, program, uniformBlockName); + return ret; +} +PFNGLGETUNIFORMBLOCKINDEXPROC glad_debug_glGetUniformBlockIndex = glad_debug_impl_glGetUniformBlockIndex; PFNGLGETUNIFORMINDICESPROC glad_glGetUniformIndices = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetUniformIndices(GLuint program, GLsizei uniformCount, const GLchar *const* uniformNames, GLuint * uniformIndices) { + _pre_call_gl_callback("glGetUniformIndices", (GLADapiproc) glad_glGetUniformIndices, 4, program, uniformCount, uniformNames, uniformIndices); + glad_glGetUniformIndices(program, uniformCount, uniformNames, uniformIndices); + _post_call_gl_callback(NULL, "glGetUniformIndices", (GLADapiproc) glad_glGetUniformIndices, 4, program, uniformCount, uniformNames, uniformIndices); + +} +PFNGLGETUNIFORMINDICESPROC glad_debug_glGetUniformIndices = glad_debug_impl_glGetUniformIndices; PFNGLGETUNIFORMLOCATIONPROC glad_glGetUniformLocation = NULL; +static GLint GLAD_API_PTR glad_debug_impl_glGetUniformLocation(GLuint program, const GLchar * name) { + GLint ret; + _pre_call_gl_callback("glGetUniformLocation", (GLADapiproc) glad_glGetUniformLocation, 2, program, name); + ret = glad_glGetUniformLocation(program, name); + _post_call_gl_callback((void*) &ret, "glGetUniformLocation", (GLADapiproc) glad_glGetUniformLocation, 2, program, name); + return ret; +} +PFNGLGETUNIFORMLOCATIONPROC glad_debug_glGetUniformLocation = glad_debug_impl_glGetUniformLocation; PFNGLGETUNIFORMFVPROC glad_glGetUniformfv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetUniformfv(GLuint program, GLint location, GLfloat * params) { + _pre_call_gl_callback("glGetUniformfv", (GLADapiproc) glad_glGetUniformfv, 3, program, location, params); + glad_glGetUniformfv(program, location, params); + _post_call_gl_callback(NULL, "glGetUniformfv", (GLADapiproc) glad_glGetUniformfv, 3, program, location, params); + +} +PFNGLGETUNIFORMFVPROC glad_debug_glGetUniformfv = glad_debug_impl_glGetUniformfv; PFNGLGETUNIFORMIVPROC glad_glGetUniformiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetUniformiv(GLuint program, GLint location, GLint * params) { + _pre_call_gl_callback("glGetUniformiv", (GLADapiproc) glad_glGetUniformiv, 3, program, location, params); + glad_glGetUniformiv(program, location, params); + _post_call_gl_callback(NULL, "glGetUniformiv", (GLADapiproc) glad_glGetUniformiv, 3, program, location, params); + +} +PFNGLGETUNIFORMIVPROC glad_debug_glGetUniformiv = glad_debug_impl_glGetUniformiv; PFNGLGETUNIFORMUIVPROC glad_glGetUniformuiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetUniformuiv(GLuint program, GLint location, GLuint * params) { + _pre_call_gl_callback("glGetUniformuiv", (GLADapiproc) glad_glGetUniformuiv, 3, program, location, params); + glad_glGetUniformuiv(program, location, params); + _post_call_gl_callback(NULL, "glGetUniformuiv", (GLADapiproc) glad_glGetUniformuiv, 3, program, location, params); + +} +PFNGLGETUNIFORMUIVPROC glad_debug_glGetUniformuiv = glad_debug_impl_glGetUniformuiv; PFNGLGETVERTEXATTRIBIIVPROC glad_glGetVertexAttribIiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetVertexAttribIiv(GLuint index, GLenum pname, GLint * params) { + _pre_call_gl_callback("glGetVertexAttribIiv", (GLADapiproc) glad_glGetVertexAttribIiv, 3, index, pname, params); + glad_glGetVertexAttribIiv(index, pname, params); + _post_call_gl_callback(NULL, "glGetVertexAttribIiv", (GLADapiproc) glad_glGetVertexAttribIiv, 3, index, pname, params); + +} +PFNGLGETVERTEXATTRIBIIVPROC glad_debug_glGetVertexAttribIiv = glad_debug_impl_glGetVertexAttribIiv; PFNGLGETVERTEXATTRIBIUIVPROC glad_glGetVertexAttribIuiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetVertexAttribIuiv(GLuint index, GLenum pname, GLuint * params) { + _pre_call_gl_callback("glGetVertexAttribIuiv", (GLADapiproc) glad_glGetVertexAttribIuiv, 3, index, pname, params); + glad_glGetVertexAttribIuiv(index, pname, params); + _post_call_gl_callback(NULL, "glGetVertexAttribIuiv", (GLADapiproc) glad_glGetVertexAttribIuiv, 3, index, pname, params); + +} +PFNGLGETVERTEXATTRIBIUIVPROC glad_debug_glGetVertexAttribIuiv = glad_debug_impl_glGetVertexAttribIuiv; PFNGLGETVERTEXATTRIBPOINTERVPROC glad_glGetVertexAttribPointerv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetVertexAttribPointerv(GLuint index, GLenum pname, void ** pointer) { + _pre_call_gl_callback("glGetVertexAttribPointerv", (GLADapiproc) glad_glGetVertexAttribPointerv, 3, index, pname, pointer); + glad_glGetVertexAttribPointerv(index, pname, pointer); + _post_call_gl_callback(NULL, "glGetVertexAttribPointerv", (GLADapiproc) glad_glGetVertexAttribPointerv, 3, index, pname, pointer); + +} +PFNGLGETVERTEXATTRIBPOINTERVPROC glad_debug_glGetVertexAttribPointerv = glad_debug_impl_glGetVertexAttribPointerv; PFNGLGETVERTEXATTRIBDVPROC glad_glGetVertexAttribdv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetVertexAttribdv(GLuint index, GLenum pname, GLdouble * params) { + _pre_call_gl_callback("glGetVertexAttribdv", (GLADapiproc) glad_glGetVertexAttribdv, 3, index, pname, params); + glad_glGetVertexAttribdv(index, pname, params); + _post_call_gl_callback(NULL, "glGetVertexAttribdv", (GLADapiproc) glad_glGetVertexAttribdv, 3, index, pname, params); + +} +PFNGLGETVERTEXATTRIBDVPROC glad_debug_glGetVertexAttribdv = glad_debug_impl_glGetVertexAttribdv; PFNGLGETVERTEXATTRIBFVPROC glad_glGetVertexAttribfv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat * params) { + _pre_call_gl_callback("glGetVertexAttribfv", (GLADapiproc) glad_glGetVertexAttribfv, 3, index, pname, params); + glad_glGetVertexAttribfv(index, pname, params); + _post_call_gl_callback(NULL, "glGetVertexAttribfv", (GLADapiproc) glad_glGetVertexAttribfv, 3, index, pname, params); + +} +PFNGLGETVERTEXATTRIBFVPROC glad_debug_glGetVertexAttribfv = glad_debug_impl_glGetVertexAttribfv; PFNGLGETVERTEXATTRIBIVPROC glad_glGetVertexAttribiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glGetVertexAttribiv(GLuint index, GLenum pname, GLint * params) { + _pre_call_gl_callback("glGetVertexAttribiv", (GLADapiproc) glad_glGetVertexAttribiv, 3, index, pname, params); + glad_glGetVertexAttribiv(index, pname, params); + _post_call_gl_callback(NULL, "glGetVertexAttribiv", (GLADapiproc) glad_glGetVertexAttribiv, 3, index, pname, params); + +} +PFNGLGETVERTEXATTRIBIVPROC glad_debug_glGetVertexAttribiv = glad_debug_impl_glGetVertexAttribiv; PFNGLHINTPROC glad_glHint = NULL; +static void GLAD_API_PTR glad_debug_impl_glHint(GLenum target, GLenum mode) { + _pre_call_gl_callback("glHint", (GLADapiproc) glad_glHint, 2, target, mode); + glad_glHint(target, mode); + _post_call_gl_callback(NULL, "glHint", (GLADapiproc) glad_glHint, 2, target, mode); + +} +PFNGLHINTPROC glad_debug_glHint = glad_debug_impl_glHint; +PFNGLINDEXMASKPROC glad_glIndexMask = NULL; +static void GLAD_API_PTR glad_debug_impl_glIndexMask(GLuint mask) { + _pre_call_gl_callback("glIndexMask", (GLADapiproc) glad_glIndexMask, 1, mask); + glad_glIndexMask(mask); + _post_call_gl_callback(NULL, "glIndexMask", (GLADapiproc) glad_glIndexMask, 1, mask); + +} +PFNGLINDEXMASKPROC glad_debug_glIndexMask = glad_debug_impl_glIndexMask; +PFNGLINDEXPOINTERPROC glad_glIndexPointer = NULL; +static void GLAD_API_PTR glad_debug_impl_glIndexPointer(GLenum type, GLsizei stride, const void * pointer) { + _pre_call_gl_callback("glIndexPointer", (GLADapiproc) glad_glIndexPointer, 3, type, stride, pointer); + glad_glIndexPointer(type, stride, pointer); + _post_call_gl_callback(NULL, "glIndexPointer", (GLADapiproc) glad_glIndexPointer, 3, type, stride, pointer); + +} +PFNGLINDEXPOINTERPROC glad_debug_glIndexPointer = glad_debug_impl_glIndexPointer; +PFNGLINDEXDPROC glad_glIndexd = NULL; +static void GLAD_API_PTR glad_debug_impl_glIndexd(GLdouble c) { + _pre_call_gl_callback("glIndexd", (GLADapiproc) glad_glIndexd, 1, c); + glad_glIndexd(c); + _post_call_gl_callback(NULL, "glIndexd", (GLADapiproc) glad_glIndexd, 1, c); + +} +PFNGLINDEXDPROC glad_debug_glIndexd = glad_debug_impl_glIndexd; +PFNGLINDEXDVPROC glad_glIndexdv = NULL; +static void GLAD_API_PTR glad_debug_impl_glIndexdv(const GLdouble * c) { + _pre_call_gl_callback("glIndexdv", (GLADapiproc) glad_glIndexdv, 1, c); + glad_glIndexdv(c); + _post_call_gl_callback(NULL, "glIndexdv", (GLADapiproc) glad_glIndexdv, 1, c); + +} +PFNGLINDEXDVPROC glad_debug_glIndexdv = glad_debug_impl_glIndexdv; +PFNGLINDEXFPROC glad_glIndexf = NULL; +static void GLAD_API_PTR glad_debug_impl_glIndexf(GLfloat c) { + _pre_call_gl_callback("glIndexf", (GLADapiproc) glad_glIndexf, 1, c); + glad_glIndexf(c); + _post_call_gl_callback(NULL, "glIndexf", (GLADapiproc) glad_glIndexf, 1, c); + +} +PFNGLINDEXFPROC glad_debug_glIndexf = glad_debug_impl_glIndexf; +PFNGLINDEXFVPROC glad_glIndexfv = NULL; +static void GLAD_API_PTR glad_debug_impl_glIndexfv(const GLfloat * c) { + _pre_call_gl_callback("glIndexfv", (GLADapiproc) glad_glIndexfv, 1, c); + glad_glIndexfv(c); + _post_call_gl_callback(NULL, "glIndexfv", (GLADapiproc) glad_glIndexfv, 1, c); + +} +PFNGLINDEXFVPROC glad_debug_glIndexfv = glad_debug_impl_glIndexfv; +PFNGLINDEXIPROC glad_glIndexi = NULL; +static void GLAD_API_PTR glad_debug_impl_glIndexi(GLint c) { + _pre_call_gl_callback("glIndexi", (GLADapiproc) glad_glIndexi, 1, c); + glad_glIndexi(c); + _post_call_gl_callback(NULL, "glIndexi", (GLADapiproc) glad_glIndexi, 1, c); + +} +PFNGLINDEXIPROC glad_debug_glIndexi = glad_debug_impl_glIndexi; +PFNGLINDEXIVPROC glad_glIndexiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glIndexiv(const GLint * c) { + _pre_call_gl_callback("glIndexiv", (GLADapiproc) glad_glIndexiv, 1, c); + glad_glIndexiv(c); + _post_call_gl_callback(NULL, "glIndexiv", (GLADapiproc) glad_glIndexiv, 1, c); + +} +PFNGLINDEXIVPROC glad_debug_glIndexiv = glad_debug_impl_glIndexiv; +PFNGLINDEXSPROC glad_glIndexs = NULL; +static void GLAD_API_PTR glad_debug_impl_glIndexs(GLshort c) { + _pre_call_gl_callback("glIndexs", (GLADapiproc) glad_glIndexs, 1, c); + glad_glIndexs(c); + _post_call_gl_callback(NULL, "glIndexs", (GLADapiproc) glad_glIndexs, 1, c); + +} +PFNGLINDEXSPROC glad_debug_glIndexs = glad_debug_impl_glIndexs; +PFNGLINDEXSVPROC glad_glIndexsv = NULL; +static void GLAD_API_PTR glad_debug_impl_glIndexsv(const GLshort * c) { + _pre_call_gl_callback("glIndexsv", (GLADapiproc) glad_glIndexsv, 1, c); + glad_glIndexsv(c); + _post_call_gl_callback(NULL, "glIndexsv", (GLADapiproc) glad_glIndexsv, 1, c); + +} +PFNGLINDEXSVPROC glad_debug_glIndexsv = glad_debug_impl_glIndexsv; +PFNGLINDEXUBPROC glad_glIndexub = NULL; +static void GLAD_API_PTR glad_debug_impl_glIndexub(GLubyte c) { + _pre_call_gl_callback("glIndexub", (GLADapiproc) glad_glIndexub, 1, c); + glad_glIndexub(c); + _post_call_gl_callback(NULL, "glIndexub", (GLADapiproc) glad_glIndexub, 1, c); + +} +PFNGLINDEXUBPROC glad_debug_glIndexub = glad_debug_impl_glIndexub; +PFNGLINDEXUBVPROC glad_glIndexubv = NULL; +static void GLAD_API_PTR glad_debug_impl_glIndexubv(const GLubyte * c) { + _pre_call_gl_callback("glIndexubv", (GLADapiproc) glad_glIndexubv, 1, c); + glad_glIndexubv(c); + _post_call_gl_callback(NULL, "glIndexubv", (GLADapiproc) glad_glIndexubv, 1, c); + +} +PFNGLINDEXUBVPROC glad_debug_glIndexubv = glad_debug_impl_glIndexubv; +PFNGLINITNAMESPROC glad_glInitNames = NULL; +static void GLAD_API_PTR glad_debug_impl_glInitNames(void) { + _pre_call_gl_callback("glInitNames", (GLADapiproc) glad_glInitNames, 0); + glad_glInitNames(); + _post_call_gl_callback(NULL, "glInitNames", (GLADapiproc) glad_glInitNames, 0); + +} +PFNGLINITNAMESPROC glad_debug_glInitNames = glad_debug_impl_glInitNames; +PFNGLINTERLEAVEDARRAYSPROC glad_glInterleavedArrays = NULL; +static void GLAD_API_PTR glad_debug_impl_glInterleavedArrays(GLenum format, GLsizei stride, const void * pointer) { + _pre_call_gl_callback("glInterleavedArrays", (GLADapiproc) glad_glInterleavedArrays, 3, format, stride, pointer); + glad_glInterleavedArrays(format, stride, pointer); + _post_call_gl_callback(NULL, "glInterleavedArrays", (GLADapiproc) glad_glInterleavedArrays, 3, format, stride, pointer); + +} +PFNGLINTERLEAVEDARRAYSPROC glad_debug_glInterleavedArrays = glad_debug_impl_glInterleavedArrays; PFNGLISBUFFERPROC glad_glIsBuffer = NULL; +static GLboolean GLAD_API_PTR glad_debug_impl_glIsBuffer(GLuint buffer) { + GLboolean ret; + _pre_call_gl_callback("glIsBuffer", (GLADapiproc) glad_glIsBuffer, 1, buffer); + ret = glad_glIsBuffer(buffer); + _post_call_gl_callback((void*) &ret, "glIsBuffer", (GLADapiproc) glad_glIsBuffer, 1, buffer); + return ret; +} +PFNGLISBUFFERPROC glad_debug_glIsBuffer = glad_debug_impl_glIsBuffer; PFNGLISENABLEDPROC glad_glIsEnabled = NULL; +static GLboolean GLAD_API_PTR glad_debug_impl_glIsEnabled(GLenum cap) { + GLboolean ret; + _pre_call_gl_callback("glIsEnabled", (GLADapiproc) glad_glIsEnabled, 1, cap); + ret = glad_glIsEnabled(cap); + _post_call_gl_callback((void*) &ret, "glIsEnabled", (GLADapiproc) glad_glIsEnabled, 1, cap); + return ret; +} +PFNGLISENABLEDPROC glad_debug_glIsEnabled = glad_debug_impl_glIsEnabled; PFNGLISENABLEDIPROC glad_glIsEnabledi = NULL; +static GLboolean GLAD_API_PTR glad_debug_impl_glIsEnabledi(GLenum target, GLuint index) { + GLboolean ret; + _pre_call_gl_callback("glIsEnabledi", (GLADapiproc) glad_glIsEnabledi, 2, target, index); + ret = glad_glIsEnabledi(target, index); + _post_call_gl_callback((void*) &ret, "glIsEnabledi", (GLADapiproc) glad_glIsEnabledi, 2, target, index); + return ret; +} +PFNGLISENABLEDIPROC glad_debug_glIsEnabledi = glad_debug_impl_glIsEnabledi; PFNGLISFRAMEBUFFERPROC glad_glIsFramebuffer = NULL; +static GLboolean GLAD_API_PTR glad_debug_impl_glIsFramebuffer(GLuint framebuffer) { + GLboolean ret; + _pre_call_gl_callback("glIsFramebuffer", (GLADapiproc) glad_glIsFramebuffer, 1, framebuffer); + ret = glad_glIsFramebuffer(framebuffer); + _post_call_gl_callback((void*) &ret, "glIsFramebuffer", (GLADapiproc) glad_glIsFramebuffer, 1, framebuffer); + return ret; +} +PFNGLISFRAMEBUFFERPROC glad_debug_glIsFramebuffer = glad_debug_impl_glIsFramebuffer; +PFNGLISLISTPROC glad_glIsList = NULL; +static GLboolean GLAD_API_PTR glad_debug_impl_glIsList(GLuint list) { + GLboolean ret; + _pre_call_gl_callback("glIsList", (GLADapiproc) glad_glIsList, 1, list); + ret = glad_glIsList(list); + _post_call_gl_callback((void*) &ret, "glIsList", (GLADapiproc) glad_glIsList, 1, list); + return ret; +} +PFNGLISLISTPROC glad_debug_glIsList = glad_debug_impl_glIsList; PFNGLISPROGRAMPROC glad_glIsProgram = NULL; +static GLboolean GLAD_API_PTR glad_debug_impl_glIsProgram(GLuint program) { + GLboolean ret; + _pre_call_gl_callback("glIsProgram", (GLADapiproc) glad_glIsProgram, 1, program); + ret = glad_glIsProgram(program); + _post_call_gl_callback((void*) &ret, "glIsProgram", (GLADapiproc) glad_glIsProgram, 1, program); + return ret; +} +PFNGLISPROGRAMPROC glad_debug_glIsProgram = glad_debug_impl_glIsProgram; PFNGLISQUERYPROC glad_glIsQuery = NULL; +static GLboolean GLAD_API_PTR glad_debug_impl_glIsQuery(GLuint id) { + GLboolean ret; + _pre_call_gl_callback("glIsQuery", (GLADapiproc) glad_glIsQuery, 1, id); + ret = glad_glIsQuery(id); + _post_call_gl_callback((void*) &ret, "glIsQuery", (GLADapiproc) glad_glIsQuery, 1, id); + return ret; +} +PFNGLISQUERYPROC glad_debug_glIsQuery = glad_debug_impl_glIsQuery; PFNGLISRENDERBUFFERPROC glad_glIsRenderbuffer = NULL; +static GLboolean GLAD_API_PTR glad_debug_impl_glIsRenderbuffer(GLuint renderbuffer) { + GLboolean ret; + _pre_call_gl_callback("glIsRenderbuffer", (GLADapiproc) glad_glIsRenderbuffer, 1, renderbuffer); + ret = glad_glIsRenderbuffer(renderbuffer); + _post_call_gl_callback((void*) &ret, "glIsRenderbuffer", (GLADapiproc) glad_glIsRenderbuffer, 1, renderbuffer); + return ret; +} +PFNGLISRENDERBUFFERPROC glad_debug_glIsRenderbuffer = glad_debug_impl_glIsRenderbuffer; PFNGLISSAMPLERPROC glad_glIsSampler = NULL; +static GLboolean GLAD_API_PTR glad_debug_impl_glIsSampler(GLuint sampler) { + GLboolean ret; + _pre_call_gl_callback("glIsSampler", (GLADapiproc) glad_glIsSampler, 1, sampler); + ret = glad_glIsSampler(sampler); + _post_call_gl_callback((void*) &ret, "glIsSampler", (GLADapiproc) glad_glIsSampler, 1, sampler); + return ret; +} +PFNGLISSAMPLERPROC glad_debug_glIsSampler = glad_debug_impl_glIsSampler; PFNGLISSHADERPROC glad_glIsShader = NULL; +static GLboolean GLAD_API_PTR glad_debug_impl_glIsShader(GLuint shader) { + GLboolean ret; + _pre_call_gl_callback("glIsShader", (GLADapiproc) glad_glIsShader, 1, shader); + ret = glad_glIsShader(shader); + _post_call_gl_callback((void*) &ret, "glIsShader", (GLADapiproc) glad_glIsShader, 1, shader); + return ret; +} +PFNGLISSHADERPROC glad_debug_glIsShader = glad_debug_impl_glIsShader; PFNGLISSYNCPROC glad_glIsSync = NULL; +static GLboolean GLAD_API_PTR glad_debug_impl_glIsSync(GLsync sync) { + GLboolean ret; + _pre_call_gl_callback("glIsSync", (GLADapiproc) glad_glIsSync, 1, sync); + ret = glad_glIsSync(sync); + _post_call_gl_callback((void*) &ret, "glIsSync", (GLADapiproc) glad_glIsSync, 1, sync); + return ret; +} +PFNGLISSYNCPROC glad_debug_glIsSync = glad_debug_impl_glIsSync; PFNGLISTEXTUREPROC glad_glIsTexture = NULL; +static GLboolean GLAD_API_PTR glad_debug_impl_glIsTexture(GLuint texture) { + GLboolean ret; + _pre_call_gl_callback("glIsTexture", (GLADapiproc) glad_glIsTexture, 1, texture); + ret = glad_glIsTexture(texture); + _post_call_gl_callback((void*) &ret, "glIsTexture", (GLADapiproc) glad_glIsTexture, 1, texture); + return ret; +} +PFNGLISTEXTUREPROC glad_debug_glIsTexture = glad_debug_impl_glIsTexture; PFNGLISVERTEXARRAYPROC glad_glIsVertexArray = NULL; +static GLboolean GLAD_API_PTR glad_debug_impl_glIsVertexArray(GLuint array) { + GLboolean ret; + _pre_call_gl_callback("glIsVertexArray", (GLADapiproc) glad_glIsVertexArray, 1, array); + ret = glad_glIsVertexArray(array); + _post_call_gl_callback((void*) &ret, "glIsVertexArray", (GLADapiproc) glad_glIsVertexArray, 1, array); + return ret; +} +PFNGLISVERTEXARRAYPROC glad_debug_glIsVertexArray = glad_debug_impl_glIsVertexArray; +PFNGLLIGHTMODELFPROC glad_glLightModelf = NULL; +static void GLAD_API_PTR glad_debug_impl_glLightModelf(GLenum pname, GLfloat param) { + _pre_call_gl_callback("glLightModelf", (GLADapiproc) glad_glLightModelf, 2, pname, param); + glad_glLightModelf(pname, param); + _post_call_gl_callback(NULL, "glLightModelf", (GLADapiproc) glad_glLightModelf, 2, pname, param); + +} +PFNGLLIGHTMODELFPROC glad_debug_glLightModelf = glad_debug_impl_glLightModelf; +PFNGLLIGHTMODELFVPROC glad_glLightModelfv = NULL; +static void GLAD_API_PTR glad_debug_impl_glLightModelfv(GLenum pname, const GLfloat * params) { + _pre_call_gl_callback("glLightModelfv", (GLADapiproc) glad_glLightModelfv, 2, pname, params); + glad_glLightModelfv(pname, params); + _post_call_gl_callback(NULL, "glLightModelfv", (GLADapiproc) glad_glLightModelfv, 2, pname, params); + +} +PFNGLLIGHTMODELFVPROC glad_debug_glLightModelfv = glad_debug_impl_glLightModelfv; +PFNGLLIGHTMODELIPROC glad_glLightModeli = NULL; +static void GLAD_API_PTR glad_debug_impl_glLightModeli(GLenum pname, GLint param) { + _pre_call_gl_callback("glLightModeli", (GLADapiproc) glad_glLightModeli, 2, pname, param); + glad_glLightModeli(pname, param); + _post_call_gl_callback(NULL, "glLightModeli", (GLADapiproc) glad_glLightModeli, 2, pname, param); + +} +PFNGLLIGHTMODELIPROC glad_debug_glLightModeli = glad_debug_impl_glLightModeli; +PFNGLLIGHTMODELIVPROC glad_glLightModeliv = NULL; +static void GLAD_API_PTR glad_debug_impl_glLightModeliv(GLenum pname, const GLint * params) { + _pre_call_gl_callback("glLightModeliv", (GLADapiproc) glad_glLightModeliv, 2, pname, params); + glad_glLightModeliv(pname, params); + _post_call_gl_callback(NULL, "glLightModeliv", (GLADapiproc) glad_glLightModeliv, 2, pname, params); + +} +PFNGLLIGHTMODELIVPROC glad_debug_glLightModeliv = glad_debug_impl_glLightModeliv; +PFNGLLIGHTFPROC glad_glLightf = NULL; +static void GLAD_API_PTR glad_debug_impl_glLightf(GLenum light, GLenum pname, GLfloat param) { + _pre_call_gl_callback("glLightf", (GLADapiproc) glad_glLightf, 3, light, pname, param); + glad_glLightf(light, pname, param); + _post_call_gl_callback(NULL, "glLightf", (GLADapiproc) glad_glLightf, 3, light, pname, param); + +} +PFNGLLIGHTFPROC glad_debug_glLightf = glad_debug_impl_glLightf; +PFNGLLIGHTFVPROC glad_glLightfv = NULL; +static void GLAD_API_PTR glad_debug_impl_glLightfv(GLenum light, GLenum pname, const GLfloat * params) { + _pre_call_gl_callback("glLightfv", (GLADapiproc) glad_glLightfv, 3, light, pname, params); + glad_glLightfv(light, pname, params); + _post_call_gl_callback(NULL, "glLightfv", (GLADapiproc) glad_glLightfv, 3, light, pname, params); + +} +PFNGLLIGHTFVPROC glad_debug_glLightfv = glad_debug_impl_glLightfv; +PFNGLLIGHTIPROC glad_glLighti = NULL; +static void GLAD_API_PTR glad_debug_impl_glLighti(GLenum light, GLenum pname, GLint param) { + _pre_call_gl_callback("glLighti", (GLADapiproc) glad_glLighti, 3, light, pname, param); + glad_glLighti(light, pname, param); + _post_call_gl_callback(NULL, "glLighti", (GLADapiproc) glad_glLighti, 3, light, pname, param); + +} +PFNGLLIGHTIPROC glad_debug_glLighti = glad_debug_impl_glLighti; +PFNGLLIGHTIVPROC glad_glLightiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glLightiv(GLenum light, GLenum pname, const GLint * params) { + _pre_call_gl_callback("glLightiv", (GLADapiproc) glad_glLightiv, 3, light, pname, params); + glad_glLightiv(light, pname, params); + _post_call_gl_callback(NULL, "glLightiv", (GLADapiproc) glad_glLightiv, 3, light, pname, params); + +} +PFNGLLIGHTIVPROC glad_debug_glLightiv = glad_debug_impl_glLightiv; +PFNGLLINESTIPPLEPROC glad_glLineStipple = NULL; +static void GLAD_API_PTR glad_debug_impl_glLineStipple(GLint factor, GLushort pattern) { + _pre_call_gl_callback("glLineStipple", (GLADapiproc) glad_glLineStipple, 2, factor, pattern); + glad_glLineStipple(factor, pattern); + _post_call_gl_callback(NULL, "glLineStipple", (GLADapiproc) glad_glLineStipple, 2, factor, pattern); + +} +PFNGLLINESTIPPLEPROC glad_debug_glLineStipple = glad_debug_impl_glLineStipple; PFNGLLINEWIDTHPROC glad_glLineWidth = NULL; +static void GLAD_API_PTR glad_debug_impl_glLineWidth(GLfloat width) { + _pre_call_gl_callback("glLineWidth", (GLADapiproc) glad_glLineWidth, 1, width); + glad_glLineWidth(width); + _post_call_gl_callback(NULL, "glLineWidth", (GLADapiproc) glad_glLineWidth, 1, width); + +} +PFNGLLINEWIDTHPROC glad_debug_glLineWidth = glad_debug_impl_glLineWidth; PFNGLLINKPROGRAMPROC glad_glLinkProgram = NULL; +static void GLAD_API_PTR glad_debug_impl_glLinkProgram(GLuint program) { + _pre_call_gl_callback("glLinkProgram", (GLADapiproc) glad_glLinkProgram, 1, program); + glad_glLinkProgram(program); + _post_call_gl_callback(NULL, "glLinkProgram", (GLADapiproc) glad_glLinkProgram, 1, program); + +} +PFNGLLINKPROGRAMPROC glad_debug_glLinkProgram = glad_debug_impl_glLinkProgram; +PFNGLLISTBASEPROC glad_glListBase = NULL; +static void GLAD_API_PTR glad_debug_impl_glListBase(GLuint base) { + _pre_call_gl_callback("glListBase", (GLADapiproc) glad_glListBase, 1, base); + glad_glListBase(base); + _post_call_gl_callback(NULL, "glListBase", (GLADapiproc) glad_glListBase, 1, base); + +} +PFNGLLISTBASEPROC glad_debug_glListBase = glad_debug_impl_glListBase; +PFNGLLOADIDENTITYPROC glad_glLoadIdentity = NULL; +static void GLAD_API_PTR glad_debug_impl_glLoadIdentity(void) { + _pre_call_gl_callback("glLoadIdentity", (GLADapiproc) glad_glLoadIdentity, 0); + glad_glLoadIdentity(); + _post_call_gl_callback(NULL, "glLoadIdentity", (GLADapiproc) glad_glLoadIdentity, 0); + +} +PFNGLLOADIDENTITYPROC glad_debug_glLoadIdentity = glad_debug_impl_glLoadIdentity; +PFNGLLOADMATRIXDPROC glad_glLoadMatrixd = NULL; +static void GLAD_API_PTR glad_debug_impl_glLoadMatrixd(const GLdouble * m) { + _pre_call_gl_callback("glLoadMatrixd", (GLADapiproc) glad_glLoadMatrixd, 1, m); + glad_glLoadMatrixd(m); + _post_call_gl_callback(NULL, "glLoadMatrixd", (GLADapiproc) glad_glLoadMatrixd, 1, m); + +} +PFNGLLOADMATRIXDPROC glad_debug_glLoadMatrixd = glad_debug_impl_glLoadMatrixd; +PFNGLLOADMATRIXFPROC glad_glLoadMatrixf = NULL; +static void GLAD_API_PTR glad_debug_impl_glLoadMatrixf(const GLfloat * m) { + _pre_call_gl_callback("glLoadMatrixf", (GLADapiproc) glad_glLoadMatrixf, 1, m); + glad_glLoadMatrixf(m); + _post_call_gl_callback(NULL, "glLoadMatrixf", (GLADapiproc) glad_glLoadMatrixf, 1, m); + +} +PFNGLLOADMATRIXFPROC glad_debug_glLoadMatrixf = glad_debug_impl_glLoadMatrixf; +PFNGLLOADNAMEPROC glad_glLoadName = NULL; +static void GLAD_API_PTR glad_debug_impl_glLoadName(GLuint name) { + _pre_call_gl_callback("glLoadName", (GLADapiproc) glad_glLoadName, 1, name); + glad_glLoadName(name); + _post_call_gl_callback(NULL, "glLoadName", (GLADapiproc) glad_glLoadName, 1, name); + +} +PFNGLLOADNAMEPROC glad_debug_glLoadName = glad_debug_impl_glLoadName; +PFNGLLOADTRANSPOSEMATRIXDPROC glad_glLoadTransposeMatrixd = NULL; +static void GLAD_API_PTR glad_debug_impl_glLoadTransposeMatrixd(const GLdouble * m) { + _pre_call_gl_callback("glLoadTransposeMatrixd", (GLADapiproc) glad_glLoadTransposeMatrixd, 1, m); + glad_glLoadTransposeMatrixd(m); + _post_call_gl_callback(NULL, "glLoadTransposeMatrixd", (GLADapiproc) glad_glLoadTransposeMatrixd, 1, m); + +} +PFNGLLOADTRANSPOSEMATRIXDPROC glad_debug_glLoadTransposeMatrixd = glad_debug_impl_glLoadTransposeMatrixd; +PFNGLLOADTRANSPOSEMATRIXFPROC glad_glLoadTransposeMatrixf = NULL; +static void GLAD_API_PTR glad_debug_impl_glLoadTransposeMatrixf(const GLfloat * m) { + _pre_call_gl_callback("glLoadTransposeMatrixf", (GLADapiproc) glad_glLoadTransposeMatrixf, 1, m); + glad_glLoadTransposeMatrixf(m); + _post_call_gl_callback(NULL, "glLoadTransposeMatrixf", (GLADapiproc) glad_glLoadTransposeMatrixf, 1, m); + +} +PFNGLLOADTRANSPOSEMATRIXFPROC glad_debug_glLoadTransposeMatrixf = glad_debug_impl_glLoadTransposeMatrixf; PFNGLLOGICOPPROC glad_glLogicOp = NULL; +static void GLAD_API_PTR glad_debug_impl_glLogicOp(GLenum opcode) { + _pre_call_gl_callback("glLogicOp", (GLADapiproc) glad_glLogicOp, 1, opcode); + glad_glLogicOp(opcode); + _post_call_gl_callback(NULL, "glLogicOp", (GLADapiproc) glad_glLogicOp, 1, opcode); + +} +PFNGLLOGICOPPROC glad_debug_glLogicOp = glad_debug_impl_glLogicOp; +PFNGLMAP1DPROC glad_glMap1d = NULL; +static void GLAD_API_PTR glad_debug_impl_glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble * points) { + _pre_call_gl_callback("glMap1d", (GLADapiproc) glad_glMap1d, 6, target, u1, u2, stride, order, points); + glad_glMap1d(target, u1, u2, stride, order, points); + _post_call_gl_callback(NULL, "glMap1d", (GLADapiproc) glad_glMap1d, 6, target, u1, u2, stride, order, points); + +} +PFNGLMAP1DPROC glad_debug_glMap1d = glad_debug_impl_glMap1d; +PFNGLMAP1FPROC glad_glMap1f = NULL; +static void GLAD_API_PTR glad_debug_impl_glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat * points) { + _pre_call_gl_callback("glMap1f", (GLADapiproc) glad_glMap1f, 6, target, u1, u2, stride, order, points); + glad_glMap1f(target, u1, u2, stride, order, points); + _post_call_gl_callback(NULL, "glMap1f", (GLADapiproc) glad_glMap1f, 6, target, u1, u2, stride, order, points); + +} +PFNGLMAP1FPROC glad_debug_glMap1f = glad_debug_impl_glMap1f; +PFNGLMAP2DPROC glad_glMap2d = NULL; +static void GLAD_API_PTR glad_debug_impl_glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble * points) { + _pre_call_gl_callback("glMap2d", (GLADapiproc) glad_glMap2d, 10, target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); + glad_glMap2d(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); + _post_call_gl_callback(NULL, "glMap2d", (GLADapiproc) glad_glMap2d, 10, target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); + +} +PFNGLMAP2DPROC glad_debug_glMap2d = glad_debug_impl_glMap2d; +PFNGLMAP2FPROC glad_glMap2f = NULL; +static void GLAD_API_PTR glad_debug_impl_glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat * points) { + _pre_call_gl_callback("glMap2f", (GLADapiproc) glad_glMap2f, 10, target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); + glad_glMap2f(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); + _post_call_gl_callback(NULL, "glMap2f", (GLADapiproc) glad_glMap2f, 10, target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); + +} +PFNGLMAP2FPROC glad_debug_glMap2f = glad_debug_impl_glMap2f; PFNGLMAPBUFFERPROC glad_glMapBuffer = NULL; +static void * GLAD_API_PTR glad_debug_impl_glMapBuffer(GLenum target, GLenum access) { + void * ret; + _pre_call_gl_callback("glMapBuffer", (GLADapiproc) glad_glMapBuffer, 2, target, access); + ret = glad_glMapBuffer(target, access); + _post_call_gl_callback((void*) &ret, "glMapBuffer", (GLADapiproc) glad_glMapBuffer, 2, target, access); + return ret; +} +PFNGLMAPBUFFERPROC glad_debug_glMapBuffer = glad_debug_impl_glMapBuffer; PFNGLMAPBUFFERRANGEPROC glad_glMapBufferRange = NULL; +static void * GLAD_API_PTR glad_debug_impl_glMapBufferRange(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access) { + void * ret; + _pre_call_gl_callback("glMapBufferRange", (GLADapiproc) glad_glMapBufferRange, 4, target, offset, length, access); + ret = glad_glMapBufferRange(target, offset, length, access); + _post_call_gl_callback((void*) &ret, "glMapBufferRange", (GLADapiproc) glad_glMapBufferRange, 4, target, offset, length, access); + return ret; +} +PFNGLMAPBUFFERRANGEPROC glad_debug_glMapBufferRange = glad_debug_impl_glMapBufferRange; +PFNGLMAPGRID1DPROC glad_glMapGrid1d = NULL; +static void GLAD_API_PTR glad_debug_impl_glMapGrid1d(GLint un, GLdouble u1, GLdouble u2) { + _pre_call_gl_callback("glMapGrid1d", (GLADapiproc) glad_glMapGrid1d, 3, un, u1, u2); + glad_glMapGrid1d(un, u1, u2); + _post_call_gl_callback(NULL, "glMapGrid1d", (GLADapiproc) glad_glMapGrid1d, 3, un, u1, u2); + +} +PFNGLMAPGRID1DPROC glad_debug_glMapGrid1d = glad_debug_impl_glMapGrid1d; +PFNGLMAPGRID1FPROC glad_glMapGrid1f = NULL; +static void GLAD_API_PTR glad_debug_impl_glMapGrid1f(GLint un, GLfloat u1, GLfloat u2) { + _pre_call_gl_callback("glMapGrid1f", (GLADapiproc) glad_glMapGrid1f, 3, un, u1, u2); + glad_glMapGrid1f(un, u1, u2); + _post_call_gl_callback(NULL, "glMapGrid1f", (GLADapiproc) glad_glMapGrid1f, 3, un, u1, u2); + +} +PFNGLMAPGRID1FPROC glad_debug_glMapGrid1f = glad_debug_impl_glMapGrid1f; +PFNGLMAPGRID2DPROC glad_glMapGrid2d = NULL; +static void GLAD_API_PTR glad_debug_impl_glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2) { + _pre_call_gl_callback("glMapGrid2d", (GLADapiproc) glad_glMapGrid2d, 6, un, u1, u2, vn, v1, v2); + glad_glMapGrid2d(un, u1, u2, vn, v1, v2); + _post_call_gl_callback(NULL, "glMapGrid2d", (GLADapiproc) glad_glMapGrid2d, 6, un, u1, u2, vn, v1, v2); + +} +PFNGLMAPGRID2DPROC glad_debug_glMapGrid2d = glad_debug_impl_glMapGrid2d; +PFNGLMAPGRID2FPROC glad_glMapGrid2f = NULL; +static void GLAD_API_PTR glad_debug_impl_glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2) { + _pre_call_gl_callback("glMapGrid2f", (GLADapiproc) glad_glMapGrid2f, 6, un, u1, u2, vn, v1, v2); + glad_glMapGrid2f(un, u1, u2, vn, v1, v2); + _post_call_gl_callback(NULL, "glMapGrid2f", (GLADapiproc) glad_glMapGrid2f, 6, un, u1, u2, vn, v1, v2); + +} +PFNGLMAPGRID2FPROC glad_debug_glMapGrid2f = glad_debug_impl_glMapGrid2f; +PFNGLMATERIALFPROC glad_glMaterialf = NULL; +static void GLAD_API_PTR glad_debug_impl_glMaterialf(GLenum face, GLenum pname, GLfloat param) { + _pre_call_gl_callback("glMaterialf", (GLADapiproc) glad_glMaterialf, 3, face, pname, param); + glad_glMaterialf(face, pname, param); + _post_call_gl_callback(NULL, "glMaterialf", (GLADapiproc) glad_glMaterialf, 3, face, pname, param); + +} +PFNGLMATERIALFPROC glad_debug_glMaterialf = glad_debug_impl_glMaterialf; +PFNGLMATERIALFVPROC glad_glMaterialfv = NULL; +static void GLAD_API_PTR glad_debug_impl_glMaterialfv(GLenum face, GLenum pname, const GLfloat * params) { + _pre_call_gl_callback("glMaterialfv", (GLADapiproc) glad_glMaterialfv, 3, face, pname, params); + glad_glMaterialfv(face, pname, params); + _post_call_gl_callback(NULL, "glMaterialfv", (GLADapiproc) glad_glMaterialfv, 3, face, pname, params); + +} +PFNGLMATERIALFVPROC glad_debug_glMaterialfv = glad_debug_impl_glMaterialfv; +PFNGLMATERIALIPROC glad_glMateriali = NULL; +static void GLAD_API_PTR glad_debug_impl_glMateriali(GLenum face, GLenum pname, GLint param) { + _pre_call_gl_callback("glMateriali", (GLADapiproc) glad_glMateriali, 3, face, pname, param); + glad_glMateriali(face, pname, param); + _post_call_gl_callback(NULL, "glMateriali", (GLADapiproc) glad_glMateriali, 3, face, pname, param); + +} +PFNGLMATERIALIPROC glad_debug_glMateriali = glad_debug_impl_glMateriali; +PFNGLMATERIALIVPROC glad_glMaterialiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glMaterialiv(GLenum face, GLenum pname, const GLint * params) { + _pre_call_gl_callback("glMaterialiv", (GLADapiproc) glad_glMaterialiv, 3, face, pname, params); + glad_glMaterialiv(face, pname, params); + _post_call_gl_callback(NULL, "glMaterialiv", (GLADapiproc) glad_glMaterialiv, 3, face, pname, params); + +} +PFNGLMATERIALIVPROC glad_debug_glMaterialiv = glad_debug_impl_glMaterialiv; +PFNGLMATRIXMODEPROC glad_glMatrixMode = NULL; +static void GLAD_API_PTR glad_debug_impl_glMatrixMode(GLenum mode) { + _pre_call_gl_callback("glMatrixMode", (GLADapiproc) glad_glMatrixMode, 1, mode); + glad_glMatrixMode(mode); + _post_call_gl_callback(NULL, "glMatrixMode", (GLADapiproc) glad_glMatrixMode, 1, mode); + +} +PFNGLMATRIXMODEPROC glad_debug_glMatrixMode = glad_debug_impl_glMatrixMode; +PFNGLMULTMATRIXDPROC glad_glMultMatrixd = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultMatrixd(const GLdouble * m) { + _pre_call_gl_callback("glMultMatrixd", (GLADapiproc) glad_glMultMatrixd, 1, m); + glad_glMultMatrixd(m); + _post_call_gl_callback(NULL, "glMultMatrixd", (GLADapiproc) glad_glMultMatrixd, 1, m); + +} +PFNGLMULTMATRIXDPROC glad_debug_glMultMatrixd = glad_debug_impl_glMultMatrixd; +PFNGLMULTMATRIXFPROC glad_glMultMatrixf = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultMatrixf(const GLfloat * m) { + _pre_call_gl_callback("glMultMatrixf", (GLADapiproc) glad_glMultMatrixf, 1, m); + glad_glMultMatrixf(m); + _post_call_gl_callback(NULL, "glMultMatrixf", (GLADapiproc) glad_glMultMatrixf, 1, m); + +} +PFNGLMULTMATRIXFPROC glad_debug_glMultMatrixf = glad_debug_impl_glMultMatrixf; +PFNGLMULTTRANSPOSEMATRIXDPROC glad_glMultTransposeMatrixd = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultTransposeMatrixd(const GLdouble * m) { + _pre_call_gl_callback("glMultTransposeMatrixd", (GLADapiproc) glad_glMultTransposeMatrixd, 1, m); + glad_glMultTransposeMatrixd(m); + _post_call_gl_callback(NULL, "glMultTransposeMatrixd", (GLADapiproc) glad_glMultTransposeMatrixd, 1, m); + +} +PFNGLMULTTRANSPOSEMATRIXDPROC glad_debug_glMultTransposeMatrixd = glad_debug_impl_glMultTransposeMatrixd; +PFNGLMULTTRANSPOSEMATRIXFPROC glad_glMultTransposeMatrixf = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultTransposeMatrixf(const GLfloat * m) { + _pre_call_gl_callback("glMultTransposeMatrixf", (GLADapiproc) glad_glMultTransposeMatrixf, 1, m); + glad_glMultTransposeMatrixf(m); + _post_call_gl_callback(NULL, "glMultTransposeMatrixf", (GLADapiproc) glad_glMultTransposeMatrixf, 1, m); + +} +PFNGLMULTTRANSPOSEMATRIXFPROC glad_debug_glMultTransposeMatrixf = glad_debug_impl_glMultTransposeMatrixf; PFNGLMULTIDRAWARRAYSPROC glad_glMultiDrawArrays = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiDrawArrays(GLenum mode, const GLint * first, const GLsizei * count, GLsizei drawcount) { + _pre_call_gl_callback("glMultiDrawArrays", (GLADapiproc) glad_glMultiDrawArrays, 4, mode, first, count, drawcount); + glad_glMultiDrawArrays(mode, first, count, drawcount); + _post_call_gl_callback(NULL, "glMultiDrawArrays", (GLADapiproc) glad_glMultiDrawArrays, 4, mode, first, count, drawcount); + +} +PFNGLMULTIDRAWARRAYSPROC glad_debug_glMultiDrawArrays = glad_debug_impl_glMultiDrawArrays; PFNGLMULTIDRAWELEMENTSPROC glad_glMultiDrawElements = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiDrawElements(GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei drawcount) { + _pre_call_gl_callback("glMultiDrawElements", (GLADapiproc) glad_glMultiDrawElements, 5, mode, count, type, indices, drawcount); + glad_glMultiDrawElements(mode, count, type, indices, drawcount); + _post_call_gl_callback(NULL, "glMultiDrawElements", (GLADapiproc) glad_glMultiDrawElements, 5, mode, count, type, indices, drawcount); + +} +PFNGLMULTIDRAWELEMENTSPROC glad_debug_glMultiDrawElements = glad_debug_impl_glMultiDrawElements; PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC glad_glMultiDrawElementsBaseVertex = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiDrawElementsBaseVertex(GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei drawcount, const GLint * basevertex) { + _pre_call_gl_callback("glMultiDrawElementsBaseVertex", (GLADapiproc) glad_glMultiDrawElementsBaseVertex, 6, mode, count, type, indices, drawcount, basevertex); + glad_glMultiDrawElementsBaseVertex(mode, count, type, indices, drawcount, basevertex); + _post_call_gl_callback(NULL, "glMultiDrawElementsBaseVertex", (GLADapiproc) glad_glMultiDrawElementsBaseVertex, 6, mode, count, type, indices, drawcount, basevertex); + +} +PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC glad_debug_glMultiDrawElementsBaseVertex = glad_debug_impl_glMultiDrawElementsBaseVertex; +PFNGLMULTITEXCOORD1DPROC glad_glMultiTexCoord1d = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiTexCoord1d(GLenum target, GLdouble s) { + _pre_call_gl_callback("glMultiTexCoord1d", (GLADapiproc) glad_glMultiTexCoord1d, 2, target, s); + glad_glMultiTexCoord1d(target, s); + _post_call_gl_callback(NULL, "glMultiTexCoord1d", (GLADapiproc) glad_glMultiTexCoord1d, 2, target, s); + +} +PFNGLMULTITEXCOORD1DPROC glad_debug_glMultiTexCoord1d = glad_debug_impl_glMultiTexCoord1d; +PFNGLMULTITEXCOORD1DVPROC glad_glMultiTexCoord1dv = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiTexCoord1dv(GLenum target, const GLdouble * v) { + _pre_call_gl_callback("glMultiTexCoord1dv", (GLADapiproc) glad_glMultiTexCoord1dv, 2, target, v); + glad_glMultiTexCoord1dv(target, v); + _post_call_gl_callback(NULL, "glMultiTexCoord1dv", (GLADapiproc) glad_glMultiTexCoord1dv, 2, target, v); + +} +PFNGLMULTITEXCOORD1DVPROC glad_debug_glMultiTexCoord1dv = glad_debug_impl_glMultiTexCoord1dv; +PFNGLMULTITEXCOORD1FPROC glad_glMultiTexCoord1f = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiTexCoord1f(GLenum target, GLfloat s) { + _pre_call_gl_callback("glMultiTexCoord1f", (GLADapiproc) glad_glMultiTexCoord1f, 2, target, s); + glad_glMultiTexCoord1f(target, s); + _post_call_gl_callback(NULL, "glMultiTexCoord1f", (GLADapiproc) glad_glMultiTexCoord1f, 2, target, s); + +} +PFNGLMULTITEXCOORD1FPROC glad_debug_glMultiTexCoord1f = glad_debug_impl_glMultiTexCoord1f; +PFNGLMULTITEXCOORD1FVPROC glad_glMultiTexCoord1fv = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiTexCoord1fv(GLenum target, const GLfloat * v) { + _pre_call_gl_callback("glMultiTexCoord1fv", (GLADapiproc) glad_glMultiTexCoord1fv, 2, target, v); + glad_glMultiTexCoord1fv(target, v); + _post_call_gl_callback(NULL, "glMultiTexCoord1fv", (GLADapiproc) glad_glMultiTexCoord1fv, 2, target, v); + +} +PFNGLMULTITEXCOORD1FVPROC glad_debug_glMultiTexCoord1fv = glad_debug_impl_glMultiTexCoord1fv; +PFNGLMULTITEXCOORD1IPROC glad_glMultiTexCoord1i = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiTexCoord1i(GLenum target, GLint s) { + _pre_call_gl_callback("glMultiTexCoord1i", (GLADapiproc) glad_glMultiTexCoord1i, 2, target, s); + glad_glMultiTexCoord1i(target, s); + _post_call_gl_callback(NULL, "glMultiTexCoord1i", (GLADapiproc) glad_glMultiTexCoord1i, 2, target, s); + +} +PFNGLMULTITEXCOORD1IPROC glad_debug_glMultiTexCoord1i = glad_debug_impl_glMultiTexCoord1i; +PFNGLMULTITEXCOORD1IVPROC glad_glMultiTexCoord1iv = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiTexCoord1iv(GLenum target, const GLint * v) { + _pre_call_gl_callback("glMultiTexCoord1iv", (GLADapiproc) glad_glMultiTexCoord1iv, 2, target, v); + glad_glMultiTexCoord1iv(target, v); + _post_call_gl_callback(NULL, "glMultiTexCoord1iv", (GLADapiproc) glad_glMultiTexCoord1iv, 2, target, v); + +} +PFNGLMULTITEXCOORD1IVPROC glad_debug_glMultiTexCoord1iv = glad_debug_impl_glMultiTexCoord1iv; +PFNGLMULTITEXCOORD1SPROC glad_glMultiTexCoord1s = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiTexCoord1s(GLenum target, GLshort s) { + _pre_call_gl_callback("glMultiTexCoord1s", (GLADapiproc) glad_glMultiTexCoord1s, 2, target, s); + glad_glMultiTexCoord1s(target, s); + _post_call_gl_callback(NULL, "glMultiTexCoord1s", (GLADapiproc) glad_glMultiTexCoord1s, 2, target, s); + +} +PFNGLMULTITEXCOORD1SPROC glad_debug_glMultiTexCoord1s = glad_debug_impl_glMultiTexCoord1s; +PFNGLMULTITEXCOORD1SVPROC glad_glMultiTexCoord1sv = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiTexCoord1sv(GLenum target, const GLshort * v) { + _pre_call_gl_callback("glMultiTexCoord1sv", (GLADapiproc) glad_glMultiTexCoord1sv, 2, target, v); + glad_glMultiTexCoord1sv(target, v); + _post_call_gl_callback(NULL, "glMultiTexCoord1sv", (GLADapiproc) glad_glMultiTexCoord1sv, 2, target, v); + +} +PFNGLMULTITEXCOORD1SVPROC glad_debug_glMultiTexCoord1sv = glad_debug_impl_glMultiTexCoord1sv; +PFNGLMULTITEXCOORD2DPROC glad_glMultiTexCoord2d = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiTexCoord2d(GLenum target, GLdouble s, GLdouble t) { + _pre_call_gl_callback("glMultiTexCoord2d", (GLADapiproc) glad_glMultiTexCoord2d, 3, target, s, t); + glad_glMultiTexCoord2d(target, s, t); + _post_call_gl_callback(NULL, "glMultiTexCoord2d", (GLADapiproc) glad_glMultiTexCoord2d, 3, target, s, t); + +} +PFNGLMULTITEXCOORD2DPROC glad_debug_glMultiTexCoord2d = glad_debug_impl_glMultiTexCoord2d; +PFNGLMULTITEXCOORD2DVPROC glad_glMultiTexCoord2dv = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiTexCoord2dv(GLenum target, const GLdouble * v) { + _pre_call_gl_callback("glMultiTexCoord2dv", (GLADapiproc) glad_glMultiTexCoord2dv, 2, target, v); + glad_glMultiTexCoord2dv(target, v); + _post_call_gl_callback(NULL, "glMultiTexCoord2dv", (GLADapiproc) glad_glMultiTexCoord2dv, 2, target, v); + +} +PFNGLMULTITEXCOORD2DVPROC glad_debug_glMultiTexCoord2dv = glad_debug_impl_glMultiTexCoord2dv; +PFNGLMULTITEXCOORD2FPROC glad_glMultiTexCoord2f = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiTexCoord2f(GLenum target, GLfloat s, GLfloat t) { + _pre_call_gl_callback("glMultiTexCoord2f", (GLADapiproc) glad_glMultiTexCoord2f, 3, target, s, t); + glad_glMultiTexCoord2f(target, s, t); + _post_call_gl_callback(NULL, "glMultiTexCoord2f", (GLADapiproc) glad_glMultiTexCoord2f, 3, target, s, t); + +} +PFNGLMULTITEXCOORD2FPROC glad_debug_glMultiTexCoord2f = glad_debug_impl_glMultiTexCoord2f; +PFNGLMULTITEXCOORD2FVPROC glad_glMultiTexCoord2fv = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiTexCoord2fv(GLenum target, const GLfloat * v) { + _pre_call_gl_callback("glMultiTexCoord2fv", (GLADapiproc) glad_glMultiTexCoord2fv, 2, target, v); + glad_glMultiTexCoord2fv(target, v); + _post_call_gl_callback(NULL, "glMultiTexCoord2fv", (GLADapiproc) glad_glMultiTexCoord2fv, 2, target, v); + +} +PFNGLMULTITEXCOORD2FVPROC glad_debug_glMultiTexCoord2fv = glad_debug_impl_glMultiTexCoord2fv; +PFNGLMULTITEXCOORD2IPROC glad_glMultiTexCoord2i = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiTexCoord2i(GLenum target, GLint s, GLint t) { + _pre_call_gl_callback("glMultiTexCoord2i", (GLADapiproc) glad_glMultiTexCoord2i, 3, target, s, t); + glad_glMultiTexCoord2i(target, s, t); + _post_call_gl_callback(NULL, "glMultiTexCoord2i", (GLADapiproc) glad_glMultiTexCoord2i, 3, target, s, t); + +} +PFNGLMULTITEXCOORD2IPROC glad_debug_glMultiTexCoord2i = glad_debug_impl_glMultiTexCoord2i; +PFNGLMULTITEXCOORD2IVPROC glad_glMultiTexCoord2iv = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiTexCoord2iv(GLenum target, const GLint * v) { + _pre_call_gl_callback("glMultiTexCoord2iv", (GLADapiproc) glad_glMultiTexCoord2iv, 2, target, v); + glad_glMultiTexCoord2iv(target, v); + _post_call_gl_callback(NULL, "glMultiTexCoord2iv", (GLADapiproc) glad_glMultiTexCoord2iv, 2, target, v); + +} +PFNGLMULTITEXCOORD2IVPROC glad_debug_glMultiTexCoord2iv = glad_debug_impl_glMultiTexCoord2iv; +PFNGLMULTITEXCOORD2SPROC glad_glMultiTexCoord2s = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiTexCoord2s(GLenum target, GLshort s, GLshort t) { + _pre_call_gl_callback("glMultiTexCoord2s", (GLADapiproc) glad_glMultiTexCoord2s, 3, target, s, t); + glad_glMultiTexCoord2s(target, s, t); + _post_call_gl_callback(NULL, "glMultiTexCoord2s", (GLADapiproc) glad_glMultiTexCoord2s, 3, target, s, t); + +} +PFNGLMULTITEXCOORD2SPROC glad_debug_glMultiTexCoord2s = glad_debug_impl_glMultiTexCoord2s; +PFNGLMULTITEXCOORD2SVPROC glad_glMultiTexCoord2sv = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiTexCoord2sv(GLenum target, const GLshort * v) { + _pre_call_gl_callback("glMultiTexCoord2sv", (GLADapiproc) glad_glMultiTexCoord2sv, 2, target, v); + glad_glMultiTexCoord2sv(target, v); + _post_call_gl_callback(NULL, "glMultiTexCoord2sv", (GLADapiproc) glad_glMultiTexCoord2sv, 2, target, v); + +} +PFNGLMULTITEXCOORD2SVPROC glad_debug_glMultiTexCoord2sv = glad_debug_impl_glMultiTexCoord2sv; +PFNGLMULTITEXCOORD3DPROC glad_glMultiTexCoord3d = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiTexCoord3d(GLenum target, GLdouble s, GLdouble t, GLdouble r) { + _pre_call_gl_callback("glMultiTexCoord3d", (GLADapiproc) glad_glMultiTexCoord3d, 4, target, s, t, r); + glad_glMultiTexCoord3d(target, s, t, r); + _post_call_gl_callback(NULL, "glMultiTexCoord3d", (GLADapiproc) glad_glMultiTexCoord3d, 4, target, s, t, r); + +} +PFNGLMULTITEXCOORD3DPROC glad_debug_glMultiTexCoord3d = glad_debug_impl_glMultiTexCoord3d; +PFNGLMULTITEXCOORD3DVPROC glad_glMultiTexCoord3dv = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiTexCoord3dv(GLenum target, const GLdouble * v) { + _pre_call_gl_callback("glMultiTexCoord3dv", (GLADapiproc) glad_glMultiTexCoord3dv, 2, target, v); + glad_glMultiTexCoord3dv(target, v); + _post_call_gl_callback(NULL, "glMultiTexCoord3dv", (GLADapiproc) glad_glMultiTexCoord3dv, 2, target, v); + +} +PFNGLMULTITEXCOORD3DVPROC glad_debug_glMultiTexCoord3dv = glad_debug_impl_glMultiTexCoord3dv; +PFNGLMULTITEXCOORD3FPROC glad_glMultiTexCoord3f = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiTexCoord3f(GLenum target, GLfloat s, GLfloat t, GLfloat r) { + _pre_call_gl_callback("glMultiTexCoord3f", (GLADapiproc) glad_glMultiTexCoord3f, 4, target, s, t, r); + glad_glMultiTexCoord3f(target, s, t, r); + _post_call_gl_callback(NULL, "glMultiTexCoord3f", (GLADapiproc) glad_glMultiTexCoord3f, 4, target, s, t, r); + +} +PFNGLMULTITEXCOORD3FPROC glad_debug_glMultiTexCoord3f = glad_debug_impl_glMultiTexCoord3f; +PFNGLMULTITEXCOORD3FVPROC glad_glMultiTexCoord3fv = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiTexCoord3fv(GLenum target, const GLfloat * v) { + _pre_call_gl_callback("glMultiTexCoord3fv", (GLADapiproc) glad_glMultiTexCoord3fv, 2, target, v); + glad_glMultiTexCoord3fv(target, v); + _post_call_gl_callback(NULL, "glMultiTexCoord3fv", (GLADapiproc) glad_glMultiTexCoord3fv, 2, target, v); + +} +PFNGLMULTITEXCOORD3FVPROC glad_debug_glMultiTexCoord3fv = glad_debug_impl_glMultiTexCoord3fv; +PFNGLMULTITEXCOORD3IPROC glad_glMultiTexCoord3i = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiTexCoord3i(GLenum target, GLint s, GLint t, GLint r) { + _pre_call_gl_callback("glMultiTexCoord3i", (GLADapiproc) glad_glMultiTexCoord3i, 4, target, s, t, r); + glad_glMultiTexCoord3i(target, s, t, r); + _post_call_gl_callback(NULL, "glMultiTexCoord3i", (GLADapiproc) glad_glMultiTexCoord3i, 4, target, s, t, r); + +} +PFNGLMULTITEXCOORD3IPROC glad_debug_glMultiTexCoord3i = glad_debug_impl_glMultiTexCoord3i; +PFNGLMULTITEXCOORD3IVPROC glad_glMultiTexCoord3iv = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiTexCoord3iv(GLenum target, const GLint * v) { + _pre_call_gl_callback("glMultiTexCoord3iv", (GLADapiproc) glad_glMultiTexCoord3iv, 2, target, v); + glad_glMultiTexCoord3iv(target, v); + _post_call_gl_callback(NULL, "glMultiTexCoord3iv", (GLADapiproc) glad_glMultiTexCoord3iv, 2, target, v); + +} +PFNGLMULTITEXCOORD3IVPROC glad_debug_glMultiTexCoord3iv = glad_debug_impl_glMultiTexCoord3iv; +PFNGLMULTITEXCOORD3SPROC glad_glMultiTexCoord3s = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiTexCoord3s(GLenum target, GLshort s, GLshort t, GLshort r) { + _pre_call_gl_callback("glMultiTexCoord3s", (GLADapiproc) glad_glMultiTexCoord3s, 4, target, s, t, r); + glad_glMultiTexCoord3s(target, s, t, r); + _post_call_gl_callback(NULL, "glMultiTexCoord3s", (GLADapiproc) glad_glMultiTexCoord3s, 4, target, s, t, r); + +} +PFNGLMULTITEXCOORD3SPROC glad_debug_glMultiTexCoord3s = glad_debug_impl_glMultiTexCoord3s; +PFNGLMULTITEXCOORD3SVPROC glad_glMultiTexCoord3sv = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiTexCoord3sv(GLenum target, const GLshort * v) { + _pre_call_gl_callback("glMultiTexCoord3sv", (GLADapiproc) glad_glMultiTexCoord3sv, 2, target, v); + glad_glMultiTexCoord3sv(target, v); + _post_call_gl_callback(NULL, "glMultiTexCoord3sv", (GLADapiproc) glad_glMultiTexCoord3sv, 2, target, v); + +} +PFNGLMULTITEXCOORD3SVPROC glad_debug_glMultiTexCoord3sv = glad_debug_impl_glMultiTexCoord3sv; +PFNGLMULTITEXCOORD4DPROC glad_glMultiTexCoord4d = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiTexCoord4d(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q) { + _pre_call_gl_callback("glMultiTexCoord4d", (GLADapiproc) glad_glMultiTexCoord4d, 5, target, s, t, r, q); + glad_glMultiTexCoord4d(target, s, t, r, q); + _post_call_gl_callback(NULL, "glMultiTexCoord4d", (GLADapiproc) glad_glMultiTexCoord4d, 5, target, s, t, r, q); + +} +PFNGLMULTITEXCOORD4DPROC glad_debug_glMultiTexCoord4d = glad_debug_impl_glMultiTexCoord4d; +PFNGLMULTITEXCOORD4DVPROC glad_glMultiTexCoord4dv = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiTexCoord4dv(GLenum target, const GLdouble * v) { + _pre_call_gl_callback("glMultiTexCoord4dv", (GLADapiproc) glad_glMultiTexCoord4dv, 2, target, v); + glad_glMultiTexCoord4dv(target, v); + _post_call_gl_callback(NULL, "glMultiTexCoord4dv", (GLADapiproc) glad_glMultiTexCoord4dv, 2, target, v); + +} +PFNGLMULTITEXCOORD4DVPROC glad_debug_glMultiTexCoord4dv = glad_debug_impl_glMultiTexCoord4dv; +PFNGLMULTITEXCOORD4FPROC glad_glMultiTexCoord4f = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) { + _pre_call_gl_callback("glMultiTexCoord4f", (GLADapiproc) glad_glMultiTexCoord4f, 5, target, s, t, r, q); + glad_glMultiTexCoord4f(target, s, t, r, q); + _post_call_gl_callback(NULL, "glMultiTexCoord4f", (GLADapiproc) glad_glMultiTexCoord4f, 5, target, s, t, r, q); + +} +PFNGLMULTITEXCOORD4FPROC glad_debug_glMultiTexCoord4f = glad_debug_impl_glMultiTexCoord4f; +PFNGLMULTITEXCOORD4FVPROC glad_glMultiTexCoord4fv = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiTexCoord4fv(GLenum target, const GLfloat * v) { + _pre_call_gl_callback("glMultiTexCoord4fv", (GLADapiproc) glad_glMultiTexCoord4fv, 2, target, v); + glad_glMultiTexCoord4fv(target, v); + _post_call_gl_callback(NULL, "glMultiTexCoord4fv", (GLADapiproc) glad_glMultiTexCoord4fv, 2, target, v); + +} +PFNGLMULTITEXCOORD4FVPROC glad_debug_glMultiTexCoord4fv = glad_debug_impl_glMultiTexCoord4fv; +PFNGLMULTITEXCOORD4IPROC glad_glMultiTexCoord4i = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiTexCoord4i(GLenum target, GLint s, GLint t, GLint r, GLint q) { + _pre_call_gl_callback("glMultiTexCoord4i", (GLADapiproc) glad_glMultiTexCoord4i, 5, target, s, t, r, q); + glad_glMultiTexCoord4i(target, s, t, r, q); + _post_call_gl_callback(NULL, "glMultiTexCoord4i", (GLADapiproc) glad_glMultiTexCoord4i, 5, target, s, t, r, q); + +} +PFNGLMULTITEXCOORD4IPROC glad_debug_glMultiTexCoord4i = glad_debug_impl_glMultiTexCoord4i; +PFNGLMULTITEXCOORD4IVPROC glad_glMultiTexCoord4iv = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiTexCoord4iv(GLenum target, const GLint * v) { + _pre_call_gl_callback("glMultiTexCoord4iv", (GLADapiproc) glad_glMultiTexCoord4iv, 2, target, v); + glad_glMultiTexCoord4iv(target, v); + _post_call_gl_callback(NULL, "glMultiTexCoord4iv", (GLADapiproc) glad_glMultiTexCoord4iv, 2, target, v); + +} +PFNGLMULTITEXCOORD4IVPROC glad_debug_glMultiTexCoord4iv = glad_debug_impl_glMultiTexCoord4iv; +PFNGLMULTITEXCOORD4SPROC glad_glMultiTexCoord4s = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiTexCoord4s(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q) { + _pre_call_gl_callback("glMultiTexCoord4s", (GLADapiproc) glad_glMultiTexCoord4s, 5, target, s, t, r, q); + glad_glMultiTexCoord4s(target, s, t, r, q); + _post_call_gl_callback(NULL, "glMultiTexCoord4s", (GLADapiproc) glad_glMultiTexCoord4s, 5, target, s, t, r, q); + +} +PFNGLMULTITEXCOORD4SPROC glad_debug_glMultiTexCoord4s = glad_debug_impl_glMultiTexCoord4s; +PFNGLMULTITEXCOORD4SVPROC glad_glMultiTexCoord4sv = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiTexCoord4sv(GLenum target, const GLshort * v) { + _pre_call_gl_callback("glMultiTexCoord4sv", (GLADapiproc) glad_glMultiTexCoord4sv, 2, target, v); + glad_glMultiTexCoord4sv(target, v); + _post_call_gl_callback(NULL, "glMultiTexCoord4sv", (GLADapiproc) glad_glMultiTexCoord4sv, 2, target, v); + +} +PFNGLMULTITEXCOORD4SVPROC glad_debug_glMultiTexCoord4sv = glad_debug_impl_glMultiTexCoord4sv; PFNGLMULTITEXCOORDP1UIPROC glad_glMultiTexCoordP1ui = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiTexCoordP1ui(GLenum texture, GLenum type, GLuint coords) { + _pre_call_gl_callback("glMultiTexCoordP1ui", (GLADapiproc) glad_glMultiTexCoordP1ui, 3, texture, type, coords); + glad_glMultiTexCoordP1ui(texture, type, coords); + _post_call_gl_callback(NULL, "glMultiTexCoordP1ui", (GLADapiproc) glad_glMultiTexCoordP1ui, 3, texture, type, coords); + +} +PFNGLMULTITEXCOORDP1UIPROC glad_debug_glMultiTexCoordP1ui = glad_debug_impl_glMultiTexCoordP1ui; PFNGLMULTITEXCOORDP1UIVPROC glad_glMultiTexCoordP1uiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiTexCoordP1uiv(GLenum texture, GLenum type, const GLuint * coords) { + _pre_call_gl_callback("glMultiTexCoordP1uiv", (GLADapiproc) glad_glMultiTexCoordP1uiv, 3, texture, type, coords); + glad_glMultiTexCoordP1uiv(texture, type, coords); + _post_call_gl_callback(NULL, "glMultiTexCoordP1uiv", (GLADapiproc) glad_glMultiTexCoordP1uiv, 3, texture, type, coords); + +} +PFNGLMULTITEXCOORDP1UIVPROC glad_debug_glMultiTexCoordP1uiv = glad_debug_impl_glMultiTexCoordP1uiv; PFNGLMULTITEXCOORDP2UIPROC glad_glMultiTexCoordP2ui = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiTexCoordP2ui(GLenum texture, GLenum type, GLuint coords) { + _pre_call_gl_callback("glMultiTexCoordP2ui", (GLADapiproc) glad_glMultiTexCoordP2ui, 3, texture, type, coords); + glad_glMultiTexCoordP2ui(texture, type, coords); + _post_call_gl_callback(NULL, "glMultiTexCoordP2ui", (GLADapiproc) glad_glMultiTexCoordP2ui, 3, texture, type, coords); + +} +PFNGLMULTITEXCOORDP2UIPROC glad_debug_glMultiTexCoordP2ui = glad_debug_impl_glMultiTexCoordP2ui; PFNGLMULTITEXCOORDP2UIVPROC glad_glMultiTexCoordP2uiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiTexCoordP2uiv(GLenum texture, GLenum type, const GLuint * coords) { + _pre_call_gl_callback("glMultiTexCoordP2uiv", (GLADapiproc) glad_glMultiTexCoordP2uiv, 3, texture, type, coords); + glad_glMultiTexCoordP2uiv(texture, type, coords); + _post_call_gl_callback(NULL, "glMultiTexCoordP2uiv", (GLADapiproc) glad_glMultiTexCoordP2uiv, 3, texture, type, coords); + +} +PFNGLMULTITEXCOORDP2UIVPROC glad_debug_glMultiTexCoordP2uiv = glad_debug_impl_glMultiTexCoordP2uiv; PFNGLMULTITEXCOORDP3UIPROC glad_glMultiTexCoordP3ui = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiTexCoordP3ui(GLenum texture, GLenum type, GLuint coords) { + _pre_call_gl_callback("glMultiTexCoordP3ui", (GLADapiproc) glad_glMultiTexCoordP3ui, 3, texture, type, coords); + glad_glMultiTexCoordP3ui(texture, type, coords); + _post_call_gl_callback(NULL, "glMultiTexCoordP3ui", (GLADapiproc) glad_glMultiTexCoordP3ui, 3, texture, type, coords); + +} +PFNGLMULTITEXCOORDP3UIPROC glad_debug_glMultiTexCoordP3ui = glad_debug_impl_glMultiTexCoordP3ui; PFNGLMULTITEXCOORDP3UIVPROC glad_glMultiTexCoordP3uiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiTexCoordP3uiv(GLenum texture, GLenum type, const GLuint * coords) { + _pre_call_gl_callback("glMultiTexCoordP3uiv", (GLADapiproc) glad_glMultiTexCoordP3uiv, 3, texture, type, coords); + glad_glMultiTexCoordP3uiv(texture, type, coords); + _post_call_gl_callback(NULL, "glMultiTexCoordP3uiv", (GLADapiproc) glad_glMultiTexCoordP3uiv, 3, texture, type, coords); + +} +PFNGLMULTITEXCOORDP3UIVPROC glad_debug_glMultiTexCoordP3uiv = glad_debug_impl_glMultiTexCoordP3uiv; PFNGLMULTITEXCOORDP4UIPROC glad_glMultiTexCoordP4ui = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiTexCoordP4ui(GLenum texture, GLenum type, GLuint coords) { + _pre_call_gl_callback("glMultiTexCoordP4ui", (GLADapiproc) glad_glMultiTexCoordP4ui, 3, texture, type, coords); + glad_glMultiTexCoordP4ui(texture, type, coords); + _post_call_gl_callback(NULL, "glMultiTexCoordP4ui", (GLADapiproc) glad_glMultiTexCoordP4ui, 3, texture, type, coords); + +} +PFNGLMULTITEXCOORDP4UIPROC glad_debug_glMultiTexCoordP4ui = glad_debug_impl_glMultiTexCoordP4ui; PFNGLMULTITEXCOORDP4UIVPROC glad_glMultiTexCoordP4uiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glMultiTexCoordP4uiv(GLenum texture, GLenum type, const GLuint * coords) { + _pre_call_gl_callback("glMultiTexCoordP4uiv", (GLADapiproc) glad_glMultiTexCoordP4uiv, 3, texture, type, coords); + glad_glMultiTexCoordP4uiv(texture, type, coords); + _post_call_gl_callback(NULL, "glMultiTexCoordP4uiv", (GLADapiproc) glad_glMultiTexCoordP4uiv, 3, texture, type, coords); + +} +PFNGLMULTITEXCOORDP4UIVPROC glad_debug_glMultiTexCoordP4uiv = glad_debug_impl_glMultiTexCoordP4uiv; +PFNGLNEWLISTPROC glad_glNewList = NULL; +static void GLAD_API_PTR glad_debug_impl_glNewList(GLuint list, GLenum mode) { + _pre_call_gl_callback("glNewList", (GLADapiproc) glad_glNewList, 2, list, mode); + glad_glNewList(list, mode); + _post_call_gl_callback(NULL, "glNewList", (GLADapiproc) glad_glNewList, 2, list, mode); + +} +PFNGLNEWLISTPROC glad_debug_glNewList = glad_debug_impl_glNewList; +PFNGLNORMAL3BPROC glad_glNormal3b = NULL; +static void GLAD_API_PTR glad_debug_impl_glNormal3b(GLbyte nx, GLbyte ny, GLbyte nz) { + _pre_call_gl_callback("glNormal3b", (GLADapiproc) glad_glNormal3b, 3, nx, ny, nz); + glad_glNormal3b(nx, ny, nz); + _post_call_gl_callback(NULL, "glNormal3b", (GLADapiproc) glad_glNormal3b, 3, nx, ny, nz); + +} +PFNGLNORMAL3BPROC glad_debug_glNormal3b = glad_debug_impl_glNormal3b; +PFNGLNORMAL3BVPROC glad_glNormal3bv = NULL; +static void GLAD_API_PTR glad_debug_impl_glNormal3bv(const GLbyte * v) { + _pre_call_gl_callback("glNormal3bv", (GLADapiproc) glad_glNormal3bv, 1, v); + glad_glNormal3bv(v); + _post_call_gl_callback(NULL, "glNormal3bv", (GLADapiproc) glad_glNormal3bv, 1, v); + +} +PFNGLNORMAL3BVPROC glad_debug_glNormal3bv = glad_debug_impl_glNormal3bv; +PFNGLNORMAL3DPROC glad_glNormal3d = NULL; +static void GLAD_API_PTR glad_debug_impl_glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz) { + _pre_call_gl_callback("glNormal3d", (GLADapiproc) glad_glNormal3d, 3, nx, ny, nz); + glad_glNormal3d(nx, ny, nz); + _post_call_gl_callback(NULL, "glNormal3d", (GLADapiproc) glad_glNormal3d, 3, nx, ny, nz); + +} +PFNGLNORMAL3DPROC glad_debug_glNormal3d = glad_debug_impl_glNormal3d; +PFNGLNORMAL3DVPROC glad_glNormal3dv = NULL; +static void GLAD_API_PTR glad_debug_impl_glNormal3dv(const GLdouble * v) { + _pre_call_gl_callback("glNormal3dv", (GLADapiproc) glad_glNormal3dv, 1, v); + glad_glNormal3dv(v); + _post_call_gl_callback(NULL, "glNormal3dv", (GLADapiproc) glad_glNormal3dv, 1, v); + +} +PFNGLNORMAL3DVPROC glad_debug_glNormal3dv = glad_debug_impl_glNormal3dv; +PFNGLNORMAL3FPROC glad_glNormal3f = NULL; +static void GLAD_API_PTR glad_debug_impl_glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz) { + _pre_call_gl_callback("glNormal3f", (GLADapiproc) glad_glNormal3f, 3, nx, ny, nz); + glad_glNormal3f(nx, ny, nz); + _post_call_gl_callback(NULL, "glNormal3f", (GLADapiproc) glad_glNormal3f, 3, nx, ny, nz); + +} +PFNGLNORMAL3FPROC glad_debug_glNormal3f = glad_debug_impl_glNormal3f; +PFNGLNORMAL3FVPROC glad_glNormal3fv = NULL; +static void GLAD_API_PTR glad_debug_impl_glNormal3fv(const GLfloat * v) { + _pre_call_gl_callback("glNormal3fv", (GLADapiproc) glad_glNormal3fv, 1, v); + glad_glNormal3fv(v); + _post_call_gl_callback(NULL, "glNormal3fv", (GLADapiproc) glad_glNormal3fv, 1, v); + +} +PFNGLNORMAL3FVPROC glad_debug_glNormal3fv = glad_debug_impl_glNormal3fv; +PFNGLNORMAL3IPROC glad_glNormal3i = NULL; +static void GLAD_API_PTR glad_debug_impl_glNormal3i(GLint nx, GLint ny, GLint nz) { + _pre_call_gl_callback("glNormal3i", (GLADapiproc) glad_glNormal3i, 3, nx, ny, nz); + glad_glNormal3i(nx, ny, nz); + _post_call_gl_callback(NULL, "glNormal3i", (GLADapiproc) glad_glNormal3i, 3, nx, ny, nz); + +} +PFNGLNORMAL3IPROC glad_debug_glNormal3i = glad_debug_impl_glNormal3i; +PFNGLNORMAL3IVPROC glad_glNormal3iv = NULL; +static void GLAD_API_PTR glad_debug_impl_glNormal3iv(const GLint * v) { + _pre_call_gl_callback("glNormal3iv", (GLADapiproc) glad_glNormal3iv, 1, v); + glad_glNormal3iv(v); + _post_call_gl_callback(NULL, "glNormal3iv", (GLADapiproc) glad_glNormal3iv, 1, v); + +} +PFNGLNORMAL3IVPROC glad_debug_glNormal3iv = glad_debug_impl_glNormal3iv; +PFNGLNORMAL3SPROC glad_glNormal3s = NULL; +static void GLAD_API_PTR glad_debug_impl_glNormal3s(GLshort nx, GLshort ny, GLshort nz) { + _pre_call_gl_callback("glNormal3s", (GLADapiproc) glad_glNormal3s, 3, nx, ny, nz); + glad_glNormal3s(nx, ny, nz); + _post_call_gl_callback(NULL, "glNormal3s", (GLADapiproc) glad_glNormal3s, 3, nx, ny, nz); + +} +PFNGLNORMAL3SPROC glad_debug_glNormal3s = glad_debug_impl_glNormal3s; +PFNGLNORMAL3SVPROC glad_glNormal3sv = NULL; +static void GLAD_API_PTR glad_debug_impl_glNormal3sv(const GLshort * v) { + _pre_call_gl_callback("glNormal3sv", (GLADapiproc) glad_glNormal3sv, 1, v); + glad_glNormal3sv(v); + _post_call_gl_callback(NULL, "glNormal3sv", (GLADapiproc) glad_glNormal3sv, 1, v); + +} +PFNGLNORMAL3SVPROC glad_debug_glNormal3sv = glad_debug_impl_glNormal3sv; PFNGLNORMALP3UIPROC glad_glNormalP3ui = NULL; +static void GLAD_API_PTR glad_debug_impl_glNormalP3ui(GLenum type, GLuint coords) { + _pre_call_gl_callback("glNormalP3ui", (GLADapiproc) glad_glNormalP3ui, 2, type, coords); + glad_glNormalP3ui(type, coords); + _post_call_gl_callback(NULL, "glNormalP3ui", (GLADapiproc) glad_glNormalP3ui, 2, type, coords); + +} +PFNGLNORMALP3UIPROC glad_debug_glNormalP3ui = glad_debug_impl_glNormalP3ui; PFNGLNORMALP3UIVPROC glad_glNormalP3uiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glNormalP3uiv(GLenum type, const GLuint * coords) { + _pre_call_gl_callback("glNormalP3uiv", (GLADapiproc) glad_glNormalP3uiv, 2, type, coords); + glad_glNormalP3uiv(type, coords); + _post_call_gl_callback(NULL, "glNormalP3uiv", (GLADapiproc) glad_glNormalP3uiv, 2, type, coords); + +} +PFNGLNORMALP3UIVPROC glad_debug_glNormalP3uiv = glad_debug_impl_glNormalP3uiv; +PFNGLNORMALPOINTERPROC glad_glNormalPointer = NULL; +static void GLAD_API_PTR glad_debug_impl_glNormalPointer(GLenum type, GLsizei stride, const void * pointer) { + _pre_call_gl_callback("glNormalPointer", (GLADapiproc) glad_glNormalPointer, 3, type, stride, pointer); + glad_glNormalPointer(type, stride, pointer); + _post_call_gl_callback(NULL, "glNormalPointer", (GLADapiproc) glad_glNormalPointer, 3, type, stride, pointer); + +} +PFNGLNORMALPOINTERPROC glad_debug_glNormalPointer = glad_debug_impl_glNormalPointer; +PFNGLORTHOPROC glad_glOrtho = NULL; +static void GLAD_API_PTR glad_debug_impl_glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) { + _pre_call_gl_callback("glOrtho", (GLADapiproc) glad_glOrtho, 6, left, right, bottom, top, zNear, zFar); + glad_glOrtho(left, right, bottom, top, zNear, zFar); + _post_call_gl_callback(NULL, "glOrtho", (GLADapiproc) glad_glOrtho, 6, left, right, bottom, top, zNear, zFar); + +} +PFNGLORTHOPROC glad_debug_glOrtho = glad_debug_impl_glOrtho; +PFNGLPASSTHROUGHPROC glad_glPassThrough = NULL; +static void GLAD_API_PTR glad_debug_impl_glPassThrough(GLfloat token) { + _pre_call_gl_callback("glPassThrough", (GLADapiproc) glad_glPassThrough, 1, token); + glad_glPassThrough(token); + _post_call_gl_callback(NULL, "glPassThrough", (GLADapiproc) glad_glPassThrough, 1, token); + +} +PFNGLPASSTHROUGHPROC glad_debug_glPassThrough = glad_debug_impl_glPassThrough; +PFNGLPIXELMAPFVPROC glad_glPixelMapfv = NULL; +static void GLAD_API_PTR glad_debug_impl_glPixelMapfv(GLenum map, GLsizei mapsize, const GLfloat * values) { + _pre_call_gl_callback("glPixelMapfv", (GLADapiproc) glad_glPixelMapfv, 3, map, mapsize, values); + glad_glPixelMapfv(map, mapsize, values); + _post_call_gl_callback(NULL, "glPixelMapfv", (GLADapiproc) glad_glPixelMapfv, 3, map, mapsize, values); + +} +PFNGLPIXELMAPFVPROC glad_debug_glPixelMapfv = glad_debug_impl_glPixelMapfv; +PFNGLPIXELMAPUIVPROC glad_glPixelMapuiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glPixelMapuiv(GLenum map, GLsizei mapsize, const GLuint * values) { + _pre_call_gl_callback("glPixelMapuiv", (GLADapiproc) glad_glPixelMapuiv, 3, map, mapsize, values); + glad_glPixelMapuiv(map, mapsize, values); + _post_call_gl_callback(NULL, "glPixelMapuiv", (GLADapiproc) glad_glPixelMapuiv, 3, map, mapsize, values); + +} +PFNGLPIXELMAPUIVPROC glad_debug_glPixelMapuiv = glad_debug_impl_glPixelMapuiv; +PFNGLPIXELMAPUSVPROC glad_glPixelMapusv = NULL; +static void GLAD_API_PTR glad_debug_impl_glPixelMapusv(GLenum map, GLsizei mapsize, const GLushort * values) { + _pre_call_gl_callback("glPixelMapusv", (GLADapiproc) glad_glPixelMapusv, 3, map, mapsize, values); + glad_glPixelMapusv(map, mapsize, values); + _post_call_gl_callback(NULL, "glPixelMapusv", (GLADapiproc) glad_glPixelMapusv, 3, map, mapsize, values); + +} +PFNGLPIXELMAPUSVPROC glad_debug_glPixelMapusv = glad_debug_impl_glPixelMapusv; PFNGLPIXELSTOREFPROC glad_glPixelStoref = NULL; +static void GLAD_API_PTR glad_debug_impl_glPixelStoref(GLenum pname, GLfloat param) { + _pre_call_gl_callback("glPixelStoref", (GLADapiproc) glad_glPixelStoref, 2, pname, param); + glad_glPixelStoref(pname, param); + _post_call_gl_callback(NULL, "glPixelStoref", (GLADapiproc) glad_glPixelStoref, 2, pname, param); + +} +PFNGLPIXELSTOREFPROC glad_debug_glPixelStoref = glad_debug_impl_glPixelStoref; PFNGLPIXELSTOREIPROC glad_glPixelStorei = NULL; +static void GLAD_API_PTR glad_debug_impl_glPixelStorei(GLenum pname, GLint param) { + _pre_call_gl_callback("glPixelStorei", (GLADapiproc) glad_glPixelStorei, 2, pname, param); + glad_glPixelStorei(pname, param); + _post_call_gl_callback(NULL, "glPixelStorei", (GLADapiproc) glad_glPixelStorei, 2, pname, param); + +} +PFNGLPIXELSTOREIPROC glad_debug_glPixelStorei = glad_debug_impl_glPixelStorei; +PFNGLPIXELTRANSFERFPROC glad_glPixelTransferf = NULL; +static void GLAD_API_PTR glad_debug_impl_glPixelTransferf(GLenum pname, GLfloat param) { + _pre_call_gl_callback("glPixelTransferf", (GLADapiproc) glad_glPixelTransferf, 2, pname, param); + glad_glPixelTransferf(pname, param); + _post_call_gl_callback(NULL, "glPixelTransferf", (GLADapiproc) glad_glPixelTransferf, 2, pname, param); + +} +PFNGLPIXELTRANSFERFPROC glad_debug_glPixelTransferf = glad_debug_impl_glPixelTransferf; +PFNGLPIXELTRANSFERIPROC glad_glPixelTransferi = NULL; +static void GLAD_API_PTR glad_debug_impl_glPixelTransferi(GLenum pname, GLint param) { + _pre_call_gl_callback("glPixelTransferi", (GLADapiproc) glad_glPixelTransferi, 2, pname, param); + glad_glPixelTransferi(pname, param); + _post_call_gl_callback(NULL, "glPixelTransferi", (GLADapiproc) glad_glPixelTransferi, 2, pname, param); + +} +PFNGLPIXELTRANSFERIPROC glad_debug_glPixelTransferi = glad_debug_impl_glPixelTransferi; +PFNGLPIXELZOOMPROC glad_glPixelZoom = NULL; +static void GLAD_API_PTR glad_debug_impl_glPixelZoom(GLfloat xfactor, GLfloat yfactor) { + _pre_call_gl_callback("glPixelZoom", (GLADapiproc) glad_glPixelZoom, 2, xfactor, yfactor); + glad_glPixelZoom(xfactor, yfactor); + _post_call_gl_callback(NULL, "glPixelZoom", (GLADapiproc) glad_glPixelZoom, 2, xfactor, yfactor); + +} +PFNGLPIXELZOOMPROC glad_debug_glPixelZoom = glad_debug_impl_glPixelZoom; PFNGLPOINTPARAMETERFPROC glad_glPointParameterf = NULL; +static void GLAD_API_PTR glad_debug_impl_glPointParameterf(GLenum pname, GLfloat param) { + _pre_call_gl_callback("glPointParameterf", (GLADapiproc) glad_glPointParameterf, 2, pname, param); + glad_glPointParameterf(pname, param); + _post_call_gl_callback(NULL, "glPointParameterf", (GLADapiproc) glad_glPointParameterf, 2, pname, param); + +} +PFNGLPOINTPARAMETERFPROC glad_debug_glPointParameterf = glad_debug_impl_glPointParameterf; PFNGLPOINTPARAMETERFVPROC glad_glPointParameterfv = NULL; +static void GLAD_API_PTR glad_debug_impl_glPointParameterfv(GLenum pname, const GLfloat * params) { + _pre_call_gl_callback("glPointParameterfv", (GLADapiproc) glad_glPointParameterfv, 2, pname, params); + glad_glPointParameterfv(pname, params); + _post_call_gl_callback(NULL, "glPointParameterfv", (GLADapiproc) glad_glPointParameterfv, 2, pname, params); + +} +PFNGLPOINTPARAMETERFVPROC glad_debug_glPointParameterfv = glad_debug_impl_glPointParameterfv; PFNGLPOINTPARAMETERIPROC glad_glPointParameteri = NULL; +static void GLAD_API_PTR glad_debug_impl_glPointParameteri(GLenum pname, GLint param) { + _pre_call_gl_callback("glPointParameteri", (GLADapiproc) glad_glPointParameteri, 2, pname, param); + glad_glPointParameteri(pname, param); + _post_call_gl_callback(NULL, "glPointParameteri", (GLADapiproc) glad_glPointParameteri, 2, pname, param); + +} +PFNGLPOINTPARAMETERIPROC glad_debug_glPointParameteri = glad_debug_impl_glPointParameteri; PFNGLPOINTPARAMETERIVPROC glad_glPointParameteriv = NULL; +static void GLAD_API_PTR glad_debug_impl_glPointParameteriv(GLenum pname, const GLint * params) { + _pre_call_gl_callback("glPointParameteriv", (GLADapiproc) glad_glPointParameteriv, 2, pname, params); + glad_glPointParameteriv(pname, params); + _post_call_gl_callback(NULL, "glPointParameteriv", (GLADapiproc) glad_glPointParameteriv, 2, pname, params); + +} +PFNGLPOINTPARAMETERIVPROC glad_debug_glPointParameteriv = glad_debug_impl_glPointParameteriv; PFNGLPOINTSIZEPROC glad_glPointSize = NULL; +static void GLAD_API_PTR glad_debug_impl_glPointSize(GLfloat size) { + _pre_call_gl_callback("glPointSize", (GLADapiproc) glad_glPointSize, 1, size); + glad_glPointSize(size); + _post_call_gl_callback(NULL, "glPointSize", (GLADapiproc) glad_glPointSize, 1, size); + +} +PFNGLPOINTSIZEPROC glad_debug_glPointSize = glad_debug_impl_glPointSize; PFNGLPOLYGONMODEPROC glad_glPolygonMode = NULL; +static void GLAD_API_PTR glad_debug_impl_glPolygonMode(GLenum face, GLenum mode) { + _pre_call_gl_callback("glPolygonMode", (GLADapiproc) glad_glPolygonMode, 2, face, mode); + glad_glPolygonMode(face, mode); + _post_call_gl_callback(NULL, "glPolygonMode", (GLADapiproc) glad_glPolygonMode, 2, face, mode); + +} +PFNGLPOLYGONMODEPROC glad_debug_glPolygonMode = glad_debug_impl_glPolygonMode; PFNGLPOLYGONOFFSETPROC glad_glPolygonOffset = NULL; +static void GLAD_API_PTR glad_debug_impl_glPolygonOffset(GLfloat factor, GLfloat units) { + _pre_call_gl_callback("glPolygonOffset", (GLADapiproc) glad_glPolygonOffset, 2, factor, units); + glad_glPolygonOffset(factor, units); + _post_call_gl_callback(NULL, "glPolygonOffset", (GLADapiproc) glad_glPolygonOffset, 2, factor, units); + +} +PFNGLPOLYGONOFFSETPROC glad_debug_glPolygonOffset = glad_debug_impl_glPolygonOffset; +PFNGLPOLYGONSTIPPLEPROC glad_glPolygonStipple = NULL; +static void GLAD_API_PTR glad_debug_impl_glPolygonStipple(const GLubyte * mask) { + _pre_call_gl_callback("glPolygonStipple", (GLADapiproc) glad_glPolygonStipple, 1, mask); + glad_glPolygonStipple(mask); + _post_call_gl_callback(NULL, "glPolygonStipple", (GLADapiproc) glad_glPolygonStipple, 1, mask); + +} +PFNGLPOLYGONSTIPPLEPROC glad_debug_glPolygonStipple = glad_debug_impl_glPolygonStipple; +PFNGLPOPATTRIBPROC glad_glPopAttrib = NULL; +static void GLAD_API_PTR glad_debug_impl_glPopAttrib(void) { + _pre_call_gl_callback("glPopAttrib", (GLADapiproc) glad_glPopAttrib, 0); + glad_glPopAttrib(); + _post_call_gl_callback(NULL, "glPopAttrib", (GLADapiproc) glad_glPopAttrib, 0); + +} +PFNGLPOPATTRIBPROC glad_debug_glPopAttrib = glad_debug_impl_glPopAttrib; +PFNGLPOPCLIENTATTRIBPROC glad_glPopClientAttrib = NULL; +static void GLAD_API_PTR glad_debug_impl_glPopClientAttrib(void) { + _pre_call_gl_callback("glPopClientAttrib", (GLADapiproc) glad_glPopClientAttrib, 0); + glad_glPopClientAttrib(); + _post_call_gl_callback(NULL, "glPopClientAttrib", (GLADapiproc) glad_glPopClientAttrib, 0); + +} +PFNGLPOPCLIENTATTRIBPROC glad_debug_glPopClientAttrib = glad_debug_impl_glPopClientAttrib; +PFNGLPOPMATRIXPROC glad_glPopMatrix = NULL; +static void GLAD_API_PTR glad_debug_impl_glPopMatrix(void) { + _pre_call_gl_callback("glPopMatrix", (GLADapiproc) glad_glPopMatrix, 0); + glad_glPopMatrix(); + _post_call_gl_callback(NULL, "glPopMatrix", (GLADapiproc) glad_glPopMatrix, 0); + +} +PFNGLPOPMATRIXPROC glad_debug_glPopMatrix = glad_debug_impl_glPopMatrix; +PFNGLPOPNAMEPROC glad_glPopName = NULL; +static void GLAD_API_PTR glad_debug_impl_glPopName(void) { + _pre_call_gl_callback("glPopName", (GLADapiproc) glad_glPopName, 0); + glad_glPopName(); + _post_call_gl_callback(NULL, "glPopName", (GLADapiproc) glad_glPopName, 0); + +} +PFNGLPOPNAMEPROC glad_debug_glPopName = glad_debug_impl_glPopName; PFNGLPRIMITIVERESTARTINDEXPROC glad_glPrimitiveRestartIndex = NULL; +static void GLAD_API_PTR glad_debug_impl_glPrimitiveRestartIndex(GLuint index) { + _pre_call_gl_callback("glPrimitiveRestartIndex", (GLADapiproc) glad_glPrimitiveRestartIndex, 1, index); + glad_glPrimitiveRestartIndex(index); + _post_call_gl_callback(NULL, "glPrimitiveRestartIndex", (GLADapiproc) glad_glPrimitiveRestartIndex, 1, index); + +} +PFNGLPRIMITIVERESTARTINDEXPROC glad_debug_glPrimitiveRestartIndex = glad_debug_impl_glPrimitiveRestartIndex; +PFNGLPRIORITIZETEXTURESPROC glad_glPrioritizeTextures = NULL; +static void GLAD_API_PTR glad_debug_impl_glPrioritizeTextures(GLsizei n, const GLuint * textures, const GLfloat * priorities) { + _pre_call_gl_callback("glPrioritizeTextures", (GLADapiproc) glad_glPrioritizeTextures, 3, n, textures, priorities); + glad_glPrioritizeTextures(n, textures, priorities); + _post_call_gl_callback(NULL, "glPrioritizeTextures", (GLADapiproc) glad_glPrioritizeTextures, 3, n, textures, priorities); + +} +PFNGLPRIORITIZETEXTURESPROC glad_debug_glPrioritizeTextures = glad_debug_impl_glPrioritizeTextures; PFNGLPROVOKINGVERTEXPROC glad_glProvokingVertex = NULL; +static void GLAD_API_PTR glad_debug_impl_glProvokingVertex(GLenum mode) { + _pre_call_gl_callback("glProvokingVertex", (GLADapiproc) glad_glProvokingVertex, 1, mode); + glad_glProvokingVertex(mode); + _post_call_gl_callback(NULL, "glProvokingVertex", (GLADapiproc) glad_glProvokingVertex, 1, mode); + +} +PFNGLPROVOKINGVERTEXPROC glad_debug_glProvokingVertex = glad_debug_impl_glProvokingVertex; +PFNGLPUSHATTRIBPROC glad_glPushAttrib = NULL; +static void GLAD_API_PTR glad_debug_impl_glPushAttrib(GLbitfield mask) { + _pre_call_gl_callback("glPushAttrib", (GLADapiproc) glad_glPushAttrib, 1, mask); + glad_glPushAttrib(mask); + _post_call_gl_callback(NULL, "glPushAttrib", (GLADapiproc) glad_glPushAttrib, 1, mask); + +} +PFNGLPUSHATTRIBPROC glad_debug_glPushAttrib = glad_debug_impl_glPushAttrib; +PFNGLPUSHCLIENTATTRIBPROC glad_glPushClientAttrib = NULL; +static void GLAD_API_PTR glad_debug_impl_glPushClientAttrib(GLbitfield mask) { + _pre_call_gl_callback("glPushClientAttrib", (GLADapiproc) glad_glPushClientAttrib, 1, mask); + glad_glPushClientAttrib(mask); + _post_call_gl_callback(NULL, "glPushClientAttrib", (GLADapiproc) glad_glPushClientAttrib, 1, mask); + +} +PFNGLPUSHCLIENTATTRIBPROC glad_debug_glPushClientAttrib = glad_debug_impl_glPushClientAttrib; +PFNGLPUSHMATRIXPROC glad_glPushMatrix = NULL; +static void GLAD_API_PTR glad_debug_impl_glPushMatrix(void) { + _pre_call_gl_callback("glPushMatrix", (GLADapiproc) glad_glPushMatrix, 0); + glad_glPushMatrix(); + _post_call_gl_callback(NULL, "glPushMatrix", (GLADapiproc) glad_glPushMatrix, 0); + +} +PFNGLPUSHMATRIXPROC glad_debug_glPushMatrix = glad_debug_impl_glPushMatrix; +PFNGLPUSHNAMEPROC glad_glPushName = NULL; +static void GLAD_API_PTR glad_debug_impl_glPushName(GLuint name) { + _pre_call_gl_callback("glPushName", (GLADapiproc) glad_glPushName, 1, name); + glad_glPushName(name); + _post_call_gl_callback(NULL, "glPushName", (GLADapiproc) glad_glPushName, 1, name); + +} +PFNGLPUSHNAMEPROC glad_debug_glPushName = glad_debug_impl_glPushName; PFNGLQUERYCOUNTERPROC glad_glQueryCounter = NULL; +static void GLAD_API_PTR glad_debug_impl_glQueryCounter(GLuint id, GLenum target) { + _pre_call_gl_callback("glQueryCounter", (GLADapiproc) glad_glQueryCounter, 2, id, target); + glad_glQueryCounter(id, target); + _post_call_gl_callback(NULL, "glQueryCounter", (GLADapiproc) glad_glQueryCounter, 2, id, target); + +} +PFNGLQUERYCOUNTERPROC glad_debug_glQueryCounter = glad_debug_impl_glQueryCounter; +PFNGLRASTERPOS2DPROC glad_glRasterPos2d = NULL; +static void GLAD_API_PTR glad_debug_impl_glRasterPos2d(GLdouble x, GLdouble y) { + _pre_call_gl_callback("glRasterPos2d", (GLADapiproc) glad_glRasterPos2d, 2, x, y); + glad_glRasterPos2d(x, y); + _post_call_gl_callback(NULL, "glRasterPos2d", (GLADapiproc) glad_glRasterPos2d, 2, x, y); + +} +PFNGLRASTERPOS2DPROC glad_debug_glRasterPos2d = glad_debug_impl_glRasterPos2d; +PFNGLRASTERPOS2DVPROC glad_glRasterPos2dv = NULL; +static void GLAD_API_PTR glad_debug_impl_glRasterPos2dv(const GLdouble * v) { + _pre_call_gl_callback("glRasterPos2dv", (GLADapiproc) glad_glRasterPos2dv, 1, v); + glad_glRasterPos2dv(v); + _post_call_gl_callback(NULL, "glRasterPos2dv", (GLADapiproc) glad_glRasterPos2dv, 1, v); + +} +PFNGLRASTERPOS2DVPROC glad_debug_glRasterPos2dv = glad_debug_impl_glRasterPos2dv; +PFNGLRASTERPOS2FPROC glad_glRasterPos2f = NULL; +static void GLAD_API_PTR glad_debug_impl_glRasterPos2f(GLfloat x, GLfloat y) { + _pre_call_gl_callback("glRasterPos2f", (GLADapiproc) glad_glRasterPos2f, 2, x, y); + glad_glRasterPos2f(x, y); + _post_call_gl_callback(NULL, "glRasterPos2f", (GLADapiproc) glad_glRasterPos2f, 2, x, y); + +} +PFNGLRASTERPOS2FPROC glad_debug_glRasterPos2f = glad_debug_impl_glRasterPos2f; +PFNGLRASTERPOS2FVPROC glad_glRasterPos2fv = NULL; +static void GLAD_API_PTR glad_debug_impl_glRasterPos2fv(const GLfloat * v) { + _pre_call_gl_callback("glRasterPos2fv", (GLADapiproc) glad_glRasterPos2fv, 1, v); + glad_glRasterPos2fv(v); + _post_call_gl_callback(NULL, "glRasterPos2fv", (GLADapiproc) glad_glRasterPos2fv, 1, v); + +} +PFNGLRASTERPOS2FVPROC glad_debug_glRasterPos2fv = glad_debug_impl_glRasterPos2fv; +PFNGLRASTERPOS2IPROC glad_glRasterPos2i = NULL; +static void GLAD_API_PTR glad_debug_impl_glRasterPos2i(GLint x, GLint y) { + _pre_call_gl_callback("glRasterPos2i", (GLADapiproc) glad_glRasterPos2i, 2, x, y); + glad_glRasterPos2i(x, y); + _post_call_gl_callback(NULL, "glRasterPos2i", (GLADapiproc) glad_glRasterPos2i, 2, x, y); + +} +PFNGLRASTERPOS2IPROC glad_debug_glRasterPos2i = glad_debug_impl_glRasterPos2i; +PFNGLRASTERPOS2IVPROC glad_glRasterPos2iv = NULL; +static void GLAD_API_PTR glad_debug_impl_glRasterPos2iv(const GLint * v) { + _pre_call_gl_callback("glRasterPos2iv", (GLADapiproc) glad_glRasterPos2iv, 1, v); + glad_glRasterPos2iv(v); + _post_call_gl_callback(NULL, "glRasterPos2iv", (GLADapiproc) glad_glRasterPos2iv, 1, v); + +} +PFNGLRASTERPOS2IVPROC glad_debug_glRasterPos2iv = glad_debug_impl_glRasterPos2iv; +PFNGLRASTERPOS2SPROC glad_glRasterPos2s = NULL; +static void GLAD_API_PTR glad_debug_impl_glRasterPos2s(GLshort x, GLshort y) { + _pre_call_gl_callback("glRasterPos2s", (GLADapiproc) glad_glRasterPos2s, 2, x, y); + glad_glRasterPos2s(x, y); + _post_call_gl_callback(NULL, "glRasterPos2s", (GLADapiproc) glad_glRasterPos2s, 2, x, y); + +} +PFNGLRASTERPOS2SPROC glad_debug_glRasterPos2s = glad_debug_impl_glRasterPos2s; +PFNGLRASTERPOS2SVPROC glad_glRasterPos2sv = NULL; +static void GLAD_API_PTR glad_debug_impl_glRasterPos2sv(const GLshort * v) { + _pre_call_gl_callback("glRasterPos2sv", (GLADapiproc) glad_glRasterPos2sv, 1, v); + glad_glRasterPos2sv(v); + _post_call_gl_callback(NULL, "glRasterPos2sv", (GLADapiproc) glad_glRasterPos2sv, 1, v); + +} +PFNGLRASTERPOS2SVPROC glad_debug_glRasterPos2sv = glad_debug_impl_glRasterPos2sv; +PFNGLRASTERPOS3DPROC glad_glRasterPos3d = NULL; +static void GLAD_API_PTR glad_debug_impl_glRasterPos3d(GLdouble x, GLdouble y, GLdouble z) { + _pre_call_gl_callback("glRasterPos3d", (GLADapiproc) glad_glRasterPos3d, 3, x, y, z); + glad_glRasterPos3d(x, y, z); + _post_call_gl_callback(NULL, "glRasterPos3d", (GLADapiproc) glad_glRasterPos3d, 3, x, y, z); + +} +PFNGLRASTERPOS3DPROC glad_debug_glRasterPos3d = glad_debug_impl_glRasterPos3d; +PFNGLRASTERPOS3DVPROC glad_glRasterPos3dv = NULL; +static void GLAD_API_PTR glad_debug_impl_glRasterPos3dv(const GLdouble * v) { + _pre_call_gl_callback("glRasterPos3dv", (GLADapiproc) glad_glRasterPos3dv, 1, v); + glad_glRasterPos3dv(v); + _post_call_gl_callback(NULL, "glRasterPos3dv", (GLADapiproc) glad_glRasterPos3dv, 1, v); + +} +PFNGLRASTERPOS3DVPROC glad_debug_glRasterPos3dv = glad_debug_impl_glRasterPos3dv; +PFNGLRASTERPOS3FPROC glad_glRasterPos3f = NULL; +static void GLAD_API_PTR glad_debug_impl_glRasterPos3f(GLfloat x, GLfloat y, GLfloat z) { + _pre_call_gl_callback("glRasterPos3f", (GLADapiproc) glad_glRasterPos3f, 3, x, y, z); + glad_glRasterPos3f(x, y, z); + _post_call_gl_callback(NULL, "glRasterPos3f", (GLADapiproc) glad_glRasterPos3f, 3, x, y, z); + +} +PFNGLRASTERPOS3FPROC glad_debug_glRasterPos3f = glad_debug_impl_glRasterPos3f; +PFNGLRASTERPOS3FVPROC glad_glRasterPos3fv = NULL; +static void GLAD_API_PTR glad_debug_impl_glRasterPos3fv(const GLfloat * v) { + _pre_call_gl_callback("glRasterPos3fv", (GLADapiproc) glad_glRasterPos3fv, 1, v); + glad_glRasterPos3fv(v); + _post_call_gl_callback(NULL, "glRasterPos3fv", (GLADapiproc) glad_glRasterPos3fv, 1, v); + +} +PFNGLRASTERPOS3FVPROC glad_debug_glRasterPos3fv = glad_debug_impl_glRasterPos3fv; +PFNGLRASTERPOS3IPROC glad_glRasterPos3i = NULL; +static void GLAD_API_PTR glad_debug_impl_glRasterPos3i(GLint x, GLint y, GLint z) { + _pre_call_gl_callback("glRasterPos3i", (GLADapiproc) glad_glRasterPos3i, 3, x, y, z); + glad_glRasterPos3i(x, y, z); + _post_call_gl_callback(NULL, "glRasterPos3i", (GLADapiproc) glad_glRasterPos3i, 3, x, y, z); + +} +PFNGLRASTERPOS3IPROC glad_debug_glRasterPos3i = glad_debug_impl_glRasterPos3i; +PFNGLRASTERPOS3IVPROC glad_glRasterPos3iv = NULL; +static void GLAD_API_PTR glad_debug_impl_glRasterPos3iv(const GLint * v) { + _pre_call_gl_callback("glRasterPos3iv", (GLADapiproc) glad_glRasterPos3iv, 1, v); + glad_glRasterPos3iv(v); + _post_call_gl_callback(NULL, "glRasterPos3iv", (GLADapiproc) glad_glRasterPos3iv, 1, v); + +} +PFNGLRASTERPOS3IVPROC glad_debug_glRasterPos3iv = glad_debug_impl_glRasterPos3iv; +PFNGLRASTERPOS3SPROC glad_glRasterPos3s = NULL; +static void GLAD_API_PTR glad_debug_impl_glRasterPos3s(GLshort x, GLshort y, GLshort z) { + _pre_call_gl_callback("glRasterPos3s", (GLADapiproc) glad_glRasterPos3s, 3, x, y, z); + glad_glRasterPos3s(x, y, z); + _post_call_gl_callback(NULL, "glRasterPos3s", (GLADapiproc) glad_glRasterPos3s, 3, x, y, z); + +} +PFNGLRASTERPOS3SPROC glad_debug_glRasterPos3s = glad_debug_impl_glRasterPos3s; +PFNGLRASTERPOS3SVPROC glad_glRasterPos3sv = NULL; +static void GLAD_API_PTR glad_debug_impl_glRasterPos3sv(const GLshort * v) { + _pre_call_gl_callback("glRasterPos3sv", (GLADapiproc) glad_glRasterPos3sv, 1, v); + glad_glRasterPos3sv(v); + _post_call_gl_callback(NULL, "glRasterPos3sv", (GLADapiproc) glad_glRasterPos3sv, 1, v); + +} +PFNGLRASTERPOS3SVPROC glad_debug_glRasterPos3sv = glad_debug_impl_glRasterPos3sv; +PFNGLRASTERPOS4DPROC glad_glRasterPos4d = NULL; +static void GLAD_API_PTR glad_debug_impl_glRasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w) { + _pre_call_gl_callback("glRasterPos4d", (GLADapiproc) glad_glRasterPos4d, 4, x, y, z, w); + glad_glRasterPos4d(x, y, z, w); + _post_call_gl_callback(NULL, "glRasterPos4d", (GLADapiproc) glad_glRasterPos4d, 4, x, y, z, w); + +} +PFNGLRASTERPOS4DPROC glad_debug_glRasterPos4d = glad_debug_impl_glRasterPos4d; +PFNGLRASTERPOS4DVPROC glad_glRasterPos4dv = NULL; +static void GLAD_API_PTR glad_debug_impl_glRasterPos4dv(const GLdouble * v) { + _pre_call_gl_callback("glRasterPos4dv", (GLADapiproc) glad_glRasterPos4dv, 1, v); + glad_glRasterPos4dv(v); + _post_call_gl_callback(NULL, "glRasterPos4dv", (GLADapiproc) glad_glRasterPos4dv, 1, v); + +} +PFNGLRASTERPOS4DVPROC glad_debug_glRasterPos4dv = glad_debug_impl_glRasterPos4dv; +PFNGLRASTERPOS4FPROC glad_glRasterPos4f = NULL; +static void GLAD_API_PTR glad_debug_impl_glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w) { + _pre_call_gl_callback("glRasterPos4f", (GLADapiproc) glad_glRasterPos4f, 4, x, y, z, w); + glad_glRasterPos4f(x, y, z, w); + _post_call_gl_callback(NULL, "glRasterPos4f", (GLADapiproc) glad_glRasterPos4f, 4, x, y, z, w); + +} +PFNGLRASTERPOS4FPROC glad_debug_glRasterPos4f = glad_debug_impl_glRasterPos4f; +PFNGLRASTERPOS4FVPROC glad_glRasterPos4fv = NULL; +static void GLAD_API_PTR glad_debug_impl_glRasterPos4fv(const GLfloat * v) { + _pre_call_gl_callback("glRasterPos4fv", (GLADapiproc) glad_glRasterPos4fv, 1, v); + glad_glRasterPos4fv(v); + _post_call_gl_callback(NULL, "glRasterPos4fv", (GLADapiproc) glad_glRasterPos4fv, 1, v); + +} +PFNGLRASTERPOS4FVPROC glad_debug_glRasterPos4fv = glad_debug_impl_glRasterPos4fv; +PFNGLRASTERPOS4IPROC glad_glRasterPos4i = NULL; +static void GLAD_API_PTR glad_debug_impl_glRasterPos4i(GLint x, GLint y, GLint z, GLint w) { + _pre_call_gl_callback("glRasterPos4i", (GLADapiproc) glad_glRasterPos4i, 4, x, y, z, w); + glad_glRasterPos4i(x, y, z, w); + _post_call_gl_callback(NULL, "glRasterPos4i", (GLADapiproc) glad_glRasterPos4i, 4, x, y, z, w); + +} +PFNGLRASTERPOS4IPROC glad_debug_glRasterPos4i = glad_debug_impl_glRasterPos4i; +PFNGLRASTERPOS4IVPROC glad_glRasterPos4iv = NULL; +static void GLAD_API_PTR glad_debug_impl_glRasterPos4iv(const GLint * v) { + _pre_call_gl_callback("glRasterPos4iv", (GLADapiproc) glad_glRasterPos4iv, 1, v); + glad_glRasterPos4iv(v); + _post_call_gl_callback(NULL, "glRasterPos4iv", (GLADapiproc) glad_glRasterPos4iv, 1, v); + +} +PFNGLRASTERPOS4IVPROC glad_debug_glRasterPos4iv = glad_debug_impl_glRasterPos4iv; +PFNGLRASTERPOS4SPROC glad_glRasterPos4s = NULL; +static void GLAD_API_PTR glad_debug_impl_glRasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w) { + _pre_call_gl_callback("glRasterPos4s", (GLADapiproc) glad_glRasterPos4s, 4, x, y, z, w); + glad_glRasterPos4s(x, y, z, w); + _post_call_gl_callback(NULL, "glRasterPos4s", (GLADapiproc) glad_glRasterPos4s, 4, x, y, z, w); + +} +PFNGLRASTERPOS4SPROC glad_debug_glRasterPos4s = glad_debug_impl_glRasterPos4s; +PFNGLRASTERPOS4SVPROC glad_glRasterPos4sv = NULL; +static void GLAD_API_PTR glad_debug_impl_glRasterPos4sv(const GLshort * v) { + _pre_call_gl_callback("glRasterPos4sv", (GLADapiproc) glad_glRasterPos4sv, 1, v); + glad_glRasterPos4sv(v); + _post_call_gl_callback(NULL, "glRasterPos4sv", (GLADapiproc) glad_glRasterPos4sv, 1, v); + +} +PFNGLRASTERPOS4SVPROC glad_debug_glRasterPos4sv = glad_debug_impl_glRasterPos4sv; PFNGLREADBUFFERPROC glad_glReadBuffer = NULL; +static void GLAD_API_PTR glad_debug_impl_glReadBuffer(GLenum src) { + _pre_call_gl_callback("glReadBuffer", (GLADapiproc) glad_glReadBuffer, 1, src); + glad_glReadBuffer(src); + _post_call_gl_callback(NULL, "glReadBuffer", (GLADapiproc) glad_glReadBuffer, 1, src); + +} +PFNGLREADBUFFERPROC glad_debug_glReadBuffer = glad_debug_impl_glReadBuffer; PFNGLREADPIXELSPROC glad_glReadPixels = NULL; +static void GLAD_API_PTR glad_debug_impl_glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void * pixels) { + _pre_call_gl_callback("glReadPixels", (GLADapiproc) glad_glReadPixels, 7, x, y, width, height, format, type, pixels); + glad_glReadPixels(x, y, width, height, format, type, pixels); + _post_call_gl_callback(NULL, "glReadPixels", (GLADapiproc) glad_glReadPixels, 7, x, y, width, height, format, type, pixels); + +} +PFNGLREADPIXELSPROC glad_debug_glReadPixels = glad_debug_impl_glReadPixels; +PFNGLRECTDPROC glad_glRectd = NULL; +static void GLAD_API_PTR glad_debug_impl_glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2) { + _pre_call_gl_callback("glRectd", (GLADapiproc) glad_glRectd, 4, x1, y1, x2, y2); + glad_glRectd(x1, y1, x2, y2); + _post_call_gl_callback(NULL, "glRectd", (GLADapiproc) glad_glRectd, 4, x1, y1, x2, y2); + +} +PFNGLRECTDPROC glad_debug_glRectd = glad_debug_impl_glRectd; +PFNGLRECTDVPROC glad_glRectdv = NULL; +static void GLAD_API_PTR glad_debug_impl_glRectdv(const GLdouble * v1, const GLdouble * v2) { + _pre_call_gl_callback("glRectdv", (GLADapiproc) glad_glRectdv, 2, v1, v2); + glad_glRectdv(v1, v2); + _post_call_gl_callback(NULL, "glRectdv", (GLADapiproc) glad_glRectdv, 2, v1, v2); + +} +PFNGLRECTDVPROC glad_debug_glRectdv = glad_debug_impl_glRectdv; +PFNGLRECTFPROC glad_glRectf = NULL; +static void GLAD_API_PTR glad_debug_impl_glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2) { + _pre_call_gl_callback("glRectf", (GLADapiproc) glad_glRectf, 4, x1, y1, x2, y2); + glad_glRectf(x1, y1, x2, y2); + _post_call_gl_callback(NULL, "glRectf", (GLADapiproc) glad_glRectf, 4, x1, y1, x2, y2); + +} +PFNGLRECTFPROC glad_debug_glRectf = glad_debug_impl_glRectf; +PFNGLRECTFVPROC glad_glRectfv = NULL; +static void GLAD_API_PTR glad_debug_impl_glRectfv(const GLfloat * v1, const GLfloat * v2) { + _pre_call_gl_callback("glRectfv", (GLADapiproc) glad_glRectfv, 2, v1, v2); + glad_glRectfv(v1, v2); + _post_call_gl_callback(NULL, "glRectfv", (GLADapiproc) glad_glRectfv, 2, v1, v2); + +} +PFNGLRECTFVPROC glad_debug_glRectfv = glad_debug_impl_glRectfv; +PFNGLRECTIPROC glad_glRecti = NULL; +static void GLAD_API_PTR glad_debug_impl_glRecti(GLint x1, GLint y1, GLint x2, GLint y2) { + _pre_call_gl_callback("glRecti", (GLADapiproc) glad_glRecti, 4, x1, y1, x2, y2); + glad_glRecti(x1, y1, x2, y2); + _post_call_gl_callback(NULL, "glRecti", (GLADapiproc) glad_glRecti, 4, x1, y1, x2, y2); + +} +PFNGLRECTIPROC glad_debug_glRecti = glad_debug_impl_glRecti; +PFNGLRECTIVPROC glad_glRectiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glRectiv(const GLint * v1, const GLint * v2) { + _pre_call_gl_callback("glRectiv", (GLADapiproc) glad_glRectiv, 2, v1, v2); + glad_glRectiv(v1, v2); + _post_call_gl_callback(NULL, "glRectiv", (GLADapiproc) glad_glRectiv, 2, v1, v2); + +} +PFNGLRECTIVPROC glad_debug_glRectiv = glad_debug_impl_glRectiv; +PFNGLRECTSPROC glad_glRects = NULL; +static void GLAD_API_PTR glad_debug_impl_glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y2) { + _pre_call_gl_callback("glRects", (GLADapiproc) glad_glRects, 4, x1, y1, x2, y2); + glad_glRects(x1, y1, x2, y2); + _post_call_gl_callback(NULL, "glRects", (GLADapiproc) glad_glRects, 4, x1, y1, x2, y2); + +} +PFNGLRECTSPROC glad_debug_glRects = glad_debug_impl_glRects; +PFNGLRECTSVPROC glad_glRectsv = NULL; +static void GLAD_API_PTR glad_debug_impl_glRectsv(const GLshort * v1, const GLshort * v2) { + _pre_call_gl_callback("glRectsv", (GLADapiproc) glad_glRectsv, 2, v1, v2); + glad_glRectsv(v1, v2); + _post_call_gl_callback(NULL, "glRectsv", (GLADapiproc) glad_glRectsv, 2, v1, v2); + +} +PFNGLRECTSVPROC glad_debug_glRectsv = glad_debug_impl_glRectsv; +PFNGLRENDERMODEPROC glad_glRenderMode = NULL; +static GLint GLAD_API_PTR glad_debug_impl_glRenderMode(GLenum mode) { + GLint ret; + _pre_call_gl_callback("glRenderMode", (GLADapiproc) glad_glRenderMode, 1, mode); + ret = glad_glRenderMode(mode); + _post_call_gl_callback((void*) &ret, "glRenderMode", (GLADapiproc) glad_glRenderMode, 1, mode); + return ret; +} +PFNGLRENDERMODEPROC glad_debug_glRenderMode = glad_debug_impl_glRenderMode; PFNGLRENDERBUFFERSTORAGEPROC glad_glRenderbufferStorage = NULL; +static void GLAD_API_PTR glad_debug_impl_glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height) { + _pre_call_gl_callback("glRenderbufferStorage", (GLADapiproc) glad_glRenderbufferStorage, 4, target, internalformat, width, height); + glad_glRenderbufferStorage(target, internalformat, width, height); + _post_call_gl_callback(NULL, "glRenderbufferStorage", (GLADapiproc) glad_glRenderbufferStorage, 4, target, internalformat, width, height); + +} +PFNGLRENDERBUFFERSTORAGEPROC glad_debug_glRenderbufferStorage = glad_debug_impl_glRenderbufferStorage; PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC glad_glRenderbufferStorageMultisample = NULL; +static void GLAD_API_PTR glad_debug_impl_glRenderbufferStorageMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) { + _pre_call_gl_callback("glRenderbufferStorageMultisample", (GLADapiproc) glad_glRenderbufferStorageMultisample, 5, target, samples, internalformat, width, height); + glad_glRenderbufferStorageMultisample(target, samples, internalformat, width, height); + _post_call_gl_callback(NULL, "glRenderbufferStorageMultisample", (GLADapiproc) glad_glRenderbufferStorageMultisample, 5, target, samples, internalformat, width, height); + +} +PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC glad_debug_glRenderbufferStorageMultisample = glad_debug_impl_glRenderbufferStorageMultisample; +PFNGLROTATEDPROC glad_glRotated = NULL; +static void GLAD_API_PTR glad_debug_impl_glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z) { + _pre_call_gl_callback("glRotated", (GLADapiproc) glad_glRotated, 4, angle, x, y, z); + glad_glRotated(angle, x, y, z); + _post_call_gl_callback(NULL, "glRotated", (GLADapiproc) glad_glRotated, 4, angle, x, y, z); + +} +PFNGLROTATEDPROC glad_debug_glRotated = glad_debug_impl_glRotated; +PFNGLROTATEFPROC glad_glRotatef = NULL; +static void GLAD_API_PTR glad_debug_impl_glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z) { + _pre_call_gl_callback("glRotatef", (GLADapiproc) glad_glRotatef, 4, angle, x, y, z); + glad_glRotatef(angle, x, y, z); + _post_call_gl_callback(NULL, "glRotatef", (GLADapiproc) glad_glRotatef, 4, angle, x, y, z); + +} +PFNGLROTATEFPROC glad_debug_glRotatef = glad_debug_impl_glRotatef; PFNGLSAMPLECOVERAGEPROC glad_glSampleCoverage = NULL; +static void GLAD_API_PTR glad_debug_impl_glSampleCoverage(GLfloat value, GLboolean invert) { + _pre_call_gl_callback("glSampleCoverage", (GLADapiproc) glad_glSampleCoverage, 2, value, invert); + glad_glSampleCoverage(value, invert); + _post_call_gl_callback(NULL, "glSampleCoverage", (GLADapiproc) glad_glSampleCoverage, 2, value, invert); + +} +PFNGLSAMPLECOVERAGEPROC glad_debug_glSampleCoverage = glad_debug_impl_glSampleCoverage; PFNGLSAMPLEMASKIPROC glad_glSampleMaski = NULL; +static void GLAD_API_PTR glad_debug_impl_glSampleMaski(GLuint maskNumber, GLbitfield mask) { + _pre_call_gl_callback("glSampleMaski", (GLADapiproc) glad_glSampleMaski, 2, maskNumber, mask); + glad_glSampleMaski(maskNumber, mask); + _post_call_gl_callback(NULL, "glSampleMaski", (GLADapiproc) glad_glSampleMaski, 2, maskNumber, mask); + +} +PFNGLSAMPLEMASKIPROC glad_debug_glSampleMaski = glad_debug_impl_glSampleMaski; PFNGLSAMPLERPARAMETERIIVPROC glad_glSamplerParameterIiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glSamplerParameterIiv(GLuint sampler, GLenum pname, const GLint * param) { + _pre_call_gl_callback("glSamplerParameterIiv", (GLADapiproc) glad_glSamplerParameterIiv, 3, sampler, pname, param); + glad_glSamplerParameterIiv(sampler, pname, param); + _post_call_gl_callback(NULL, "glSamplerParameterIiv", (GLADapiproc) glad_glSamplerParameterIiv, 3, sampler, pname, param); + +} +PFNGLSAMPLERPARAMETERIIVPROC glad_debug_glSamplerParameterIiv = glad_debug_impl_glSamplerParameterIiv; PFNGLSAMPLERPARAMETERIUIVPROC glad_glSamplerParameterIuiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glSamplerParameterIuiv(GLuint sampler, GLenum pname, const GLuint * param) { + _pre_call_gl_callback("glSamplerParameterIuiv", (GLADapiproc) glad_glSamplerParameterIuiv, 3, sampler, pname, param); + glad_glSamplerParameterIuiv(sampler, pname, param); + _post_call_gl_callback(NULL, "glSamplerParameterIuiv", (GLADapiproc) glad_glSamplerParameterIuiv, 3, sampler, pname, param); + +} +PFNGLSAMPLERPARAMETERIUIVPROC glad_debug_glSamplerParameterIuiv = glad_debug_impl_glSamplerParameterIuiv; PFNGLSAMPLERPARAMETERFPROC glad_glSamplerParameterf = NULL; +static void GLAD_API_PTR glad_debug_impl_glSamplerParameterf(GLuint sampler, GLenum pname, GLfloat param) { + _pre_call_gl_callback("glSamplerParameterf", (GLADapiproc) glad_glSamplerParameterf, 3, sampler, pname, param); + glad_glSamplerParameterf(sampler, pname, param); + _post_call_gl_callback(NULL, "glSamplerParameterf", (GLADapiproc) glad_glSamplerParameterf, 3, sampler, pname, param); + +} +PFNGLSAMPLERPARAMETERFPROC glad_debug_glSamplerParameterf = glad_debug_impl_glSamplerParameterf; PFNGLSAMPLERPARAMETERFVPROC glad_glSamplerParameterfv = NULL; +static void GLAD_API_PTR glad_debug_impl_glSamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat * param) { + _pre_call_gl_callback("glSamplerParameterfv", (GLADapiproc) glad_glSamplerParameterfv, 3, sampler, pname, param); + glad_glSamplerParameterfv(sampler, pname, param); + _post_call_gl_callback(NULL, "glSamplerParameterfv", (GLADapiproc) glad_glSamplerParameterfv, 3, sampler, pname, param); + +} +PFNGLSAMPLERPARAMETERFVPROC glad_debug_glSamplerParameterfv = glad_debug_impl_glSamplerParameterfv; PFNGLSAMPLERPARAMETERIPROC glad_glSamplerParameteri = NULL; +static void GLAD_API_PTR glad_debug_impl_glSamplerParameteri(GLuint sampler, GLenum pname, GLint param) { + _pre_call_gl_callback("glSamplerParameteri", (GLADapiproc) glad_glSamplerParameteri, 3, sampler, pname, param); + glad_glSamplerParameteri(sampler, pname, param); + _post_call_gl_callback(NULL, "glSamplerParameteri", (GLADapiproc) glad_glSamplerParameteri, 3, sampler, pname, param); + +} +PFNGLSAMPLERPARAMETERIPROC glad_debug_glSamplerParameteri = glad_debug_impl_glSamplerParameteri; PFNGLSAMPLERPARAMETERIVPROC glad_glSamplerParameteriv = NULL; +static void GLAD_API_PTR glad_debug_impl_glSamplerParameteriv(GLuint sampler, GLenum pname, const GLint * param) { + _pre_call_gl_callback("glSamplerParameteriv", (GLADapiproc) glad_glSamplerParameteriv, 3, sampler, pname, param); + glad_glSamplerParameteriv(sampler, pname, param); + _post_call_gl_callback(NULL, "glSamplerParameteriv", (GLADapiproc) glad_glSamplerParameteriv, 3, sampler, pname, param); + +} +PFNGLSAMPLERPARAMETERIVPROC glad_debug_glSamplerParameteriv = glad_debug_impl_glSamplerParameteriv; +PFNGLSCALEDPROC glad_glScaled = NULL; +static void GLAD_API_PTR glad_debug_impl_glScaled(GLdouble x, GLdouble y, GLdouble z) { + _pre_call_gl_callback("glScaled", (GLADapiproc) glad_glScaled, 3, x, y, z); + glad_glScaled(x, y, z); + _post_call_gl_callback(NULL, "glScaled", (GLADapiproc) glad_glScaled, 3, x, y, z); + +} +PFNGLSCALEDPROC glad_debug_glScaled = glad_debug_impl_glScaled; +PFNGLSCALEFPROC glad_glScalef = NULL; +static void GLAD_API_PTR glad_debug_impl_glScalef(GLfloat x, GLfloat y, GLfloat z) { + _pre_call_gl_callback("glScalef", (GLADapiproc) glad_glScalef, 3, x, y, z); + glad_glScalef(x, y, z); + _post_call_gl_callback(NULL, "glScalef", (GLADapiproc) glad_glScalef, 3, x, y, z); + +} +PFNGLSCALEFPROC glad_debug_glScalef = glad_debug_impl_glScalef; PFNGLSCISSORPROC glad_glScissor = NULL; +static void GLAD_API_PTR glad_debug_impl_glScissor(GLint x, GLint y, GLsizei width, GLsizei height) { + _pre_call_gl_callback("glScissor", (GLADapiproc) glad_glScissor, 4, x, y, width, height); + glad_glScissor(x, y, width, height); + _post_call_gl_callback(NULL, "glScissor", (GLADapiproc) glad_glScissor, 4, x, y, width, height); + +} +PFNGLSCISSORPROC glad_debug_glScissor = glad_debug_impl_glScissor; +PFNGLSECONDARYCOLOR3BPROC glad_glSecondaryColor3b = NULL; +static void GLAD_API_PTR glad_debug_impl_glSecondaryColor3b(GLbyte red, GLbyte green, GLbyte blue) { + _pre_call_gl_callback("glSecondaryColor3b", (GLADapiproc) glad_glSecondaryColor3b, 3, red, green, blue); + glad_glSecondaryColor3b(red, green, blue); + _post_call_gl_callback(NULL, "glSecondaryColor3b", (GLADapiproc) glad_glSecondaryColor3b, 3, red, green, blue); + +} +PFNGLSECONDARYCOLOR3BPROC glad_debug_glSecondaryColor3b = glad_debug_impl_glSecondaryColor3b; +PFNGLSECONDARYCOLOR3BVPROC glad_glSecondaryColor3bv = NULL; +static void GLAD_API_PTR glad_debug_impl_glSecondaryColor3bv(const GLbyte * v) { + _pre_call_gl_callback("glSecondaryColor3bv", (GLADapiproc) glad_glSecondaryColor3bv, 1, v); + glad_glSecondaryColor3bv(v); + _post_call_gl_callback(NULL, "glSecondaryColor3bv", (GLADapiproc) glad_glSecondaryColor3bv, 1, v); + +} +PFNGLSECONDARYCOLOR3BVPROC glad_debug_glSecondaryColor3bv = glad_debug_impl_glSecondaryColor3bv; +PFNGLSECONDARYCOLOR3DPROC glad_glSecondaryColor3d = NULL; +static void GLAD_API_PTR glad_debug_impl_glSecondaryColor3d(GLdouble red, GLdouble green, GLdouble blue) { + _pre_call_gl_callback("glSecondaryColor3d", (GLADapiproc) glad_glSecondaryColor3d, 3, red, green, blue); + glad_glSecondaryColor3d(red, green, blue); + _post_call_gl_callback(NULL, "glSecondaryColor3d", (GLADapiproc) glad_glSecondaryColor3d, 3, red, green, blue); + +} +PFNGLSECONDARYCOLOR3DPROC glad_debug_glSecondaryColor3d = glad_debug_impl_glSecondaryColor3d; +PFNGLSECONDARYCOLOR3DVPROC glad_glSecondaryColor3dv = NULL; +static void GLAD_API_PTR glad_debug_impl_glSecondaryColor3dv(const GLdouble * v) { + _pre_call_gl_callback("glSecondaryColor3dv", (GLADapiproc) glad_glSecondaryColor3dv, 1, v); + glad_glSecondaryColor3dv(v); + _post_call_gl_callback(NULL, "glSecondaryColor3dv", (GLADapiproc) glad_glSecondaryColor3dv, 1, v); + +} +PFNGLSECONDARYCOLOR3DVPROC glad_debug_glSecondaryColor3dv = glad_debug_impl_glSecondaryColor3dv; +PFNGLSECONDARYCOLOR3FPROC glad_glSecondaryColor3f = NULL; +static void GLAD_API_PTR glad_debug_impl_glSecondaryColor3f(GLfloat red, GLfloat green, GLfloat blue) { + _pre_call_gl_callback("glSecondaryColor3f", (GLADapiproc) glad_glSecondaryColor3f, 3, red, green, blue); + glad_glSecondaryColor3f(red, green, blue); + _post_call_gl_callback(NULL, "glSecondaryColor3f", (GLADapiproc) glad_glSecondaryColor3f, 3, red, green, blue); + +} +PFNGLSECONDARYCOLOR3FPROC glad_debug_glSecondaryColor3f = glad_debug_impl_glSecondaryColor3f; +PFNGLSECONDARYCOLOR3FVPROC glad_glSecondaryColor3fv = NULL; +static void GLAD_API_PTR glad_debug_impl_glSecondaryColor3fv(const GLfloat * v) { + _pre_call_gl_callback("glSecondaryColor3fv", (GLADapiproc) glad_glSecondaryColor3fv, 1, v); + glad_glSecondaryColor3fv(v); + _post_call_gl_callback(NULL, "glSecondaryColor3fv", (GLADapiproc) glad_glSecondaryColor3fv, 1, v); + +} +PFNGLSECONDARYCOLOR3FVPROC glad_debug_glSecondaryColor3fv = glad_debug_impl_glSecondaryColor3fv; +PFNGLSECONDARYCOLOR3IPROC glad_glSecondaryColor3i = NULL; +static void GLAD_API_PTR glad_debug_impl_glSecondaryColor3i(GLint red, GLint green, GLint blue) { + _pre_call_gl_callback("glSecondaryColor3i", (GLADapiproc) glad_glSecondaryColor3i, 3, red, green, blue); + glad_glSecondaryColor3i(red, green, blue); + _post_call_gl_callback(NULL, "glSecondaryColor3i", (GLADapiproc) glad_glSecondaryColor3i, 3, red, green, blue); + +} +PFNGLSECONDARYCOLOR3IPROC glad_debug_glSecondaryColor3i = glad_debug_impl_glSecondaryColor3i; +PFNGLSECONDARYCOLOR3IVPROC glad_glSecondaryColor3iv = NULL; +static void GLAD_API_PTR glad_debug_impl_glSecondaryColor3iv(const GLint * v) { + _pre_call_gl_callback("glSecondaryColor3iv", (GLADapiproc) glad_glSecondaryColor3iv, 1, v); + glad_glSecondaryColor3iv(v); + _post_call_gl_callback(NULL, "glSecondaryColor3iv", (GLADapiproc) glad_glSecondaryColor3iv, 1, v); + +} +PFNGLSECONDARYCOLOR3IVPROC glad_debug_glSecondaryColor3iv = glad_debug_impl_glSecondaryColor3iv; +PFNGLSECONDARYCOLOR3SPROC glad_glSecondaryColor3s = NULL; +static void GLAD_API_PTR glad_debug_impl_glSecondaryColor3s(GLshort red, GLshort green, GLshort blue) { + _pre_call_gl_callback("glSecondaryColor3s", (GLADapiproc) glad_glSecondaryColor3s, 3, red, green, blue); + glad_glSecondaryColor3s(red, green, blue); + _post_call_gl_callback(NULL, "glSecondaryColor3s", (GLADapiproc) glad_glSecondaryColor3s, 3, red, green, blue); + +} +PFNGLSECONDARYCOLOR3SPROC glad_debug_glSecondaryColor3s = glad_debug_impl_glSecondaryColor3s; +PFNGLSECONDARYCOLOR3SVPROC glad_glSecondaryColor3sv = NULL; +static void GLAD_API_PTR glad_debug_impl_glSecondaryColor3sv(const GLshort * v) { + _pre_call_gl_callback("glSecondaryColor3sv", (GLADapiproc) glad_glSecondaryColor3sv, 1, v); + glad_glSecondaryColor3sv(v); + _post_call_gl_callback(NULL, "glSecondaryColor3sv", (GLADapiproc) glad_glSecondaryColor3sv, 1, v); + +} +PFNGLSECONDARYCOLOR3SVPROC glad_debug_glSecondaryColor3sv = glad_debug_impl_glSecondaryColor3sv; +PFNGLSECONDARYCOLOR3UBPROC glad_glSecondaryColor3ub = NULL; +static void GLAD_API_PTR glad_debug_impl_glSecondaryColor3ub(GLubyte red, GLubyte green, GLubyte blue) { + _pre_call_gl_callback("glSecondaryColor3ub", (GLADapiproc) glad_glSecondaryColor3ub, 3, red, green, blue); + glad_glSecondaryColor3ub(red, green, blue); + _post_call_gl_callback(NULL, "glSecondaryColor3ub", (GLADapiproc) glad_glSecondaryColor3ub, 3, red, green, blue); + +} +PFNGLSECONDARYCOLOR3UBPROC glad_debug_glSecondaryColor3ub = glad_debug_impl_glSecondaryColor3ub; +PFNGLSECONDARYCOLOR3UBVPROC glad_glSecondaryColor3ubv = NULL; +static void GLAD_API_PTR glad_debug_impl_glSecondaryColor3ubv(const GLubyte * v) { + _pre_call_gl_callback("glSecondaryColor3ubv", (GLADapiproc) glad_glSecondaryColor3ubv, 1, v); + glad_glSecondaryColor3ubv(v); + _post_call_gl_callback(NULL, "glSecondaryColor3ubv", (GLADapiproc) glad_glSecondaryColor3ubv, 1, v); + +} +PFNGLSECONDARYCOLOR3UBVPROC glad_debug_glSecondaryColor3ubv = glad_debug_impl_glSecondaryColor3ubv; +PFNGLSECONDARYCOLOR3UIPROC glad_glSecondaryColor3ui = NULL; +static void GLAD_API_PTR glad_debug_impl_glSecondaryColor3ui(GLuint red, GLuint green, GLuint blue) { + _pre_call_gl_callback("glSecondaryColor3ui", (GLADapiproc) glad_glSecondaryColor3ui, 3, red, green, blue); + glad_glSecondaryColor3ui(red, green, blue); + _post_call_gl_callback(NULL, "glSecondaryColor3ui", (GLADapiproc) glad_glSecondaryColor3ui, 3, red, green, blue); + +} +PFNGLSECONDARYCOLOR3UIPROC glad_debug_glSecondaryColor3ui = glad_debug_impl_glSecondaryColor3ui; +PFNGLSECONDARYCOLOR3UIVPROC glad_glSecondaryColor3uiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glSecondaryColor3uiv(const GLuint * v) { + _pre_call_gl_callback("glSecondaryColor3uiv", (GLADapiproc) glad_glSecondaryColor3uiv, 1, v); + glad_glSecondaryColor3uiv(v); + _post_call_gl_callback(NULL, "glSecondaryColor3uiv", (GLADapiproc) glad_glSecondaryColor3uiv, 1, v); + +} +PFNGLSECONDARYCOLOR3UIVPROC glad_debug_glSecondaryColor3uiv = glad_debug_impl_glSecondaryColor3uiv; +PFNGLSECONDARYCOLOR3USPROC glad_glSecondaryColor3us = NULL; +static void GLAD_API_PTR glad_debug_impl_glSecondaryColor3us(GLushort red, GLushort green, GLushort blue) { + _pre_call_gl_callback("glSecondaryColor3us", (GLADapiproc) glad_glSecondaryColor3us, 3, red, green, blue); + glad_glSecondaryColor3us(red, green, blue); + _post_call_gl_callback(NULL, "glSecondaryColor3us", (GLADapiproc) glad_glSecondaryColor3us, 3, red, green, blue); + +} +PFNGLSECONDARYCOLOR3USPROC glad_debug_glSecondaryColor3us = glad_debug_impl_glSecondaryColor3us; +PFNGLSECONDARYCOLOR3USVPROC glad_glSecondaryColor3usv = NULL; +static void GLAD_API_PTR glad_debug_impl_glSecondaryColor3usv(const GLushort * v) { + _pre_call_gl_callback("glSecondaryColor3usv", (GLADapiproc) glad_glSecondaryColor3usv, 1, v); + glad_glSecondaryColor3usv(v); + _post_call_gl_callback(NULL, "glSecondaryColor3usv", (GLADapiproc) glad_glSecondaryColor3usv, 1, v); + +} +PFNGLSECONDARYCOLOR3USVPROC glad_debug_glSecondaryColor3usv = glad_debug_impl_glSecondaryColor3usv; PFNGLSECONDARYCOLORP3UIPROC glad_glSecondaryColorP3ui = NULL; +static void GLAD_API_PTR glad_debug_impl_glSecondaryColorP3ui(GLenum type, GLuint color) { + _pre_call_gl_callback("glSecondaryColorP3ui", (GLADapiproc) glad_glSecondaryColorP3ui, 2, type, color); + glad_glSecondaryColorP3ui(type, color); + _post_call_gl_callback(NULL, "glSecondaryColorP3ui", (GLADapiproc) glad_glSecondaryColorP3ui, 2, type, color); + +} +PFNGLSECONDARYCOLORP3UIPROC glad_debug_glSecondaryColorP3ui = glad_debug_impl_glSecondaryColorP3ui; PFNGLSECONDARYCOLORP3UIVPROC glad_glSecondaryColorP3uiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glSecondaryColorP3uiv(GLenum type, const GLuint * color) { + _pre_call_gl_callback("glSecondaryColorP3uiv", (GLADapiproc) glad_glSecondaryColorP3uiv, 2, type, color); + glad_glSecondaryColorP3uiv(type, color); + _post_call_gl_callback(NULL, "glSecondaryColorP3uiv", (GLADapiproc) glad_glSecondaryColorP3uiv, 2, type, color); + +} +PFNGLSECONDARYCOLORP3UIVPROC glad_debug_glSecondaryColorP3uiv = glad_debug_impl_glSecondaryColorP3uiv; +PFNGLSECONDARYCOLORPOINTERPROC glad_glSecondaryColorPointer = NULL; +static void GLAD_API_PTR glad_debug_impl_glSecondaryColorPointer(GLint size, GLenum type, GLsizei stride, const void * pointer) { + _pre_call_gl_callback("glSecondaryColorPointer", (GLADapiproc) glad_glSecondaryColorPointer, 4, size, type, stride, pointer); + glad_glSecondaryColorPointer(size, type, stride, pointer); + _post_call_gl_callback(NULL, "glSecondaryColorPointer", (GLADapiproc) glad_glSecondaryColorPointer, 4, size, type, stride, pointer); + +} +PFNGLSECONDARYCOLORPOINTERPROC glad_debug_glSecondaryColorPointer = glad_debug_impl_glSecondaryColorPointer; +PFNGLSELECTBUFFERPROC glad_glSelectBuffer = NULL; +static void GLAD_API_PTR glad_debug_impl_glSelectBuffer(GLsizei size, GLuint * buffer) { + _pre_call_gl_callback("glSelectBuffer", (GLADapiproc) glad_glSelectBuffer, 2, size, buffer); + glad_glSelectBuffer(size, buffer); + _post_call_gl_callback(NULL, "glSelectBuffer", (GLADapiproc) glad_glSelectBuffer, 2, size, buffer); + +} +PFNGLSELECTBUFFERPROC glad_debug_glSelectBuffer = glad_debug_impl_glSelectBuffer; +PFNGLSHADEMODELPROC glad_glShadeModel = NULL; +static void GLAD_API_PTR glad_debug_impl_glShadeModel(GLenum mode) { + _pre_call_gl_callback("glShadeModel", (GLADapiproc) glad_glShadeModel, 1, mode); + glad_glShadeModel(mode); + _post_call_gl_callback(NULL, "glShadeModel", (GLADapiproc) glad_glShadeModel, 1, mode); + +} +PFNGLSHADEMODELPROC glad_debug_glShadeModel = glad_debug_impl_glShadeModel; PFNGLSHADERSOURCEPROC glad_glShaderSource = NULL; +static void GLAD_API_PTR glad_debug_impl_glShaderSource(GLuint shader, GLsizei count, const GLchar *const* string, const GLint * length) { + _pre_call_gl_callback("glShaderSource", (GLADapiproc) glad_glShaderSource, 4, shader, count, string, length); + glad_glShaderSource(shader, count, string, length); + _post_call_gl_callback(NULL, "glShaderSource", (GLADapiproc) glad_glShaderSource, 4, shader, count, string, length); + +} +PFNGLSHADERSOURCEPROC glad_debug_glShaderSource = glad_debug_impl_glShaderSource; PFNGLSTENCILFUNCPROC glad_glStencilFunc = NULL; +static void GLAD_API_PTR glad_debug_impl_glStencilFunc(GLenum func, GLint ref, GLuint mask) { + _pre_call_gl_callback("glStencilFunc", (GLADapiproc) glad_glStencilFunc, 3, func, ref, mask); + glad_glStencilFunc(func, ref, mask); + _post_call_gl_callback(NULL, "glStencilFunc", (GLADapiproc) glad_glStencilFunc, 3, func, ref, mask); + +} +PFNGLSTENCILFUNCPROC glad_debug_glStencilFunc = glad_debug_impl_glStencilFunc; PFNGLSTENCILFUNCSEPARATEPROC glad_glStencilFuncSeparate = NULL; +static void GLAD_API_PTR glad_debug_impl_glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask) { + _pre_call_gl_callback("glStencilFuncSeparate", (GLADapiproc) glad_glStencilFuncSeparate, 4, face, func, ref, mask); + glad_glStencilFuncSeparate(face, func, ref, mask); + _post_call_gl_callback(NULL, "glStencilFuncSeparate", (GLADapiproc) glad_glStencilFuncSeparate, 4, face, func, ref, mask); + +} +PFNGLSTENCILFUNCSEPARATEPROC glad_debug_glStencilFuncSeparate = glad_debug_impl_glStencilFuncSeparate; PFNGLSTENCILMASKPROC glad_glStencilMask = NULL; +static void GLAD_API_PTR glad_debug_impl_glStencilMask(GLuint mask) { + _pre_call_gl_callback("glStencilMask", (GLADapiproc) glad_glStencilMask, 1, mask); + glad_glStencilMask(mask); + _post_call_gl_callback(NULL, "glStencilMask", (GLADapiproc) glad_glStencilMask, 1, mask); + +} +PFNGLSTENCILMASKPROC glad_debug_glStencilMask = glad_debug_impl_glStencilMask; PFNGLSTENCILMASKSEPARATEPROC glad_glStencilMaskSeparate = NULL; +static void GLAD_API_PTR glad_debug_impl_glStencilMaskSeparate(GLenum face, GLuint mask) { + _pre_call_gl_callback("glStencilMaskSeparate", (GLADapiproc) glad_glStencilMaskSeparate, 2, face, mask); + glad_glStencilMaskSeparate(face, mask); + _post_call_gl_callback(NULL, "glStencilMaskSeparate", (GLADapiproc) glad_glStencilMaskSeparate, 2, face, mask); + +} +PFNGLSTENCILMASKSEPARATEPROC glad_debug_glStencilMaskSeparate = glad_debug_impl_glStencilMaskSeparate; PFNGLSTENCILOPPROC glad_glStencilOp = NULL; +static void GLAD_API_PTR glad_debug_impl_glStencilOp(GLenum fail, GLenum zfail, GLenum zpass) { + _pre_call_gl_callback("glStencilOp", (GLADapiproc) glad_glStencilOp, 3, fail, zfail, zpass); + glad_glStencilOp(fail, zfail, zpass); + _post_call_gl_callback(NULL, "glStencilOp", (GLADapiproc) glad_glStencilOp, 3, fail, zfail, zpass); + +} +PFNGLSTENCILOPPROC glad_debug_glStencilOp = glad_debug_impl_glStencilOp; PFNGLSTENCILOPSEPARATEPROC glad_glStencilOpSeparate = NULL; +static void GLAD_API_PTR glad_debug_impl_glStencilOpSeparate(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass) { + _pre_call_gl_callback("glStencilOpSeparate", (GLADapiproc) glad_glStencilOpSeparate, 4, face, sfail, dpfail, dppass); + glad_glStencilOpSeparate(face, sfail, dpfail, dppass); + _post_call_gl_callback(NULL, "glStencilOpSeparate", (GLADapiproc) glad_glStencilOpSeparate, 4, face, sfail, dpfail, dppass); + +} +PFNGLSTENCILOPSEPARATEPROC glad_debug_glStencilOpSeparate = glad_debug_impl_glStencilOpSeparate; PFNGLTEXBUFFERPROC glad_glTexBuffer = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexBuffer(GLenum target, GLenum internalformat, GLuint buffer) { + _pre_call_gl_callback("glTexBuffer", (GLADapiproc) glad_glTexBuffer, 3, target, internalformat, buffer); + glad_glTexBuffer(target, internalformat, buffer); + _post_call_gl_callback(NULL, "glTexBuffer", (GLADapiproc) glad_glTexBuffer, 3, target, internalformat, buffer); + +} +PFNGLTEXBUFFERPROC glad_debug_glTexBuffer = glad_debug_impl_glTexBuffer; +PFNGLTEXCOORD1DPROC glad_glTexCoord1d = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexCoord1d(GLdouble s) { + _pre_call_gl_callback("glTexCoord1d", (GLADapiproc) glad_glTexCoord1d, 1, s); + glad_glTexCoord1d(s); + _post_call_gl_callback(NULL, "glTexCoord1d", (GLADapiproc) glad_glTexCoord1d, 1, s); + +} +PFNGLTEXCOORD1DPROC glad_debug_glTexCoord1d = glad_debug_impl_glTexCoord1d; +PFNGLTEXCOORD1DVPROC glad_glTexCoord1dv = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexCoord1dv(const GLdouble * v) { + _pre_call_gl_callback("glTexCoord1dv", (GLADapiproc) glad_glTexCoord1dv, 1, v); + glad_glTexCoord1dv(v); + _post_call_gl_callback(NULL, "glTexCoord1dv", (GLADapiproc) glad_glTexCoord1dv, 1, v); + +} +PFNGLTEXCOORD1DVPROC glad_debug_glTexCoord1dv = glad_debug_impl_glTexCoord1dv; +PFNGLTEXCOORD1FPROC glad_glTexCoord1f = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexCoord1f(GLfloat s) { + _pre_call_gl_callback("glTexCoord1f", (GLADapiproc) glad_glTexCoord1f, 1, s); + glad_glTexCoord1f(s); + _post_call_gl_callback(NULL, "glTexCoord1f", (GLADapiproc) glad_glTexCoord1f, 1, s); + +} +PFNGLTEXCOORD1FPROC glad_debug_glTexCoord1f = glad_debug_impl_glTexCoord1f; +PFNGLTEXCOORD1FVPROC glad_glTexCoord1fv = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexCoord1fv(const GLfloat * v) { + _pre_call_gl_callback("glTexCoord1fv", (GLADapiproc) glad_glTexCoord1fv, 1, v); + glad_glTexCoord1fv(v); + _post_call_gl_callback(NULL, "glTexCoord1fv", (GLADapiproc) glad_glTexCoord1fv, 1, v); + +} +PFNGLTEXCOORD1FVPROC glad_debug_glTexCoord1fv = glad_debug_impl_glTexCoord1fv; +PFNGLTEXCOORD1IPROC glad_glTexCoord1i = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexCoord1i(GLint s) { + _pre_call_gl_callback("glTexCoord1i", (GLADapiproc) glad_glTexCoord1i, 1, s); + glad_glTexCoord1i(s); + _post_call_gl_callback(NULL, "glTexCoord1i", (GLADapiproc) glad_glTexCoord1i, 1, s); + +} +PFNGLTEXCOORD1IPROC glad_debug_glTexCoord1i = glad_debug_impl_glTexCoord1i; +PFNGLTEXCOORD1IVPROC glad_glTexCoord1iv = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexCoord1iv(const GLint * v) { + _pre_call_gl_callback("glTexCoord1iv", (GLADapiproc) glad_glTexCoord1iv, 1, v); + glad_glTexCoord1iv(v); + _post_call_gl_callback(NULL, "glTexCoord1iv", (GLADapiproc) glad_glTexCoord1iv, 1, v); + +} +PFNGLTEXCOORD1IVPROC glad_debug_glTexCoord1iv = glad_debug_impl_glTexCoord1iv; +PFNGLTEXCOORD1SPROC glad_glTexCoord1s = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexCoord1s(GLshort s) { + _pre_call_gl_callback("glTexCoord1s", (GLADapiproc) glad_glTexCoord1s, 1, s); + glad_glTexCoord1s(s); + _post_call_gl_callback(NULL, "glTexCoord1s", (GLADapiproc) glad_glTexCoord1s, 1, s); + +} +PFNGLTEXCOORD1SPROC glad_debug_glTexCoord1s = glad_debug_impl_glTexCoord1s; +PFNGLTEXCOORD1SVPROC glad_glTexCoord1sv = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexCoord1sv(const GLshort * v) { + _pre_call_gl_callback("glTexCoord1sv", (GLADapiproc) glad_glTexCoord1sv, 1, v); + glad_glTexCoord1sv(v); + _post_call_gl_callback(NULL, "glTexCoord1sv", (GLADapiproc) glad_glTexCoord1sv, 1, v); + +} +PFNGLTEXCOORD1SVPROC glad_debug_glTexCoord1sv = glad_debug_impl_glTexCoord1sv; +PFNGLTEXCOORD2DPROC glad_glTexCoord2d = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexCoord2d(GLdouble s, GLdouble t) { + _pre_call_gl_callback("glTexCoord2d", (GLADapiproc) glad_glTexCoord2d, 2, s, t); + glad_glTexCoord2d(s, t); + _post_call_gl_callback(NULL, "glTexCoord2d", (GLADapiproc) glad_glTexCoord2d, 2, s, t); + +} +PFNGLTEXCOORD2DPROC glad_debug_glTexCoord2d = glad_debug_impl_glTexCoord2d; +PFNGLTEXCOORD2DVPROC glad_glTexCoord2dv = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexCoord2dv(const GLdouble * v) { + _pre_call_gl_callback("glTexCoord2dv", (GLADapiproc) glad_glTexCoord2dv, 1, v); + glad_glTexCoord2dv(v); + _post_call_gl_callback(NULL, "glTexCoord2dv", (GLADapiproc) glad_glTexCoord2dv, 1, v); + +} +PFNGLTEXCOORD2DVPROC glad_debug_glTexCoord2dv = glad_debug_impl_glTexCoord2dv; +PFNGLTEXCOORD2FPROC glad_glTexCoord2f = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexCoord2f(GLfloat s, GLfloat t) { + _pre_call_gl_callback("glTexCoord2f", (GLADapiproc) glad_glTexCoord2f, 2, s, t); + glad_glTexCoord2f(s, t); + _post_call_gl_callback(NULL, "glTexCoord2f", (GLADapiproc) glad_glTexCoord2f, 2, s, t); + +} +PFNGLTEXCOORD2FPROC glad_debug_glTexCoord2f = glad_debug_impl_glTexCoord2f; +PFNGLTEXCOORD2FVPROC glad_glTexCoord2fv = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexCoord2fv(const GLfloat * v) { + _pre_call_gl_callback("glTexCoord2fv", (GLADapiproc) glad_glTexCoord2fv, 1, v); + glad_glTexCoord2fv(v); + _post_call_gl_callback(NULL, "glTexCoord2fv", (GLADapiproc) glad_glTexCoord2fv, 1, v); + +} +PFNGLTEXCOORD2FVPROC glad_debug_glTexCoord2fv = glad_debug_impl_glTexCoord2fv; +PFNGLTEXCOORD2IPROC glad_glTexCoord2i = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexCoord2i(GLint s, GLint t) { + _pre_call_gl_callback("glTexCoord2i", (GLADapiproc) glad_glTexCoord2i, 2, s, t); + glad_glTexCoord2i(s, t); + _post_call_gl_callback(NULL, "glTexCoord2i", (GLADapiproc) glad_glTexCoord2i, 2, s, t); + +} +PFNGLTEXCOORD2IPROC glad_debug_glTexCoord2i = glad_debug_impl_glTexCoord2i; +PFNGLTEXCOORD2IVPROC glad_glTexCoord2iv = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexCoord2iv(const GLint * v) { + _pre_call_gl_callback("glTexCoord2iv", (GLADapiproc) glad_glTexCoord2iv, 1, v); + glad_glTexCoord2iv(v); + _post_call_gl_callback(NULL, "glTexCoord2iv", (GLADapiproc) glad_glTexCoord2iv, 1, v); + +} +PFNGLTEXCOORD2IVPROC glad_debug_glTexCoord2iv = glad_debug_impl_glTexCoord2iv; +PFNGLTEXCOORD2SPROC glad_glTexCoord2s = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexCoord2s(GLshort s, GLshort t) { + _pre_call_gl_callback("glTexCoord2s", (GLADapiproc) glad_glTexCoord2s, 2, s, t); + glad_glTexCoord2s(s, t); + _post_call_gl_callback(NULL, "glTexCoord2s", (GLADapiproc) glad_glTexCoord2s, 2, s, t); + +} +PFNGLTEXCOORD2SPROC glad_debug_glTexCoord2s = glad_debug_impl_glTexCoord2s; +PFNGLTEXCOORD2SVPROC glad_glTexCoord2sv = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexCoord2sv(const GLshort * v) { + _pre_call_gl_callback("glTexCoord2sv", (GLADapiproc) glad_glTexCoord2sv, 1, v); + glad_glTexCoord2sv(v); + _post_call_gl_callback(NULL, "glTexCoord2sv", (GLADapiproc) glad_glTexCoord2sv, 1, v); + +} +PFNGLTEXCOORD2SVPROC glad_debug_glTexCoord2sv = glad_debug_impl_glTexCoord2sv; +PFNGLTEXCOORD3DPROC glad_glTexCoord3d = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexCoord3d(GLdouble s, GLdouble t, GLdouble r) { + _pre_call_gl_callback("glTexCoord3d", (GLADapiproc) glad_glTexCoord3d, 3, s, t, r); + glad_glTexCoord3d(s, t, r); + _post_call_gl_callback(NULL, "glTexCoord3d", (GLADapiproc) glad_glTexCoord3d, 3, s, t, r); + +} +PFNGLTEXCOORD3DPROC glad_debug_glTexCoord3d = glad_debug_impl_glTexCoord3d; +PFNGLTEXCOORD3DVPROC glad_glTexCoord3dv = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexCoord3dv(const GLdouble * v) { + _pre_call_gl_callback("glTexCoord3dv", (GLADapiproc) glad_glTexCoord3dv, 1, v); + glad_glTexCoord3dv(v); + _post_call_gl_callback(NULL, "glTexCoord3dv", (GLADapiproc) glad_glTexCoord3dv, 1, v); + +} +PFNGLTEXCOORD3DVPROC glad_debug_glTexCoord3dv = glad_debug_impl_glTexCoord3dv; +PFNGLTEXCOORD3FPROC glad_glTexCoord3f = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexCoord3f(GLfloat s, GLfloat t, GLfloat r) { + _pre_call_gl_callback("glTexCoord3f", (GLADapiproc) glad_glTexCoord3f, 3, s, t, r); + glad_glTexCoord3f(s, t, r); + _post_call_gl_callback(NULL, "glTexCoord3f", (GLADapiproc) glad_glTexCoord3f, 3, s, t, r); + +} +PFNGLTEXCOORD3FPROC glad_debug_glTexCoord3f = glad_debug_impl_glTexCoord3f; +PFNGLTEXCOORD3FVPROC glad_glTexCoord3fv = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexCoord3fv(const GLfloat * v) { + _pre_call_gl_callback("glTexCoord3fv", (GLADapiproc) glad_glTexCoord3fv, 1, v); + glad_glTexCoord3fv(v); + _post_call_gl_callback(NULL, "glTexCoord3fv", (GLADapiproc) glad_glTexCoord3fv, 1, v); + +} +PFNGLTEXCOORD3FVPROC glad_debug_glTexCoord3fv = glad_debug_impl_glTexCoord3fv; +PFNGLTEXCOORD3IPROC glad_glTexCoord3i = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexCoord3i(GLint s, GLint t, GLint r) { + _pre_call_gl_callback("glTexCoord3i", (GLADapiproc) glad_glTexCoord3i, 3, s, t, r); + glad_glTexCoord3i(s, t, r); + _post_call_gl_callback(NULL, "glTexCoord3i", (GLADapiproc) glad_glTexCoord3i, 3, s, t, r); + +} +PFNGLTEXCOORD3IPROC glad_debug_glTexCoord3i = glad_debug_impl_glTexCoord3i; +PFNGLTEXCOORD3IVPROC glad_glTexCoord3iv = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexCoord3iv(const GLint * v) { + _pre_call_gl_callback("glTexCoord3iv", (GLADapiproc) glad_glTexCoord3iv, 1, v); + glad_glTexCoord3iv(v); + _post_call_gl_callback(NULL, "glTexCoord3iv", (GLADapiproc) glad_glTexCoord3iv, 1, v); + +} +PFNGLTEXCOORD3IVPROC glad_debug_glTexCoord3iv = glad_debug_impl_glTexCoord3iv; +PFNGLTEXCOORD3SPROC glad_glTexCoord3s = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexCoord3s(GLshort s, GLshort t, GLshort r) { + _pre_call_gl_callback("glTexCoord3s", (GLADapiproc) glad_glTexCoord3s, 3, s, t, r); + glad_glTexCoord3s(s, t, r); + _post_call_gl_callback(NULL, "glTexCoord3s", (GLADapiproc) glad_glTexCoord3s, 3, s, t, r); + +} +PFNGLTEXCOORD3SPROC glad_debug_glTexCoord3s = glad_debug_impl_glTexCoord3s; +PFNGLTEXCOORD3SVPROC glad_glTexCoord3sv = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexCoord3sv(const GLshort * v) { + _pre_call_gl_callback("glTexCoord3sv", (GLADapiproc) glad_glTexCoord3sv, 1, v); + glad_glTexCoord3sv(v); + _post_call_gl_callback(NULL, "glTexCoord3sv", (GLADapiproc) glad_glTexCoord3sv, 1, v); + +} +PFNGLTEXCOORD3SVPROC glad_debug_glTexCoord3sv = glad_debug_impl_glTexCoord3sv; +PFNGLTEXCOORD4DPROC glad_glTexCoord4d = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdouble q) { + _pre_call_gl_callback("glTexCoord4d", (GLADapiproc) glad_glTexCoord4d, 4, s, t, r, q); + glad_glTexCoord4d(s, t, r, q); + _post_call_gl_callback(NULL, "glTexCoord4d", (GLADapiproc) glad_glTexCoord4d, 4, s, t, r, q); + +} +PFNGLTEXCOORD4DPROC glad_debug_glTexCoord4d = glad_debug_impl_glTexCoord4d; +PFNGLTEXCOORD4DVPROC glad_glTexCoord4dv = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexCoord4dv(const GLdouble * v) { + _pre_call_gl_callback("glTexCoord4dv", (GLADapiproc) glad_glTexCoord4dv, 1, v); + glad_glTexCoord4dv(v); + _post_call_gl_callback(NULL, "glTexCoord4dv", (GLADapiproc) glad_glTexCoord4dv, 1, v); + +} +PFNGLTEXCOORD4DVPROC glad_debug_glTexCoord4dv = glad_debug_impl_glTexCoord4dv; +PFNGLTEXCOORD4FPROC glad_glTexCoord4f = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q) { + _pre_call_gl_callback("glTexCoord4f", (GLADapiproc) glad_glTexCoord4f, 4, s, t, r, q); + glad_glTexCoord4f(s, t, r, q); + _post_call_gl_callback(NULL, "glTexCoord4f", (GLADapiproc) glad_glTexCoord4f, 4, s, t, r, q); + +} +PFNGLTEXCOORD4FPROC glad_debug_glTexCoord4f = glad_debug_impl_glTexCoord4f; +PFNGLTEXCOORD4FVPROC glad_glTexCoord4fv = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexCoord4fv(const GLfloat * v) { + _pre_call_gl_callback("glTexCoord4fv", (GLADapiproc) glad_glTexCoord4fv, 1, v); + glad_glTexCoord4fv(v); + _post_call_gl_callback(NULL, "glTexCoord4fv", (GLADapiproc) glad_glTexCoord4fv, 1, v); + +} +PFNGLTEXCOORD4FVPROC glad_debug_glTexCoord4fv = glad_debug_impl_glTexCoord4fv; +PFNGLTEXCOORD4IPROC glad_glTexCoord4i = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexCoord4i(GLint s, GLint t, GLint r, GLint q) { + _pre_call_gl_callback("glTexCoord4i", (GLADapiproc) glad_glTexCoord4i, 4, s, t, r, q); + glad_glTexCoord4i(s, t, r, q); + _post_call_gl_callback(NULL, "glTexCoord4i", (GLADapiproc) glad_glTexCoord4i, 4, s, t, r, q); + +} +PFNGLTEXCOORD4IPROC glad_debug_glTexCoord4i = glad_debug_impl_glTexCoord4i; +PFNGLTEXCOORD4IVPROC glad_glTexCoord4iv = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexCoord4iv(const GLint * v) { + _pre_call_gl_callback("glTexCoord4iv", (GLADapiproc) glad_glTexCoord4iv, 1, v); + glad_glTexCoord4iv(v); + _post_call_gl_callback(NULL, "glTexCoord4iv", (GLADapiproc) glad_glTexCoord4iv, 1, v); + +} +PFNGLTEXCOORD4IVPROC glad_debug_glTexCoord4iv = glad_debug_impl_glTexCoord4iv; +PFNGLTEXCOORD4SPROC glad_glTexCoord4s = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexCoord4s(GLshort s, GLshort t, GLshort r, GLshort q) { + _pre_call_gl_callback("glTexCoord4s", (GLADapiproc) glad_glTexCoord4s, 4, s, t, r, q); + glad_glTexCoord4s(s, t, r, q); + _post_call_gl_callback(NULL, "glTexCoord4s", (GLADapiproc) glad_glTexCoord4s, 4, s, t, r, q); + +} +PFNGLTEXCOORD4SPROC glad_debug_glTexCoord4s = glad_debug_impl_glTexCoord4s; +PFNGLTEXCOORD4SVPROC glad_glTexCoord4sv = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexCoord4sv(const GLshort * v) { + _pre_call_gl_callback("glTexCoord4sv", (GLADapiproc) glad_glTexCoord4sv, 1, v); + glad_glTexCoord4sv(v); + _post_call_gl_callback(NULL, "glTexCoord4sv", (GLADapiproc) glad_glTexCoord4sv, 1, v); + +} +PFNGLTEXCOORD4SVPROC glad_debug_glTexCoord4sv = glad_debug_impl_glTexCoord4sv; PFNGLTEXCOORDP1UIPROC glad_glTexCoordP1ui = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexCoordP1ui(GLenum type, GLuint coords) { + _pre_call_gl_callback("glTexCoordP1ui", (GLADapiproc) glad_glTexCoordP1ui, 2, type, coords); + glad_glTexCoordP1ui(type, coords); + _post_call_gl_callback(NULL, "glTexCoordP1ui", (GLADapiproc) glad_glTexCoordP1ui, 2, type, coords); + +} +PFNGLTEXCOORDP1UIPROC glad_debug_glTexCoordP1ui = glad_debug_impl_glTexCoordP1ui; PFNGLTEXCOORDP1UIVPROC glad_glTexCoordP1uiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexCoordP1uiv(GLenum type, const GLuint * coords) { + _pre_call_gl_callback("glTexCoordP1uiv", (GLADapiproc) glad_glTexCoordP1uiv, 2, type, coords); + glad_glTexCoordP1uiv(type, coords); + _post_call_gl_callback(NULL, "glTexCoordP1uiv", (GLADapiproc) glad_glTexCoordP1uiv, 2, type, coords); + +} +PFNGLTEXCOORDP1UIVPROC glad_debug_glTexCoordP1uiv = glad_debug_impl_glTexCoordP1uiv; PFNGLTEXCOORDP2UIPROC glad_glTexCoordP2ui = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexCoordP2ui(GLenum type, GLuint coords) { + _pre_call_gl_callback("glTexCoordP2ui", (GLADapiproc) glad_glTexCoordP2ui, 2, type, coords); + glad_glTexCoordP2ui(type, coords); + _post_call_gl_callback(NULL, "glTexCoordP2ui", (GLADapiproc) glad_glTexCoordP2ui, 2, type, coords); + +} +PFNGLTEXCOORDP2UIPROC glad_debug_glTexCoordP2ui = glad_debug_impl_glTexCoordP2ui; PFNGLTEXCOORDP2UIVPROC glad_glTexCoordP2uiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexCoordP2uiv(GLenum type, const GLuint * coords) { + _pre_call_gl_callback("glTexCoordP2uiv", (GLADapiproc) glad_glTexCoordP2uiv, 2, type, coords); + glad_glTexCoordP2uiv(type, coords); + _post_call_gl_callback(NULL, "glTexCoordP2uiv", (GLADapiproc) glad_glTexCoordP2uiv, 2, type, coords); + +} +PFNGLTEXCOORDP2UIVPROC glad_debug_glTexCoordP2uiv = glad_debug_impl_glTexCoordP2uiv; PFNGLTEXCOORDP3UIPROC glad_glTexCoordP3ui = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexCoordP3ui(GLenum type, GLuint coords) { + _pre_call_gl_callback("glTexCoordP3ui", (GLADapiproc) glad_glTexCoordP3ui, 2, type, coords); + glad_glTexCoordP3ui(type, coords); + _post_call_gl_callback(NULL, "glTexCoordP3ui", (GLADapiproc) glad_glTexCoordP3ui, 2, type, coords); + +} +PFNGLTEXCOORDP3UIPROC glad_debug_glTexCoordP3ui = glad_debug_impl_glTexCoordP3ui; PFNGLTEXCOORDP3UIVPROC glad_glTexCoordP3uiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexCoordP3uiv(GLenum type, const GLuint * coords) { + _pre_call_gl_callback("glTexCoordP3uiv", (GLADapiproc) glad_glTexCoordP3uiv, 2, type, coords); + glad_glTexCoordP3uiv(type, coords); + _post_call_gl_callback(NULL, "glTexCoordP3uiv", (GLADapiproc) glad_glTexCoordP3uiv, 2, type, coords); + +} +PFNGLTEXCOORDP3UIVPROC glad_debug_glTexCoordP3uiv = glad_debug_impl_glTexCoordP3uiv; PFNGLTEXCOORDP4UIPROC glad_glTexCoordP4ui = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexCoordP4ui(GLenum type, GLuint coords) { + _pre_call_gl_callback("glTexCoordP4ui", (GLADapiproc) glad_glTexCoordP4ui, 2, type, coords); + glad_glTexCoordP4ui(type, coords); + _post_call_gl_callback(NULL, "glTexCoordP4ui", (GLADapiproc) glad_glTexCoordP4ui, 2, type, coords); + +} +PFNGLTEXCOORDP4UIPROC glad_debug_glTexCoordP4ui = glad_debug_impl_glTexCoordP4ui; PFNGLTEXCOORDP4UIVPROC glad_glTexCoordP4uiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexCoordP4uiv(GLenum type, const GLuint * coords) { + _pre_call_gl_callback("glTexCoordP4uiv", (GLADapiproc) glad_glTexCoordP4uiv, 2, type, coords); + glad_glTexCoordP4uiv(type, coords); + _post_call_gl_callback(NULL, "glTexCoordP4uiv", (GLADapiproc) glad_glTexCoordP4uiv, 2, type, coords); + +} +PFNGLTEXCOORDP4UIVPROC glad_debug_glTexCoordP4uiv = glad_debug_impl_glTexCoordP4uiv; +PFNGLTEXCOORDPOINTERPROC glad_glTexCoordPointer = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const void * pointer) { + _pre_call_gl_callback("glTexCoordPointer", (GLADapiproc) glad_glTexCoordPointer, 4, size, type, stride, pointer); + glad_glTexCoordPointer(size, type, stride, pointer); + _post_call_gl_callback(NULL, "glTexCoordPointer", (GLADapiproc) glad_glTexCoordPointer, 4, size, type, stride, pointer); + +} +PFNGLTEXCOORDPOINTERPROC glad_debug_glTexCoordPointer = glad_debug_impl_glTexCoordPointer; +PFNGLTEXENVFPROC glad_glTexEnvf = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexEnvf(GLenum target, GLenum pname, GLfloat param) { + _pre_call_gl_callback("glTexEnvf", (GLADapiproc) glad_glTexEnvf, 3, target, pname, param); + glad_glTexEnvf(target, pname, param); + _post_call_gl_callback(NULL, "glTexEnvf", (GLADapiproc) glad_glTexEnvf, 3, target, pname, param); + +} +PFNGLTEXENVFPROC glad_debug_glTexEnvf = glad_debug_impl_glTexEnvf; +PFNGLTEXENVFVPROC glad_glTexEnvfv = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexEnvfv(GLenum target, GLenum pname, const GLfloat * params) { + _pre_call_gl_callback("glTexEnvfv", (GLADapiproc) glad_glTexEnvfv, 3, target, pname, params); + glad_glTexEnvfv(target, pname, params); + _post_call_gl_callback(NULL, "glTexEnvfv", (GLADapiproc) glad_glTexEnvfv, 3, target, pname, params); + +} +PFNGLTEXENVFVPROC glad_debug_glTexEnvfv = glad_debug_impl_glTexEnvfv; +PFNGLTEXENVIPROC glad_glTexEnvi = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexEnvi(GLenum target, GLenum pname, GLint param) { + _pre_call_gl_callback("glTexEnvi", (GLADapiproc) glad_glTexEnvi, 3, target, pname, param); + glad_glTexEnvi(target, pname, param); + _post_call_gl_callback(NULL, "glTexEnvi", (GLADapiproc) glad_glTexEnvi, 3, target, pname, param); + +} +PFNGLTEXENVIPROC glad_debug_glTexEnvi = glad_debug_impl_glTexEnvi; +PFNGLTEXENVIVPROC glad_glTexEnviv = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexEnviv(GLenum target, GLenum pname, const GLint * params) { + _pre_call_gl_callback("glTexEnviv", (GLADapiproc) glad_glTexEnviv, 3, target, pname, params); + glad_glTexEnviv(target, pname, params); + _post_call_gl_callback(NULL, "glTexEnviv", (GLADapiproc) glad_glTexEnviv, 3, target, pname, params); + +} +PFNGLTEXENVIVPROC glad_debug_glTexEnviv = glad_debug_impl_glTexEnviv; +PFNGLTEXGENDPROC glad_glTexGend = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexGend(GLenum coord, GLenum pname, GLdouble param) { + _pre_call_gl_callback("glTexGend", (GLADapiproc) glad_glTexGend, 3, coord, pname, param); + glad_glTexGend(coord, pname, param); + _post_call_gl_callback(NULL, "glTexGend", (GLADapiproc) glad_glTexGend, 3, coord, pname, param); + +} +PFNGLTEXGENDPROC glad_debug_glTexGend = glad_debug_impl_glTexGend; +PFNGLTEXGENDVPROC glad_glTexGendv = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexGendv(GLenum coord, GLenum pname, const GLdouble * params) { + _pre_call_gl_callback("glTexGendv", (GLADapiproc) glad_glTexGendv, 3, coord, pname, params); + glad_glTexGendv(coord, pname, params); + _post_call_gl_callback(NULL, "glTexGendv", (GLADapiproc) glad_glTexGendv, 3, coord, pname, params); + +} +PFNGLTEXGENDVPROC glad_debug_glTexGendv = glad_debug_impl_glTexGendv; +PFNGLTEXGENFPROC glad_glTexGenf = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexGenf(GLenum coord, GLenum pname, GLfloat param) { + _pre_call_gl_callback("glTexGenf", (GLADapiproc) glad_glTexGenf, 3, coord, pname, param); + glad_glTexGenf(coord, pname, param); + _post_call_gl_callback(NULL, "glTexGenf", (GLADapiproc) glad_glTexGenf, 3, coord, pname, param); + +} +PFNGLTEXGENFPROC glad_debug_glTexGenf = glad_debug_impl_glTexGenf; +PFNGLTEXGENFVPROC glad_glTexGenfv = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexGenfv(GLenum coord, GLenum pname, const GLfloat * params) { + _pre_call_gl_callback("glTexGenfv", (GLADapiproc) glad_glTexGenfv, 3, coord, pname, params); + glad_glTexGenfv(coord, pname, params); + _post_call_gl_callback(NULL, "glTexGenfv", (GLADapiproc) glad_glTexGenfv, 3, coord, pname, params); + +} +PFNGLTEXGENFVPROC glad_debug_glTexGenfv = glad_debug_impl_glTexGenfv; +PFNGLTEXGENIPROC glad_glTexGeni = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexGeni(GLenum coord, GLenum pname, GLint param) { + _pre_call_gl_callback("glTexGeni", (GLADapiproc) glad_glTexGeni, 3, coord, pname, param); + glad_glTexGeni(coord, pname, param); + _post_call_gl_callback(NULL, "glTexGeni", (GLADapiproc) glad_glTexGeni, 3, coord, pname, param); + +} +PFNGLTEXGENIPROC glad_debug_glTexGeni = glad_debug_impl_glTexGeni; +PFNGLTEXGENIVPROC glad_glTexGeniv = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexGeniv(GLenum coord, GLenum pname, const GLint * params) { + _pre_call_gl_callback("glTexGeniv", (GLADapiproc) glad_glTexGeniv, 3, coord, pname, params); + glad_glTexGeniv(coord, pname, params); + _post_call_gl_callback(NULL, "glTexGeniv", (GLADapiproc) glad_glTexGeniv, 3, coord, pname, params); + +} +PFNGLTEXGENIVPROC glad_debug_glTexGeniv = glad_debug_impl_glTexGeniv; PFNGLTEXIMAGE1DPROC glad_glTexImage1D = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexImage1D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void * pixels) { + _pre_call_gl_callback("glTexImage1D", (GLADapiproc) glad_glTexImage1D, 8, target, level, internalformat, width, border, format, type, pixels); + glad_glTexImage1D(target, level, internalformat, width, border, format, type, pixels); + _post_call_gl_callback(NULL, "glTexImage1D", (GLADapiproc) glad_glTexImage1D, 8, target, level, internalformat, width, border, format, type, pixels); + +} +PFNGLTEXIMAGE1DPROC glad_debug_glTexImage1D = glad_debug_impl_glTexImage1D; PFNGLTEXIMAGE2DPROC glad_glTexImage2D = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void * pixels) { + _pre_call_gl_callback("glTexImage2D", (GLADapiproc) glad_glTexImage2D, 9, target, level, internalformat, width, height, border, format, type, pixels); + glad_glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels); + _post_call_gl_callback(NULL, "glTexImage2D", (GLADapiproc) glad_glTexImage2D, 9, target, level, internalformat, width, height, border, format, type, pixels); + +} +PFNGLTEXIMAGE2DPROC glad_debug_glTexImage2D = glad_debug_impl_glTexImage2D; PFNGLTEXIMAGE2DMULTISAMPLEPROC glad_glTexImage2DMultisample = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexImage2DMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations) { + _pre_call_gl_callback("glTexImage2DMultisample", (GLADapiproc) glad_glTexImage2DMultisample, 6, target, samples, internalformat, width, height, fixedsamplelocations); + glad_glTexImage2DMultisample(target, samples, internalformat, width, height, fixedsamplelocations); + _post_call_gl_callback(NULL, "glTexImage2DMultisample", (GLADapiproc) glad_glTexImage2DMultisample, 6, target, samples, internalformat, width, height, fixedsamplelocations); + +} +PFNGLTEXIMAGE2DMULTISAMPLEPROC glad_debug_glTexImage2DMultisample = glad_debug_impl_glTexImage2DMultisample; PFNGLTEXIMAGE3DPROC glad_glTexImage3D = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void * pixels) { + _pre_call_gl_callback("glTexImage3D", (GLADapiproc) glad_glTexImage3D, 10, target, level, internalformat, width, height, depth, border, format, type, pixels); + glad_glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels); + _post_call_gl_callback(NULL, "glTexImage3D", (GLADapiproc) glad_glTexImage3D, 10, target, level, internalformat, width, height, depth, border, format, type, pixels); + +} +PFNGLTEXIMAGE3DPROC glad_debug_glTexImage3D = glad_debug_impl_glTexImage3D; PFNGLTEXIMAGE3DMULTISAMPLEPROC glad_glTexImage3DMultisample = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexImage3DMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations) { + _pre_call_gl_callback("glTexImage3DMultisample", (GLADapiproc) glad_glTexImage3DMultisample, 7, target, samples, internalformat, width, height, depth, fixedsamplelocations); + glad_glTexImage3DMultisample(target, samples, internalformat, width, height, depth, fixedsamplelocations); + _post_call_gl_callback(NULL, "glTexImage3DMultisample", (GLADapiproc) glad_glTexImage3DMultisample, 7, target, samples, internalformat, width, height, depth, fixedsamplelocations); + +} +PFNGLTEXIMAGE3DMULTISAMPLEPROC glad_debug_glTexImage3DMultisample = glad_debug_impl_glTexImage3DMultisample; PFNGLTEXPARAMETERIIVPROC glad_glTexParameterIiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexParameterIiv(GLenum target, GLenum pname, const GLint * params) { + _pre_call_gl_callback("glTexParameterIiv", (GLADapiproc) glad_glTexParameterIiv, 3, target, pname, params); + glad_glTexParameterIiv(target, pname, params); + _post_call_gl_callback(NULL, "glTexParameterIiv", (GLADapiproc) glad_glTexParameterIiv, 3, target, pname, params); + +} +PFNGLTEXPARAMETERIIVPROC glad_debug_glTexParameterIiv = glad_debug_impl_glTexParameterIiv; PFNGLTEXPARAMETERIUIVPROC glad_glTexParameterIuiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexParameterIuiv(GLenum target, GLenum pname, const GLuint * params) { + _pre_call_gl_callback("glTexParameterIuiv", (GLADapiproc) glad_glTexParameterIuiv, 3, target, pname, params); + glad_glTexParameterIuiv(target, pname, params); + _post_call_gl_callback(NULL, "glTexParameterIuiv", (GLADapiproc) glad_glTexParameterIuiv, 3, target, pname, params); + +} +PFNGLTEXPARAMETERIUIVPROC glad_debug_glTexParameterIuiv = glad_debug_impl_glTexParameterIuiv; PFNGLTEXPARAMETERFPROC glad_glTexParameterf = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexParameterf(GLenum target, GLenum pname, GLfloat param) { + _pre_call_gl_callback("glTexParameterf", (GLADapiproc) glad_glTexParameterf, 3, target, pname, param); + glad_glTexParameterf(target, pname, param); + _post_call_gl_callback(NULL, "glTexParameterf", (GLADapiproc) glad_glTexParameterf, 3, target, pname, param); + +} +PFNGLTEXPARAMETERFPROC glad_debug_glTexParameterf = glad_debug_impl_glTexParameterf; PFNGLTEXPARAMETERFVPROC glad_glTexParameterfv = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexParameterfv(GLenum target, GLenum pname, const GLfloat * params) { + _pre_call_gl_callback("glTexParameterfv", (GLADapiproc) glad_glTexParameterfv, 3, target, pname, params); + glad_glTexParameterfv(target, pname, params); + _post_call_gl_callback(NULL, "glTexParameterfv", (GLADapiproc) glad_glTexParameterfv, 3, target, pname, params); + +} +PFNGLTEXPARAMETERFVPROC glad_debug_glTexParameterfv = glad_debug_impl_glTexParameterfv; PFNGLTEXPARAMETERIPROC glad_glTexParameteri = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexParameteri(GLenum target, GLenum pname, GLint param) { + _pre_call_gl_callback("glTexParameteri", (GLADapiproc) glad_glTexParameteri, 3, target, pname, param); + glad_glTexParameteri(target, pname, param); + _post_call_gl_callback(NULL, "glTexParameteri", (GLADapiproc) glad_glTexParameteri, 3, target, pname, param); + +} +PFNGLTEXPARAMETERIPROC glad_debug_glTexParameteri = glad_debug_impl_glTexParameteri; PFNGLTEXPARAMETERIVPROC glad_glTexParameteriv = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexParameteriv(GLenum target, GLenum pname, const GLint * params) { + _pre_call_gl_callback("glTexParameteriv", (GLADapiproc) glad_glTexParameteriv, 3, target, pname, params); + glad_glTexParameteriv(target, pname, params); + _post_call_gl_callback(NULL, "glTexParameteriv", (GLADapiproc) glad_glTexParameteriv, 3, target, pname, params); + +} +PFNGLTEXPARAMETERIVPROC glad_debug_glTexParameteriv = glad_debug_impl_glTexParameteriv; PFNGLTEXSUBIMAGE1DPROC glad_glTexSubImage1D = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void * pixels) { + _pre_call_gl_callback("glTexSubImage1D", (GLADapiproc) glad_glTexSubImage1D, 7, target, level, xoffset, width, format, type, pixels); + glad_glTexSubImage1D(target, level, xoffset, width, format, type, pixels); + _post_call_gl_callback(NULL, "glTexSubImage1D", (GLADapiproc) glad_glTexSubImage1D, 7, target, level, xoffset, width, format, type, pixels); + +} +PFNGLTEXSUBIMAGE1DPROC glad_debug_glTexSubImage1D = glad_debug_impl_glTexSubImage1D; PFNGLTEXSUBIMAGE2DPROC glad_glTexSubImage2D = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels) { + _pre_call_gl_callback("glTexSubImage2D", (GLADapiproc) glad_glTexSubImage2D, 9, target, level, xoffset, yoffset, width, height, format, type, pixels); + glad_glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels); + _post_call_gl_callback(NULL, "glTexSubImage2D", (GLADapiproc) glad_glTexSubImage2D, 9, target, level, xoffset, yoffset, width, height, format, type, pixels); + +} +PFNGLTEXSUBIMAGE2DPROC glad_debug_glTexSubImage2D = glad_debug_impl_glTexSubImage2D; PFNGLTEXSUBIMAGE3DPROC glad_glTexSubImage3D = NULL; +static void GLAD_API_PTR glad_debug_impl_glTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * pixels) { + _pre_call_gl_callback("glTexSubImage3D", (GLADapiproc) glad_glTexSubImage3D, 11, target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); + glad_glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); + _post_call_gl_callback(NULL, "glTexSubImage3D", (GLADapiproc) glad_glTexSubImage3D, 11, target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); + +} +PFNGLTEXSUBIMAGE3DPROC glad_debug_glTexSubImage3D = glad_debug_impl_glTexSubImage3D; PFNGLTRANSFORMFEEDBACKVARYINGSPROC glad_glTransformFeedbackVaryings = NULL; +static void GLAD_API_PTR glad_debug_impl_glTransformFeedbackVaryings(GLuint program, GLsizei count, const GLchar *const* varyings, GLenum bufferMode) { + _pre_call_gl_callback("glTransformFeedbackVaryings", (GLADapiproc) glad_glTransformFeedbackVaryings, 4, program, count, varyings, bufferMode); + glad_glTransformFeedbackVaryings(program, count, varyings, bufferMode); + _post_call_gl_callback(NULL, "glTransformFeedbackVaryings", (GLADapiproc) glad_glTransformFeedbackVaryings, 4, program, count, varyings, bufferMode); + +} +PFNGLTRANSFORMFEEDBACKVARYINGSPROC glad_debug_glTransformFeedbackVaryings = glad_debug_impl_glTransformFeedbackVaryings; +PFNGLTRANSLATEDPROC glad_glTranslated = NULL; +static void GLAD_API_PTR glad_debug_impl_glTranslated(GLdouble x, GLdouble y, GLdouble z) { + _pre_call_gl_callback("glTranslated", (GLADapiproc) glad_glTranslated, 3, x, y, z); + glad_glTranslated(x, y, z); + _post_call_gl_callback(NULL, "glTranslated", (GLADapiproc) glad_glTranslated, 3, x, y, z); + +} +PFNGLTRANSLATEDPROC glad_debug_glTranslated = glad_debug_impl_glTranslated; +PFNGLTRANSLATEFPROC glad_glTranslatef = NULL; +static void GLAD_API_PTR glad_debug_impl_glTranslatef(GLfloat x, GLfloat y, GLfloat z) { + _pre_call_gl_callback("glTranslatef", (GLADapiproc) glad_glTranslatef, 3, x, y, z); + glad_glTranslatef(x, y, z); + _post_call_gl_callback(NULL, "glTranslatef", (GLADapiproc) glad_glTranslatef, 3, x, y, z); + +} +PFNGLTRANSLATEFPROC glad_debug_glTranslatef = glad_debug_impl_glTranslatef; PFNGLUNIFORM1FPROC glad_glUniform1f = NULL; +static void GLAD_API_PTR glad_debug_impl_glUniform1f(GLint location, GLfloat v0) { + _pre_call_gl_callback("glUniform1f", (GLADapiproc) glad_glUniform1f, 2, location, v0); + glad_glUniform1f(location, v0); + _post_call_gl_callback(NULL, "glUniform1f", (GLADapiproc) glad_glUniform1f, 2, location, v0); + +} +PFNGLUNIFORM1FPROC glad_debug_glUniform1f = glad_debug_impl_glUniform1f; PFNGLUNIFORM1FVPROC glad_glUniform1fv = NULL; +static void GLAD_API_PTR glad_debug_impl_glUniform1fv(GLint location, GLsizei count, const GLfloat * value) { + _pre_call_gl_callback("glUniform1fv", (GLADapiproc) glad_glUniform1fv, 3, location, count, value); + glad_glUniform1fv(location, count, value); + _post_call_gl_callback(NULL, "glUniform1fv", (GLADapiproc) glad_glUniform1fv, 3, location, count, value); + +} +PFNGLUNIFORM1FVPROC glad_debug_glUniform1fv = glad_debug_impl_glUniform1fv; PFNGLUNIFORM1IPROC glad_glUniform1i = NULL; +static void GLAD_API_PTR glad_debug_impl_glUniform1i(GLint location, GLint v0) { + _pre_call_gl_callback("glUniform1i", (GLADapiproc) glad_glUniform1i, 2, location, v0); + glad_glUniform1i(location, v0); + _post_call_gl_callback(NULL, "glUniform1i", (GLADapiproc) glad_glUniform1i, 2, location, v0); + +} +PFNGLUNIFORM1IPROC glad_debug_glUniform1i = glad_debug_impl_glUniform1i; PFNGLUNIFORM1IVPROC glad_glUniform1iv = NULL; +static void GLAD_API_PTR glad_debug_impl_glUniform1iv(GLint location, GLsizei count, const GLint * value) { + _pre_call_gl_callback("glUniform1iv", (GLADapiproc) glad_glUniform1iv, 3, location, count, value); + glad_glUniform1iv(location, count, value); + _post_call_gl_callback(NULL, "glUniform1iv", (GLADapiproc) glad_glUniform1iv, 3, location, count, value); + +} +PFNGLUNIFORM1IVPROC glad_debug_glUniform1iv = glad_debug_impl_glUniform1iv; PFNGLUNIFORM1UIPROC glad_glUniform1ui = NULL; +static void GLAD_API_PTR glad_debug_impl_glUniform1ui(GLint location, GLuint v0) { + _pre_call_gl_callback("glUniform1ui", (GLADapiproc) glad_glUniform1ui, 2, location, v0); + glad_glUniform1ui(location, v0); + _post_call_gl_callback(NULL, "glUniform1ui", (GLADapiproc) glad_glUniform1ui, 2, location, v0); + +} +PFNGLUNIFORM1UIPROC glad_debug_glUniform1ui = glad_debug_impl_glUniform1ui; PFNGLUNIFORM1UIVPROC glad_glUniform1uiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glUniform1uiv(GLint location, GLsizei count, const GLuint * value) { + _pre_call_gl_callback("glUniform1uiv", (GLADapiproc) glad_glUniform1uiv, 3, location, count, value); + glad_glUniform1uiv(location, count, value); + _post_call_gl_callback(NULL, "glUniform1uiv", (GLADapiproc) glad_glUniform1uiv, 3, location, count, value); + +} +PFNGLUNIFORM1UIVPROC glad_debug_glUniform1uiv = glad_debug_impl_glUniform1uiv; PFNGLUNIFORM2FPROC glad_glUniform2f = NULL; +static void GLAD_API_PTR glad_debug_impl_glUniform2f(GLint location, GLfloat v0, GLfloat v1) { + _pre_call_gl_callback("glUniform2f", (GLADapiproc) glad_glUniform2f, 3, location, v0, v1); + glad_glUniform2f(location, v0, v1); + _post_call_gl_callback(NULL, "glUniform2f", (GLADapiproc) glad_glUniform2f, 3, location, v0, v1); + +} +PFNGLUNIFORM2FPROC glad_debug_glUniform2f = glad_debug_impl_glUniform2f; PFNGLUNIFORM2FVPROC glad_glUniform2fv = NULL; +static void GLAD_API_PTR glad_debug_impl_glUniform2fv(GLint location, GLsizei count, const GLfloat * value) { + _pre_call_gl_callback("glUniform2fv", (GLADapiproc) glad_glUniform2fv, 3, location, count, value); + glad_glUniform2fv(location, count, value); + _post_call_gl_callback(NULL, "glUniform2fv", (GLADapiproc) glad_glUniform2fv, 3, location, count, value); + +} +PFNGLUNIFORM2FVPROC glad_debug_glUniform2fv = glad_debug_impl_glUniform2fv; PFNGLUNIFORM2IPROC glad_glUniform2i = NULL; +static void GLAD_API_PTR glad_debug_impl_glUniform2i(GLint location, GLint v0, GLint v1) { + _pre_call_gl_callback("glUniform2i", (GLADapiproc) glad_glUniform2i, 3, location, v0, v1); + glad_glUniform2i(location, v0, v1); + _post_call_gl_callback(NULL, "glUniform2i", (GLADapiproc) glad_glUniform2i, 3, location, v0, v1); + +} +PFNGLUNIFORM2IPROC glad_debug_glUniform2i = glad_debug_impl_glUniform2i; PFNGLUNIFORM2IVPROC glad_glUniform2iv = NULL; +static void GLAD_API_PTR glad_debug_impl_glUniform2iv(GLint location, GLsizei count, const GLint * value) { + _pre_call_gl_callback("glUniform2iv", (GLADapiproc) glad_glUniform2iv, 3, location, count, value); + glad_glUniform2iv(location, count, value); + _post_call_gl_callback(NULL, "glUniform2iv", (GLADapiproc) glad_glUniform2iv, 3, location, count, value); + +} +PFNGLUNIFORM2IVPROC glad_debug_glUniform2iv = glad_debug_impl_glUniform2iv; PFNGLUNIFORM2UIPROC glad_glUniform2ui = NULL; +static void GLAD_API_PTR glad_debug_impl_glUniform2ui(GLint location, GLuint v0, GLuint v1) { + _pre_call_gl_callback("glUniform2ui", (GLADapiproc) glad_glUniform2ui, 3, location, v0, v1); + glad_glUniform2ui(location, v0, v1); + _post_call_gl_callback(NULL, "glUniform2ui", (GLADapiproc) glad_glUniform2ui, 3, location, v0, v1); + +} +PFNGLUNIFORM2UIPROC glad_debug_glUniform2ui = glad_debug_impl_glUniform2ui; PFNGLUNIFORM2UIVPROC glad_glUniform2uiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glUniform2uiv(GLint location, GLsizei count, const GLuint * value) { + _pre_call_gl_callback("glUniform2uiv", (GLADapiproc) glad_glUniform2uiv, 3, location, count, value); + glad_glUniform2uiv(location, count, value); + _post_call_gl_callback(NULL, "glUniform2uiv", (GLADapiproc) glad_glUniform2uiv, 3, location, count, value); + +} +PFNGLUNIFORM2UIVPROC glad_debug_glUniform2uiv = glad_debug_impl_glUniform2uiv; PFNGLUNIFORM3FPROC glad_glUniform3f = NULL; +static void GLAD_API_PTR glad_debug_impl_glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2) { + _pre_call_gl_callback("glUniform3f", (GLADapiproc) glad_glUniform3f, 4, location, v0, v1, v2); + glad_glUniform3f(location, v0, v1, v2); + _post_call_gl_callback(NULL, "glUniform3f", (GLADapiproc) glad_glUniform3f, 4, location, v0, v1, v2); + +} +PFNGLUNIFORM3FPROC glad_debug_glUniform3f = glad_debug_impl_glUniform3f; PFNGLUNIFORM3FVPROC glad_glUniform3fv = NULL; +static void GLAD_API_PTR glad_debug_impl_glUniform3fv(GLint location, GLsizei count, const GLfloat * value) { + _pre_call_gl_callback("glUniform3fv", (GLADapiproc) glad_glUniform3fv, 3, location, count, value); + glad_glUniform3fv(location, count, value); + _post_call_gl_callback(NULL, "glUniform3fv", (GLADapiproc) glad_glUniform3fv, 3, location, count, value); + +} +PFNGLUNIFORM3FVPROC glad_debug_glUniform3fv = glad_debug_impl_glUniform3fv; PFNGLUNIFORM3IPROC glad_glUniform3i = NULL; +static void GLAD_API_PTR glad_debug_impl_glUniform3i(GLint location, GLint v0, GLint v1, GLint v2) { + _pre_call_gl_callback("glUniform3i", (GLADapiproc) glad_glUniform3i, 4, location, v0, v1, v2); + glad_glUniform3i(location, v0, v1, v2); + _post_call_gl_callback(NULL, "glUniform3i", (GLADapiproc) glad_glUniform3i, 4, location, v0, v1, v2); + +} +PFNGLUNIFORM3IPROC glad_debug_glUniform3i = glad_debug_impl_glUniform3i; PFNGLUNIFORM3IVPROC glad_glUniform3iv = NULL; +static void GLAD_API_PTR glad_debug_impl_glUniform3iv(GLint location, GLsizei count, const GLint * value) { + _pre_call_gl_callback("glUniform3iv", (GLADapiproc) glad_glUniform3iv, 3, location, count, value); + glad_glUniform3iv(location, count, value); + _post_call_gl_callback(NULL, "glUniform3iv", (GLADapiproc) glad_glUniform3iv, 3, location, count, value); + +} +PFNGLUNIFORM3IVPROC glad_debug_glUniform3iv = glad_debug_impl_glUniform3iv; PFNGLUNIFORM3UIPROC glad_glUniform3ui = NULL; +static void GLAD_API_PTR glad_debug_impl_glUniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2) { + _pre_call_gl_callback("glUniform3ui", (GLADapiproc) glad_glUniform3ui, 4, location, v0, v1, v2); + glad_glUniform3ui(location, v0, v1, v2); + _post_call_gl_callback(NULL, "glUniform3ui", (GLADapiproc) glad_glUniform3ui, 4, location, v0, v1, v2); + +} +PFNGLUNIFORM3UIPROC glad_debug_glUniform3ui = glad_debug_impl_glUniform3ui; PFNGLUNIFORM3UIVPROC glad_glUniform3uiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glUniform3uiv(GLint location, GLsizei count, const GLuint * value) { + _pre_call_gl_callback("glUniform3uiv", (GLADapiproc) glad_glUniform3uiv, 3, location, count, value); + glad_glUniform3uiv(location, count, value); + _post_call_gl_callback(NULL, "glUniform3uiv", (GLADapiproc) glad_glUniform3uiv, 3, location, count, value); + +} +PFNGLUNIFORM3UIVPROC glad_debug_glUniform3uiv = glad_debug_impl_glUniform3uiv; PFNGLUNIFORM4FPROC glad_glUniform4f = NULL; +static void GLAD_API_PTR glad_debug_impl_glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) { + _pre_call_gl_callback("glUniform4f", (GLADapiproc) glad_glUniform4f, 5, location, v0, v1, v2, v3); + glad_glUniform4f(location, v0, v1, v2, v3); + _post_call_gl_callback(NULL, "glUniform4f", (GLADapiproc) glad_glUniform4f, 5, location, v0, v1, v2, v3); + +} +PFNGLUNIFORM4FPROC glad_debug_glUniform4f = glad_debug_impl_glUniform4f; PFNGLUNIFORM4FVPROC glad_glUniform4fv = NULL; +static void GLAD_API_PTR glad_debug_impl_glUniform4fv(GLint location, GLsizei count, const GLfloat * value) { + _pre_call_gl_callback("glUniform4fv", (GLADapiproc) glad_glUniform4fv, 3, location, count, value); + glad_glUniform4fv(location, count, value); + _post_call_gl_callback(NULL, "glUniform4fv", (GLADapiproc) glad_glUniform4fv, 3, location, count, value); + +} +PFNGLUNIFORM4FVPROC glad_debug_glUniform4fv = glad_debug_impl_glUniform4fv; PFNGLUNIFORM4IPROC glad_glUniform4i = NULL; +static void GLAD_API_PTR glad_debug_impl_glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3) { + _pre_call_gl_callback("glUniform4i", (GLADapiproc) glad_glUniform4i, 5, location, v0, v1, v2, v3); + glad_glUniform4i(location, v0, v1, v2, v3); + _post_call_gl_callback(NULL, "glUniform4i", (GLADapiproc) glad_glUniform4i, 5, location, v0, v1, v2, v3); + +} +PFNGLUNIFORM4IPROC glad_debug_glUniform4i = glad_debug_impl_glUniform4i; PFNGLUNIFORM4IVPROC glad_glUniform4iv = NULL; +static void GLAD_API_PTR glad_debug_impl_glUniform4iv(GLint location, GLsizei count, const GLint * value) { + _pre_call_gl_callback("glUniform4iv", (GLADapiproc) glad_glUniform4iv, 3, location, count, value); + glad_glUniform4iv(location, count, value); + _post_call_gl_callback(NULL, "glUniform4iv", (GLADapiproc) glad_glUniform4iv, 3, location, count, value); + +} +PFNGLUNIFORM4IVPROC glad_debug_glUniform4iv = glad_debug_impl_glUniform4iv; PFNGLUNIFORM4UIPROC glad_glUniform4ui = NULL; +static void GLAD_API_PTR glad_debug_impl_glUniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) { + _pre_call_gl_callback("glUniform4ui", (GLADapiproc) glad_glUniform4ui, 5, location, v0, v1, v2, v3); + glad_glUniform4ui(location, v0, v1, v2, v3); + _post_call_gl_callback(NULL, "glUniform4ui", (GLADapiproc) glad_glUniform4ui, 5, location, v0, v1, v2, v3); + +} +PFNGLUNIFORM4UIPROC glad_debug_glUniform4ui = glad_debug_impl_glUniform4ui; PFNGLUNIFORM4UIVPROC glad_glUniform4uiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glUniform4uiv(GLint location, GLsizei count, const GLuint * value) { + _pre_call_gl_callback("glUniform4uiv", (GLADapiproc) glad_glUniform4uiv, 3, location, count, value); + glad_glUniform4uiv(location, count, value); + _post_call_gl_callback(NULL, "glUniform4uiv", (GLADapiproc) glad_glUniform4uiv, 3, location, count, value); + +} +PFNGLUNIFORM4UIVPROC glad_debug_glUniform4uiv = glad_debug_impl_glUniform4uiv; PFNGLUNIFORMBLOCKBINDINGPROC glad_glUniformBlockBinding = NULL; +static void GLAD_API_PTR glad_debug_impl_glUniformBlockBinding(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding) { + _pre_call_gl_callback("glUniformBlockBinding", (GLADapiproc) glad_glUniformBlockBinding, 3, program, uniformBlockIndex, uniformBlockBinding); + glad_glUniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding); + _post_call_gl_callback(NULL, "glUniformBlockBinding", (GLADapiproc) glad_glUniformBlockBinding, 3, program, uniformBlockIndex, uniformBlockBinding); + +} +PFNGLUNIFORMBLOCKBINDINGPROC glad_debug_glUniformBlockBinding = glad_debug_impl_glUniformBlockBinding; PFNGLUNIFORMMATRIX2FVPROC glad_glUniformMatrix2fv = NULL; +static void GLAD_API_PTR glad_debug_impl_glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { + _pre_call_gl_callback("glUniformMatrix2fv", (GLADapiproc) glad_glUniformMatrix2fv, 4, location, count, transpose, value); + glad_glUniformMatrix2fv(location, count, transpose, value); + _post_call_gl_callback(NULL, "glUniformMatrix2fv", (GLADapiproc) glad_glUniformMatrix2fv, 4, location, count, transpose, value); + +} +PFNGLUNIFORMMATRIX2FVPROC glad_debug_glUniformMatrix2fv = glad_debug_impl_glUniformMatrix2fv; PFNGLUNIFORMMATRIX2X3FVPROC glad_glUniformMatrix2x3fv = NULL; +static void GLAD_API_PTR glad_debug_impl_glUniformMatrix2x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { + _pre_call_gl_callback("glUniformMatrix2x3fv", (GLADapiproc) glad_glUniformMatrix2x3fv, 4, location, count, transpose, value); + glad_glUniformMatrix2x3fv(location, count, transpose, value); + _post_call_gl_callback(NULL, "glUniformMatrix2x3fv", (GLADapiproc) glad_glUniformMatrix2x3fv, 4, location, count, transpose, value); + +} +PFNGLUNIFORMMATRIX2X3FVPROC glad_debug_glUniformMatrix2x3fv = glad_debug_impl_glUniformMatrix2x3fv; PFNGLUNIFORMMATRIX2X4FVPROC glad_glUniformMatrix2x4fv = NULL; +static void GLAD_API_PTR glad_debug_impl_glUniformMatrix2x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { + _pre_call_gl_callback("glUniformMatrix2x4fv", (GLADapiproc) glad_glUniformMatrix2x4fv, 4, location, count, transpose, value); + glad_glUniformMatrix2x4fv(location, count, transpose, value); + _post_call_gl_callback(NULL, "glUniformMatrix2x4fv", (GLADapiproc) glad_glUniformMatrix2x4fv, 4, location, count, transpose, value); + +} +PFNGLUNIFORMMATRIX2X4FVPROC glad_debug_glUniformMatrix2x4fv = glad_debug_impl_glUniformMatrix2x4fv; PFNGLUNIFORMMATRIX3FVPROC glad_glUniformMatrix3fv = NULL; +static void GLAD_API_PTR glad_debug_impl_glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { + _pre_call_gl_callback("glUniformMatrix3fv", (GLADapiproc) glad_glUniformMatrix3fv, 4, location, count, transpose, value); + glad_glUniformMatrix3fv(location, count, transpose, value); + _post_call_gl_callback(NULL, "glUniformMatrix3fv", (GLADapiproc) glad_glUniformMatrix3fv, 4, location, count, transpose, value); + +} +PFNGLUNIFORMMATRIX3FVPROC glad_debug_glUniformMatrix3fv = glad_debug_impl_glUniformMatrix3fv; PFNGLUNIFORMMATRIX3X2FVPROC glad_glUniformMatrix3x2fv = NULL; +static void GLAD_API_PTR glad_debug_impl_glUniformMatrix3x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { + _pre_call_gl_callback("glUniformMatrix3x2fv", (GLADapiproc) glad_glUniformMatrix3x2fv, 4, location, count, transpose, value); + glad_glUniformMatrix3x2fv(location, count, transpose, value); + _post_call_gl_callback(NULL, "glUniformMatrix3x2fv", (GLADapiproc) glad_glUniformMatrix3x2fv, 4, location, count, transpose, value); + +} +PFNGLUNIFORMMATRIX3X2FVPROC glad_debug_glUniformMatrix3x2fv = glad_debug_impl_glUniformMatrix3x2fv; PFNGLUNIFORMMATRIX3X4FVPROC glad_glUniformMatrix3x4fv = NULL; +static void GLAD_API_PTR glad_debug_impl_glUniformMatrix3x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { + _pre_call_gl_callback("glUniformMatrix3x4fv", (GLADapiproc) glad_glUniformMatrix3x4fv, 4, location, count, transpose, value); + glad_glUniformMatrix3x4fv(location, count, transpose, value); + _post_call_gl_callback(NULL, "glUniformMatrix3x4fv", (GLADapiproc) glad_glUniformMatrix3x4fv, 4, location, count, transpose, value); + +} +PFNGLUNIFORMMATRIX3X4FVPROC glad_debug_glUniformMatrix3x4fv = glad_debug_impl_glUniformMatrix3x4fv; PFNGLUNIFORMMATRIX4FVPROC glad_glUniformMatrix4fv = NULL; +static void GLAD_API_PTR glad_debug_impl_glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { + _pre_call_gl_callback("glUniformMatrix4fv", (GLADapiproc) glad_glUniformMatrix4fv, 4, location, count, transpose, value); + glad_glUniformMatrix4fv(location, count, transpose, value); + _post_call_gl_callback(NULL, "glUniformMatrix4fv", (GLADapiproc) glad_glUniformMatrix4fv, 4, location, count, transpose, value); + +} +PFNGLUNIFORMMATRIX4FVPROC glad_debug_glUniformMatrix4fv = glad_debug_impl_glUniformMatrix4fv; PFNGLUNIFORMMATRIX4X2FVPROC glad_glUniformMatrix4x2fv = NULL; +static void GLAD_API_PTR glad_debug_impl_glUniformMatrix4x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { + _pre_call_gl_callback("glUniformMatrix4x2fv", (GLADapiproc) glad_glUniformMatrix4x2fv, 4, location, count, transpose, value); + glad_glUniformMatrix4x2fv(location, count, transpose, value); + _post_call_gl_callback(NULL, "glUniformMatrix4x2fv", (GLADapiproc) glad_glUniformMatrix4x2fv, 4, location, count, transpose, value); + +} +PFNGLUNIFORMMATRIX4X2FVPROC glad_debug_glUniformMatrix4x2fv = glad_debug_impl_glUniformMatrix4x2fv; PFNGLUNIFORMMATRIX4X3FVPROC glad_glUniformMatrix4x3fv = NULL; +static void GLAD_API_PTR glad_debug_impl_glUniformMatrix4x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { + _pre_call_gl_callback("glUniformMatrix4x3fv", (GLADapiproc) glad_glUniformMatrix4x3fv, 4, location, count, transpose, value); + glad_glUniformMatrix4x3fv(location, count, transpose, value); + _post_call_gl_callback(NULL, "glUniformMatrix4x3fv", (GLADapiproc) glad_glUniformMatrix4x3fv, 4, location, count, transpose, value); + +} +PFNGLUNIFORMMATRIX4X3FVPROC glad_debug_glUniformMatrix4x3fv = glad_debug_impl_glUniformMatrix4x3fv; PFNGLUNMAPBUFFERPROC glad_glUnmapBuffer = NULL; +static GLboolean GLAD_API_PTR glad_debug_impl_glUnmapBuffer(GLenum target) { + GLboolean ret; + _pre_call_gl_callback("glUnmapBuffer", (GLADapiproc) glad_glUnmapBuffer, 1, target); + ret = glad_glUnmapBuffer(target); + _post_call_gl_callback((void*) &ret, "glUnmapBuffer", (GLADapiproc) glad_glUnmapBuffer, 1, target); + return ret; +} +PFNGLUNMAPBUFFERPROC glad_debug_glUnmapBuffer = glad_debug_impl_glUnmapBuffer; PFNGLUSEPROGRAMPROC glad_glUseProgram = NULL; +static void GLAD_API_PTR glad_debug_impl_glUseProgram(GLuint program) { + _pre_call_gl_callback("glUseProgram", (GLADapiproc) glad_glUseProgram, 1, program); + glad_glUseProgram(program); + _post_call_gl_callback(NULL, "glUseProgram", (GLADapiproc) glad_glUseProgram, 1, program); + +} +PFNGLUSEPROGRAMPROC glad_debug_glUseProgram = glad_debug_impl_glUseProgram; PFNGLVALIDATEPROGRAMPROC glad_glValidateProgram = NULL; +static void GLAD_API_PTR glad_debug_impl_glValidateProgram(GLuint program) { + _pre_call_gl_callback("glValidateProgram", (GLADapiproc) glad_glValidateProgram, 1, program); + glad_glValidateProgram(program); + _post_call_gl_callback(NULL, "glValidateProgram", (GLADapiproc) glad_glValidateProgram, 1, program); + +} +PFNGLVALIDATEPROGRAMPROC glad_debug_glValidateProgram = glad_debug_impl_glValidateProgram; +PFNGLVERTEX2DPROC glad_glVertex2d = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertex2d(GLdouble x, GLdouble y) { + _pre_call_gl_callback("glVertex2d", (GLADapiproc) glad_glVertex2d, 2, x, y); + glad_glVertex2d(x, y); + _post_call_gl_callback(NULL, "glVertex2d", (GLADapiproc) glad_glVertex2d, 2, x, y); + +} +PFNGLVERTEX2DPROC glad_debug_glVertex2d = glad_debug_impl_glVertex2d; +PFNGLVERTEX2DVPROC glad_glVertex2dv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertex2dv(const GLdouble * v) { + _pre_call_gl_callback("glVertex2dv", (GLADapiproc) glad_glVertex2dv, 1, v); + glad_glVertex2dv(v); + _post_call_gl_callback(NULL, "glVertex2dv", (GLADapiproc) glad_glVertex2dv, 1, v); + +} +PFNGLVERTEX2DVPROC glad_debug_glVertex2dv = glad_debug_impl_glVertex2dv; +PFNGLVERTEX2FPROC glad_glVertex2f = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertex2f(GLfloat x, GLfloat y) { + _pre_call_gl_callback("glVertex2f", (GLADapiproc) glad_glVertex2f, 2, x, y); + glad_glVertex2f(x, y); + _post_call_gl_callback(NULL, "glVertex2f", (GLADapiproc) glad_glVertex2f, 2, x, y); + +} +PFNGLVERTEX2FPROC glad_debug_glVertex2f = glad_debug_impl_glVertex2f; +PFNGLVERTEX2FVPROC glad_glVertex2fv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertex2fv(const GLfloat * v) { + _pre_call_gl_callback("glVertex2fv", (GLADapiproc) glad_glVertex2fv, 1, v); + glad_glVertex2fv(v); + _post_call_gl_callback(NULL, "glVertex2fv", (GLADapiproc) glad_glVertex2fv, 1, v); + +} +PFNGLVERTEX2FVPROC glad_debug_glVertex2fv = glad_debug_impl_glVertex2fv; +PFNGLVERTEX2IPROC glad_glVertex2i = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertex2i(GLint x, GLint y) { + _pre_call_gl_callback("glVertex2i", (GLADapiproc) glad_glVertex2i, 2, x, y); + glad_glVertex2i(x, y); + _post_call_gl_callback(NULL, "glVertex2i", (GLADapiproc) glad_glVertex2i, 2, x, y); + +} +PFNGLVERTEX2IPROC glad_debug_glVertex2i = glad_debug_impl_glVertex2i; +PFNGLVERTEX2IVPROC glad_glVertex2iv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertex2iv(const GLint * v) { + _pre_call_gl_callback("glVertex2iv", (GLADapiproc) glad_glVertex2iv, 1, v); + glad_glVertex2iv(v); + _post_call_gl_callback(NULL, "glVertex2iv", (GLADapiproc) glad_glVertex2iv, 1, v); + +} +PFNGLVERTEX2IVPROC glad_debug_glVertex2iv = glad_debug_impl_glVertex2iv; +PFNGLVERTEX2SPROC glad_glVertex2s = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertex2s(GLshort x, GLshort y) { + _pre_call_gl_callback("glVertex2s", (GLADapiproc) glad_glVertex2s, 2, x, y); + glad_glVertex2s(x, y); + _post_call_gl_callback(NULL, "glVertex2s", (GLADapiproc) glad_glVertex2s, 2, x, y); + +} +PFNGLVERTEX2SPROC glad_debug_glVertex2s = glad_debug_impl_glVertex2s; +PFNGLVERTEX2SVPROC glad_glVertex2sv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertex2sv(const GLshort * v) { + _pre_call_gl_callback("glVertex2sv", (GLADapiproc) glad_glVertex2sv, 1, v); + glad_glVertex2sv(v); + _post_call_gl_callback(NULL, "glVertex2sv", (GLADapiproc) glad_glVertex2sv, 1, v); + +} +PFNGLVERTEX2SVPROC glad_debug_glVertex2sv = glad_debug_impl_glVertex2sv; +PFNGLVERTEX3DPROC glad_glVertex3d = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertex3d(GLdouble x, GLdouble y, GLdouble z) { + _pre_call_gl_callback("glVertex3d", (GLADapiproc) glad_glVertex3d, 3, x, y, z); + glad_glVertex3d(x, y, z); + _post_call_gl_callback(NULL, "glVertex3d", (GLADapiproc) glad_glVertex3d, 3, x, y, z); + +} +PFNGLVERTEX3DPROC glad_debug_glVertex3d = glad_debug_impl_glVertex3d; +PFNGLVERTEX3DVPROC glad_glVertex3dv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertex3dv(const GLdouble * v) { + _pre_call_gl_callback("glVertex3dv", (GLADapiproc) glad_glVertex3dv, 1, v); + glad_glVertex3dv(v); + _post_call_gl_callback(NULL, "glVertex3dv", (GLADapiproc) glad_glVertex3dv, 1, v); + +} +PFNGLVERTEX3DVPROC glad_debug_glVertex3dv = glad_debug_impl_glVertex3dv; +PFNGLVERTEX3FPROC glad_glVertex3f = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertex3f(GLfloat x, GLfloat y, GLfloat z) { + _pre_call_gl_callback("glVertex3f", (GLADapiproc) glad_glVertex3f, 3, x, y, z); + glad_glVertex3f(x, y, z); + _post_call_gl_callback(NULL, "glVertex3f", (GLADapiproc) glad_glVertex3f, 3, x, y, z); + +} +PFNGLVERTEX3FPROC glad_debug_glVertex3f = glad_debug_impl_glVertex3f; +PFNGLVERTEX3FVPROC glad_glVertex3fv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertex3fv(const GLfloat * v) { + _pre_call_gl_callback("glVertex3fv", (GLADapiproc) glad_glVertex3fv, 1, v); + glad_glVertex3fv(v); + _post_call_gl_callback(NULL, "glVertex3fv", (GLADapiproc) glad_glVertex3fv, 1, v); + +} +PFNGLVERTEX3FVPROC glad_debug_glVertex3fv = glad_debug_impl_glVertex3fv; +PFNGLVERTEX3IPROC glad_glVertex3i = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertex3i(GLint x, GLint y, GLint z) { + _pre_call_gl_callback("glVertex3i", (GLADapiproc) glad_glVertex3i, 3, x, y, z); + glad_glVertex3i(x, y, z); + _post_call_gl_callback(NULL, "glVertex3i", (GLADapiproc) glad_glVertex3i, 3, x, y, z); + +} +PFNGLVERTEX3IPROC glad_debug_glVertex3i = glad_debug_impl_glVertex3i; +PFNGLVERTEX3IVPROC glad_glVertex3iv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertex3iv(const GLint * v) { + _pre_call_gl_callback("glVertex3iv", (GLADapiproc) glad_glVertex3iv, 1, v); + glad_glVertex3iv(v); + _post_call_gl_callback(NULL, "glVertex3iv", (GLADapiproc) glad_glVertex3iv, 1, v); + +} +PFNGLVERTEX3IVPROC glad_debug_glVertex3iv = glad_debug_impl_glVertex3iv; +PFNGLVERTEX3SPROC glad_glVertex3s = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertex3s(GLshort x, GLshort y, GLshort z) { + _pre_call_gl_callback("glVertex3s", (GLADapiproc) glad_glVertex3s, 3, x, y, z); + glad_glVertex3s(x, y, z); + _post_call_gl_callback(NULL, "glVertex3s", (GLADapiproc) glad_glVertex3s, 3, x, y, z); + +} +PFNGLVERTEX3SPROC glad_debug_glVertex3s = glad_debug_impl_glVertex3s; +PFNGLVERTEX3SVPROC glad_glVertex3sv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertex3sv(const GLshort * v) { + _pre_call_gl_callback("glVertex3sv", (GLADapiproc) glad_glVertex3sv, 1, v); + glad_glVertex3sv(v); + _post_call_gl_callback(NULL, "glVertex3sv", (GLADapiproc) glad_glVertex3sv, 1, v); + +} +PFNGLVERTEX3SVPROC glad_debug_glVertex3sv = glad_debug_impl_glVertex3sv; +PFNGLVERTEX4DPROC glad_glVertex4d = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w) { + _pre_call_gl_callback("glVertex4d", (GLADapiproc) glad_glVertex4d, 4, x, y, z, w); + glad_glVertex4d(x, y, z, w); + _post_call_gl_callback(NULL, "glVertex4d", (GLADapiproc) glad_glVertex4d, 4, x, y, z, w); + +} +PFNGLVERTEX4DPROC glad_debug_glVertex4d = glad_debug_impl_glVertex4d; +PFNGLVERTEX4DVPROC glad_glVertex4dv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertex4dv(const GLdouble * v) { + _pre_call_gl_callback("glVertex4dv", (GLADapiproc) glad_glVertex4dv, 1, v); + glad_glVertex4dv(v); + _post_call_gl_callback(NULL, "glVertex4dv", (GLADapiproc) glad_glVertex4dv, 1, v); + +} +PFNGLVERTEX4DVPROC glad_debug_glVertex4dv = glad_debug_impl_glVertex4dv; +PFNGLVERTEX4FPROC glad_glVertex4f = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w) { + _pre_call_gl_callback("glVertex4f", (GLADapiproc) glad_glVertex4f, 4, x, y, z, w); + glad_glVertex4f(x, y, z, w); + _post_call_gl_callback(NULL, "glVertex4f", (GLADapiproc) glad_glVertex4f, 4, x, y, z, w); + +} +PFNGLVERTEX4FPROC glad_debug_glVertex4f = glad_debug_impl_glVertex4f; +PFNGLVERTEX4FVPROC glad_glVertex4fv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertex4fv(const GLfloat * v) { + _pre_call_gl_callback("glVertex4fv", (GLADapiproc) glad_glVertex4fv, 1, v); + glad_glVertex4fv(v); + _post_call_gl_callback(NULL, "glVertex4fv", (GLADapiproc) glad_glVertex4fv, 1, v); + +} +PFNGLVERTEX4FVPROC glad_debug_glVertex4fv = glad_debug_impl_glVertex4fv; +PFNGLVERTEX4IPROC glad_glVertex4i = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertex4i(GLint x, GLint y, GLint z, GLint w) { + _pre_call_gl_callback("glVertex4i", (GLADapiproc) glad_glVertex4i, 4, x, y, z, w); + glad_glVertex4i(x, y, z, w); + _post_call_gl_callback(NULL, "glVertex4i", (GLADapiproc) glad_glVertex4i, 4, x, y, z, w); + +} +PFNGLVERTEX4IPROC glad_debug_glVertex4i = glad_debug_impl_glVertex4i; +PFNGLVERTEX4IVPROC glad_glVertex4iv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertex4iv(const GLint * v) { + _pre_call_gl_callback("glVertex4iv", (GLADapiproc) glad_glVertex4iv, 1, v); + glad_glVertex4iv(v); + _post_call_gl_callback(NULL, "glVertex4iv", (GLADapiproc) glad_glVertex4iv, 1, v); + +} +PFNGLVERTEX4IVPROC glad_debug_glVertex4iv = glad_debug_impl_glVertex4iv; +PFNGLVERTEX4SPROC glad_glVertex4s = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w) { + _pre_call_gl_callback("glVertex4s", (GLADapiproc) glad_glVertex4s, 4, x, y, z, w); + glad_glVertex4s(x, y, z, w); + _post_call_gl_callback(NULL, "glVertex4s", (GLADapiproc) glad_glVertex4s, 4, x, y, z, w); + +} +PFNGLVERTEX4SPROC glad_debug_glVertex4s = glad_debug_impl_glVertex4s; +PFNGLVERTEX4SVPROC glad_glVertex4sv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertex4sv(const GLshort * v) { + _pre_call_gl_callback("glVertex4sv", (GLADapiproc) glad_glVertex4sv, 1, v); + glad_glVertex4sv(v); + _post_call_gl_callback(NULL, "glVertex4sv", (GLADapiproc) glad_glVertex4sv, 1, v); + +} +PFNGLVERTEX4SVPROC glad_debug_glVertex4sv = glad_debug_impl_glVertex4sv; PFNGLVERTEXATTRIB1DPROC glad_glVertexAttrib1d = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttrib1d(GLuint index, GLdouble x) { + _pre_call_gl_callback("glVertexAttrib1d", (GLADapiproc) glad_glVertexAttrib1d, 2, index, x); + glad_glVertexAttrib1d(index, x); + _post_call_gl_callback(NULL, "glVertexAttrib1d", (GLADapiproc) glad_glVertexAttrib1d, 2, index, x); + +} +PFNGLVERTEXATTRIB1DPROC glad_debug_glVertexAttrib1d = glad_debug_impl_glVertexAttrib1d; PFNGLVERTEXATTRIB1DVPROC glad_glVertexAttrib1dv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttrib1dv(GLuint index, const GLdouble * v) { + _pre_call_gl_callback("glVertexAttrib1dv", (GLADapiproc) glad_glVertexAttrib1dv, 2, index, v); + glad_glVertexAttrib1dv(index, v); + _post_call_gl_callback(NULL, "glVertexAttrib1dv", (GLADapiproc) glad_glVertexAttrib1dv, 2, index, v); + +} +PFNGLVERTEXATTRIB1DVPROC glad_debug_glVertexAttrib1dv = glad_debug_impl_glVertexAttrib1dv; PFNGLVERTEXATTRIB1FPROC glad_glVertexAttrib1f = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttrib1f(GLuint index, GLfloat x) { + _pre_call_gl_callback("glVertexAttrib1f", (GLADapiproc) glad_glVertexAttrib1f, 2, index, x); + glad_glVertexAttrib1f(index, x); + _post_call_gl_callback(NULL, "glVertexAttrib1f", (GLADapiproc) glad_glVertexAttrib1f, 2, index, x); + +} +PFNGLVERTEXATTRIB1FPROC glad_debug_glVertexAttrib1f = glad_debug_impl_glVertexAttrib1f; PFNGLVERTEXATTRIB1FVPROC glad_glVertexAttrib1fv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttrib1fv(GLuint index, const GLfloat * v) { + _pre_call_gl_callback("glVertexAttrib1fv", (GLADapiproc) glad_glVertexAttrib1fv, 2, index, v); + glad_glVertexAttrib1fv(index, v); + _post_call_gl_callback(NULL, "glVertexAttrib1fv", (GLADapiproc) glad_glVertexAttrib1fv, 2, index, v); + +} +PFNGLVERTEXATTRIB1FVPROC glad_debug_glVertexAttrib1fv = glad_debug_impl_glVertexAttrib1fv; PFNGLVERTEXATTRIB1SPROC glad_glVertexAttrib1s = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttrib1s(GLuint index, GLshort x) { + _pre_call_gl_callback("glVertexAttrib1s", (GLADapiproc) glad_glVertexAttrib1s, 2, index, x); + glad_glVertexAttrib1s(index, x); + _post_call_gl_callback(NULL, "glVertexAttrib1s", (GLADapiproc) glad_glVertexAttrib1s, 2, index, x); + +} +PFNGLVERTEXATTRIB1SPROC glad_debug_glVertexAttrib1s = glad_debug_impl_glVertexAttrib1s; PFNGLVERTEXATTRIB1SVPROC glad_glVertexAttrib1sv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttrib1sv(GLuint index, const GLshort * v) { + _pre_call_gl_callback("glVertexAttrib1sv", (GLADapiproc) glad_glVertexAttrib1sv, 2, index, v); + glad_glVertexAttrib1sv(index, v); + _post_call_gl_callback(NULL, "glVertexAttrib1sv", (GLADapiproc) glad_glVertexAttrib1sv, 2, index, v); + +} +PFNGLVERTEXATTRIB1SVPROC glad_debug_glVertexAttrib1sv = glad_debug_impl_glVertexAttrib1sv; PFNGLVERTEXATTRIB2DPROC glad_glVertexAttrib2d = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttrib2d(GLuint index, GLdouble x, GLdouble y) { + _pre_call_gl_callback("glVertexAttrib2d", (GLADapiproc) glad_glVertexAttrib2d, 3, index, x, y); + glad_glVertexAttrib2d(index, x, y); + _post_call_gl_callback(NULL, "glVertexAttrib2d", (GLADapiproc) glad_glVertexAttrib2d, 3, index, x, y); + +} +PFNGLVERTEXATTRIB2DPROC glad_debug_glVertexAttrib2d = glad_debug_impl_glVertexAttrib2d; PFNGLVERTEXATTRIB2DVPROC glad_glVertexAttrib2dv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttrib2dv(GLuint index, const GLdouble * v) { + _pre_call_gl_callback("glVertexAttrib2dv", (GLADapiproc) glad_glVertexAttrib2dv, 2, index, v); + glad_glVertexAttrib2dv(index, v); + _post_call_gl_callback(NULL, "glVertexAttrib2dv", (GLADapiproc) glad_glVertexAttrib2dv, 2, index, v); + +} +PFNGLVERTEXATTRIB2DVPROC glad_debug_glVertexAttrib2dv = glad_debug_impl_glVertexAttrib2dv; PFNGLVERTEXATTRIB2FPROC glad_glVertexAttrib2f = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttrib2f(GLuint index, GLfloat x, GLfloat y) { + _pre_call_gl_callback("glVertexAttrib2f", (GLADapiproc) glad_glVertexAttrib2f, 3, index, x, y); + glad_glVertexAttrib2f(index, x, y); + _post_call_gl_callback(NULL, "glVertexAttrib2f", (GLADapiproc) glad_glVertexAttrib2f, 3, index, x, y); + +} +PFNGLVERTEXATTRIB2FPROC glad_debug_glVertexAttrib2f = glad_debug_impl_glVertexAttrib2f; PFNGLVERTEXATTRIB2FVPROC glad_glVertexAttrib2fv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttrib2fv(GLuint index, const GLfloat * v) { + _pre_call_gl_callback("glVertexAttrib2fv", (GLADapiproc) glad_glVertexAttrib2fv, 2, index, v); + glad_glVertexAttrib2fv(index, v); + _post_call_gl_callback(NULL, "glVertexAttrib2fv", (GLADapiproc) glad_glVertexAttrib2fv, 2, index, v); + +} +PFNGLVERTEXATTRIB2FVPROC glad_debug_glVertexAttrib2fv = glad_debug_impl_glVertexAttrib2fv; PFNGLVERTEXATTRIB2SPROC glad_glVertexAttrib2s = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttrib2s(GLuint index, GLshort x, GLshort y) { + _pre_call_gl_callback("glVertexAttrib2s", (GLADapiproc) glad_glVertexAttrib2s, 3, index, x, y); + glad_glVertexAttrib2s(index, x, y); + _post_call_gl_callback(NULL, "glVertexAttrib2s", (GLADapiproc) glad_glVertexAttrib2s, 3, index, x, y); + +} +PFNGLVERTEXATTRIB2SPROC glad_debug_glVertexAttrib2s = glad_debug_impl_glVertexAttrib2s; PFNGLVERTEXATTRIB2SVPROC glad_glVertexAttrib2sv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttrib2sv(GLuint index, const GLshort * v) { + _pre_call_gl_callback("glVertexAttrib2sv", (GLADapiproc) glad_glVertexAttrib2sv, 2, index, v); + glad_glVertexAttrib2sv(index, v); + _post_call_gl_callback(NULL, "glVertexAttrib2sv", (GLADapiproc) glad_glVertexAttrib2sv, 2, index, v); + +} +PFNGLVERTEXATTRIB2SVPROC glad_debug_glVertexAttrib2sv = glad_debug_impl_glVertexAttrib2sv; PFNGLVERTEXATTRIB3DPROC glad_glVertexAttrib3d = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttrib3d(GLuint index, GLdouble x, GLdouble y, GLdouble z) { + _pre_call_gl_callback("glVertexAttrib3d", (GLADapiproc) glad_glVertexAttrib3d, 4, index, x, y, z); + glad_glVertexAttrib3d(index, x, y, z); + _post_call_gl_callback(NULL, "glVertexAttrib3d", (GLADapiproc) glad_glVertexAttrib3d, 4, index, x, y, z); + +} +PFNGLVERTEXATTRIB3DPROC glad_debug_glVertexAttrib3d = glad_debug_impl_glVertexAttrib3d; PFNGLVERTEXATTRIB3DVPROC glad_glVertexAttrib3dv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttrib3dv(GLuint index, const GLdouble * v) { + _pre_call_gl_callback("glVertexAttrib3dv", (GLADapiproc) glad_glVertexAttrib3dv, 2, index, v); + glad_glVertexAttrib3dv(index, v); + _post_call_gl_callback(NULL, "glVertexAttrib3dv", (GLADapiproc) glad_glVertexAttrib3dv, 2, index, v); + +} +PFNGLVERTEXATTRIB3DVPROC glad_debug_glVertexAttrib3dv = glad_debug_impl_glVertexAttrib3dv; PFNGLVERTEXATTRIB3FPROC glad_glVertexAttrib3f = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttrib3f(GLuint index, GLfloat x, GLfloat y, GLfloat z) { + _pre_call_gl_callback("glVertexAttrib3f", (GLADapiproc) glad_glVertexAttrib3f, 4, index, x, y, z); + glad_glVertexAttrib3f(index, x, y, z); + _post_call_gl_callback(NULL, "glVertexAttrib3f", (GLADapiproc) glad_glVertexAttrib3f, 4, index, x, y, z); + +} +PFNGLVERTEXATTRIB3FPROC glad_debug_glVertexAttrib3f = glad_debug_impl_glVertexAttrib3f; PFNGLVERTEXATTRIB3FVPROC glad_glVertexAttrib3fv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttrib3fv(GLuint index, const GLfloat * v) { + _pre_call_gl_callback("glVertexAttrib3fv", (GLADapiproc) glad_glVertexAttrib3fv, 2, index, v); + glad_glVertexAttrib3fv(index, v); + _post_call_gl_callback(NULL, "glVertexAttrib3fv", (GLADapiproc) glad_glVertexAttrib3fv, 2, index, v); + +} +PFNGLVERTEXATTRIB3FVPROC glad_debug_glVertexAttrib3fv = glad_debug_impl_glVertexAttrib3fv; PFNGLVERTEXATTRIB3SPROC glad_glVertexAttrib3s = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttrib3s(GLuint index, GLshort x, GLshort y, GLshort z) { + _pre_call_gl_callback("glVertexAttrib3s", (GLADapiproc) glad_glVertexAttrib3s, 4, index, x, y, z); + glad_glVertexAttrib3s(index, x, y, z); + _post_call_gl_callback(NULL, "glVertexAttrib3s", (GLADapiproc) glad_glVertexAttrib3s, 4, index, x, y, z); + +} +PFNGLVERTEXATTRIB3SPROC glad_debug_glVertexAttrib3s = glad_debug_impl_glVertexAttrib3s; PFNGLVERTEXATTRIB3SVPROC glad_glVertexAttrib3sv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttrib3sv(GLuint index, const GLshort * v) { + _pre_call_gl_callback("glVertexAttrib3sv", (GLADapiproc) glad_glVertexAttrib3sv, 2, index, v); + glad_glVertexAttrib3sv(index, v); + _post_call_gl_callback(NULL, "glVertexAttrib3sv", (GLADapiproc) glad_glVertexAttrib3sv, 2, index, v); + +} +PFNGLVERTEXATTRIB3SVPROC glad_debug_glVertexAttrib3sv = glad_debug_impl_glVertexAttrib3sv; PFNGLVERTEXATTRIB4NBVPROC glad_glVertexAttrib4Nbv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttrib4Nbv(GLuint index, const GLbyte * v) { + _pre_call_gl_callback("glVertexAttrib4Nbv", (GLADapiproc) glad_glVertexAttrib4Nbv, 2, index, v); + glad_glVertexAttrib4Nbv(index, v); + _post_call_gl_callback(NULL, "glVertexAttrib4Nbv", (GLADapiproc) glad_glVertexAttrib4Nbv, 2, index, v); + +} +PFNGLVERTEXATTRIB4NBVPROC glad_debug_glVertexAttrib4Nbv = glad_debug_impl_glVertexAttrib4Nbv; PFNGLVERTEXATTRIB4NIVPROC glad_glVertexAttrib4Niv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttrib4Niv(GLuint index, const GLint * v) { + _pre_call_gl_callback("glVertexAttrib4Niv", (GLADapiproc) glad_glVertexAttrib4Niv, 2, index, v); + glad_glVertexAttrib4Niv(index, v); + _post_call_gl_callback(NULL, "glVertexAttrib4Niv", (GLADapiproc) glad_glVertexAttrib4Niv, 2, index, v); + +} +PFNGLVERTEXATTRIB4NIVPROC glad_debug_glVertexAttrib4Niv = glad_debug_impl_glVertexAttrib4Niv; PFNGLVERTEXATTRIB4NSVPROC glad_glVertexAttrib4Nsv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttrib4Nsv(GLuint index, const GLshort * v) { + _pre_call_gl_callback("glVertexAttrib4Nsv", (GLADapiproc) glad_glVertexAttrib4Nsv, 2, index, v); + glad_glVertexAttrib4Nsv(index, v); + _post_call_gl_callback(NULL, "glVertexAttrib4Nsv", (GLADapiproc) glad_glVertexAttrib4Nsv, 2, index, v); + +} +PFNGLVERTEXATTRIB4NSVPROC glad_debug_glVertexAttrib4Nsv = glad_debug_impl_glVertexAttrib4Nsv; PFNGLVERTEXATTRIB4NUBPROC glad_glVertexAttrib4Nub = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttrib4Nub(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w) { + _pre_call_gl_callback("glVertexAttrib4Nub", (GLADapiproc) glad_glVertexAttrib4Nub, 5, index, x, y, z, w); + glad_glVertexAttrib4Nub(index, x, y, z, w); + _post_call_gl_callback(NULL, "glVertexAttrib4Nub", (GLADapiproc) glad_glVertexAttrib4Nub, 5, index, x, y, z, w); + +} +PFNGLVERTEXATTRIB4NUBPROC glad_debug_glVertexAttrib4Nub = glad_debug_impl_glVertexAttrib4Nub; PFNGLVERTEXATTRIB4NUBVPROC glad_glVertexAttrib4Nubv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttrib4Nubv(GLuint index, const GLubyte * v) { + _pre_call_gl_callback("glVertexAttrib4Nubv", (GLADapiproc) glad_glVertexAttrib4Nubv, 2, index, v); + glad_glVertexAttrib4Nubv(index, v); + _post_call_gl_callback(NULL, "glVertexAttrib4Nubv", (GLADapiproc) glad_glVertexAttrib4Nubv, 2, index, v); + +} +PFNGLVERTEXATTRIB4NUBVPROC glad_debug_glVertexAttrib4Nubv = glad_debug_impl_glVertexAttrib4Nubv; PFNGLVERTEXATTRIB4NUIVPROC glad_glVertexAttrib4Nuiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttrib4Nuiv(GLuint index, const GLuint * v) { + _pre_call_gl_callback("glVertexAttrib4Nuiv", (GLADapiproc) glad_glVertexAttrib4Nuiv, 2, index, v); + glad_glVertexAttrib4Nuiv(index, v); + _post_call_gl_callback(NULL, "glVertexAttrib4Nuiv", (GLADapiproc) glad_glVertexAttrib4Nuiv, 2, index, v); + +} +PFNGLVERTEXATTRIB4NUIVPROC glad_debug_glVertexAttrib4Nuiv = glad_debug_impl_glVertexAttrib4Nuiv; PFNGLVERTEXATTRIB4NUSVPROC glad_glVertexAttrib4Nusv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttrib4Nusv(GLuint index, const GLushort * v) { + _pre_call_gl_callback("glVertexAttrib4Nusv", (GLADapiproc) glad_glVertexAttrib4Nusv, 2, index, v); + glad_glVertexAttrib4Nusv(index, v); + _post_call_gl_callback(NULL, "glVertexAttrib4Nusv", (GLADapiproc) glad_glVertexAttrib4Nusv, 2, index, v); + +} +PFNGLVERTEXATTRIB4NUSVPROC glad_debug_glVertexAttrib4Nusv = glad_debug_impl_glVertexAttrib4Nusv; PFNGLVERTEXATTRIB4BVPROC glad_glVertexAttrib4bv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttrib4bv(GLuint index, const GLbyte * v) { + _pre_call_gl_callback("glVertexAttrib4bv", (GLADapiproc) glad_glVertexAttrib4bv, 2, index, v); + glad_glVertexAttrib4bv(index, v); + _post_call_gl_callback(NULL, "glVertexAttrib4bv", (GLADapiproc) glad_glVertexAttrib4bv, 2, index, v); + +} +PFNGLVERTEXATTRIB4BVPROC glad_debug_glVertexAttrib4bv = glad_debug_impl_glVertexAttrib4bv; PFNGLVERTEXATTRIB4DPROC glad_glVertexAttrib4d = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttrib4d(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) { + _pre_call_gl_callback("glVertexAttrib4d", (GLADapiproc) glad_glVertexAttrib4d, 5, index, x, y, z, w); + glad_glVertexAttrib4d(index, x, y, z, w); + _post_call_gl_callback(NULL, "glVertexAttrib4d", (GLADapiproc) glad_glVertexAttrib4d, 5, index, x, y, z, w); + +} +PFNGLVERTEXATTRIB4DPROC glad_debug_glVertexAttrib4d = glad_debug_impl_glVertexAttrib4d; PFNGLVERTEXATTRIB4DVPROC glad_glVertexAttrib4dv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttrib4dv(GLuint index, const GLdouble * v) { + _pre_call_gl_callback("glVertexAttrib4dv", (GLADapiproc) glad_glVertexAttrib4dv, 2, index, v); + glad_glVertexAttrib4dv(index, v); + _post_call_gl_callback(NULL, "glVertexAttrib4dv", (GLADapiproc) glad_glVertexAttrib4dv, 2, index, v); + +} +PFNGLVERTEXATTRIB4DVPROC glad_debug_glVertexAttrib4dv = glad_debug_impl_glVertexAttrib4dv; PFNGLVERTEXATTRIB4FPROC glad_glVertexAttrib4f = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { + _pre_call_gl_callback("glVertexAttrib4f", (GLADapiproc) glad_glVertexAttrib4f, 5, index, x, y, z, w); + glad_glVertexAttrib4f(index, x, y, z, w); + _post_call_gl_callback(NULL, "glVertexAttrib4f", (GLADapiproc) glad_glVertexAttrib4f, 5, index, x, y, z, w); + +} +PFNGLVERTEXATTRIB4FPROC glad_debug_glVertexAttrib4f = glad_debug_impl_glVertexAttrib4f; PFNGLVERTEXATTRIB4FVPROC glad_glVertexAttrib4fv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttrib4fv(GLuint index, const GLfloat * v) { + _pre_call_gl_callback("glVertexAttrib4fv", (GLADapiproc) glad_glVertexAttrib4fv, 2, index, v); + glad_glVertexAttrib4fv(index, v); + _post_call_gl_callback(NULL, "glVertexAttrib4fv", (GLADapiproc) glad_glVertexAttrib4fv, 2, index, v); + +} +PFNGLVERTEXATTRIB4FVPROC glad_debug_glVertexAttrib4fv = glad_debug_impl_glVertexAttrib4fv; PFNGLVERTEXATTRIB4IVPROC glad_glVertexAttrib4iv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttrib4iv(GLuint index, const GLint * v) { + _pre_call_gl_callback("glVertexAttrib4iv", (GLADapiproc) glad_glVertexAttrib4iv, 2, index, v); + glad_glVertexAttrib4iv(index, v); + _post_call_gl_callback(NULL, "glVertexAttrib4iv", (GLADapiproc) glad_glVertexAttrib4iv, 2, index, v); + +} +PFNGLVERTEXATTRIB4IVPROC glad_debug_glVertexAttrib4iv = glad_debug_impl_glVertexAttrib4iv; PFNGLVERTEXATTRIB4SPROC glad_glVertexAttrib4s = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttrib4s(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w) { + _pre_call_gl_callback("glVertexAttrib4s", (GLADapiproc) glad_glVertexAttrib4s, 5, index, x, y, z, w); + glad_glVertexAttrib4s(index, x, y, z, w); + _post_call_gl_callback(NULL, "glVertexAttrib4s", (GLADapiproc) glad_glVertexAttrib4s, 5, index, x, y, z, w); + +} +PFNGLVERTEXATTRIB4SPROC glad_debug_glVertexAttrib4s = glad_debug_impl_glVertexAttrib4s; PFNGLVERTEXATTRIB4SVPROC glad_glVertexAttrib4sv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttrib4sv(GLuint index, const GLshort * v) { + _pre_call_gl_callback("glVertexAttrib4sv", (GLADapiproc) glad_glVertexAttrib4sv, 2, index, v); + glad_glVertexAttrib4sv(index, v); + _post_call_gl_callback(NULL, "glVertexAttrib4sv", (GLADapiproc) glad_glVertexAttrib4sv, 2, index, v); + +} +PFNGLVERTEXATTRIB4SVPROC glad_debug_glVertexAttrib4sv = glad_debug_impl_glVertexAttrib4sv; PFNGLVERTEXATTRIB4UBVPROC glad_glVertexAttrib4ubv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttrib4ubv(GLuint index, const GLubyte * v) { + _pre_call_gl_callback("glVertexAttrib4ubv", (GLADapiproc) glad_glVertexAttrib4ubv, 2, index, v); + glad_glVertexAttrib4ubv(index, v); + _post_call_gl_callback(NULL, "glVertexAttrib4ubv", (GLADapiproc) glad_glVertexAttrib4ubv, 2, index, v); + +} +PFNGLVERTEXATTRIB4UBVPROC glad_debug_glVertexAttrib4ubv = glad_debug_impl_glVertexAttrib4ubv; PFNGLVERTEXATTRIB4UIVPROC glad_glVertexAttrib4uiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttrib4uiv(GLuint index, const GLuint * v) { + _pre_call_gl_callback("glVertexAttrib4uiv", (GLADapiproc) glad_glVertexAttrib4uiv, 2, index, v); + glad_glVertexAttrib4uiv(index, v); + _post_call_gl_callback(NULL, "glVertexAttrib4uiv", (GLADapiproc) glad_glVertexAttrib4uiv, 2, index, v); + +} +PFNGLVERTEXATTRIB4UIVPROC glad_debug_glVertexAttrib4uiv = glad_debug_impl_glVertexAttrib4uiv; PFNGLVERTEXATTRIB4USVPROC glad_glVertexAttrib4usv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttrib4usv(GLuint index, const GLushort * v) { + _pre_call_gl_callback("glVertexAttrib4usv", (GLADapiproc) glad_glVertexAttrib4usv, 2, index, v); + glad_glVertexAttrib4usv(index, v); + _post_call_gl_callback(NULL, "glVertexAttrib4usv", (GLADapiproc) glad_glVertexAttrib4usv, 2, index, v); + +} +PFNGLVERTEXATTRIB4USVPROC glad_debug_glVertexAttrib4usv = glad_debug_impl_glVertexAttrib4usv; PFNGLVERTEXATTRIBDIVISORPROC glad_glVertexAttribDivisor = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttribDivisor(GLuint index, GLuint divisor) { + _pre_call_gl_callback("glVertexAttribDivisor", (GLADapiproc) glad_glVertexAttribDivisor, 2, index, divisor); + glad_glVertexAttribDivisor(index, divisor); + _post_call_gl_callback(NULL, "glVertexAttribDivisor", (GLADapiproc) glad_glVertexAttribDivisor, 2, index, divisor); + +} +PFNGLVERTEXATTRIBDIVISORPROC glad_debug_glVertexAttribDivisor = glad_debug_impl_glVertexAttribDivisor; PFNGLVERTEXATTRIBI1IPROC glad_glVertexAttribI1i = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttribI1i(GLuint index, GLint x) { + _pre_call_gl_callback("glVertexAttribI1i", (GLADapiproc) glad_glVertexAttribI1i, 2, index, x); + glad_glVertexAttribI1i(index, x); + _post_call_gl_callback(NULL, "glVertexAttribI1i", (GLADapiproc) glad_glVertexAttribI1i, 2, index, x); + +} +PFNGLVERTEXATTRIBI1IPROC glad_debug_glVertexAttribI1i = glad_debug_impl_glVertexAttribI1i; PFNGLVERTEXATTRIBI1IVPROC glad_glVertexAttribI1iv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttribI1iv(GLuint index, const GLint * v) { + _pre_call_gl_callback("glVertexAttribI1iv", (GLADapiproc) glad_glVertexAttribI1iv, 2, index, v); + glad_glVertexAttribI1iv(index, v); + _post_call_gl_callback(NULL, "glVertexAttribI1iv", (GLADapiproc) glad_glVertexAttribI1iv, 2, index, v); + +} +PFNGLVERTEXATTRIBI1IVPROC glad_debug_glVertexAttribI1iv = glad_debug_impl_glVertexAttribI1iv; PFNGLVERTEXATTRIBI1UIPROC glad_glVertexAttribI1ui = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttribI1ui(GLuint index, GLuint x) { + _pre_call_gl_callback("glVertexAttribI1ui", (GLADapiproc) glad_glVertexAttribI1ui, 2, index, x); + glad_glVertexAttribI1ui(index, x); + _post_call_gl_callback(NULL, "glVertexAttribI1ui", (GLADapiproc) glad_glVertexAttribI1ui, 2, index, x); + +} +PFNGLVERTEXATTRIBI1UIPROC glad_debug_glVertexAttribI1ui = glad_debug_impl_glVertexAttribI1ui; PFNGLVERTEXATTRIBI1UIVPROC glad_glVertexAttribI1uiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttribI1uiv(GLuint index, const GLuint * v) { + _pre_call_gl_callback("glVertexAttribI1uiv", (GLADapiproc) glad_glVertexAttribI1uiv, 2, index, v); + glad_glVertexAttribI1uiv(index, v); + _post_call_gl_callback(NULL, "glVertexAttribI1uiv", (GLADapiproc) glad_glVertexAttribI1uiv, 2, index, v); + +} +PFNGLVERTEXATTRIBI1UIVPROC glad_debug_glVertexAttribI1uiv = glad_debug_impl_glVertexAttribI1uiv; PFNGLVERTEXATTRIBI2IPROC glad_glVertexAttribI2i = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttribI2i(GLuint index, GLint x, GLint y) { + _pre_call_gl_callback("glVertexAttribI2i", (GLADapiproc) glad_glVertexAttribI2i, 3, index, x, y); + glad_glVertexAttribI2i(index, x, y); + _post_call_gl_callback(NULL, "glVertexAttribI2i", (GLADapiproc) glad_glVertexAttribI2i, 3, index, x, y); + +} +PFNGLVERTEXATTRIBI2IPROC glad_debug_glVertexAttribI2i = glad_debug_impl_glVertexAttribI2i; PFNGLVERTEXATTRIBI2IVPROC glad_glVertexAttribI2iv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttribI2iv(GLuint index, const GLint * v) { + _pre_call_gl_callback("glVertexAttribI2iv", (GLADapiproc) glad_glVertexAttribI2iv, 2, index, v); + glad_glVertexAttribI2iv(index, v); + _post_call_gl_callback(NULL, "glVertexAttribI2iv", (GLADapiproc) glad_glVertexAttribI2iv, 2, index, v); + +} +PFNGLVERTEXATTRIBI2IVPROC glad_debug_glVertexAttribI2iv = glad_debug_impl_glVertexAttribI2iv; PFNGLVERTEXATTRIBI2UIPROC glad_glVertexAttribI2ui = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttribI2ui(GLuint index, GLuint x, GLuint y) { + _pre_call_gl_callback("glVertexAttribI2ui", (GLADapiproc) glad_glVertexAttribI2ui, 3, index, x, y); + glad_glVertexAttribI2ui(index, x, y); + _post_call_gl_callback(NULL, "glVertexAttribI2ui", (GLADapiproc) glad_glVertexAttribI2ui, 3, index, x, y); + +} +PFNGLVERTEXATTRIBI2UIPROC glad_debug_glVertexAttribI2ui = glad_debug_impl_glVertexAttribI2ui; PFNGLVERTEXATTRIBI2UIVPROC glad_glVertexAttribI2uiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttribI2uiv(GLuint index, const GLuint * v) { + _pre_call_gl_callback("glVertexAttribI2uiv", (GLADapiproc) glad_glVertexAttribI2uiv, 2, index, v); + glad_glVertexAttribI2uiv(index, v); + _post_call_gl_callback(NULL, "glVertexAttribI2uiv", (GLADapiproc) glad_glVertexAttribI2uiv, 2, index, v); + +} +PFNGLVERTEXATTRIBI2UIVPROC glad_debug_glVertexAttribI2uiv = glad_debug_impl_glVertexAttribI2uiv; PFNGLVERTEXATTRIBI3IPROC glad_glVertexAttribI3i = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttribI3i(GLuint index, GLint x, GLint y, GLint z) { + _pre_call_gl_callback("glVertexAttribI3i", (GLADapiproc) glad_glVertexAttribI3i, 4, index, x, y, z); + glad_glVertexAttribI3i(index, x, y, z); + _post_call_gl_callback(NULL, "glVertexAttribI3i", (GLADapiproc) glad_glVertexAttribI3i, 4, index, x, y, z); + +} +PFNGLVERTEXATTRIBI3IPROC glad_debug_glVertexAttribI3i = glad_debug_impl_glVertexAttribI3i; PFNGLVERTEXATTRIBI3IVPROC glad_glVertexAttribI3iv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttribI3iv(GLuint index, const GLint * v) { + _pre_call_gl_callback("glVertexAttribI3iv", (GLADapiproc) glad_glVertexAttribI3iv, 2, index, v); + glad_glVertexAttribI3iv(index, v); + _post_call_gl_callback(NULL, "glVertexAttribI3iv", (GLADapiproc) glad_glVertexAttribI3iv, 2, index, v); + +} +PFNGLVERTEXATTRIBI3IVPROC glad_debug_glVertexAttribI3iv = glad_debug_impl_glVertexAttribI3iv; PFNGLVERTEXATTRIBI3UIPROC glad_glVertexAttribI3ui = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttribI3ui(GLuint index, GLuint x, GLuint y, GLuint z) { + _pre_call_gl_callback("glVertexAttribI3ui", (GLADapiproc) glad_glVertexAttribI3ui, 4, index, x, y, z); + glad_glVertexAttribI3ui(index, x, y, z); + _post_call_gl_callback(NULL, "glVertexAttribI3ui", (GLADapiproc) glad_glVertexAttribI3ui, 4, index, x, y, z); + +} +PFNGLVERTEXATTRIBI3UIPROC glad_debug_glVertexAttribI3ui = glad_debug_impl_glVertexAttribI3ui; PFNGLVERTEXATTRIBI3UIVPROC glad_glVertexAttribI3uiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttribI3uiv(GLuint index, const GLuint * v) { + _pre_call_gl_callback("glVertexAttribI3uiv", (GLADapiproc) glad_glVertexAttribI3uiv, 2, index, v); + glad_glVertexAttribI3uiv(index, v); + _post_call_gl_callback(NULL, "glVertexAttribI3uiv", (GLADapiproc) glad_glVertexAttribI3uiv, 2, index, v); + +} +PFNGLVERTEXATTRIBI3UIVPROC glad_debug_glVertexAttribI3uiv = glad_debug_impl_glVertexAttribI3uiv; PFNGLVERTEXATTRIBI4BVPROC glad_glVertexAttribI4bv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttribI4bv(GLuint index, const GLbyte * v) { + _pre_call_gl_callback("glVertexAttribI4bv", (GLADapiproc) glad_glVertexAttribI4bv, 2, index, v); + glad_glVertexAttribI4bv(index, v); + _post_call_gl_callback(NULL, "glVertexAttribI4bv", (GLADapiproc) glad_glVertexAttribI4bv, 2, index, v); + +} +PFNGLVERTEXATTRIBI4BVPROC glad_debug_glVertexAttribI4bv = glad_debug_impl_glVertexAttribI4bv; PFNGLVERTEXATTRIBI4IPROC glad_glVertexAttribI4i = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttribI4i(GLuint index, GLint x, GLint y, GLint z, GLint w) { + _pre_call_gl_callback("glVertexAttribI4i", (GLADapiproc) glad_glVertexAttribI4i, 5, index, x, y, z, w); + glad_glVertexAttribI4i(index, x, y, z, w); + _post_call_gl_callback(NULL, "glVertexAttribI4i", (GLADapiproc) glad_glVertexAttribI4i, 5, index, x, y, z, w); + +} +PFNGLVERTEXATTRIBI4IPROC glad_debug_glVertexAttribI4i = glad_debug_impl_glVertexAttribI4i; PFNGLVERTEXATTRIBI4IVPROC glad_glVertexAttribI4iv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttribI4iv(GLuint index, const GLint * v) { + _pre_call_gl_callback("glVertexAttribI4iv", (GLADapiproc) glad_glVertexAttribI4iv, 2, index, v); + glad_glVertexAttribI4iv(index, v); + _post_call_gl_callback(NULL, "glVertexAttribI4iv", (GLADapiproc) glad_glVertexAttribI4iv, 2, index, v); + +} +PFNGLVERTEXATTRIBI4IVPROC glad_debug_glVertexAttribI4iv = glad_debug_impl_glVertexAttribI4iv; PFNGLVERTEXATTRIBI4SVPROC glad_glVertexAttribI4sv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttribI4sv(GLuint index, const GLshort * v) { + _pre_call_gl_callback("glVertexAttribI4sv", (GLADapiproc) glad_glVertexAttribI4sv, 2, index, v); + glad_glVertexAttribI4sv(index, v); + _post_call_gl_callback(NULL, "glVertexAttribI4sv", (GLADapiproc) glad_glVertexAttribI4sv, 2, index, v); + +} +PFNGLVERTEXATTRIBI4SVPROC glad_debug_glVertexAttribI4sv = glad_debug_impl_glVertexAttribI4sv; PFNGLVERTEXATTRIBI4UBVPROC glad_glVertexAttribI4ubv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttribI4ubv(GLuint index, const GLubyte * v) { + _pre_call_gl_callback("glVertexAttribI4ubv", (GLADapiproc) glad_glVertexAttribI4ubv, 2, index, v); + glad_glVertexAttribI4ubv(index, v); + _post_call_gl_callback(NULL, "glVertexAttribI4ubv", (GLADapiproc) glad_glVertexAttribI4ubv, 2, index, v); + +} +PFNGLVERTEXATTRIBI4UBVPROC glad_debug_glVertexAttribI4ubv = glad_debug_impl_glVertexAttribI4ubv; PFNGLVERTEXATTRIBI4UIPROC glad_glVertexAttribI4ui = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttribI4ui(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) { + _pre_call_gl_callback("glVertexAttribI4ui", (GLADapiproc) glad_glVertexAttribI4ui, 5, index, x, y, z, w); + glad_glVertexAttribI4ui(index, x, y, z, w); + _post_call_gl_callback(NULL, "glVertexAttribI4ui", (GLADapiproc) glad_glVertexAttribI4ui, 5, index, x, y, z, w); + +} +PFNGLVERTEXATTRIBI4UIPROC glad_debug_glVertexAttribI4ui = glad_debug_impl_glVertexAttribI4ui; PFNGLVERTEXATTRIBI4UIVPROC glad_glVertexAttribI4uiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttribI4uiv(GLuint index, const GLuint * v) { + _pre_call_gl_callback("glVertexAttribI4uiv", (GLADapiproc) glad_glVertexAttribI4uiv, 2, index, v); + glad_glVertexAttribI4uiv(index, v); + _post_call_gl_callback(NULL, "glVertexAttribI4uiv", (GLADapiproc) glad_glVertexAttribI4uiv, 2, index, v); + +} +PFNGLVERTEXATTRIBI4UIVPROC glad_debug_glVertexAttribI4uiv = glad_debug_impl_glVertexAttribI4uiv; PFNGLVERTEXATTRIBI4USVPROC glad_glVertexAttribI4usv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttribI4usv(GLuint index, const GLushort * v) { + _pre_call_gl_callback("glVertexAttribI4usv", (GLADapiproc) glad_glVertexAttribI4usv, 2, index, v); + glad_glVertexAttribI4usv(index, v); + _post_call_gl_callback(NULL, "glVertexAttribI4usv", (GLADapiproc) glad_glVertexAttribI4usv, 2, index, v); + +} +PFNGLVERTEXATTRIBI4USVPROC glad_debug_glVertexAttribI4usv = glad_debug_impl_glVertexAttribI4usv; PFNGLVERTEXATTRIBIPOINTERPROC glad_glVertexAttribIPointer = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const void * pointer) { + _pre_call_gl_callback("glVertexAttribIPointer", (GLADapiproc) glad_glVertexAttribIPointer, 5, index, size, type, stride, pointer); + glad_glVertexAttribIPointer(index, size, type, stride, pointer); + _post_call_gl_callback(NULL, "glVertexAttribIPointer", (GLADapiproc) glad_glVertexAttribIPointer, 5, index, size, type, stride, pointer); + +} +PFNGLVERTEXATTRIBIPOINTERPROC glad_debug_glVertexAttribIPointer = glad_debug_impl_glVertexAttribIPointer; PFNGLVERTEXATTRIBP1UIPROC glad_glVertexAttribP1ui = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttribP1ui(GLuint index, GLenum type, GLboolean normalized, GLuint value) { + _pre_call_gl_callback("glVertexAttribP1ui", (GLADapiproc) glad_glVertexAttribP1ui, 4, index, type, normalized, value); + glad_glVertexAttribP1ui(index, type, normalized, value); + _post_call_gl_callback(NULL, "glVertexAttribP1ui", (GLADapiproc) glad_glVertexAttribP1ui, 4, index, type, normalized, value); + +} +PFNGLVERTEXATTRIBP1UIPROC glad_debug_glVertexAttribP1ui = glad_debug_impl_glVertexAttribP1ui; PFNGLVERTEXATTRIBP1UIVPROC glad_glVertexAttribP1uiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttribP1uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint * value) { + _pre_call_gl_callback("glVertexAttribP1uiv", (GLADapiproc) glad_glVertexAttribP1uiv, 4, index, type, normalized, value); + glad_glVertexAttribP1uiv(index, type, normalized, value); + _post_call_gl_callback(NULL, "glVertexAttribP1uiv", (GLADapiproc) glad_glVertexAttribP1uiv, 4, index, type, normalized, value); + +} +PFNGLVERTEXATTRIBP1UIVPROC glad_debug_glVertexAttribP1uiv = glad_debug_impl_glVertexAttribP1uiv; PFNGLVERTEXATTRIBP2UIPROC glad_glVertexAttribP2ui = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttribP2ui(GLuint index, GLenum type, GLboolean normalized, GLuint value) { + _pre_call_gl_callback("glVertexAttribP2ui", (GLADapiproc) glad_glVertexAttribP2ui, 4, index, type, normalized, value); + glad_glVertexAttribP2ui(index, type, normalized, value); + _post_call_gl_callback(NULL, "glVertexAttribP2ui", (GLADapiproc) glad_glVertexAttribP2ui, 4, index, type, normalized, value); + +} +PFNGLVERTEXATTRIBP2UIPROC glad_debug_glVertexAttribP2ui = glad_debug_impl_glVertexAttribP2ui; PFNGLVERTEXATTRIBP2UIVPROC glad_glVertexAttribP2uiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttribP2uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint * value) { + _pre_call_gl_callback("glVertexAttribP2uiv", (GLADapiproc) glad_glVertexAttribP2uiv, 4, index, type, normalized, value); + glad_glVertexAttribP2uiv(index, type, normalized, value); + _post_call_gl_callback(NULL, "glVertexAttribP2uiv", (GLADapiproc) glad_glVertexAttribP2uiv, 4, index, type, normalized, value); + +} +PFNGLVERTEXATTRIBP2UIVPROC glad_debug_glVertexAttribP2uiv = glad_debug_impl_glVertexAttribP2uiv; PFNGLVERTEXATTRIBP3UIPROC glad_glVertexAttribP3ui = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttribP3ui(GLuint index, GLenum type, GLboolean normalized, GLuint value) { + _pre_call_gl_callback("glVertexAttribP3ui", (GLADapiproc) glad_glVertexAttribP3ui, 4, index, type, normalized, value); + glad_glVertexAttribP3ui(index, type, normalized, value); + _post_call_gl_callback(NULL, "glVertexAttribP3ui", (GLADapiproc) glad_glVertexAttribP3ui, 4, index, type, normalized, value); + +} +PFNGLVERTEXATTRIBP3UIPROC glad_debug_glVertexAttribP3ui = glad_debug_impl_glVertexAttribP3ui; PFNGLVERTEXATTRIBP3UIVPROC glad_glVertexAttribP3uiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttribP3uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint * value) { + _pre_call_gl_callback("glVertexAttribP3uiv", (GLADapiproc) glad_glVertexAttribP3uiv, 4, index, type, normalized, value); + glad_glVertexAttribP3uiv(index, type, normalized, value); + _post_call_gl_callback(NULL, "glVertexAttribP3uiv", (GLADapiproc) glad_glVertexAttribP3uiv, 4, index, type, normalized, value); + +} +PFNGLVERTEXATTRIBP3UIVPROC glad_debug_glVertexAttribP3uiv = glad_debug_impl_glVertexAttribP3uiv; PFNGLVERTEXATTRIBP4UIPROC glad_glVertexAttribP4ui = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttribP4ui(GLuint index, GLenum type, GLboolean normalized, GLuint value) { + _pre_call_gl_callback("glVertexAttribP4ui", (GLADapiproc) glad_glVertexAttribP4ui, 4, index, type, normalized, value); + glad_glVertexAttribP4ui(index, type, normalized, value); + _post_call_gl_callback(NULL, "glVertexAttribP4ui", (GLADapiproc) glad_glVertexAttribP4ui, 4, index, type, normalized, value); + +} +PFNGLVERTEXATTRIBP4UIPROC glad_debug_glVertexAttribP4ui = glad_debug_impl_glVertexAttribP4ui; PFNGLVERTEXATTRIBP4UIVPROC glad_glVertexAttribP4uiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttribP4uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint * value) { + _pre_call_gl_callback("glVertexAttribP4uiv", (GLADapiproc) glad_glVertexAttribP4uiv, 4, index, type, normalized, value); + glad_glVertexAttribP4uiv(index, type, normalized, value); + _post_call_gl_callback(NULL, "glVertexAttribP4uiv", (GLADapiproc) glad_glVertexAttribP4uiv, 4, index, type, normalized, value); + +} +PFNGLVERTEXATTRIBP4UIVPROC glad_debug_glVertexAttribP4uiv = glad_debug_impl_glVertexAttribP4uiv; PFNGLVERTEXATTRIBPOINTERPROC glad_glVertexAttribPointer = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void * pointer) { + _pre_call_gl_callback("glVertexAttribPointer", (GLADapiproc) glad_glVertexAttribPointer, 6, index, size, type, normalized, stride, pointer); + glad_glVertexAttribPointer(index, size, type, normalized, stride, pointer); + _post_call_gl_callback(NULL, "glVertexAttribPointer", (GLADapiproc) glad_glVertexAttribPointer, 6, index, size, type, normalized, stride, pointer); + +} +PFNGLVERTEXATTRIBPOINTERPROC glad_debug_glVertexAttribPointer = glad_debug_impl_glVertexAttribPointer; PFNGLVERTEXP2UIPROC glad_glVertexP2ui = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexP2ui(GLenum type, GLuint value) { + _pre_call_gl_callback("glVertexP2ui", (GLADapiproc) glad_glVertexP2ui, 2, type, value); + glad_glVertexP2ui(type, value); + _post_call_gl_callback(NULL, "glVertexP2ui", (GLADapiproc) glad_glVertexP2ui, 2, type, value); + +} +PFNGLVERTEXP2UIPROC glad_debug_glVertexP2ui = glad_debug_impl_glVertexP2ui; PFNGLVERTEXP2UIVPROC glad_glVertexP2uiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexP2uiv(GLenum type, const GLuint * value) { + _pre_call_gl_callback("glVertexP2uiv", (GLADapiproc) glad_glVertexP2uiv, 2, type, value); + glad_glVertexP2uiv(type, value); + _post_call_gl_callback(NULL, "glVertexP2uiv", (GLADapiproc) glad_glVertexP2uiv, 2, type, value); + +} +PFNGLVERTEXP2UIVPROC glad_debug_glVertexP2uiv = glad_debug_impl_glVertexP2uiv; PFNGLVERTEXP3UIPROC glad_glVertexP3ui = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexP3ui(GLenum type, GLuint value) { + _pre_call_gl_callback("glVertexP3ui", (GLADapiproc) glad_glVertexP3ui, 2, type, value); + glad_glVertexP3ui(type, value); + _post_call_gl_callback(NULL, "glVertexP3ui", (GLADapiproc) glad_glVertexP3ui, 2, type, value); + +} +PFNGLVERTEXP3UIPROC glad_debug_glVertexP3ui = glad_debug_impl_glVertexP3ui; PFNGLVERTEXP3UIVPROC glad_glVertexP3uiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexP3uiv(GLenum type, const GLuint * value) { + _pre_call_gl_callback("glVertexP3uiv", (GLADapiproc) glad_glVertexP3uiv, 2, type, value); + glad_glVertexP3uiv(type, value); + _post_call_gl_callback(NULL, "glVertexP3uiv", (GLADapiproc) glad_glVertexP3uiv, 2, type, value); + +} +PFNGLVERTEXP3UIVPROC glad_debug_glVertexP3uiv = glad_debug_impl_glVertexP3uiv; PFNGLVERTEXP4UIPROC glad_glVertexP4ui = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexP4ui(GLenum type, GLuint value) { + _pre_call_gl_callback("glVertexP4ui", (GLADapiproc) glad_glVertexP4ui, 2, type, value); + glad_glVertexP4ui(type, value); + _post_call_gl_callback(NULL, "glVertexP4ui", (GLADapiproc) glad_glVertexP4ui, 2, type, value); + +} +PFNGLVERTEXP4UIPROC glad_debug_glVertexP4ui = glad_debug_impl_glVertexP4ui; PFNGLVERTEXP4UIVPROC glad_glVertexP4uiv = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexP4uiv(GLenum type, const GLuint * value) { + _pre_call_gl_callback("glVertexP4uiv", (GLADapiproc) glad_glVertexP4uiv, 2, type, value); + glad_glVertexP4uiv(type, value); + _post_call_gl_callback(NULL, "glVertexP4uiv", (GLADapiproc) glad_glVertexP4uiv, 2, type, value); + +} +PFNGLVERTEXP4UIVPROC glad_debug_glVertexP4uiv = glad_debug_impl_glVertexP4uiv; +PFNGLVERTEXPOINTERPROC glad_glVertexPointer = NULL; +static void GLAD_API_PTR glad_debug_impl_glVertexPointer(GLint size, GLenum type, GLsizei stride, const void * pointer) { + _pre_call_gl_callback("glVertexPointer", (GLADapiproc) glad_glVertexPointer, 4, size, type, stride, pointer); + glad_glVertexPointer(size, type, stride, pointer); + _post_call_gl_callback(NULL, "glVertexPointer", (GLADapiproc) glad_glVertexPointer, 4, size, type, stride, pointer); + +} +PFNGLVERTEXPOINTERPROC glad_debug_glVertexPointer = glad_debug_impl_glVertexPointer; PFNGLVIEWPORTPROC glad_glViewport = NULL; +static void GLAD_API_PTR glad_debug_impl_glViewport(GLint x, GLint y, GLsizei width, GLsizei height) { + _pre_call_gl_callback("glViewport", (GLADapiproc) glad_glViewport, 4, x, y, width, height); + glad_glViewport(x, y, width, height); + _post_call_gl_callback(NULL, "glViewport", (GLADapiproc) glad_glViewport, 4, x, y, width, height); + +} +PFNGLVIEWPORTPROC glad_debug_glViewport = glad_debug_impl_glViewport; PFNGLWAITSYNCPROC glad_glWaitSync = NULL; -static void load_GL_VERSION_1_0(GLADloadproc load) { - if(!GLAD_GL_VERSION_1_0) return; - glad_glCullFace = (PFNGLCULLFACEPROC)load("glCullFace"); - glad_glFrontFace = (PFNGLFRONTFACEPROC)load("glFrontFace"); - glad_glHint = (PFNGLHINTPROC)load("glHint"); - glad_glLineWidth = (PFNGLLINEWIDTHPROC)load("glLineWidth"); - glad_glPointSize = (PFNGLPOINTSIZEPROC)load("glPointSize"); - glad_glPolygonMode = (PFNGLPOLYGONMODEPROC)load("glPolygonMode"); - glad_glScissor = (PFNGLSCISSORPROC)load("glScissor"); - glad_glTexParameterf = (PFNGLTEXPARAMETERFPROC)load("glTexParameterf"); - glad_glTexParameterfv = (PFNGLTEXPARAMETERFVPROC)load("glTexParameterfv"); - glad_glTexParameteri = (PFNGLTEXPARAMETERIPROC)load("glTexParameteri"); - glad_glTexParameteriv = (PFNGLTEXPARAMETERIVPROC)load("glTexParameteriv"); - glad_glTexImage1D = (PFNGLTEXIMAGE1DPROC)load("glTexImage1D"); - glad_glTexImage2D = (PFNGLTEXIMAGE2DPROC)load("glTexImage2D"); - glad_glDrawBuffer = (PFNGLDRAWBUFFERPROC)load("glDrawBuffer"); - glad_glClear = (PFNGLCLEARPROC)load("glClear"); - glad_glClearColor = (PFNGLCLEARCOLORPROC)load("glClearColor"); - glad_glClearStencil = (PFNGLCLEARSTENCILPROC)load("glClearStencil"); - glad_glClearDepth = (PFNGLCLEARDEPTHPROC)load("glClearDepth"); - glad_glStencilMask = (PFNGLSTENCILMASKPROC)load("glStencilMask"); - glad_glColorMask = (PFNGLCOLORMASKPROC)load("glColorMask"); - glad_glDepthMask = (PFNGLDEPTHMASKPROC)load("glDepthMask"); - glad_glDisable = (PFNGLDISABLEPROC)load("glDisable"); - glad_glEnable = (PFNGLENABLEPROC)load("glEnable"); - glad_glFinish = (PFNGLFINISHPROC)load("glFinish"); - glad_glFlush = (PFNGLFLUSHPROC)load("glFlush"); - glad_glBlendFunc = (PFNGLBLENDFUNCPROC)load("glBlendFunc"); - glad_glLogicOp = (PFNGLLOGICOPPROC)load("glLogicOp"); - glad_glStencilFunc = (PFNGLSTENCILFUNCPROC)load("glStencilFunc"); - glad_glStencilOp = (PFNGLSTENCILOPPROC)load("glStencilOp"); - glad_glDepthFunc = (PFNGLDEPTHFUNCPROC)load("glDepthFunc"); - glad_glPixelStoref = (PFNGLPIXELSTOREFPROC)load("glPixelStoref"); - glad_glPixelStorei = (PFNGLPIXELSTOREIPROC)load("glPixelStorei"); - glad_glReadBuffer = (PFNGLREADBUFFERPROC)load("glReadBuffer"); - glad_glReadPixels = (PFNGLREADPIXELSPROC)load("glReadPixels"); - glad_glGetBooleanv = (PFNGLGETBOOLEANVPROC)load("glGetBooleanv"); - glad_glGetDoublev = (PFNGLGETDOUBLEVPROC)load("glGetDoublev"); - glad_glGetError = (PFNGLGETERRORPROC)load("glGetError"); - glad_glGetFloatv = (PFNGLGETFLOATVPROC)load("glGetFloatv"); - glad_glGetIntegerv = (PFNGLGETINTEGERVPROC)load("glGetIntegerv"); - glad_glGetString = (PFNGLGETSTRINGPROC)load("glGetString"); - glad_glGetTexImage = (PFNGLGETTEXIMAGEPROC)load("glGetTexImage"); - glad_glGetTexParameterfv = (PFNGLGETTEXPARAMETERFVPROC)load("glGetTexParameterfv"); - glad_glGetTexParameteriv = (PFNGLGETTEXPARAMETERIVPROC)load("glGetTexParameteriv"); - glad_glGetTexLevelParameterfv = (PFNGLGETTEXLEVELPARAMETERFVPROC)load("glGetTexLevelParameterfv"); - glad_glGetTexLevelParameteriv = (PFNGLGETTEXLEVELPARAMETERIVPROC)load("glGetTexLevelParameteriv"); - glad_glIsEnabled = (PFNGLISENABLEDPROC)load("glIsEnabled"); - glad_glDepthRange = (PFNGLDEPTHRANGEPROC)load("glDepthRange"); - glad_glViewport = (PFNGLVIEWPORTPROC)load("glViewport"); -} -static void load_GL_VERSION_1_1(GLADloadproc load) { - if(!GLAD_GL_VERSION_1_1) return; - glad_glDrawArrays = (PFNGLDRAWARRAYSPROC)load("glDrawArrays"); - glad_glDrawElements = (PFNGLDRAWELEMENTSPROC)load("glDrawElements"); - glad_glPolygonOffset = (PFNGLPOLYGONOFFSETPROC)load("glPolygonOffset"); - glad_glCopyTexImage1D = (PFNGLCOPYTEXIMAGE1DPROC)load("glCopyTexImage1D"); - glad_glCopyTexImage2D = (PFNGLCOPYTEXIMAGE2DPROC)load("glCopyTexImage2D"); - glad_glCopyTexSubImage1D = (PFNGLCOPYTEXSUBIMAGE1DPROC)load("glCopyTexSubImage1D"); - glad_glCopyTexSubImage2D = (PFNGLCOPYTEXSUBIMAGE2DPROC)load("glCopyTexSubImage2D"); - glad_glTexSubImage1D = (PFNGLTEXSUBIMAGE1DPROC)load("glTexSubImage1D"); - glad_glTexSubImage2D = (PFNGLTEXSUBIMAGE2DPROC)load("glTexSubImage2D"); - glad_glBindTexture = (PFNGLBINDTEXTUREPROC)load("glBindTexture"); - glad_glDeleteTextures = (PFNGLDELETETEXTURESPROC)load("glDeleteTextures"); - glad_glGenTextures = (PFNGLGENTEXTURESPROC)load("glGenTextures"); - glad_glIsTexture = (PFNGLISTEXTUREPROC)load("glIsTexture"); -} -static void load_GL_VERSION_1_2(GLADloadproc load) { - if(!GLAD_GL_VERSION_1_2) return; - glad_glDrawRangeElements = (PFNGLDRAWRANGEELEMENTSPROC)load("glDrawRangeElements"); - glad_glTexImage3D = (PFNGLTEXIMAGE3DPROC)load("glTexImage3D"); - glad_glTexSubImage3D = (PFNGLTEXSUBIMAGE3DPROC)load("glTexSubImage3D"); - glad_glCopyTexSubImage3D = (PFNGLCOPYTEXSUBIMAGE3DPROC)load("glCopyTexSubImage3D"); -} -static void load_GL_VERSION_1_3(GLADloadproc load) { - if(!GLAD_GL_VERSION_1_3) return; - glad_glActiveTexture = (PFNGLACTIVETEXTUREPROC)load("glActiveTexture"); - glad_glSampleCoverage = (PFNGLSAMPLECOVERAGEPROC)load("glSampleCoverage"); - glad_glCompressedTexImage3D = (PFNGLCOMPRESSEDTEXIMAGE3DPROC)load("glCompressedTexImage3D"); - glad_glCompressedTexImage2D = (PFNGLCOMPRESSEDTEXIMAGE2DPROC)load("glCompressedTexImage2D"); - glad_glCompressedTexImage1D = (PFNGLCOMPRESSEDTEXIMAGE1DPROC)load("glCompressedTexImage1D"); - glad_glCompressedTexSubImage3D = (PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC)load("glCompressedTexSubImage3D"); - glad_glCompressedTexSubImage2D = (PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC)load("glCompressedTexSubImage2D"); - glad_glCompressedTexSubImage1D = (PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC)load("glCompressedTexSubImage1D"); - glad_glGetCompressedTexImage = (PFNGLGETCOMPRESSEDTEXIMAGEPROC)load("glGetCompressedTexImage"); -} -static void load_GL_VERSION_1_4(GLADloadproc load) { - if(!GLAD_GL_VERSION_1_4) return; - glad_glBlendFuncSeparate = (PFNGLBLENDFUNCSEPARATEPROC)load("glBlendFuncSeparate"); - glad_glMultiDrawArrays = (PFNGLMULTIDRAWARRAYSPROC)load("glMultiDrawArrays"); - glad_glMultiDrawElements = (PFNGLMULTIDRAWELEMENTSPROC)load("glMultiDrawElements"); - glad_glPointParameterf = (PFNGLPOINTPARAMETERFPROC)load("glPointParameterf"); - glad_glPointParameterfv = (PFNGLPOINTPARAMETERFVPROC)load("glPointParameterfv"); - glad_glPointParameteri = (PFNGLPOINTPARAMETERIPROC)load("glPointParameteri"); - glad_glPointParameteriv = (PFNGLPOINTPARAMETERIVPROC)load("glPointParameteriv"); - glad_glBlendColor = (PFNGLBLENDCOLORPROC)load("glBlendColor"); - glad_glBlendEquation = (PFNGLBLENDEQUATIONPROC)load("glBlendEquation"); -} -static void load_GL_VERSION_1_5(GLADloadproc load) { - if(!GLAD_GL_VERSION_1_5) return; - glad_glGenQueries = (PFNGLGENQUERIESPROC)load("glGenQueries"); - glad_glDeleteQueries = (PFNGLDELETEQUERIESPROC)load("glDeleteQueries"); - glad_glIsQuery = (PFNGLISQUERYPROC)load("glIsQuery"); - glad_glBeginQuery = (PFNGLBEGINQUERYPROC)load("glBeginQuery"); - glad_glEndQuery = (PFNGLENDQUERYPROC)load("glEndQuery"); - glad_glGetQueryiv = (PFNGLGETQUERYIVPROC)load("glGetQueryiv"); - glad_glGetQueryObjectiv = (PFNGLGETQUERYOBJECTIVPROC)load("glGetQueryObjectiv"); - glad_glGetQueryObjectuiv = (PFNGLGETQUERYOBJECTUIVPROC)load("glGetQueryObjectuiv"); - glad_glBindBuffer = (PFNGLBINDBUFFERPROC)load("glBindBuffer"); - glad_glDeleteBuffers = (PFNGLDELETEBUFFERSPROC)load("glDeleteBuffers"); - glad_glGenBuffers = (PFNGLGENBUFFERSPROC)load("glGenBuffers"); - glad_glIsBuffer = (PFNGLISBUFFERPROC)load("glIsBuffer"); - glad_glBufferData = (PFNGLBUFFERDATAPROC)load("glBufferData"); - glad_glBufferSubData = (PFNGLBUFFERSUBDATAPROC)load("glBufferSubData"); - glad_glGetBufferSubData = (PFNGLGETBUFFERSUBDATAPROC)load("glGetBufferSubData"); - glad_glMapBuffer = (PFNGLMAPBUFFERPROC)load("glMapBuffer"); - glad_glUnmapBuffer = (PFNGLUNMAPBUFFERPROC)load("glUnmapBuffer"); - glad_glGetBufferParameteriv = (PFNGLGETBUFFERPARAMETERIVPROC)load("glGetBufferParameteriv"); - glad_glGetBufferPointerv = (PFNGLGETBUFFERPOINTERVPROC)load("glGetBufferPointerv"); -} -static void load_GL_VERSION_2_0(GLADloadproc load) { - if(!GLAD_GL_VERSION_2_0) return; - glad_glBlendEquationSeparate = (PFNGLBLENDEQUATIONSEPARATEPROC)load("glBlendEquationSeparate"); - glad_glDrawBuffers = (PFNGLDRAWBUFFERSPROC)load("glDrawBuffers"); - glad_glStencilOpSeparate = (PFNGLSTENCILOPSEPARATEPROC)load("glStencilOpSeparate"); - glad_glStencilFuncSeparate = (PFNGLSTENCILFUNCSEPARATEPROC)load("glStencilFuncSeparate"); - glad_glStencilMaskSeparate = (PFNGLSTENCILMASKSEPARATEPROC)load("glStencilMaskSeparate"); - glad_glAttachShader = (PFNGLATTACHSHADERPROC)load("glAttachShader"); - glad_glBindAttribLocation = (PFNGLBINDATTRIBLOCATIONPROC)load("glBindAttribLocation"); - glad_glCompileShader = (PFNGLCOMPILESHADERPROC)load("glCompileShader"); - glad_glCreateProgram = (PFNGLCREATEPROGRAMPROC)load("glCreateProgram"); - glad_glCreateShader = (PFNGLCREATESHADERPROC)load("glCreateShader"); - glad_glDeleteProgram = (PFNGLDELETEPROGRAMPROC)load("glDeleteProgram"); - glad_glDeleteShader = (PFNGLDELETESHADERPROC)load("glDeleteShader"); - glad_glDetachShader = (PFNGLDETACHSHADERPROC)load("glDetachShader"); - glad_glDisableVertexAttribArray = (PFNGLDISABLEVERTEXATTRIBARRAYPROC)load("glDisableVertexAttribArray"); - glad_glEnableVertexAttribArray = (PFNGLENABLEVERTEXATTRIBARRAYPROC)load("glEnableVertexAttribArray"); - glad_glGetActiveAttrib = (PFNGLGETACTIVEATTRIBPROC)load("glGetActiveAttrib"); - glad_glGetActiveUniform = (PFNGLGETACTIVEUNIFORMPROC)load("glGetActiveUniform"); - glad_glGetAttachedShaders = (PFNGLGETATTACHEDSHADERSPROC)load("glGetAttachedShaders"); - glad_glGetAttribLocation = (PFNGLGETATTRIBLOCATIONPROC)load("glGetAttribLocation"); - glad_glGetProgramiv = (PFNGLGETPROGRAMIVPROC)load("glGetProgramiv"); - glad_glGetProgramInfoLog = (PFNGLGETPROGRAMINFOLOGPROC)load("glGetProgramInfoLog"); - glad_glGetShaderiv = (PFNGLGETSHADERIVPROC)load("glGetShaderiv"); - glad_glGetShaderInfoLog = (PFNGLGETSHADERINFOLOGPROC)load("glGetShaderInfoLog"); - glad_glGetShaderSource = (PFNGLGETSHADERSOURCEPROC)load("glGetShaderSource"); - glad_glGetUniformLocation = (PFNGLGETUNIFORMLOCATIONPROC)load("glGetUniformLocation"); - glad_glGetUniformfv = (PFNGLGETUNIFORMFVPROC)load("glGetUniformfv"); - glad_glGetUniformiv = (PFNGLGETUNIFORMIVPROC)load("glGetUniformiv"); - glad_glGetVertexAttribdv = (PFNGLGETVERTEXATTRIBDVPROC)load("glGetVertexAttribdv"); - glad_glGetVertexAttribfv = (PFNGLGETVERTEXATTRIBFVPROC)load("glGetVertexAttribfv"); - glad_glGetVertexAttribiv = (PFNGLGETVERTEXATTRIBIVPROC)load("glGetVertexAttribiv"); - glad_glGetVertexAttribPointerv = (PFNGLGETVERTEXATTRIBPOINTERVPROC)load("glGetVertexAttribPointerv"); - glad_glIsProgram = (PFNGLISPROGRAMPROC)load("glIsProgram"); - glad_glIsShader = (PFNGLISSHADERPROC)load("glIsShader"); - glad_glLinkProgram = (PFNGLLINKPROGRAMPROC)load("glLinkProgram"); - glad_glShaderSource = (PFNGLSHADERSOURCEPROC)load("glShaderSource"); - glad_glUseProgram = (PFNGLUSEPROGRAMPROC)load("glUseProgram"); - glad_glUniform1f = (PFNGLUNIFORM1FPROC)load("glUniform1f"); - glad_glUniform2f = (PFNGLUNIFORM2FPROC)load("glUniform2f"); - glad_glUniform3f = (PFNGLUNIFORM3FPROC)load("glUniform3f"); - glad_glUniform4f = (PFNGLUNIFORM4FPROC)load("glUniform4f"); - glad_glUniform1i = (PFNGLUNIFORM1IPROC)load("glUniform1i"); - glad_glUniform2i = (PFNGLUNIFORM2IPROC)load("glUniform2i"); - glad_glUniform3i = (PFNGLUNIFORM3IPROC)load("glUniform3i"); - glad_glUniform4i = (PFNGLUNIFORM4IPROC)load("glUniform4i"); - glad_glUniform1fv = (PFNGLUNIFORM1FVPROC)load("glUniform1fv"); - glad_glUniform2fv = (PFNGLUNIFORM2FVPROC)load("glUniform2fv"); - glad_glUniform3fv = (PFNGLUNIFORM3FVPROC)load("glUniform3fv"); - glad_glUniform4fv = (PFNGLUNIFORM4FVPROC)load("glUniform4fv"); - glad_glUniform1iv = (PFNGLUNIFORM1IVPROC)load("glUniform1iv"); - glad_glUniform2iv = (PFNGLUNIFORM2IVPROC)load("glUniform2iv"); - glad_glUniform3iv = (PFNGLUNIFORM3IVPROC)load("glUniform3iv"); - glad_glUniform4iv = (PFNGLUNIFORM4IVPROC)load("glUniform4iv"); - glad_glUniformMatrix2fv = (PFNGLUNIFORMMATRIX2FVPROC)load("glUniformMatrix2fv"); - glad_glUniformMatrix3fv = (PFNGLUNIFORMMATRIX3FVPROC)load("glUniformMatrix3fv"); - glad_glUniformMatrix4fv = (PFNGLUNIFORMMATRIX4FVPROC)load("glUniformMatrix4fv"); - glad_glValidateProgram = (PFNGLVALIDATEPROGRAMPROC)load("glValidateProgram"); - glad_glVertexAttrib1d = (PFNGLVERTEXATTRIB1DPROC)load("glVertexAttrib1d"); - glad_glVertexAttrib1dv = (PFNGLVERTEXATTRIB1DVPROC)load("glVertexAttrib1dv"); - glad_glVertexAttrib1f = (PFNGLVERTEXATTRIB1FPROC)load("glVertexAttrib1f"); - glad_glVertexAttrib1fv = (PFNGLVERTEXATTRIB1FVPROC)load("glVertexAttrib1fv"); - glad_glVertexAttrib1s = (PFNGLVERTEXATTRIB1SPROC)load("glVertexAttrib1s"); - glad_glVertexAttrib1sv = (PFNGLVERTEXATTRIB1SVPROC)load("glVertexAttrib1sv"); - glad_glVertexAttrib2d = (PFNGLVERTEXATTRIB2DPROC)load("glVertexAttrib2d"); - glad_glVertexAttrib2dv = (PFNGLVERTEXATTRIB2DVPROC)load("glVertexAttrib2dv"); - glad_glVertexAttrib2f = (PFNGLVERTEXATTRIB2FPROC)load("glVertexAttrib2f"); - glad_glVertexAttrib2fv = (PFNGLVERTEXATTRIB2FVPROC)load("glVertexAttrib2fv"); - glad_glVertexAttrib2s = (PFNGLVERTEXATTRIB2SPROC)load("glVertexAttrib2s"); - glad_glVertexAttrib2sv = (PFNGLVERTEXATTRIB2SVPROC)load("glVertexAttrib2sv"); - glad_glVertexAttrib3d = (PFNGLVERTEXATTRIB3DPROC)load("glVertexAttrib3d"); - glad_glVertexAttrib3dv = (PFNGLVERTEXATTRIB3DVPROC)load("glVertexAttrib3dv"); - glad_glVertexAttrib3f = (PFNGLVERTEXATTRIB3FPROC)load("glVertexAttrib3f"); - glad_glVertexAttrib3fv = (PFNGLVERTEXATTRIB3FVPROC)load("glVertexAttrib3fv"); - glad_glVertexAttrib3s = (PFNGLVERTEXATTRIB3SPROC)load("glVertexAttrib3s"); - glad_glVertexAttrib3sv = (PFNGLVERTEXATTRIB3SVPROC)load("glVertexAttrib3sv"); - glad_glVertexAttrib4Nbv = (PFNGLVERTEXATTRIB4NBVPROC)load("glVertexAttrib4Nbv"); - glad_glVertexAttrib4Niv = (PFNGLVERTEXATTRIB4NIVPROC)load("glVertexAttrib4Niv"); - glad_glVertexAttrib4Nsv = (PFNGLVERTEXATTRIB4NSVPROC)load("glVertexAttrib4Nsv"); - glad_glVertexAttrib4Nub = (PFNGLVERTEXATTRIB4NUBPROC)load("glVertexAttrib4Nub"); - glad_glVertexAttrib4Nubv = (PFNGLVERTEXATTRIB4NUBVPROC)load("glVertexAttrib4Nubv"); - glad_glVertexAttrib4Nuiv = (PFNGLVERTEXATTRIB4NUIVPROC)load("glVertexAttrib4Nuiv"); - glad_glVertexAttrib4Nusv = (PFNGLVERTEXATTRIB4NUSVPROC)load("glVertexAttrib4Nusv"); - glad_glVertexAttrib4bv = (PFNGLVERTEXATTRIB4BVPROC)load("glVertexAttrib4bv"); - glad_glVertexAttrib4d = (PFNGLVERTEXATTRIB4DPROC)load("glVertexAttrib4d"); - glad_glVertexAttrib4dv = (PFNGLVERTEXATTRIB4DVPROC)load("glVertexAttrib4dv"); - glad_glVertexAttrib4f = (PFNGLVERTEXATTRIB4FPROC)load("glVertexAttrib4f"); - glad_glVertexAttrib4fv = (PFNGLVERTEXATTRIB4FVPROC)load("glVertexAttrib4fv"); - glad_glVertexAttrib4iv = (PFNGLVERTEXATTRIB4IVPROC)load("glVertexAttrib4iv"); - glad_glVertexAttrib4s = (PFNGLVERTEXATTRIB4SPROC)load("glVertexAttrib4s"); - glad_glVertexAttrib4sv = (PFNGLVERTEXATTRIB4SVPROC)load("glVertexAttrib4sv"); - glad_glVertexAttrib4ubv = (PFNGLVERTEXATTRIB4UBVPROC)load("glVertexAttrib4ubv"); - glad_glVertexAttrib4uiv = (PFNGLVERTEXATTRIB4UIVPROC)load("glVertexAttrib4uiv"); - glad_glVertexAttrib4usv = (PFNGLVERTEXATTRIB4USVPROC)load("glVertexAttrib4usv"); - glad_glVertexAttribPointer = (PFNGLVERTEXATTRIBPOINTERPROC)load("glVertexAttribPointer"); -} -static void load_GL_VERSION_2_1(GLADloadproc load) { - if(!GLAD_GL_VERSION_2_1) return; - glad_glUniformMatrix2x3fv = (PFNGLUNIFORMMATRIX2X3FVPROC)load("glUniformMatrix2x3fv"); - glad_glUniformMatrix3x2fv = (PFNGLUNIFORMMATRIX3X2FVPROC)load("glUniformMatrix3x2fv"); - glad_glUniformMatrix2x4fv = (PFNGLUNIFORMMATRIX2X4FVPROC)load("glUniformMatrix2x4fv"); - glad_glUniformMatrix4x2fv = (PFNGLUNIFORMMATRIX4X2FVPROC)load("glUniformMatrix4x2fv"); - glad_glUniformMatrix3x4fv = (PFNGLUNIFORMMATRIX3X4FVPROC)load("glUniformMatrix3x4fv"); - glad_glUniformMatrix4x3fv = (PFNGLUNIFORMMATRIX4X3FVPROC)load("glUniformMatrix4x3fv"); -} -static void load_GL_VERSION_3_0(GLADloadproc load) { - if(!GLAD_GL_VERSION_3_0) return; - glad_glColorMaski = (PFNGLCOLORMASKIPROC)load("glColorMaski"); - glad_glGetBooleani_v = (PFNGLGETBOOLEANI_VPROC)load("glGetBooleani_v"); - glad_glGetIntegeri_v = (PFNGLGETINTEGERI_VPROC)load("glGetIntegeri_v"); - glad_glEnablei = (PFNGLENABLEIPROC)load("glEnablei"); - glad_glDisablei = (PFNGLDISABLEIPROC)load("glDisablei"); - glad_glIsEnabledi = (PFNGLISENABLEDIPROC)load("glIsEnabledi"); - glad_glBeginTransformFeedback = (PFNGLBEGINTRANSFORMFEEDBACKPROC)load("glBeginTransformFeedback"); - glad_glEndTransformFeedback = (PFNGLENDTRANSFORMFEEDBACKPROC)load("glEndTransformFeedback"); - glad_glBindBufferRange = (PFNGLBINDBUFFERRANGEPROC)load("glBindBufferRange"); - glad_glBindBufferBase = (PFNGLBINDBUFFERBASEPROC)load("glBindBufferBase"); - glad_glTransformFeedbackVaryings = (PFNGLTRANSFORMFEEDBACKVARYINGSPROC)load("glTransformFeedbackVaryings"); - glad_glGetTransformFeedbackVarying = (PFNGLGETTRANSFORMFEEDBACKVARYINGPROC)load("glGetTransformFeedbackVarying"); - glad_glClampColor = (PFNGLCLAMPCOLORPROC)load("glClampColor"); - glad_glBeginConditionalRender = (PFNGLBEGINCONDITIONALRENDERPROC)load("glBeginConditionalRender"); - glad_glEndConditionalRender = (PFNGLENDCONDITIONALRENDERPROC)load("glEndConditionalRender"); - glad_glVertexAttribIPointer = (PFNGLVERTEXATTRIBIPOINTERPROC)load("glVertexAttribIPointer"); - glad_glGetVertexAttribIiv = (PFNGLGETVERTEXATTRIBIIVPROC)load("glGetVertexAttribIiv"); - glad_glGetVertexAttribIuiv = (PFNGLGETVERTEXATTRIBIUIVPROC)load("glGetVertexAttribIuiv"); - glad_glVertexAttribI1i = (PFNGLVERTEXATTRIBI1IPROC)load("glVertexAttribI1i"); - glad_glVertexAttribI2i = (PFNGLVERTEXATTRIBI2IPROC)load("glVertexAttribI2i"); - glad_glVertexAttribI3i = (PFNGLVERTEXATTRIBI3IPROC)load("glVertexAttribI3i"); - glad_glVertexAttribI4i = (PFNGLVERTEXATTRIBI4IPROC)load("glVertexAttribI4i"); - glad_glVertexAttribI1ui = (PFNGLVERTEXATTRIBI1UIPROC)load("glVertexAttribI1ui"); - glad_glVertexAttribI2ui = (PFNGLVERTEXATTRIBI2UIPROC)load("glVertexAttribI2ui"); - glad_glVertexAttribI3ui = (PFNGLVERTEXATTRIBI3UIPROC)load("glVertexAttribI3ui"); - glad_glVertexAttribI4ui = (PFNGLVERTEXATTRIBI4UIPROC)load("glVertexAttribI4ui"); - glad_glVertexAttribI1iv = (PFNGLVERTEXATTRIBI1IVPROC)load("glVertexAttribI1iv"); - glad_glVertexAttribI2iv = (PFNGLVERTEXATTRIBI2IVPROC)load("glVertexAttribI2iv"); - glad_glVertexAttribI3iv = (PFNGLVERTEXATTRIBI3IVPROC)load("glVertexAttribI3iv"); - glad_glVertexAttribI4iv = (PFNGLVERTEXATTRIBI4IVPROC)load("glVertexAttribI4iv"); - glad_glVertexAttribI1uiv = (PFNGLVERTEXATTRIBI1UIVPROC)load("glVertexAttribI1uiv"); - glad_glVertexAttribI2uiv = (PFNGLVERTEXATTRIBI2UIVPROC)load("glVertexAttribI2uiv"); - glad_glVertexAttribI3uiv = (PFNGLVERTEXATTRIBI3UIVPROC)load("glVertexAttribI3uiv"); - glad_glVertexAttribI4uiv = (PFNGLVERTEXATTRIBI4UIVPROC)load("glVertexAttribI4uiv"); - glad_glVertexAttribI4bv = (PFNGLVERTEXATTRIBI4BVPROC)load("glVertexAttribI4bv"); - glad_glVertexAttribI4sv = (PFNGLVERTEXATTRIBI4SVPROC)load("glVertexAttribI4sv"); - glad_glVertexAttribI4ubv = (PFNGLVERTEXATTRIBI4UBVPROC)load("glVertexAttribI4ubv"); - glad_glVertexAttribI4usv = (PFNGLVERTEXATTRIBI4USVPROC)load("glVertexAttribI4usv"); - glad_glGetUniformuiv = (PFNGLGETUNIFORMUIVPROC)load("glGetUniformuiv"); - glad_glBindFragDataLocation = (PFNGLBINDFRAGDATALOCATIONPROC)load("glBindFragDataLocation"); - glad_glGetFragDataLocation = (PFNGLGETFRAGDATALOCATIONPROC)load("glGetFragDataLocation"); - glad_glUniform1ui = (PFNGLUNIFORM1UIPROC)load("glUniform1ui"); - glad_glUniform2ui = (PFNGLUNIFORM2UIPROC)load("glUniform2ui"); - glad_glUniform3ui = (PFNGLUNIFORM3UIPROC)load("glUniform3ui"); - glad_glUniform4ui = (PFNGLUNIFORM4UIPROC)load("glUniform4ui"); - glad_glUniform1uiv = (PFNGLUNIFORM1UIVPROC)load("glUniform1uiv"); - glad_glUniform2uiv = (PFNGLUNIFORM2UIVPROC)load("glUniform2uiv"); - glad_glUniform3uiv = (PFNGLUNIFORM3UIVPROC)load("glUniform3uiv"); - glad_glUniform4uiv = (PFNGLUNIFORM4UIVPROC)load("glUniform4uiv"); - glad_glTexParameterIiv = (PFNGLTEXPARAMETERIIVPROC)load("glTexParameterIiv"); - glad_glTexParameterIuiv = (PFNGLTEXPARAMETERIUIVPROC)load("glTexParameterIuiv"); - glad_glGetTexParameterIiv = (PFNGLGETTEXPARAMETERIIVPROC)load("glGetTexParameterIiv"); - glad_glGetTexParameterIuiv = (PFNGLGETTEXPARAMETERIUIVPROC)load("glGetTexParameterIuiv"); - glad_glClearBufferiv = (PFNGLCLEARBUFFERIVPROC)load("glClearBufferiv"); - glad_glClearBufferuiv = (PFNGLCLEARBUFFERUIVPROC)load("glClearBufferuiv"); - glad_glClearBufferfv = (PFNGLCLEARBUFFERFVPROC)load("glClearBufferfv"); - glad_glClearBufferfi = (PFNGLCLEARBUFFERFIPROC)load("glClearBufferfi"); - glad_glGetStringi = (PFNGLGETSTRINGIPROC)load("glGetStringi"); - glad_glIsRenderbuffer = (PFNGLISRENDERBUFFERPROC)load("glIsRenderbuffer"); - glad_glBindRenderbuffer = (PFNGLBINDRENDERBUFFERPROC)load("glBindRenderbuffer"); - glad_glDeleteRenderbuffers = (PFNGLDELETERENDERBUFFERSPROC)load("glDeleteRenderbuffers"); - glad_glGenRenderbuffers = (PFNGLGENRENDERBUFFERSPROC)load("glGenRenderbuffers"); - glad_glRenderbufferStorage = (PFNGLRENDERBUFFERSTORAGEPROC)load("glRenderbufferStorage"); - glad_glGetRenderbufferParameteriv = (PFNGLGETRENDERBUFFERPARAMETERIVPROC)load("glGetRenderbufferParameteriv"); - glad_glIsFramebuffer = (PFNGLISFRAMEBUFFERPROC)load("glIsFramebuffer"); - glad_glBindFramebuffer = (PFNGLBINDFRAMEBUFFERPROC)load("glBindFramebuffer"); - glad_glDeleteFramebuffers = (PFNGLDELETEFRAMEBUFFERSPROC)load("glDeleteFramebuffers"); - glad_glGenFramebuffers = (PFNGLGENFRAMEBUFFERSPROC)load("glGenFramebuffers"); - glad_glCheckFramebufferStatus = (PFNGLCHECKFRAMEBUFFERSTATUSPROC)load("glCheckFramebufferStatus"); - glad_glFramebufferTexture1D = (PFNGLFRAMEBUFFERTEXTURE1DPROC)load("glFramebufferTexture1D"); - glad_glFramebufferTexture2D = (PFNGLFRAMEBUFFERTEXTURE2DPROC)load("glFramebufferTexture2D"); - glad_glFramebufferTexture3D = (PFNGLFRAMEBUFFERTEXTURE3DPROC)load("glFramebufferTexture3D"); - glad_glFramebufferRenderbuffer = (PFNGLFRAMEBUFFERRENDERBUFFERPROC)load("glFramebufferRenderbuffer"); - glad_glGetFramebufferAttachmentParameteriv = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC)load("glGetFramebufferAttachmentParameteriv"); - glad_glGenerateMipmap = (PFNGLGENERATEMIPMAPPROC)load("glGenerateMipmap"); - glad_glBlitFramebuffer = (PFNGLBLITFRAMEBUFFERPROC)load("glBlitFramebuffer"); - glad_glRenderbufferStorageMultisample = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC)load("glRenderbufferStorageMultisample"); - glad_glFramebufferTextureLayer = (PFNGLFRAMEBUFFERTEXTURELAYERPROC)load("glFramebufferTextureLayer"); - glad_glMapBufferRange = (PFNGLMAPBUFFERRANGEPROC)load("glMapBufferRange"); - glad_glFlushMappedBufferRange = (PFNGLFLUSHMAPPEDBUFFERRANGEPROC)load("glFlushMappedBufferRange"); - glad_glBindVertexArray = (PFNGLBINDVERTEXARRAYPROC)load("glBindVertexArray"); - glad_glDeleteVertexArrays = (PFNGLDELETEVERTEXARRAYSPROC)load("glDeleteVertexArrays"); - glad_glGenVertexArrays = (PFNGLGENVERTEXARRAYSPROC)load("glGenVertexArrays"); - glad_glIsVertexArray = (PFNGLISVERTEXARRAYPROC)load("glIsVertexArray"); -} -static void load_GL_VERSION_3_1(GLADloadproc load) { - if(!GLAD_GL_VERSION_3_1) return; - glad_glDrawArraysInstanced = (PFNGLDRAWARRAYSINSTANCEDPROC)load("glDrawArraysInstanced"); - glad_glDrawElementsInstanced = (PFNGLDRAWELEMENTSINSTANCEDPROC)load("glDrawElementsInstanced"); - glad_glTexBuffer = (PFNGLTEXBUFFERPROC)load("glTexBuffer"); - glad_glPrimitiveRestartIndex = (PFNGLPRIMITIVERESTARTINDEXPROC)load("glPrimitiveRestartIndex"); - glad_glCopyBufferSubData = (PFNGLCOPYBUFFERSUBDATAPROC)load("glCopyBufferSubData"); - glad_glGetUniformIndices = (PFNGLGETUNIFORMINDICESPROC)load("glGetUniformIndices"); - glad_glGetActiveUniformsiv = (PFNGLGETACTIVEUNIFORMSIVPROC)load("glGetActiveUniformsiv"); - glad_glGetActiveUniformName = (PFNGLGETACTIVEUNIFORMNAMEPROC)load("glGetActiveUniformName"); - glad_glGetUniformBlockIndex = (PFNGLGETUNIFORMBLOCKINDEXPROC)load("glGetUniformBlockIndex"); - glad_glGetActiveUniformBlockiv = (PFNGLGETACTIVEUNIFORMBLOCKIVPROC)load("glGetActiveUniformBlockiv"); - glad_glGetActiveUniformBlockName = (PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC)load("glGetActiveUniformBlockName"); - glad_glUniformBlockBinding = (PFNGLUNIFORMBLOCKBINDINGPROC)load("glUniformBlockBinding"); - glad_glBindBufferRange = (PFNGLBINDBUFFERRANGEPROC)load("glBindBufferRange"); - glad_glBindBufferBase = (PFNGLBINDBUFFERBASEPROC)load("glBindBufferBase"); - glad_glGetIntegeri_v = (PFNGLGETINTEGERI_VPROC)load("glGetIntegeri_v"); -} -static void load_GL_VERSION_3_2(GLADloadproc load) { - if(!GLAD_GL_VERSION_3_2) return; - glad_glDrawElementsBaseVertex = (PFNGLDRAWELEMENTSBASEVERTEXPROC)load("glDrawElementsBaseVertex"); - glad_glDrawRangeElementsBaseVertex = (PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC)load("glDrawRangeElementsBaseVertex"); - glad_glDrawElementsInstancedBaseVertex = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC)load("glDrawElementsInstancedBaseVertex"); - glad_glMultiDrawElementsBaseVertex = (PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC)load("glMultiDrawElementsBaseVertex"); - glad_glProvokingVertex = (PFNGLPROVOKINGVERTEXPROC)load("glProvokingVertex"); - glad_glFenceSync = (PFNGLFENCESYNCPROC)load("glFenceSync"); - glad_glIsSync = (PFNGLISSYNCPROC)load("glIsSync"); - glad_glDeleteSync = (PFNGLDELETESYNCPROC)load("glDeleteSync"); - glad_glClientWaitSync = (PFNGLCLIENTWAITSYNCPROC)load("glClientWaitSync"); - glad_glWaitSync = (PFNGLWAITSYNCPROC)load("glWaitSync"); - glad_glGetInteger64v = (PFNGLGETINTEGER64VPROC)load("glGetInteger64v"); - glad_glGetSynciv = (PFNGLGETSYNCIVPROC)load("glGetSynciv"); - glad_glGetInteger64i_v = (PFNGLGETINTEGER64I_VPROC)load("glGetInteger64i_v"); - glad_glGetBufferParameteri64v = (PFNGLGETBUFFERPARAMETERI64VPROC)load("glGetBufferParameteri64v"); - glad_glFramebufferTexture = (PFNGLFRAMEBUFFERTEXTUREPROC)load("glFramebufferTexture"); - glad_glTexImage2DMultisample = (PFNGLTEXIMAGE2DMULTISAMPLEPROC)load("glTexImage2DMultisample"); - glad_glTexImage3DMultisample = (PFNGLTEXIMAGE3DMULTISAMPLEPROC)load("glTexImage3DMultisample"); - glad_glGetMultisamplefv = (PFNGLGETMULTISAMPLEFVPROC)load("glGetMultisamplefv"); - glad_glSampleMaski = (PFNGLSAMPLEMASKIPROC)load("glSampleMaski"); -} -static void load_GL_VERSION_3_3(GLADloadproc load) { - if(!GLAD_GL_VERSION_3_3) return; - glad_glBindFragDataLocationIndexed = (PFNGLBINDFRAGDATALOCATIONINDEXEDPROC)load("glBindFragDataLocationIndexed"); - glad_glGetFragDataIndex = (PFNGLGETFRAGDATAINDEXPROC)load("glGetFragDataIndex"); - glad_glGenSamplers = (PFNGLGENSAMPLERSPROC)load("glGenSamplers"); - glad_glDeleteSamplers = (PFNGLDELETESAMPLERSPROC)load("glDeleteSamplers"); - glad_glIsSampler = (PFNGLISSAMPLERPROC)load("glIsSampler"); - glad_glBindSampler = (PFNGLBINDSAMPLERPROC)load("glBindSampler"); - glad_glSamplerParameteri = (PFNGLSAMPLERPARAMETERIPROC)load("glSamplerParameteri"); - glad_glSamplerParameteriv = (PFNGLSAMPLERPARAMETERIVPROC)load("glSamplerParameteriv"); - glad_glSamplerParameterf = (PFNGLSAMPLERPARAMETERFPROC)load("glSamplerParameterf"); - glad_glSamplerParameterfv = (PFNGLSAMPLERPARAMETERFVPROC)load("glSamplerParameterfv"); - glad_glSamplerParameterIiv = (PFNGLSAMPLERPARAMETERIIVPROC)load("glSamplerParameterIiv"); - glad_glSamplerParameterIuiv = (PFNGLSAMPLERPARAMETERIUIVPROC)load("glSamplerParameterIuiv"); - glad_glGetSamplerParameteriv = (PFNGLGETSAMPLERPARAMETERIVPROC)load("glGetSamplerParameteriv"); - glad_glGetSamplerParameterIiv = (PFNGLGETSAMPLERPARAMETERIIVPROC)load("glGetSamplerParameterIiv"); - glad_glGetSamplerParameterfv = (PFNGLGETSAMPLERPARAMETERFVPROC)load("glGetSamplerParameterfv"); - glad_glGetSamplerParameterIuiv = (PFNGLGETSAMPLERPARAMETERIUIVPROC)load("glGetSamplerParameterIuiv"); - glad_glQueryCounter = (PFNGLQUERYCOUNTERPROC)load("glQueryCounter"); - glad_glGetQueryObjecti64v = (PFNGLGETQUERYOBJECTI64VPROC)load("glGetQueryObjecti64v"); - glad_glGetQueryObjectui64v = (PFNGLGETQUERYOBJECTUI64VPROC)load("glGetQueryObjectui64v"); - glad_glVertexAttribDivisor = (PFNGLVERTEXATTRIBDIVISORPROC)load("glVertexAttribDivisor"); - glad_glVertexAttribP1ui = (PFNGLVERTEXATTRIBP1UIPROC)load("glVertexAttribP1ui"); - glad_glVertexAttribP1uiv = (PFNGLVERTEXATTRIBP1UIVPROC)load("glVertexAttribP1uiv"); - glad_glVertexAttribP2ui = (PFNGLVERTEXATTRIBP2UIPROC)load("glVertexAttribP2ui"); - glad_glVertexAttribP2uiv = (PFNGLVERTEXATTRIBP2UIVPROC)load("glVertexAttribP2uiv"); - glad_glVertexAttribP3ui = (PFNGLVERTEXATTRIBP3UIPROC)load("glVertexAttribP3ui"); - glad_glVertexAttribP3uiv = (PFNGLVERTEXATTRIBP3UIVPROC)load("glVertexAttribP3uiv"); - glad_glVertexAttribP4ui = (PFNGLVERTEXATTRIBP4UIPROC)load("glVertexAttribP4ui"); - glad_glVertexAttribP4uiv = (PFNGLVERTEXATTRIBP4UIVPROC)load("glVertexAttribP4uiv"); - glad_glVertexP2ui = (PFNGLVERTEXP2UIPROC)load("glVertexP2ui"); - glad_glVertexP2uiv = (PFNGLVERTEXP2UIVPROC)load("glVertexP2uiv"); - glad_glVertexP3ui = (PFNGLVERTEXP3UIPROC)load("glVertexP3ui"); - glad_glVertexP3uiv = (PFNGLVERTEXP3UIVPROC)load("glVertexP3uiv"); - glad_glVertexP4ui = (PFNGLVERTEXP4UIPROC)load("glVertexP4ui"); - glad_glVertexP4uiv = (PFNGLVERTEXP4UIVPROC)load("glVertexP4uiv"); - glad_glTexCoordP1ui = (PFNGLTEXCOORDP1UIPROC)load("glTexCoordP1ui"); - glad_glTexCoordP1uiv = (PFNGLTEXCOORDP1UIVPROC)load("glTexCoordP1uiv"); - glad_glTexCoordP2ui = (PFNGLTEXCOORDP2UIPROC)load("glTexCoordP2ui"); - glad_glTexCoordP2uiv = (PFNGLTEXCOORDP2UIVPROC)load("glTexCoordP2uiv"); - glad_glTexCoordP3ui = (PFNGLTEXCOORDP3UIPROC)load("glTexCoordP3ui"); - glad_glTexCoordP3uiv = (PFNGLTEXCOORDP3UIVPROC)load("glTexCoordP3uiv"); - glad_glTexCoordP4ui = (PFNGLTEXCOORDP4UIPROC)load("glTexCoordP4ui"); - glad_glTexCoordP4uiv = (PFNGLTEXCOORDP4UIVPROC)load("glTexCoordP4uiv"); - glad_glMultiTexCoordP1ui = (PFNGLMULTITEXCOORDP1UIPROC)load("glMultiTexCoordP1ui"); - glad_glMultiTexCoordP1uiv = (PFNGLMULTITEXCOORDP1UIVPROC)load("glMultiTexCoordP1uiv"); - glad_glMultiTexCoordP2ui = (PFNGLMULTITEXCOORDP2UIPROC)load("glMultiTexCoordP2ui"); - glad_glMultiTexCoordP2uiv = (PFNGLMULTITEXCOORDP2UIVPROC)load("glMultiTexCoordP2uiv"); - glad_glMultiTexCoordP3ui = (PFNGLMULTITEXCOORDP3UIPROC)load("glMultiTexCoordP3ui"); - glad_glMultiTexCoordP3uiv = (PFNGLMULTITEXCOORDP3UIVPROC)load("glMultiTexCoordP3uiv"); - glad_glMultiTexCoordP4ui = (PFNGLMULTITEXCOORDP4UIPROC)load("glMultiTexCoordP4ui"); - glad_glMultiTexCoordP4uiv = (PFNGLMULTITEXCOORDP4UIVPROC)load("glMultiTexCoordP4uiv"); - glad_glNormalP3ui = (PFNGLNORMALP3UIPROC)load("glNormalP3ui"); - glad_glNormalP3uiv = (PFNGLNORMALP3UIVPROC)load("glNormalP3uiv"); - glad_glColorP3ui = (PFNGLCOLORP3UIPROC)load("glColorP3ui"); - glad_glColorP3uiv = (PFNGLCOLORP3UIVPROC)load("glColorP3uiv"); - glad_glColorP4ui = (PFNGLCOLORP4UIPROC)load("glColorP4ui"); - glad_glColorP4uiv = (PFNGLCOLORP4UIVPROC)load("glColorP4uiv"); - glad_glSecondaryColorP3ui = (PFNGLSECONDARYCOLORP3UIPROC)load("glSecondaryColorP3ui"); - glad_glSecondaryColorP3uiv = (PFNGLSECONDARYCOLORP3UIVPROC)load("glSecondaryColorP3uiv"); -} -static int find_extensionsGL(void) { - if (!get_exts()) return 0; - (void)&has_ext; - free_exts(); - return 1; +static void GLAD_API_PTR glad_debug_impl_glWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) { + _pre_call_gl_callback("glWaitSync", (GLADapiproc) glad_glWaitSync, 3, sync, flags, timeout); + glad_glWaitSync(sync, flags, timeout); + _post_call_gl_callback(NULL, "glWaitSync", (GLADapiproc) glad_glWaitSync, 3, sync, flags, timeout); + +} +PFNGLWAITSYNCPROC glad_debug_glWaitSync = glad_debug_impl_glWaitSync; +PFNGLWINDOWPOS2DPROC glad_glWindowPos2d = NULL; +static void GLAD_API_PTR glad_debug_impl_glWindowPos2d(GLdouble x, GLdouble y) { + _pre_call_gl_callback("glWindowPos2d", (GLADapiproc) glad_glWindowPos2d, 2, x, y); + glad_glWindowPos2d(x, y); + _post_call_gl_callback(NULL, "glWindowPos2d", (GLADapiproc) glad_glWindowPos2d, 2, x, y); + +} +PFNGLWINDOWPOS2DPROC glad_debug_glWindowPos2d = glad_debug_impl_glWindowPos2d; +PFNGLWINDOWPOS2DVPROC glad_glWindowPos2dv = NULL; +static void GLAD_API_PTR glad_debug_impl_glWindowPos2dv(const GLdouble * v) { + _pre_call_gl_callback("glWindowPos2dv", (GLADapiproc) glad_glWindowPos2dv, 1, v); + glad_glWindowPos2dv(v); + _post_call_gl_callback(NULL, "glWindowPos2dv", (GLADapiproc) glad_glWindowPos2dv, 1, v); + +} +PFNGLWINDOWPOS2DVPROC glad_debug_glWindowPos2dv = glad_debug_impl_glWindowPos2dv; +PFNGLWINDOWPOS2FPROC glad_glWindowPos2f = NULL; +static void GLAD_API_PTR glad_debug_impl_glWindowPos2f(GLfloat x, GLfloat y) { + _pre_call_gl_callback("glWindowPos2f", (GLADapiproc) glad_glWindowPos2f, 2, x, y); + glad_glWindowPos2f(x, y); + _post_call_gl_callback(NULL, "glWindowPos2f", (GLADapiproc) glad_glWindowPos2f, 2, x, y); + +} +PFNGLWINDOWPOS2FPROC glad_debug_glWindowPos2f = glad_debug_impl_glWindowPos2f; +PFNGLWINDOWPOS2FVPROC glad_glWindowPos2fv = NULL; +static void GLAD_API_PTR glad_debug_impl_glWindowPos2fv(const GLfloat * v) { + _pre_call_gl_callback("glWindowPos2fv", (GLADapiproc) glad_glWindowPos2fv, 1, v); + glad_glWindowPos2fv(v); + _post_call_gl_callback(NULL, "glWindowPos2fv", (GLADapiproc) glad_glWindowPos2fv, 1, v); + +} +PFNGLWINDOWPOS2FVPROC glad_debug_glWindowPos2fv = glad_debug_impl_glWindowPos2fv; +PFNGLWINDOWPOS2IPROC glad_glWindowPos2i = NULL; +static void GLAD_API_PTR glad_debug_impl_glWindowPos2i(GLint x, GLint y) { + _pre_call_gl_callback("glWindowPos2i", (GLADapiproc) glad_glWindowPos2i, 2, x, y); + glad_glWindowPos2i(x, y); + _post_call_gl_callback(NULL, "glWindowPos2i", (GLADapiproc) glad_glWindowPos2i, 2, x, y); + +} +PFNGLWINDOWPOS2IPROC glad_debug_glWindowPos2i = glad_debug_impl_glWindowPos2i; +PFNGLWINDOWPOS2IVPROC glad_glWindowPos2iv = NULL; +static void GLAD_API_PTR glad_debug_impl_glWindowPos2iv(const GLint * v) { + _pre_call_gl_callback("glWindowPos2iv", (GLADapiproc) glad_glWindowPos2iv, 1, v); + glad_glWindowPos2iv(v); + _post_call_gl_callback(NULL, "glWindowPos2iv", (GLADapiproc) glad_glWindowPos2iv, 1, v); + +} +PFNGLWINDOWPOS2IVPROC glad_debug_glWindowPos2iv = glad_debug_impl_glWindowPos2iv; +PFNGLWINDOWPOS2SPROC glad_glWindowPos2s = NULL; +static void GLAD_API_PTR glad_debug_impl_glWindowPos2s(GLshort x, GLshort y) { + _pre_call_gl_callback("glWindowPos2s", (GLADapiproc) glad_glWindowPos2s, 2, x, y); + glad_glWindowPos2s(x, y); + _post_call_gl_callback(NULL, "glWindowPos2s", (GLADapiproc) glad_glWindowPos2s, 2, x, y); + } +PFNGLWINDOWPOS2SPROC glad_debug_glWindowPos2s = glad_debug_impl_glWindowPos2s; +PFNGLWINDOWPOS2SVPROC glad_glWindowPos2sv = NULL; +static void GLAD_API_PTR glad_debug_impl_glWindowPos2sv(const GLshort * v) { + _pre_call_gl_callback("glWindowPos2sv", (GLADapiproc) glad_glWindowPos2sv, 1, v); + glad_glWindowPos2sv(v); + _post_call_gl_callback(NULL, "glWindowPos2sv", (GLADapiproc) glad_glWindowPos2sv, 1, v); + +} +PFNGLWINDOWPOS2SVPROC glad_debug_glWindowPos2sv = glad_debug_impl_glWindowPos2sv; +PFNGLWINDOWPOS3DPROC glad_glWindowPos3d = NULL; +static void GLAD_API_PTR glad_debug_impl_glWindowPos3d(GLdouble x, GLdouble y, GLdouble z) { + _pre_call_gl_callback("glWindowPos3d", (GLADapiproc) glad_glWindowPos3d, 3, x, y, z); + glad_glWindowPos3d(x, y, z); + _post_call_gl_callback(NULL, "glWindowPos3d", (GLADapiproc) glad_glWindowPos3d, 3, x, y, z); + +} +PFNGLWINDOWPOS3DPROC glad_debug_glWindowPos3d = glad_debug_impl_glWindowPos3d; +PFNGLWINDOWPOS3DVPROC glad_glWindowPos3dv = NULL; +static void GLAD_API_PTR glad_debug_impl_glWindowPos3dv(const GLdouble * v) { + _pre_call_gl_callback("glWindowPos3dv", (GLADapiproc) glad_glWindowPos3dv, 1, v); + glad_glWindowPos3dv(v); + _post_call_gl_callback(NULL, "glWindowPos3dv", (GLADapiproc) glad_glWindowPos3dv, 1, v); + +} +PFNGLWINDOWPOS3DVPROC glad_debug_glWindowPos3dv = glad_debug_impl_glWindowPos3dv; +PFNGLWINDOWPOS3FPROC glad_glWindowPos3f = NULL; +static void GLAD_API_PTR glad_debug_impl_glWindowPos3f(GLfloat x, GLfloat y, GLfloat z) { + _pre_call_gl_callback("glWindowPos3f", (GLADapiproc) glad_glWindowPos3f, 3, x, y, z); + glad_glWindowPos3f(x, y, z); + _post_call_gl_callback(NULL, "glWindowPos3f", (GLADapiproc) glad_glWindowPos3f, 3, x, y, z); + +} +PFNGLWINDOWPOS3FPROC glad_debug_glWindowPos3f = glad_debug_impl_glWindowPos3f; +PFNGLWINDOWPOS3FVPROC glad_glWindowPos3fv = NULL; +static void GLAD_API_PTR glad_debug_impl_glWindowPos3fv(const GLfloat * v) { + _pre_call_gl_callback("glWindowPos3fv", (GLADapiproc) glad_glWindowPos3fv, 1, v); + glad_glWindowPos3fv(v); + _post_call_gl_callback(NULL, "glWindowPos3fv", (GLADapiproc) glad_glWindowPos3fv, 1, v); + +} +PFNGLWINDOWPOS3FVPROC glad_debug_glWindowPos3fv = glad_debug_impl_glWindowPos3fv; +PFNGLWINDOWPOS3IPROC glad_glWindowPos3i = NULL; +static void GLAD_API_PTR glad_debug_impl_glWindowPos3i(GLint x, GLint y, GLint z) { + _pre_call_gl_callback("glWindowPos3i", (GLADapiproc) glad_glWindowPos3i, 3, x, y, z); + glad_glWindowPos3i(x, y, z); + _post_call_gl_callback(NULL, "glWindowPos3i", (GLADapiproc) glad_glWindowPos3i, 3, x, y, z); + +} +PFNGLWINDOWPOS3IPROC glad_debug_glWindowPos3i = glad_debug_impl_glWindowPos3i; +PFNGLWINDOWPOS3IVPROC glad_glWindowPos3iv = NULL; +static void GLAD_API_PTR glad_debug_impl_glWindowPos3iv(const GLint * v) { + _pre_call_gl_callback("glWindowPos3iv", (GLADapiproc) glad_glWindowPos3iv, 1, v); + glad_glWindowPos3iv(v); + _post_call_gl_callback(NULL, "glWindowPos3iv", (GLADapiproc) glad_glWindowPos3iv, 1, v); + +} +PFNGLWINDOWPOS3IVPROC glad_debug_glWindowPos3iv = glad_debug_impl_glWindowPos3iv; +PFNGLWINDOWPOS3SPROC glad_glWindowPos3s = NULL; +static void GLAD_API_PTR glad_debug_impl_glWindowPos3s(GLshort x, GLshort y, GLshort z) { + _pre_call_gl_callback("glWindowPos3s", (GLADapiproc) glad_glWindowPos3s, 3, x, y, z); + glad_glWindowPos3s(x, y, z); + _post_call_gl_callback(NULL, "glWindowPos3s", (GLADapiproc) glad_glWindowPos3s, 3, x, y, z); + +} +PFNGLWINDOWPOS3SPROC glad_debug_glWindowPos3s = glad_debug_impl_glWindowPos3s; +PFNGLWINDOWPOS3SVPROC glad_glWindowPos3sv = NULL; +static void GLAD_API_PTR glad_debug_impl_glWindowPos3sv(const GLshort * v) { + _pre_call_gl_callback("glWindowPos3sv", (GLADapiproc) glad_glWindowPos3sv, 1, v); + glad_glWindowPos3sv(v); + _post_call_gl_callback(NULL, "glWindowPos3sv", (GLADapiproc) glad_glWindowPos3sv, 1, v); + +} +PFNGLWINDOWPOS3SVPROC glad_debug_glWindowPos3sv = glad_debug_impl_glWindowPos3sv; + + +static void glad_gl_load_GL_VERSION_1_0( GLADuserptrloadfunc load, void* userptr) { + if(!GLAD_GL_VERSION_1_0) return; + glad_glAccum = (PFNGLACCUMPROC) load(userptr, "glAccum"); + glad_glAlphaFunc = (PFNGLALPHAFUNCPROC) load(userptr, "glAlphaFunc"); + glad_glBegin = (PFNGLBEGINPROC) load(userptr, "glBegin"); + glad_glBitmap = (PFNGLBITMAPPROC) load(userptr, "glBitmap"); + glad_glBlendFunc = (PFNGLBLENDFUNCPROC) load(userptr, "glBlendFunc"); + glad_glCallList = (PFNGLCALLLISTPROC) load(userptr, "glCallList"); + glad_glCallLists = (PFNGLCALLLISTSPROC) load(userptr, "glCallLists"); + glad_glClear = (PFNGLCLEARPROC) load(userptr, "glClear"); + glad_glClearAccum = (PFNGLCLEARACCUMPROC) load(userptr, "glClearAccum"); + glad_glClearColor = (PFNGLCLEARCOLORPROC) load(userptr, "glClearColor"); + glad_glClearDepth = (PFNGLCLEARDEPTHPROC) load(userptr, "glClearDepth"); + glad_glClearIndex = (PFNGLCLEARINDEXPROC) load(userptr, "glClearIndex"); + glad_glClearStencil = (PFNGLCLEARSTENCILPROC) load(userptr, "glClearStencil"); + glad_glClipPlane = (PFNGLCLIPPLANEPROC) load(userptr, "glClipPlane"); + glad_glColor3b = (PFNGLCOLOR3BPROC) load(userptr, "glColor3b"); + glad_glColor3bv = (PFNGLCOLOR3BVPROC) load(userptr, "glColor3bv"); + glad_glColor3d = (PFNGLCOLOR3DPROC) load(userptr, "glColor3d"); + glad_glColor3dv = (PFNGLCOLOR3DVPROC) load(userptr, "glColor3dv"); + glad_glColor3f = (PFNGLCOLOR3FPROC) load(userptr, "glColor3f"); + glad_glColor3fv = (PFNGLCOLOR3FVPROC) load(userptr, "glColor3fv"); + glad_glColor3i = (PFNGLCOLOR3IPROC) load(userptr, "glColor3i"); + glad_glColor3iv = (PFNGLCOLOR3IVPROC) load(userptr, "glColor3iv"); + glad_glColor3s = (PFNGLCOLOR3SPROC) load(userptr, "glColor3s"); + glad_glColor3sv = (PFNGLCOLOR3SVPROC) load(userptr, "glColor3sv"); + glad_glColor3ub = (PFNGLCOLOR3UBPROC) load(userptr, "glColor3ub"); + glad_glColor3ubv = (PFNGLCOLOR3UBVPROC) load(userptr, "glColor3ubv"); + glad_glColor3ui = (PFNGLCOLOR3UIPROC) load(userptr, "glColor3ui"); + glad_glColor3uiv = (PFNGLCOLOR3UIVPROC) load(userptr, "glColor3uiv"); + glad_glColor3us = (PFNGLCOLOR3USPROC) load(userptr, "glColor3us"); + glad_glColor3usv = (PFNGLCOLOR3USVPROC) load(userptr, "glColor3usv"); + glad_glColor4b = (PFNGLCOLOR4BPROC) load(userptr, "glColor4b"); + glad_glColor4bv = (PFNGLCOLOR4BVPROC) load(userptr, "glColor4bv"); + glad_glColor4d = (PFNGLCOLOR4DPROC) load(userptr, "glColor4d"); + glad_glColor4dv = (PFNGLCOLOR4DVPROC) load(userptr, "glColor4dv"); + glad_glColor4f = (PFNGLCOLOR4FPROC) load(userptr, "glColor4f"); + glad_glColor4fv = (PFNGLCOLOR4FVPROC) load(userptr, "glColor4fv"); + glad_glColor4i = (PFNGLCOLOR4IPROC) load(userptr, "glColor4i"); + glad_glColor4iv = (PFNGLCOLOR4IVPROC) load(userptr, "glColor4iv"); + glad_glColor4s = (PFNGLCOLOR4SPROC) load(userptr, "glColor4s"); + glad_glColor4sv = (PFNGLCOLOR4SVPROC) load(userptr, "glColor4sv"); + glad_glColor4ub = (PFNGLCOLOR4UBPROC) load(userptr, "glColor4ub"); + glad_glColor4ubv = (PFNGLCOLOR4UBVPROC) load(userptr, "glColor4ubv"); + glad_glColor4ui = (PFNGLCOLOR4UIPROC) load(userptr, "glColor4ui"); + glad_glColor4uiv = (PFNGLCOLOR4UIVPROC) load(userptr, "glColor4uiv"); + glad_glColor4us = (PFNGLCOLOR4USPROC) load(userptr, "glColor4us"); + glad_glColor4usv = (PFNGLCOLOR4USVPROC) load(userptr, "glColor4usv"); + glad_glColorMask = (PFNGLCOLORMASKPROC) load(userptr, "glColorMask"); + glad_glColorMaterial = (PFNGLCOLORMATERIALPROC) load(userptr, "glColorMaterial"); + glad_glCopyPixels = (PFNGLCOPYPIXELSPROC) load(userptr, "glCopyPixels"); + glad_glCullFace = (PFNGLCULLFACEPROC) load(userptr, "glCullFace"); + glad_glDeleteLists = (PFNGLDELETELISTSPROC) load(userptr, "glDeleteLists"); + glad_glDepthFunc = (PFNGLDEPTHFUNCPROC) load(userptr, "glDepthFunc"); + glad_glDepthMask = (PFNGLDEPTHMASKPROC) load(userptr, "glDepthMask"); + glad_glDepthRange = (PFNGLDEPTHRANGEPROC) load(userptr, "glDepthRange"); + glad_glDisable = (PFNGLDISABLEPROC) load(userptr, "glDisable"); + glad_glDrawBuffer = (PFNGLDRAWBUFFERPROC) load(userptr, "glDrawBuffer"); + glad_glDrawPixels = (PFNGLDRAWPIXELSPROC) load(userptr, "glDrawPixels"); + glad_glEdgeFlag = (PFNGLEDGEFLAGPROC) load(userptr, "glEdgeFlag"); + glad_glEdgeFlagv = (PFNGLEDGEFLAGVPROC) load(userptr, "glEdgeFlagv"); + glad_glEnable = (PFNGLENABLEPROC) load(userptr, "glEnable"); + glad_glEnd = (PFNGLENDPROC) load(userptr, "glEnd"); + glad_glEndList = (PFNGLENDLISTPROC) load(userptr, "glEndList"); + glad_glEvalCoord1d = (PFNGLEVALCOORD1DPROC) load(userptr, "glEvalCoord1d"); + glad_glEvalCoord1dv = (PFNGLEVALCOORD1DVPROC) load(userptr, "glEvalCoord1dv"); + glad_glEvalCoord1f = (PFNGLEVALCOORD1FPROC) load(userptr, "glEvalCoord1f"); + glad_glEvalCoord1fv = (PFNGLEVALCOORD1FVPROC) load(userptr, "glEvalCoord1fv"); + glad_glEvalCoord2d = (PFNGLEVALCOORD2DPROC) load(userptr, "glEvalCoord2d"); + glad_glEvalCoord2dv = (PFNGLEVALCOORD2DVPROC) load(userptr, "glEvalCoord2dv"); + glad_glEvalCoord2f = (PFNGLEVALCOORD2FPROC) load(userptr, "glEvalCoord2f"); + glad_glEvalCoord2fv = (PFNGLEVALCOORD2FVPROC) load(userptr, "glEvalCoord2fv"); + glad_glEvalMesh1 = (PFNGLEVALMESH1PROC) load(userptr, "glEvalMesh1"); + glad_glEvalMesh2 = (PFNGLEVALMESH2PROC) load(userptr, "glEvalMesh2"); + glad_glEvalPoint1 = (PFNGLEVALPOINT1PROC) load(userptr, "glEvalPoint1"); + glad_glEvalPoint2 = (PFNGLEVALPOINT2PROC) load(userptr, "glEvalPoint2"); + glad_glFeedbackBuffer = (PFNGLFEEDBACKBUFFERPROC) load(userptr, "glFeedbackBuffer"); + glad_glFinish = (PFNGLFINISHPROC) load(userptr, "glFinish"); + glad_glFlush = (PFNGLFLUSHPROC) load(userptr, "glFlush"); + glad_glFogf = (PFNGLFOGFPROC) load(userptr, "glFogf"); + glad_glFogfv = (PFNGLFOGFVPROC) load(userptr, "glFogfv"); + glad_glFogi = (PFNGLFOGIPROC) load(userptr, "glFogi"); + glad_glFogiv = (PFNGLFOGIVPROC) load(userptr, "glFogiv"); + glad_glFrontFace = (PFNGLFRONTFACEPROC) load(userptr, "glFrontFace"); + glad_glFrustum = (PFNGLFRUSTUMPROC) load(userptr, "glFrustum"); + glad_glGenLists = (PFNGLGENLISTSPROC) load(userptr, "glGenLists"); + glad_glGetBooleanv = (PFNGLGETBOOLEANVPROC) load(userptr, "glGetBooleanv"); + glad_glGetClipPlane = (PFNGLGETCLIPPLANEPROC) load(userptr, "glGetClipPlane"); + glad_glGetDoublev = (PFNGLGETDOUBLEVPROC) load(userptr, "glGetDoublev"); + glad_glGetError = (PFNGLGETERRORPROC) load(userptr, "glGetError"); + glad_glGetFloatv = (PFNGLGETFLOATVPROC) load(userptr, "glGetFloatv"); + glad_glGetIntegerv = (PFNGLGETINTEGERVPROC) load(userptr, "glGetIntegerv"); + glad_glGetLightfv = (PFNGLGETLIGHTFVPROC) load(userptr, "glGetLightfv"); + glad_glGetLightiv = (PFNGLGETLIGHTIVPROC) load(userptr, "glGetLightiv"); + glad_glGetMapdv = (PFNGLGETMAPDVPROC) load(userptr, "glGetMapdv"); + glad_glGetMapfv = (PFNGLGETMAPFVPROC) load(userptr, "glGetMapfv"); + glad_glGetMapiv = (PFNGLGETMAPIVPROC) load(userptr, "glGetMapiv"); + glad_glGetMaterialfv = (PFNGLGETMATERIALFVPROC) load(userptr, "glGetMaterialfv"); + glad_glGetMaterialiv = (PFNGLGETMATERIALIVPROC) load(userptr, "glGetMaterialiv"); + glad_glGetPixelMapfv = (PFNGLGETPIXELMAPFVPROC) load(userptr, "glGetPixelMapfv"); + glad_glGetPixelMapuiv = (PFNGLGETPIXELMAPUIVPROC) load(userptr, "glGetPixelMapuiv"); + glad_glGetPixelMapusv = (PFNGLGETPIXELMAPUSVPROC) load(userptr, "glGetPixelMapusv"); + glad_glGetPolygonStipple = (PFNGLGETPOLYGONSTIPPLEPROC) load(userptr, "glGetPolygonStipple"); + glad_glGetString = (PFNGLGETSTRINGPROC) load(userptr, "glGetString"); + glad_glGetTexEnvfv = (PFNGLGETTEXENVFVPROC) load(userptr, "glGetTexEnvfv"); + glad_glGetTexEnviv = (PFNGLGETTEXENVIVPROC) load(userptr, "glGetTexEnviv"); + glad_glGetTexGendv = (PFNGLGETTEXGENDVPROC) load(userptr, "glGetTexGendv"); + glad_glGetTexGenfv = (PFNGLGETTEXGENFVPROC) load(userptr, "glGetTexGenfv"); + glad_glGetTexGeniv = (PFNGLGETTEXGENIVPROC) load(userptr, "glGetTexGeniv"); + glad_glGetTexImage = (PFNGLGETTEXIMAGEPROC) load(userptr, "glGetTexImage"); + glad_glGetTexLevelParameterfv = (PFNGLGETTEXLEVELPARAMETERFVPROC) load(userptr, "glGetTexLevelParameterfv"); + glad_glGetTexLevelParameteriv = (PFNGLGETTEXLEVELPARAMETERIVPROC) load(userptr, "glGetTexLevelParameteriv"); + glad_glGetTexParameterfv = (PFNGLGETTEXPARAMETERFVPROC) load(userptr, "glGetTexParameterfv"); + glad_glGetTexParameteriv = (PFNGLGETTEXPARAMETERIVPROC) load(userptr, "glGetTexParameteriv"); + glad_glHint = (PFNGLHINTPROC) load(userptr, "glHint"); + glad_glIndexMask = (PFNGLINDEXMASKPROC) load(userptr, "glIndexMask"); + glad_glIndexd = (PFNGLINDEXDPROC) load(userptr, "glIndexd"); + glad_glIndexdv = (PFNGLINDEXDVPROC) load(userptr, "glIndexdv"); + glad_glIndexf = (PFNGLINDEXFPROC) load(userptr, "glIndexf"); + glad_glIndexfv = (PFNGLINDEXFVPROC) load(userptr, "glIndexfv"); + glad_glIndexi = (PFNGLINDEXIPROC) load(userptr, "glIndexi"); + glad_glIndexiv = (PFNGLINDEXIVPROC) load(userptr, "glIndexiv"); + glad_glIndexs = (PFNGLINDEXSPROC) load(userptr, "glIndexs"); + glad_glIndexsv = (PFNGLINDEXSVPROC) load(userptr, "glIndexsv"); + glad_glInitNames = (PFNGLINITNAMESPROC) load(userptr, "glInitNames"); + glad_glIsEnabled = (PFNGLISENABLEDPROC) load(userptr, "glIsEnabled"); + glad_glIsList = (PFNGLISLISTPROC) load(userptr, "glIsList"); + glad_glLightModelf = (PFNGLLIGHTMODELFPROC) load(userptr, "glLightModelf"); + glad_glLightModelfv = (PFNGLLIGHTMODELFVPROC) load(userptr, "glLightModelfv"); + glad_glLightModeli = (PFNGLLIGHTMODELIPROC) load(userptr, "glLightModeli"); + glad_glLightModeliv = (PFNGLLIGHTMODELIVPROC) load(userptr, "glLightModeliv"); + glad_glLightf = (PFNGLLIGHTFPROC) load(userptr, "glLightf"); + glad_glLightfv = (PFNGLLIGHTFVPROC) load(userptr, "glLightfv"); + glad_glLighti = (PFNGLLIGHTIPROC) load(userptr, "glLighti"); + glad_glLightiv = (PFNGLLIGHTIVPROC) load(userptr, "glLightiv"); + glad_glLineStipple = (PFNGLLINESTIPPLEPROC) load(userptr, "glLineStipple"); + glad_glLineWidth = (PFNGLLINEWIDTHPROC) load(userptr, "glLineWidth"); + glad_glListBase = (PFNGLLISTBASEPROC) load(userptr, "glListBase"); + glad_glLoadIdentity = (PFNGLLOADIDENTITYPROC) load(userptr, "glLoadIdentity"); + glad_glLoadMatrixd = (PFNGLLOADMATRIXDPROC) load(userptr, "glLoadMatrixd"); + glad_glLoadMatrixf = (PFNGLLOADMATRIXFPROC) load(userptr, "glLoadMatrixf"); + glad_glLoadName = (PFNGLLOADNAMEPROC) load(userptr, "glLoadName"); + glad_glLogicOp = (PFNGLLOGICOPPROC) load(userptr, "glLogicOp"); + glad_glMap1d = (PFNGLMAP1DPROC) load(userptr, "glMap1d"); + glad_glMap1f = (PFNGLMAP1FPROC) load(userptr, "glMap1f"); + glad_glMap2d = (PFNGLMAP2DPROC) load(userptr, "glMap2d"); + glad_glMap2f = (PFNGLMAP2FPROC) load(userptr, "glMap2f"); + glad_glMapGrid1d = (PFNGLMAPGRID1DPROC) load(userptr, "glMapGrid1d"); + glad_glMapGrid1f = (PFNGLMAPGRID1FPROC) load(userptr, "glMapGrid1f"); + glad_glMapGrid2d = (PFNGLMAPGRID2DPROC) load(userptr, "glMapGrid2d"); + glad_glMapGrid2f = (PFNGLMAPGRID2FPROC) load(userptr, "glMapGrid2f"); + glad_glMaterialf = (PFNGLMATERIALFPROC) load(userptr, "glMaterialf"); + glad_glMaterialfv = (PFNGLMATERIALFVPROC) load(userptr, "glMaterialfv"); + glad_glMateriali = (PFNGLMATERIALIPROC) load(userptr, "glMateriali"); + glad_glMaterialiv = (PFNGLMATERIALIVPROC) load(userptr, "glMaterialiv"); + glad_glMatrixMode = (PFNGLMATRIXMODEPROC) load(userptr, "glMatrixMode"); + glad_glMultMatrixd = (PFNGLMULTMATRIXDPROC) load(userptr, "glMultMatrixd"); + glad_glMultMatrixf = (PFNGLMULTMATRIXFPROC) load(userptr, "glMultMatrixf"); + glad_glNewList = (PFNGLNEWLISTPROC) load(userptr, "glNewList"); + glad_glNormal3b = (PFNGLNORMAL3BPROC) load(userptr, "glNormal3b"); + glad_glNormal3bv = (PFNGLNORMAL3BVPROC) load(userptr, "glNormal3bv"); + glad_glNormal3d = (PFNGLNORMAL3DPROC) load(userptr, "glNormal3d"); + glad_glNormal3dv = (PFNGLNORMAL3DVPROC) load(userptr, "glNormal3dv"); + glad_glNormal3f = (PFNGLNORMAL3FPROC) load(userptr, "glNormal3f"); + glad_glNormal3fv = (PFNGLNORMAL3FVPROC) load(userptr, "glNormal3fv"); + glad_glNormal3i = (PFNGLNORMAL3IPROC) load(userptr, "glNormal3i"); + glad_glNormal3iv = (PFNGLNORMAL3IVPROC) load(userptr, "glNormal3iv"); + glad_glNormal3s = (PFNGLNORMAL3SPROC) load(userptr, "glNormal3s"); + glad_glNormal3sv = (PFNGLNORMAL3SVPROC) load(userptr, "glNormal3sv"); + glad_glOrtho = (PFNGLORTHOPROC) load(userptr, "glOrtho"); + glad_glPassThrough = (PFNGLPASSTHROUGHPROC) load(userptr, "glPassThrough"); + glad_glPixelMapfv = (PFNGLPIXELMAPFVPROC) load(userptr, "glPixelMapfv"); + glad_glPixelMapuiv = (PFNGLPIXELMAPUIVPROC) load(userptr, "glPixelMapuiv"); + glad_glPixelMapusv = (PFNGLPIXELMAPUSVPROC) load(userptr, "glPixelMapusv"); + glad_glPixelStoref = (PFNGLPIXELSTOREFPROC) load(userptr, "glPixelStoref"); + glad_glPixelStorei = (PFNGLPIXELSTOREIPROC) load(userptr, "glPixelStorei"); + glad_glPixelTransferf = (PFNGLPIXELTRANSFERFPROC) load(userptr, "glPixelTransferf"); + glad_glPixelTransferi = (PFNGLPIXELTRANSFERIPROC) load(userptr, "glPixelTransferi"); + glad_glPixelZoom = (PFNGLPIXELZOOMPROC) load(userptr, "glPixelZoom"); + glad_glPointSize = (PFNGLPOINTSIZEPROC) load(userptr, "glPointSize"); + glad_glPolygonMode = (PFNGLPOLYGONMODEPROC) load(userptr, "glPolygonMode"); + glad_glPolygonStipple = (PFNGLPOLYGONSTIPPLEPROC) load(userptr, "glPolygonStipple"); + glad_glPopAttrib = (PFNGLPOPATTRIBPROC) load(userptr, "glPopAttrib"); + glad_glPopMatrix = (PFNGLPOPMATRIXPROC) load(userptr, "glPopMatrix"); + glad_glPopName = (PFNGLPOPNAMEPROC) load(userptr, "glPopName"); + glad_glPushAttrib = (PFNGLPUSHATTRIBPROC) load(userptr, "glPushAttrib"); + glad_glPushMatrix = (PFNGLPUSHMATRIXPROC) load(userptr, "glPushMatrix"); + glad_glPushName = (PFNGLPUSHNAMEPROC) load(userptr, "glPushName"); + glad_glRasterPos2d = (PFNGLRASTERPOS2DPROC) load(userptr, "glRasterPos2d"); + glad_glRasterPos2dv = (PFNGLRASTERPOS2DVPROC) load(userptr, "glRasterPos2dv"); + glad_glRasterPos2f = (PFNGLRASTERPOS2FPROC) load(userptr, "glRasterPos2f"); + glad_glRasterPos2fv = (PFNGLRASTERPOS2FVPROC) load(userptr, "glRasterPos2fv"); + glad_glRasterPos2i = (PFNGLRASTERPOS2IPROC) load(userptr, "glRasterPos2i"); + glad_glRasterPos2iv = (PFNGLRASTERPOS2IVPROC) load(userptr, "glRasterPos2iv"); + glad_glRasterPos2s = (PFNGLRASTERPOS2SPROC) load(userptr, "glRasterPos2s"); + glad_glRasterPos2sv = (PFNGLRASTERPOS2SVPROC) load(userptr, "glRasterPos2sv"); + glad_glRasterPos3d = (PFNGLRASTERPOS3DPROC) load(userptr, "glRasterPos3d"); + glad_glRasterPos3dv = (PFNGLRASTERPOS3DVPROC) load(userptr, "glRasterPos3dv"); + glad_glRasterPos3f = (PFNGLRASTERPOS3FPROC) load(userptr, "glRasterPos3f"); + glad_glRasterPos3fv = (PFNGLRASTERPOS3FVPROC) load(userptr, "glRasterPos3fv"); + glad_glRasterPos3i = (PFNGLRASTERPOS3IPROC) load(userptr, "glRasterPos3i"); + glad_glRasterPos3iv = (PFNGLRASTERPOS3IVPROC) load(userptr, "glRasterPos3iv"); + glad_glRasterPos3s = (PFNGLRASTERPOS3SPROC) load(userptr, "glRasterPos3s"); + glad_glRasterPos3sv = (PFNGLRASTERPOS3SVPROC) load(userptr, "glRasterPos3sv"); + glad_glRasterPos4d = (PFNGLRASTERPOS4DPROC) load(userptr, "glRasterPos4d"); + glad_glRasterPos4dv = (PFNGLRASTERPOS4DVPROC) load(userptr, "glRasterPos4dv"); + glad_glRasterPos4f = (PFNGLRASTERPOS4FPROC) load(userptr, "glRasterPos4f"); + glad_glRasterPos4fv = (PFNGLRASTERPOS4FVPROC) load(userptr, "glRasterPos4fv"); + glad_glRasterPos4i = (PFNGLRASTERPOS4IPROC) load(userptr, "glRasterPos4i"); + glad_glRasterPos4iv = (PFNGLRASTERPOS4IVPROC) load(userptr, "glRasterPos4iv"); + glad_glRasterPos4s = (PFNGLRASTERPOS4SPROC) load(userptr, "glRasterPos4s"); + glad_glRasterPos4sv = (PFNGLRASTERPOS4SVPROC) load(userptr, "glRasterPos4sv"); + glad_glReadBuffer = (PFNGLREADBUFFERPROC) load(userptr, "glReadBuffer"); + glad_glReadPixels = (PFNGLREADPIXELSPROC) load(userptr, "glReadPixels"); + glad_glRectd = (PFNGLRECTDPROC) load(userptr, "glRectd"); + glad_glRectdv = (PFNGLRECTDVPROC) load(userptr, "glRectdv"); + glad_glRectf = (PFNGLRECTFPROC) load(userptr, "glRectf"); + glad_glRectfv = (PFNGLRECTFVPROC) load(userptr, "glRectfv"); + glad_glRecti = (PFNGLRECTIPROC) load(userptr, "glRecti"); + glad_glRectiv = (PFNGLRECTIVPROC) load(userptr, "glRectiv"); + glad_glRects = (PFNGLRECTSPROC) load(userptr, "glRects"); + glad_glRectsv = (PFNGLRECTSVPROC) load(userptr, "glRectsv"); + glad_glRenderMode = (PFNGLRENDERMODEPROC) load(userptr, "glRenderMode"); + glad_glRotated = (PFNGLROTATEDPROC) load(userptr, "glRotated"); + glad_glRotatef = (PFNGLROTATEFPROC) load(userptr, "glRotatef"); + glad_glScaled = (PFNGLSCALEDPROC) load(userptr, "glScaled"); + glad_glScalef = (PFNGLSCALEFPROC) load(userptr, "glScalef"); + glad_glScissor = (PFNGLSCISSORPROC) load(userptr, "glScissor"); + glad_glSelectBuffer = (PFNGLSELECTBUFFERPROC) load(userptr, "glSelectBuffer"); + glad_glShadeModel = (PFNGLSHADEMODELPROC) load(userptr, "glShadeModel"); + glad_glStencilFunc = (PFNGLSTENCILFUNCPROC) load(userptr, "glStencilFunc"); + glad_glStencilMask = (PFNGLSTENCILMASKPROC) load(userptr, "glStencilMask"); + glad_glStencilOp = (PFNGLSTENCILOPPROC) load(userptr, "glStencilOp"); + glad_glTexCoord1d = (PFNGLTEXCOORD1DPROC) load(userptr, "glTexCoord1d"); + glad_glTexCoord1dv = (PFNGLTEXCOORD1DVPROC) load(userptr, "glTexCoord1dv"); + glad_glTexCoord1f = (PFNGLTEXCOORD1FPROC) load(userptr, "glTexCoord1f"); + glad_glTexCoord1fv = (PFNGLTEXCOORD1FVPROC) load(userptr, "glTexCoord1fv"); + glad_glTexCoord1i = (PFNGLTEXCOORD1IPROC) load(userptr, "glTexCoord1i"); + glad_glTexCoord1iv = (PFNGLTEXCOORD1IVPROC) load(userptr, "glTexCoord1iv"); + glad_glTexCoord1s = (PFNGLTEXCOORD1SPROC) load(userptr, "glTexCoord1s"); + glad_glTexCoord1sv = (PFNGLTEXCOORD1SVPROC) load(userptr, "glTexCoord1sv"); + glad_glTexCoord2d = (PFNGLTEXCOORD2DPROC) load(userptr, "glTexCoord2d"); + glad_glTexCoord2dv = (PFNGLTEXCOORD2DVPROC) load(userptr, "glTexCoord2dv"); + glad_glTexCoord2f = (PFNGLTEXCOORD2FPROC) load(userptr, "glTexCoord2f"); + glad_glTexCoord2fv = (PFNGLTEXCOORD2FVPROC) load(userptr, "glTexCoord2fv"); + glad_glTexCoord2i = (PFNGLTEXCOORD2IPROC) load(userptr, "glTexCoord2i"); + glad_glTexCoord2iv = (PFNGLTEXCOORD2IVPROC) load(userptr, "glTexCoord2iv"); + glad_glTexCoord2s = (PFNGLTEXCOORD2SPROC) load(userptr, "glTexCoord2s"); + glad_glTexCoord2sv = (PFNGLTEXCOORD2SVPROC) load(userptr, "glTexCoord2sv"); + glad_glTexCoord3d = (PFNGLTEXCOORD3DPROC) load(userptr, "glTexCoord3d"); + glad_glTexCoord3dv = (PFNGLTEXCOORD3DVPROC) load(userptr, "glTexCoord3dv"); + glad_glTexCoord3f = (PFNGLTEXCOORD3FPROC) load(userptr, "glTexCoord3f"); + glad_glTexCoord3fv = (PFNGLTEXCOORD3FVPROC) load(userptr, "glTexCoord3fv"); + glad_glTexCoord3i = (PFNGLTEXCOORD3IPROC) load(userptr, "glTexCoord3i"); + glad_glTexCoord3iv = (PFNGLTEXCOORD3IVPROC) load(userptr, "glTexCoord3iv"); + glad_glTexCoord3s = (PFNGLTEXCOORD3SPROC) load(userptr, "glTexCoord3s"); + glad_glTexCoord3sv = (PFNGLTEXCOORD3SVPROC) load(userptr, "glTexCoord3sv"); + glad_glTexCoord4d = (PFNGLTEXCOORD4DPROC) load(userptr, "glTexCoord4d"); + glad_glTexCoord4dv = (PFNGLTEXCOORD4DVPROC) load(userptr, "glTexCoord4dv"); + glad_glTexCoord4f = (PFNGLTEXCOORD4FPROC) load(userptr, "glTexCoord4f"); + glad_glTexCoord4fv = (PFNGLTEXCOORD4FVPROC) load(userptr, "glTexCoord4fv"); + glad_glTexCoord4i = (PFNGLTEXCOORD4IPROC) load(userptr, "glTexCoord4i"); + glad_glTexCoord4iv = (PFNGLTEXCOORD4IVPROC) load(userptr, "glTexCoord4iv"); + glad_glTexCoord4s = (PFNGLTEXCOORD4SPROC) load(userptr, "glTexCoord4s"); + glad_glTexCoord4sv = (PFNGLTEXCOORD4SVPROC) load(userptr, "glTexCoord4sv"); + glad_glTexEnvf = (PFNGLTEXENVFPROC) load(userptr, "glTexEnvf"); + glad_glTexEnvfv = (PFNGLTEXENVFVPROC) load(userptr, "glTexEnvfv"); + glad_glTexEnvi = (PFNGLTEXENVIPROC) load(userptr, "glTexEnvi"); + glad_glTexEnviv = (PFNGLTEXENVIVPROC) load(userptr, "glTexEnviv"); + glad_glTexGend = (PFNGLTEXGENDPROC) load(userptr, "glTexGend"); + glad_glTexGendv = (PFNGLTEXGENDVPROC) load(userptr, "glTexGendv"); + glad_glTexGenf = (PFNGLTEXGENFPROC) load(userptr, "glTexGenf"); + glad_glTexGenfv = (PFNGLTEXGENFVPROC) load(userptr, "glTexGenfv"); + glad_glTexGeni = (PFNGLTEXGENIPROC) load(userptr, "glTexGeni"); + glad_glTexGeniv = (PFNGLTEXGENIVPROC) load(userptr, "glTexGeniv"); + glad_glTexImage1D = (PFNGLTEXIMAGE1DPROC) load(userptr, "glTexImage1D"); + glad_glTexImage2D = (PFNGLTEXIMAGE2DPROC) load(userptr, "glTexImage2D"); + glad_glTexParameterf = (PFNGLTEXPARAMETERFPROC) load(userptr, "glTexParameterf"); + glad_glTexParameterfv = (PFNGLTEXPARAMETERFVPROC) load(userptr, "glTexParameterfv"); + glad_glTexParameteri = (PFNGLTEXPARAMETERIPROC) load(userptr, "glTexParameteri"); + glad_glTexParameteriv = (PFNGLTEXPARAMETERIVPROC) load(userptr, "glTexParameteriv"); + glad_glTranslated = (PFNGLTRANSLATEDPROC) load(userptr, "glTranslated"); + glad_glTranslatef = (PFNGLTRANSLATEFPROC) load(userptr, "glTranslatef"); + glad_glVertex2d = (PFNGLVERTEX2DPROC) load(userptr, "glVertex2d"); + glad_glVertex2dv = (PFNGLVERTEX2DVPROC) load(userptr, "glVertex2dv"); + glad_glVertex2f = (PFNGLVERTEX2FPROC) load(userptr, "glVertex2f"); + glad_glVertex2fv = (PFNGLVERTEX2FVPROC) load(userptr, "glVertex2fv"); + glad_glVertex2i = (PFNGLVERTEX2IPROC) load(userptr, "glVertex2i"); + glad_glVertex2iv = (PFNGLVERTEX2IVPROC) load(userptr, "glVertex2iv"); + glad_glVertex2s = (PFNGLVERTEX2SPROC) load(userptr, "glVertex2s"); + glad_glVertex2sv = (PFNGLVERTEX2SVPROC) load(userptr, "glVertex2sv"); + glad_glVertex3d = (PFNGLVERTEX3DPROC) load(userptr, "glVertex3d"); + glad_glVertex3dv = (PFNGLVERTEX3DVPROC) load(userptr, "glVertex3dv"); + glad_glVertex3f = (PFNGLVERTEX3FPROC) load(userptr, "glVertex3f"); + glad_glVertex3fv = (PFNGLVERTEX3FVPROC) load(userptr, "glVertex3fv"); + glad_glVertex3i = (PFNGLVERTEX3IPROC) load(userptr, "glVertex3i"); + glad_glVertex3iv = (PFNGLVERTEX3IVPROC) load(userptr, "glVertex3iv"); + glad_glVertex3s = (PFNGLVERTEX3SPROC) load(userptr, "glVertex3s"); + glad_glVertex3sv = (PFNGLVERTEX3SVPROC) load(userptr, "glVertex3sv"); + glad_glVertex4d = (PFNGLVERTEX4DPROC) load(userptr, "glVertex4d"); + glad_glVertex4dv = (PFNGLVERTEX4DVPROC) load(userptr, "glVertex4dv"); + glad_glVertex4f = (PFNGLVERTEX4FPROC) load(userptr, "glVertex4f"); + glad_glVertex4fv = (PFNGLVERTEX4FVPROC) load(userptr, "glVertex4fv"); + glad_glVertex4i = (PFNGLVERTEX4IPROC) load(userptr, "glVertex4i"); + glad_glVertex4iv = (PFNGLVERTEX4IVPROC) load(userptr, "glVertex4iv"); + glad_glVertex4s = (PFNGLVERTEX4SPROC) load(userptr, "glVertex4s"); + glad_glVertex4sv = (PFNGLVERTEX4SVPROC) load(userptr, "glVertex4sv"); + glad_glViewport = (PFNGLVIEWPORTPROC) load(userptr, "glViewport"); +} +static void glad_gl_load_GL_VERSION_1_1( GLADuserptrloadfunc load, void* userptr) { + if(!GLAD_GL_VERSION_1_1) return; + glad_glAreTexturesResident = (PFNGLARETEXTURESRESIDENTPROC) load(userptr, "glAreTexturesResident"); + glad_glArrayElement = (PFNGLARRAYELEMENTPROC) load(userptr, "glArrayElement"); + glad_glBindTexture = (PFNGLBINDTEXTUREPROC) load(userptr, "glBindTexture"); + glad_glColorPointer = (PFNGLCOLORPOINTERPROC) load(userptr, "glColorPointer"); + glad_glCopyTexImage1D = (PFNGLCOPYTEXIMAGE1DPROC) load(userptr, "glCopyTexImage1D"); + glad_glCopyTexImage2D = (PFNGLCOPYTEXIMAGE2DPROC) load(userptr, "glCopyTexImage2D"); + glad_glCopyTexSubImage1D = (PFNGLCOPYTEXSUBIMAGE1DPROC) load(userptr, "glCopyTexSubImage1D"); + glad_glCopyTexSubImage2D = (PFNGLCOPYTEXSUBIMAGE2DPROC) load(userptr, "glCopyTexSubImage2D"); + glad_glDeleteTextures = (PFNGLDELETETEXTURESPROC) load(userptr, "glDeleteTextures"); + glad_glDisableClientState = (PFNGLDISABLECLIENTSTATEPROC) load(userptr, "glDisableClientState"); + glad_glDrawArrays = (PFNGLDRAWARRAYSPROC) load(userptr, "glDrawArrays"); + glad_glDrawElements = (PFNGLDRAWELEMENTSPROC) load(userptr, "glDrawElements"); + glad_glEdgeFlagPointer = (PFNGLEDGEFLAGPOINTERPROC) load(userptr, "glEdgeFlagPointer"); + glad_glEnableClientState = (PFNGLENABLECLIENTSTATEPROC) load(userptr, "glEnableClientState"); + glad_glGenTextures = (PFNGLGENTEXTURESPROC) load(userptr, "glGenTextures"); + glad_glGetPointerv = (PFNGLGETPOINTERVPROC) load(userptr, "glGetPointerv"); + glad_glIndexPointer = (PFNGLINDEXPOINTERPROC) load(userptr, "glIndexPointer"); + glad_glIndexub = (PFNGLINDEXUBPROC) load(userptr, "glIndexub"); + glad_glIndexubv = (PFNGLINDEXUBVPROC) load(userptr, "glIndexubv"); + glad_glInterleavedArrays = (PFNGLINTERLEAVEDARRAYSPROC) load(userptr, "glInterleavedArrays"); + glad_glIsTexture = (PFNGLISTEXTUREPROC) load(userptr, "glIsTexture"); + glad_glNormalPointer = (PFNGLNORMALPOINTERPROC) load(userptr, "glNormalPointer"); + glad_glPolygonOffset = (PFNGLPOLYGONOFFSETPROC) load(userptr, "glPolygonOffset"); + glad_glPopClientAttrib = (PFNGLPOPCLIENTATTRIBPROC) load(userptr, "glPopClientAttrib"); + glad_glPrioritizeTextures = (PFNGLPRIORITIZETEXTURESPROC) load(userptr, "glPrioritizeTextures"); + glad_glPushClientAttrib = (PFNGLPUSHCLIENTATTRIBPROC) load(userptr, "glPushClientAttrib"); + glad_glTexCoordPointer = (PFNGLTEXCOORDPOINTERPROC) load(userptr, "glTexCoordPointer"); + glad_glTexSubImage1D = (PFNGLTEXSUBIMAGE1DPROC) load(userptr, "glTexSubImage1D"); + glad_glTexSubImage2D = (PFNGLTEXSUBIMAGE2DPROC) load(userptr, "glTexSubImage2D"); + glad_glVertexPointer = (PFNGLVERTEXPOINTERPROC) load(userptr, "glVertexPointer"); +} +static void glad_gl_load_GL_VERSION_1_2( GLADuserptrloadfunc load, void* userptr) { + if(!GLAD_GL_VERSION_1_2) return; + glad_glCopyTexSubImage3D = (PFNGLCOPYTEXSUBIMAGE3DPROC) load(userptr, "glCopyTexSubImage3D"); + glad_glDrawRangeElements = (PFNGLDRAWRANGEELEMENTSPROC) load(userptr, "glDrawRangeElements"); + glad_glTexImage3D = (PFNGLTEXIMAGE3DPROC) load(userptr, "glTexImage3D"); + glad_glTexSubImage3D = (PFNGLTEXSUBIMAGE3DPROC) load(userptr, "glTexSubImage3D"); +} +static void glad_gl_load_GL_VERSION_1_3( GLADuserptrloadfunc load, void* userptr) { + if(!GLAD_GL_VERSION_1_3) return; + glad_glActiveTexture = (PFNGLACTIVETEXTUREPROC) load(userptr, "glActiveTexture"); + glad_glClientActiveTexture = (PFNGLCLIENTACTIVETEXTUREPROC) load(userptr, "glClientActiveTexture"); + glad_glCompressedTexImage1D = (PFNGLCOMPRESSEDTEXIMAGE1DPROC) load(userptr, "glCompressedTexImage1D"); + glad_glCompressedTexImage2D = (PFNGLCOMPRESSEDTEXIMAGE2DPROC) load(userptr, "glCompressedTexImage2D"); + glad_glCompressedTexImage3D = (PFNGLCOMPRESSEDTEXIMAGE3DPROC) load(userptr, "glCompressedTexImage3D"); + glad_glCompressedTexSubImage1D = (PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) load(userptr, "glCompressedTexSubImage1D"); + glad_glCompressedTexSubImage2D = (PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) load(userptr, "glCompressedTexSubImage2D"); + glad_glCompressedTexSubImage3D = (PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) load(userptr, "glCompressedTexSubImage3D"); + glad_glGetCompressedTexImage = (PFNGLGETCOMPRESSEDTEXIMAGEPROC) load(userptr, "glGetCompressedTexImage"); + glad_glLoadTransposeMatrixd = (PFNGLLOADTRANSPOSEMATRIXDPROC) load(userptr, "glLoadTransposeMatrixd"); + glad_glLoadTransposeMatrixf = (PFNGLLOADTRANSPOSEMATRIXFPROC) load(userptr, "glLoadTransposeMatrixf"); + glad_glMultTransposeMatrixd = (PFNGLMULTTRANSPOSEMATRIXDPROC) load(userptr, "glMultTransposeMatrixd"); + glad_glMultTransposeMatrixf = (PFNGLMULTTRANSPOSEMATRIXFPROC) load(userptr, "glMultTransposeMatrixf"); + glad_glMultiTexCoord1d = (PFNGLMULTITEXCOORD1DPROC) load(userptr, "glMultiTexCoord1d"); + glad_glMultiTexCoord1dv = (PFNGLMULTITEXCOORD1DVPROC) load(userptr, "glMultiTexCoord1dv"); + glad_glMultiTexCoord1f = (PFNGLMULTITEXCOORD1FPROC) load(userptr, "glMultiTexCoord1f"); + glad_glMultiTexCoord1fv = (PFNGLMULTITEXCOORD1FVPROC) load(userptr, "glMultiTexCoord1fv"); + glad_glMultiTexCoord1i = (PFNGLMULTITEXCOORD1IPROC) load(userptr, "glMultiTexCoord1i"); + glad_glMultiTexCoord1iv = (PFNGLMULTITEXCOORD1IVPROC) load(userptr, "glMultiTexCoord1iv"); + glad_glMultiTexCoord1s = (PFNGLMULTITEXCOORD1SPROC) load(userptr, "glMultiTexCoord1s"); + glad_glMultiTexCoord1sv = (PFNGLMULTITEXCOORD1SVPROC) load(userptr, "glMultiTexCoord1sv"); + glad_glMultiTexCoord2d = (PFNGLMULTITEXCOORD2DPROC) load(userptr, "glMultiTexCoord2d"); + glad_glMultiTexCoord2dv = (PFNGLMULTITEXCOORD2DVPROC) load(userptr, "glMultiTexCoord2dv"); + glad_glMultiTexCoord2f = (PFNGLMULTITEXCOORD2FPROC) load(userptr, "glMultiTexCoord2f"); + glad_glMultiTexCoord2fv = (PFNGLMULTITEXCOORD2FVPROC) load(userptr, "glMultiTexCoord2fv"); + glad_glMultiTexCoord2i = (PFNGLMULTITEXCOORD2IPROC) load(userptr, "glMultiTexCoord2i"); + glad_glMultiTexCoord2iv = (PFNGLMULTITEXCOORD2IVPROC) load(userptr, "glMultiTexCoord2iv"); + glad_glMultiTexCoord2s = (PFNGLMULTITEXCOORD2SPROC) load(userptr, "glMultiTexCoord2s"); + glad_glMultiTexCoord2sv = (PFNGLMULTITEXCOORD2SVPROC) load(userptr, "glMultiTexCoord2sv"); + glad_glMultiTexCoord3d = (PFNGLMULTITEXCOORD3DPROC) load(userptr, "glMultiTexCoord3d"); + glad_glMultiTexCoord3dv = (PFNGLMULTITEXCOORD3DVPROC) load(userptr, "glMultiTexCoord3dv"); + glad_glMultiTexCoord3f = (PFNGLMULTITEXCOORD3FPROC) load(userptr, "glMultiTexCoord3f"); + glad_glMultiTexCoord3fv = (PFNGLMULTITEXCOORD3FVPROC) load(userptr, "glMultiTexCoord3fv"); + glad_glMultiTexCoord3i = (PFNGLMULTITEXCOORD3IPROC) load(userptr, "glMultiTexCoord3i"); + glad_glMultiTexCoord3iv = (PFNGLMULTITEXCOORD3IVPROC) load(userptr, "glMultiTexCoord3iv"); + glad_glMultiTexCoord3s = (PFNGLMULTITEXCOORD3SPROC) load(userptr, "glMultiTexCoord3s"); + glad_glMultiTexCoord3sv = (PFNGLMULTITEXCOORD3SVPROC) load(userptr, "glMultiTexCoord3sv"); + glad_glMultiTexCoord4d = (PFNGLMULTITEXCOORD4DPROC) load(userptr, "glMultiTexCoord4d"); + glad_glMultiTexCoord4dv = (PFNGLMULTITEXCOORD4DVPROC) load(userptr, "glMultiTexCoord4dv"); + glad_glMultiTexCoord4f = (PFNGLMULTITEXCOORD4FPROC) load(userptr, "glMultiTexCoord4f"); + glad_glMultiTexCoord4fv = (PFNGLMULTITEXCOORD4FVPROC) load(userptr, "glMultiTexCoord4fv"); + glad_glMultiTexCoord4i = (PFNGLMULTITEXCOORD4IPROC) load(userptr, "glMultiTexCoord4i"); + glad_glMultiTexCoord4iv = (PFNGLMULTITEXCOORD4IVPROC) load(userptr, "glMultiTexCoord4iv"); + glad_glMultiTexCoord4s = (PFNGLMULTITEXCOORD4SPROC) load(userptr, "glMultiTexCoord4s"); + glad_glMultiTexCoord4sv = (PFNGLMULTITEXCOORD4SVPROC) load(userptr, "glMultiTexCoord4sv"); + glad_glSampleCoverage = (PFNGLSAMPLECOVERAGEPROC) load(userptr, "glSampleCoverage"); +} +static void glad_gl_load_GL_VERSION_1_4( GLADuserptrloadfunc load, void* userptr) { + if(!GLAD_GL_VERSION_1_4) return; + glad_glBlendColor = (PFNGLBLENDCOLORPROC) load(userptr, "glBlendColor"); + glad_glBlendEquation = (PFNGLBLENDEQUATIONPROC) load(userptr, "glBlendEquation"); + glad_glBlendFuncSeparate = (PFNGLBLENDFUNCSEPARATEPROC) load(userptr, "glBlendFuncSeparate"); + glad_glFogCoordPointer = (PFNGLFOGCOORDPOINTERPROC) load(userptr, "glFogCoordPointer"); + glad_glFogCoordd = (PFNGLFOGCOORDDPROC) load(userptr, "glFogCoordd"); + glad_glFogCoorddv = (PFNGLFOGCOORDDVPROC) load(userptr, "glFogCoorddv"); + glad_glFogCoordf = (PFNGLFOGCOORDFPROC) load(userptr, "glFogCoordf"); + glad_glFogCoordfv = (PFNGLFOGCOORDFVPROC) load(userptr, "glFogCoordfv"); + glad_glMultiDrawArrays = (PFNGLMULTIDRAWARRAYSPROC) load(userptr, "glMultiDrawArrays"); + glad_glMultiDrawElements = (PFNGLMULTIDRAWELEMENTSPROC) load(userptr, "glMultiDrawElements"); + glad_glPointParameterf = (PFNGLPOINTPARAMETERFPROC) load(userptr, "glPointParameterf"); + glad_glPointParameterfv = (PFNGLPOINTPARAMETERFVPROC) load(userptr, "glPointParameterfv"); + glad_glPointParameteri = (PFNGLPOINTPARAMETERIPROC) load(userptr, "glPointParameteri"); + glad_glPointParameteriv = (PFNGLPOINTPARAMETERIVPROC) load(userptr, "glPointParameteriv"); + glad_glSecondaryColor3b = (PFNGLSECONDARYCOLOR3BPROC) load(userptr, "glSecondaryColor3b"); + glad_glSecondaryColor3bv = (PFNGLSECONDARYCOLOR3BVPROC) load(userptr, "glSecondaryColor3bv"); + glad_glSecondaryColor3d = (PFNGLSECONDARYCOLOR3DPROC) load(userptr, "glSecondaryColor3d"); + glad_glSecondaryColor3dv = (PFNGLSECONDARYCOLOR3DVPROC) load(userptr, "glSecondaryColor3dv"); + glad_glSecondaryColor3f = (PFNGLSECONDARYCOLOR3FPROC) load(userptr, "glSecondaryColor3f"); + glad_glSecondaryColor3fv = (PFNGLSECONDARYCOLOR3FVPROC) load(userptr, "glSecondaryColor3fv"); + glad_glSecondaryColor3i = (PFNGLSECONDARYCOLOR3IPROC) load(userptr, "glSecondaryColor3i"); + glad_glSecondaryColor3iv = (PFNGLSECONDARYCOLOR3IVPROC) load(userptr, "glSecondaryColor3iv"); + glad_glSecondaryColor3s = (PFNGLSECONDARYCOLOR3SPROC) load(userptr, "glSecondaryColor3s"); + glad_glSecondaryColor3sv = (PFNGLSECONDARYCOLOR3SVPROC) load(userptr, "glSecondaryColor3sv"); + glad_glSecondaryColor3ub = (PFNGLSECONDARYCOLOR3UBPROC) load(userptr, "glSecondaryColor3ub"); + glad_glSecondaryColor3ubv = (PFNGLSECONDARYCOLOR3UBVPROC) load(userptr, "glSecondaryColor3ubv"); + glad_glSecondaryColor3ui = (PFNGLSECONDARYCOLOR3UIPROC) load(userptr, "glSecondaryColor3ui"); + glad_glSecondaryColor3uiv = (PFNGLSECONDARYCOLOR3UIVPROC) load(userptr, "glSecondaryColor3uiv"); + glad_glSecondaryColor3us = (PFNGLSECONDARYCOLOR3USPROC) load(userptr, "glSecondaryColor3us"); + glad_glSecondaryColor3usv = (PFNGLSECONDARYCOLOR3USVPROC) load(userptr, "glSecondaryColor3usv"); + glad_glSecondaryColorPointer = (PFNGLSECONDARYCOLORPOINTERPROC) load(userptr, "glSecondaryColorPointer"); + glad_glWindowPos2d = (PFNGLWINDOWPOS2DPROC) load(userptr, "glWindowPos2d"); + glad_glWindowPos2dv = (PFNGLWINDOWPOS2DVPROC) load(userptr, "glWindowPos2dv"); + glad_glWindowPos2f = (PFNGLWINDOWPOS2FPROC) load(userptr, "glWindowPos2f"); + glad_glWindowPos2fv = (PFNGLWINDOWPOS2FVPROC) load(userptr, "glWindowPos2fv"); + glad_glWindowPos2i = (PFNGLWINDOWPOS2IPROC) load(userptr, "glWindowPos2i"); + glad_glWindowPos2iv = (PFNGLWINDOWPOS2IVPROC) load(userptr, "glWindowPos2iv"); + glad_glWindowPos2s = (PFNGLWINDOWPOS2SPROC) load(userptr, "glWindowPos2s"); + glad_glWindowPos2sv = (PFNGLWINDOWPOS2SVPROC) load(userptr, "glWindowPos2sv"); + glad_glWindowPos3d = (PFNGLWINDOWPOS3DPROC) load(userptr, "glWindowPos3d"); + glad_glWindowPos3dv = (PFNGLWINDOWPOS3DVPROC) load(userptr, "glWindowPos3dv"); + glad_glWindowPos3f = (PFNGLWINDOWPOS3FPROC) load(userptr, "glWindowPos3f"); + glad_glWindowPos3fv = (PFNGLWINDOWPOS3FVPROC) load(userptr, "glWindowPos3fv"); + glad_glWindowPos3i = (PFNGLWINDOWPOS3IPROC) load(userptr, "glWindowPos3i"); + glad_glWindowPos3iv = (PFNGLWINDOWPOS3IVPROC) load(userptr, "glWindowPos3iv"); + glad_glWindowPos3s = (PFNGLWINDOWPOS3SPROC) load(userptr, "glWindowPos3s"); + glad_glWindowPos3sv = (PFNGLWINDOWPOS3SVPROC) load(userptr, "glWindowPos3sv"); +} +static void glad_gl_load_GL_VERSION_1_5( GLADuserptrloadfunc load, void* userptr) { + if(!GLAD_GL_VERSION_1_5) return; + glad_glBeginQuery = (PFNGLBEGINQUERYPROC) load(userptr, "glBeginQuery"); + glad_glBindBuffer = (PFNGLBINDBUFFERPROC) load(userptr, "glBindBuffer"); + glad_glBufferData = (PFNGLBUFFERDATAPROC) load(userptr, "glBufferData"); + glad_glBufferSubData = (PFNGLBUFFERSUBDATAPROC) load(userptr, "glBufferSubData"); + glad_glDeleteBuffers = (PFNGLDELETEBUFFERSPROC) load(userptr, "glDeleteBuffers"); + glad_glDeleteQueries = (PFNGLDELETEQUERIESPROC) load(userptr, "glDeleteQueries"); + glad_glEndQuery = (PFNGLENDQUERYPROC) load(userptr, "glEndQuery"); + glad_glGenBuffers = (PFNGLGENBUFFERSPROC) load(userptr, "glGenBuffers"); + glad_glGenQueries = (PFNGLGENQUERIESPROC) load(userptr, "glGenQueries"); + glad_glGetBufferParameteriv = (PFNGLGETBUFFERPARAMETERIVPROC) load(userptr, "glGetBufferParameteriv"); + glad_glGetBufferPointerv = (PFNGLGETBUFFERPOINTERVPROC) load(userptr, "glGetBufferPointerv"); + glad_glGetBufferSubData = (PFNGLGETBUFFERSUBDATAPROC) load(userptr, "glGetBufferSubData"); + glad_glGetQueryObjectiv = (PFNGLGETQUERYOBJECTIVPROC) load(userptr, "glGetQueryObjectiv"); + glad_glGetQueryObjectuiv = (PFNGLGETQUERYOBJECTUIVPROC) load(userptr, "glGetQueryObjectuiv"); + glad_glGetQueryiv = (PFNGLGETQUERYIVPROC) load(userptr, "glGetQueryiv"); + glad_glIsBuffer = (PFNGLISBUFFERPROC) load(userptr, "glIsBuffer"); + glad_glIsQuery = (PFNGLISQUERYPROC) load(userptr, "glIsQuery"); + glad_glMapBuffer = (PFNGLMAPBUFFERPROC) load(userptr, "glMapBuffer"); + glad_glUnmapBuffer = (PFNGLUNMAPBUFFERPROC) load(userptr, "glUnmapBuffer"); +} +static void glad_gl_load_GL_VERSION_2_0( GLADuserptrloadfunc load, void* userptr) { + if(!GLAD_GL_VERSION_2_0) return; + glad_glAttachShader = (PFNGLATTACHSHADERPROC) load(userptr, "glAttachShader"); + glad_glBindAttribLocation = (PFNGLBINDATTRIBLOCATIONPROC) load(userptr, "glBindAttribLocation"); + glad_glBlendEquationSeparate = (PFNGLBLENDEQUATIONSEPARATEPROC) load(userptr, "glBlendEquationSeparate"); + glad_glCompileShader = (PFNGLCOMPILESHADERPROC) load(userptr, "glCompileShader"); + glad_glCreateProgram = (PFNGLCREATEPROGRAMPROC) load(userptr, "glCreateProgram"); + glad_glCreateShader = (PFNGLCREATESHADERPROC) load(userptr, "glCreateShader"); + glad_glDeleteProgram = (PFNGLDELETEPROGRAMPROC) load(userptr, "glDeleteProgram"); + glad_glDeleteShader = (PFNGLDELETESHADERPROC) load(userptr, "glDeleteShader"); + glad_glDetachShader = (PFNGLDETACHSHADERPROC) load(userptr, "glDetachShader"); + glad_glDisableVertexAttribArray = (PFNGLDISABLEVERTEXATTRIBARRAYPROC) load(userptr, "glDisableVertexAttribArray"); + glad_glDrawBuffers = (PFNGLDRAWBUFFERSPROC) load(userptr, "glDrawBuffers"); + glad_glEnableVertexAttribArray = (PFNGLENABLEVERTEXATTRIBARRAYPROC) load(userptr, "glEnableVertexAttribArray"); + glad_glGetActiveAttrib = (PFNGLGETACTIVEATTRIBPROC) load(userptr, "glGetActiveAttrib"); + glad_glGetActiveUniform = (PFNGLGETACTIVEUNIFORMPROC) load(userptr, "glGetActiveUniform"); + glad_glGetAttachedShaders = (PFNGLGETATTACHEDSHADERSPROC) load(userptr, "glGetAttachedShaders"); + glad_glGetAttribLocation = (PFNGLGETATTRIBLOCATIONPROC) load(userptr, "glGetAttribLocation"); + glad_glGetProgramInfoLog = (PFNGLGETPROGRAMINFOLOGPROC) load(userptr, "glGetProgramInfoLog"); + glad_glGetProgramiv = (PFNGLGETPROGRAMIVPROC) load(userptr, "glGetProgramiv"); + glad_glGetShaderInfoLog = (PFNGLGETSHADERINFOLOGPROC) load(userptr, "glGetShaderInfoLog"); + glad_glGetShaderSource = (PFNGLGETSHADERSOURCEPROC) load(userptr, "glGetShaderSource"); + glad_glGetShaderiv = (PFNGLGETSHADERIVPROC) load(userptr, "glGetShaderiv"); + glad_glGetUniformLocation = (PFNGLGETUNIFORMLOCATIONPROC) load(userptr, "glGetUniformLocation"); + glad_glGetUniformfv = (PFNGLGETUNIFORMFVPROC) load(userptr, "glGetUniformfv"); + glad_glGetUniformiv = (PFNGLGETUNIFORMIVPROC) load(userptr, "glGetUniformiv"); + glad_glGetVertexAttribPointerv = (PFNGLGETVERTEXATTRIBPOINTERVPROC) load(userptr, "glGetVertexAttribPointerv"); + glad_glGetVertexAttribdv = (PFNGLGETVERTEXATTRIBDVPROC) load(userptr, "glGetVertexAttribdv"); + glad_glGetVertexAttribfv = (PFNGLGETVERTEXATTRIBFVPROC) load(userptr, "glGetVertexAttribfv"); + glad_glGetVertexAttribiv = (PFNGLGETVERTEXATTRIBIVPROC) load(userptr, "glGetVertexAttribiv"); + glad_glIsProgram = (PFNGLISPROGRAMPROC) load(userptr, "glIsProgram"); + glad_glIsShader = (PFNGLISSHADERPROC) load(userptr, "glIsShader"); + glad_glLinkProgram = (PFNGLLINKPROGRAMPROC) load(userptr, "glLinkProgram"); + glad_glShaderSource = (PFNGLSHADERSOURCEPROC) load(userptr, "glShaderSource"); + glad_glStencilFuncSeparate = (PFNGLSTENCILFUNCSEPARATEPROC) load(userptr, "glStencilFuncSeparate"); + glad_glStencilMaskSeparate = (PFNGLSTENCILMASKSEPARATEPROC) load(userptr, "glStencilMaskSeparate"); + glad_glStencilOpSeparate = (PFNGLSTENCILOPSEPARATEPROC) load(userptr, "glStencilOpSeparate"); + glad_glUniform1f = (PFNGLUNIFORM1FPROC) load(userptr, "glUniform1f"); + glad_glUniform1fv = (PFNGLUNIFORM1FVPROC) load(userptr, "glUniform1fv"); + glad_glUniform1i = (PFNGLUNIFORM1IPROC) load(userptr, "glUniform1i"); + glad_glUniform1iv = (PFNGLUNIFORM1IVPROC) load(userptr, "glUniform1iv"); + glad_glUniform2f = (PFNGLUNIFORM2FPROC) load(userptr, "glUniform2f"); + glad_glUniform2fv = (PFNGLUNIFORM2FVPROC) load(userptr, "glUniform2fv"); + glad_glUniform2i = (PFNGLUNIFORM2IPROC) load(userptr, "glUniform2i"); + glad_glUniform2iv = (PFNGLUNIFORM2IVPROC) load(userptr, "glUniform2iv"); + glad_glUniform3f = (PFNGLUNIFORM3FPROC) load(userptr, "glUniform3f"); + glad_glUniform3fv = (PFNGLUNIFORM3FVPROC) load(userptr, "glUniform3fv"); + glad_glUniform3i = (PFNGLUNIFORM3IPROC) load(userptr, "glUniform3i"); + glad_glUniform3iv = (PFNGLUNIFORM3IVPROC) load(userptr, "glUniform3iv"); + glad_glUniform4f = (PFNGLUNIFORM4FPROC) load(userptr, "glUniform4f"); + glad_glUniform4fv = (PFNGLUNIFORM4FVPROC) load(userptr, "glUniform4fv"); + glad_glUniform4i = (PFNGLUNIFORM4IPROC) load(userptr, "glUniform4i"); + glad_glUniform4iv = (PFNGLUNIFORM4IVPROC) load(userptr, "glUniform4iv"); + glad_glUniformMatrix2fv = (PFNGLUNIFORMMATRIX2FVPROC) load(userptr, "glUniformMatrix2fv"); + glad_glUniformMatrix3fv = (PFNGLUNIFORMMATRIX3FVPROC) load(userptr, "glUniformMatrix3fv"); + glad_glUniformMatrix4fv = (PFNGLUNIFORMMATRIX4FVPROC) load(userptr, "glUniformMatrix4fv"); + glad_glUseProgram = (PFNGLUSEPROGRAMPROC) load(userptr, "glUseProgram"); + glad_glValidateProgram = (PFNGLVALIDATEPROGRAMPROC) load(userptr, "glValidateProgram"); + glad_glVertexAttrib1d = (PFNGLVERTEXATTRIB1DPROC) load(userptr, "glVertexAttrib1d"); + glad_glVertexAttrib1dv = (PFNGLVERTEXATTRIB1DVPROC) load(userptr, "glVertexAttrib1dv"); + glad_glVertexAttrib1f = (PFNGLVERTEXATTRIB1FPROC) load(userptr, "glVertexAttrib1f"); + glad_glVertexAttrib1fv = (PFNGLVERTEXATTRIB1FVPROC) load(userptr, "glVertexAttrib1fv"); + glad_glVertexAttrib1s = (PFNGLVERTEXATTRIB1SPROC) load(userptr, "glVertexAttrib1s"); + glad_glVertexAttrib1sv = (PFNGLVERTEXATTRIB1SVPROC) load(userptr, "glVertexAttrib1sv"); + glad_glVertexAttrib2d = (PFNGLVERTEXATTRIB2DPROC) load(userptr, "glVertexAttrib2d"); + glad_glVertexAttrib2dv = (PFNGLVERTEXATTRIB2DVPROC) load(userptr, "glVertexAttrib2dv"); + glad_glVertexAttrib2f = (PFNGLVERTEXATTRIB2FPROC) load(userptr, "glVertexAttrib2f"); + glad_glVertexAttrib2fv = (PFNGLVERTEXATTRIB2FVPROC) load(userptr, "glVertexAttrib2fv"); + glad_glVertexAttrib2s = (PFNGLVERTEXATTRIB2SPROC) load(userptr, "glVertexAttrib2s"); + glad_glVertexAttrib2sv = (PFNGLVERTEXATTRIB2SVPROC) load(userptr, "glVertexAttrib2sv"); + glad_glVertexAttrib3d = (PFNGLVERTEXATTRIB3DPROC) load(userptr, "glVertexAttrib3d"); + glad_glVertexAttrib3dv = (PFNGLVERTEXATTRIB3DVPROC) load(userptr, "glVertexAttrib3dv"); + glad_glVertexAttrib3f = (PFNGLVERTEXATTRIB3FPROC) load(userptr, "glVertexAttrib3f"); + glad_glVertexAttrib3fv = (PFNGLVERTEXATTRIB3FVPROC) load(userptr, "glVertexAttrib3fv"); + glad_glVertexAttrib3s = (PFNGLVERTEXATTRIB3SPROC) load(userptr, "glVertexAttrib3s"); + glad_glVertexAttrib3sv = (PFNGLVERTEXATTRIB3SVPROC) load(userptr, "glVertexAttrib3sv"); + glad_glVertexAttrib4Nbv = (PFNGLVERTEXATTRIB4NBVPROC) load(userptr, "glVertexAttrib4Nbv"); + glad_glVertexAttrib4Niv = (PFNGLVERTEXATTRIB4NIVPROC) load(userptr, "glVertexAttrib4Niv"); + glad_glVertexAttrib4Nsv = (PFNGLVERTEXATTRIB4NSVPROC) load(userptr, "glVertexAttrib4Nsv"); + glad_glVertexAttrib4Nub = (PFNGLVERTEXATTRIB4NUBPROC) load(userptr, "glVertexAttrib4Nub"); + glad_glVertexAttrib4Nubv = (PFNGLVERTEXATTRIB4NUBVPROC) load(userptr, "glVertexAttrib4Nubv"); + glad_glVertexAttrib4Nuiv = (PFNGLVERTEXATTRIB4NUIVPROC) load(userptr, "glVertexAttrib4Nuiv"); + glad_glVertexAttrib4Nusv = (PFNGLVERTEXATTRIB4NUSVPROC) load(userptr, "glVertexAttrib4Nusv"); + glad_glVertexAttrib4bv = (PFNGLVERTEXATTRIB4BVPROC) load(userptr, "glVertexAttrib4bv"); + glad_glVertexAttrib4d = (PFNGLVERTEXATTRIB4DPROC) load(userptr, "glVertexAttrib4d"); + glad_glVertexAttrib4dv = (PFNGLVERTEXATTRIB4DVPROC) load(userptr, "glVertexAttrib4dv"); + glad_glVertexAttrib4f = (PFNGLVERTEXATTRIB4FPROC) load(userptr, "glVertexAttrib4f"); + glad_glVertexAttrib4fv = (PFNGLVERTEXATTRIB4FVPROC) load(userptr, "glVertexAttrib4fv"); + glad_glVertexAttrib4iv = (PFNGLVERTEXATTRIB4IVPROC) load(userptr, "glVertexAttrib4iv"); + glad_glVertexAttrib4s = (PFNGLVERTEXATTRIB4SPROC) load(userptr, "glVertexAttrib4s"); + glad_glVertexAttrib4sv = (PFNGLVERTEXATTRIB4SVPROC) load(userptr, "glVertexAttrib4sv"); + glad_glVertexAttrib4ubv = (PFNGLVERTEXATTRIB4UBVPROC) load(userptr, "glVertexAttrib4ubv"); + glad_glVertexAttrib4uiv = (PFNGLVERTEXATTRIB4UIVPROC) load(userptr, "glVertexAttrib4uiv"); + glad_glVertexAttrib4usv = (PFNGLVERTEXATTRIB4USVPROC) load(userptr, "glVertexAttrib4usv"); + glad_glVertexAttribPointer = (PFNGLVERTEXATTRIBPOINTERPROC) load(userptr, "glVertexAttribPointer"); +} +static void glad_gl_load_GL_VERSION_2_1( GLADuserptrloadfunc load, void* userptr) { + if(!GLAD_GL_VERSION_2_1) return; + glad_glUniformMatrix2x3fv = (PFNGLUNIFORMMATRIX2X3FVPROC) load(userptr, "glUniformMatrix2x3fv"); + glad_glUniformMatrix2x4fv = (PFNGLUNIFORMMATRIX2X4FVPROC) load(userptr, "glUniformMatrix2x4fv"); + glad_glUniformMatrix3x2fv = (PFNGLUNIFORMMATRIX3X2FVPROC) load(userptr, "glUniformMatrix3x2fv"); + glad_glUniformMatrix3x4fv = (PFNGLUNIFORMMATRIX3X4FVPROC) load(userptr, "glUniformMatrix3x4fv"); + glad_glUniformMatrix4x2fv = (PFNGLUNIFORMMATRIX4X2FVPROC) load(userptr, "glUniformMatrix4x2fv"); + glad_glUniformMatrix4x3fv = (PFNGLUNIFORMMATRIX4X3FVPROC) load(userptr, "glUniformMatrix4x3fv"); +} +static void glad_gl_load_GL_VERSION_3_0( GLADuserptrloadfunc load, void* userptr) { + if(!GLAD_GL_VERSION_3_0) return; + glad_glBeginConditionalRender = (PFNGLBEGINCONDITIONALRENDERPROC) load(userptr, "glBeginConditionalRender"); + glad_glBeginTransformFeedback = (PFNGLBEGINTRANSFORMFEEDBACKPROC) load(userptr, "glBeginTransformFeedback"); + glad_glBindBufferBase = (PFNGLBINDBUFFERBASEPROC) load(userptr, "glBindBufferBase"); + glad_glBindBufferRange = (PFNGLBINDBUFFERRANGEPROC) load(userptr, "glBindBufferRange"); + glad_glBindFragDataLocation = (PFNGLBINDFRAGDATALOCATIONPROC) load(userptr, "glBindFragDataLocation"); + glad_glBindFramebuffer = (PFNGLBINDFRAMEBUFFERPROC) load(userptr, "glBindFramebuffer"); + glad_glBindRenderbuffer = (PFNGLBINDRENDERBUFFERPROC) load(userptr, "glBindRenderbuffer"); + glad_glBindVertexArray = (PFNGLBINDVERTEXARRAYPROC) load(userptr, "glBindVertexArray"); + glad_glBlitFramebuffer = (PFNGLBLITFRAMEBUFFERPROC) load(userptr, "glBlitFramebuffer"); + glad_glCheckFramebufferStatus = (PFNGLCHECKFRAMEBUFFERSTATUSPROC) load(userptr, "glCheckFramebufferStatus"); + glad_glClampColor = (PFNGLCLAMPCOLORPROC) load(userptr, "glClampColor"); + glad_glClearBufferfi = (PFNGLCLEARBUFFERFIPROC) load(userptr, "glClearBufferfi"); + glad_glClearBufferfv = (PFNGLCLEARBUFFERFVPROC) load(userptr, "glClearBufferfv"); + glad_glClearBufferiv = (PFNGLCLEARBUFFERIVPROC) load(userptr, "glClearBufferiv"); + glad_glClearBufferuiv = (PFNGLCLEARBUFFERUIVPROC) load(userptr, "glClearBufferuiv"); + glad_glColorMaski = (PFNGLCOLORMASKIPROC) load(userptr, "glColorMaski"); + glad_glDeleteFramebuffers = (PFNGLDELETEFRAMEBUFFERSPROC) load(userptr, "glDeleteFramebuffers"); + glad_glDeleteRenderbuffers = (PFNGLDELETERENDERBUFFERSPROC) load(userptr, "glDeleteRenderbuffers"); + glad_glDeleteVertexArrays = (PFNGLDELETEVERTEXARRAYSPROC) load(userptr, "glDeleteVertexArrays"); + glad_glDisablei = (PFNGLDISABLEIPROC) load(userptr, "glDisablei"); + glad_glEnablei = (PFNGLENABLEIPROC) load(userptr, "glEnablei"); + glad_glEndConditionalRender = (PFNGLENDCONDITIONALRENDERPROC) load(userptr, "glEndConditionalRender"); + glad_glEndTransformFeedback = (PFNGLENDTRANSFORMFEEDBACKPROC) load(userptr, "glEndTransformFeedback"); + glad_glFlushMappedBufferRange = (PFNGLFLUSHMAPPEDBUFFERRANGEPROC) load(userptr, "glFlushMappedBufferRange"); + glad_glFramebufferRenderbuffer = (PFNGLFRAMEBUFFERRENDERBUFFERPROC) load(userptr, "glFramebufferRenderbuffer"); + glad_glFramebufferTexture1D = (PFNGLFRAMEBUFFERTEXTURE1DPROC) load(userptr, "glFramebufferTexture1D"); + glad_glFramebufferTexture2D = (PFNGLFRAMEBUFFERTEXTURE2DPROC) load(userptr, "glFramebufferTexture2D"); + glad_glFramebufferTexture3D = (PFNGLFRAMEBUFFERTEXTURE3DPROC) load(userptr, "glFramebufferTexture3D"); + glad_glFramebufferTextureLayer = (PFNGLFRAMEBUFFERTEXTURELAYERPROC) load(userptr, "glFramebufferTextureLayer"); + glad_glGenFramebuffers = (PFNGLGENFRAMEBUFFERSPROC) load(userptr, "glGenFramebuffers"); + glad_glGenRenderbuffers = (PFNGLGENRENDERBUFFERSPROC) load(userptr, "glGenRenderbuffers"); + glad_glGenVertexArrays = (PFNGLGENVERTEXARRAYSPROC) load(userptr, "glGenVertexArrays"); + glad_glGenerateMipmap = (PFNGLGENERATEMIPMAPPROC) load(userptr, "glGenerateMipmap"); + glad_glGetBooleani_v = (PFNGLGETBOOLEANI_VPROC) load(userptr, "glGetBooleani_v"); + glad_glGetFragDataLocation = (PFNGLGETFRAGDATALOCATIONPROC) load(userptr, "glGetFragDataLocation"); + glad_glGetFramebufferAttachmentParameteriv = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) load(userptr, "glGetFramebufferAttachmentParameteriv"); + glad_glGetIntegeri_v = (PFNGLGETINTEGERI_VPROC) load(userptr, "glGetIntegeri_v"); + glad_glGetRenderbufferParameteriv = (PFNGLGETRENDERBUFFERPARAMETERIVPROC) load(userptr, "glGetRenderbufferParameteriv"); + glad_glGetStringi = (PFNGLGETSTRINGIPROC) load(userptr, "glGetStringi"); + glad_glGetTexParameterIiv = (PFNGLGETTEXPARAMETERIIVPROC) load(userptr, "glGetTexParameterIiv"); + glad_glGetTexParameterIuiv = (PFNGLGETTEXPARAMETERIUIVPROC) load(userptr, "glGetTexParameterIuiv"); + glad_glGetTransformFeedbackVarying = (PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) load(userptr, "glGetTransformFeedbackVarying"); + glad_glGetUniformuiv = (PFNGLGETUNIFORMUIVPROC) load(userptr, "glGetUniformuiv"); + glad_glGetVertexAttribIiv = (PFNGLGETVERTEXATTRIBIIVPROC) load(userptr, "glGetVertexAttribIiv"); + glad_glGetVertexAttribIuiv = (PFNGLGETVERTEXATTRIBIUIVPROC) load(userptr, "glGetVertexAttribIuiv"); + glad_glIsEnabledi = (PFNGLISENABLEDIPROC) load(userptr, "glIsEnabledi"); + glad_glIsFramebuffer = (PFNGLISFRAMEBUFFERPROC) load(userptr, "glIsFramebuffer"); + glad_glIsRenderbuffer = (PFNGLISRENDERBUFFERPROC) load(userptr, "glIsRenderbuffer"); + glad_glIsVertexArray = (PFNGLISVERTEXARRAYPROC) load(userptr, "glIsVertexArray"); + glad_glMapBufferRange = (PFNGLMAPBUFFERRANGEPROC) load(userptr, "glMapBufferRange"); + glad_glRenderbufferStorage = (PFNGLRENDERBUFFERSTORAGEPROC) load(userptr, "glRenderbufferStorage"); + glad_glRenderbufferStorageMultisample = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) load(userptr, "glRenderbufferStorageMultisample"); + glad_glTexParameterIiv = (PFNGLTEXPARAMETERIIVPROC) load(userptr, "glTexParameterIiv"); + glad_glTexParameterIuiv = (PFNGLTEXPARAMETERIUIVPROC) load(userptr, "glTexParameterIuiv"); + glad_glTransformFeedbackVaryings = (PFNGLTRANSFORMFEEDBACKVARYINGSPROC) load(userptr, "glTransformFeedbackVaryings"); + glad_glUniform1ui = (PFNGLUNIFORM1UIPROC) load(userptr, "glUniform1ui"); + glad_glUniform1uiv = (PFNGLUNIFORM1UIVPROC) load(userptr, "glUniform1uiv"); + glad_glUniform2ui = (PFNGLUNIFORM2UIPROC) load(userptr, "glUniform2ui"); + glad_glUniform2uiv = (PFNGLUNIFORM2UIVPROC) load(userptr, "glUniform2uiv"); + glad_glUniform3ui = (PFNGLUNIFORM3UIPROC) load(userptr, "glUniform3ui"); + glad_glUniform3uiv = (PFNGLUNIFORM3UIVPROC) load(userptr, "glUniform3uiv"); + glad_glUniform4ui = (PFNGLUNIFORM4UIPROC) load(userptr, "glUniform4ui"); + glad_glUniform4uiv = (PFNGLUNIFORM4UIVPROC) load(userptr, "glUniform4uiv"); + glad_glVertexAttribI1i = (PFNGLVERTEXATTRIBI1IPROC) load(userptr, "glVertexAttribI1i"); + glad_glVertexAttribI1iv = (PFNGLVERTEXATTRIBI1IVPROC) load(userptr, "glVertexAttribI1iv"); + glad_glVertexAttribI1ui = (PFNGLVERTEXATTRIBI1UIPROC) load(userptr, "glVertexAttribI1ui"); + glad_glVertexAttribI1uiv = (PFNGLVERTEXATTRIBI1UIVPROC) load(userptr, "glVertexAttribI1uiv"); + glad_glVertexAttribI2i = (PFNGLVERTEXATTRIBI2IPROC) load(userptr, "glVertexAttribI2i"); + glad_glVertexAttribI2iv = (PFNGLVERTEXATTRIBI2IVPROC) load(userptr, "glVertexAttribI2iv"); + glad_glVertexAttribI2ui = (PFNGLVERTEXATTRIBI2UIPROC) load(userptr, "glVertexAttribI2ui"); + glad_glVertexAttribI2uiv = (PFNGLVERTEXATTRIBI2UIVPROC) load(userptr, "glVertexAttribI2uiv"); + glad_glVertexAttribI3i = (PFNGLVERTEXATTRIBI3IPROC) load(userptr, "glVertexAttribI3i"); + glad_glVertexAttribI3iv = (PFNGLVERTEXATTRIBI3IVPROC) load(userptr, "glVertexAttribI3iv"); + glad_glVertexAttribI3ui = (PFNGLVERTEXATTRIBI3UIPROC) load(userptr, "glVertexAttribI3ui"); + glad_glVertexAttribI3uiv = (PFNGLVERTEXATTRIBI3UIVPROC) load(userptr, "glVertexAttribI3uiv"); + glad_glVertexAttribI4bv = (PFNGLVERTEXATTRIBI4BVPROC) load(userptr, "glVertexAttribI4bv"); + glad_glVertexAttribI4i = (PFNGLVERTEXATTRIBI4IPROC) load(userptr, "glVertexAttribI4i"); + glad_glVertexAttribI4iv = (PFNGLVERTEXATTRIBI4IVPROC) load(userptr, "glVertexAttribI4iv"); + glad_glVertexAttribI4sv = (PFNGLVERTEXATTRIBI4SVPROC) load(userptr, "glVertexAttribI4sv"); + glad_glVertexAttribI4ubv = (PFNGLVERTEXATTRIBI4UBVPROC) load(userptr, "glVertexAttribI4ubv"); + glad_glVertexAttribI4ui = (PFNGLVERTEXATTRIBI4UIPROC) load(userptr, "glVertexAttribI4ui"); + glad_glVertexAttribI4uiv = (PFNGLVERTEXATTRIBI4UIVPROC) load(userptr, "glVertexAttribI4uiv"); + glad_glVertexAttribI4usv = (PFNGLVERTEXATTRIBI4USVPROC) load(userptr, "glVertexAttribI4usv"); + glad_glVertexAttribIPointer = (PFNGLVERTEXATTRIBIPOINTERPROC) load(userptr, "glVertexAttribIPointer"); +} +static void glad_gl_load_GL_VERSION_3_1( GLADuserptrloadfunc load, void* userptr) { + if(!GLAD_GL_VERSION_3_1) return; + glad_glBindBufferBase = (PFNGLBINDBUFFERBASEPROC) load(userptr, "glBindBufferBase"); + glad_glBindBufferRange = (PFNGLBINDBUFFERRANGEPROC) load(userptr, "glBindBufferRange"); + glad_glCopyBufferSubData = (PFNGLCOPYBUFFERSUBDATAPROC) load(userptr, "glCopyBufferSubData"); + glad_glDrawArraysInstanced = (PFNGLDRAWARRAYSINSTANCEDPROC) load(userptr, "glDrawArraysInstanced"); + glad_glDrawElementsInstanced = (PFNGLDRAWELEMENTSINSTANCEDPROC) load(userptr, "glDrawElementsInstanced"); + glad_glGetActiveUniformBlockName = (PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) load(userptr, "glGetActiveUniformBlockName"); + glad_glGetActiveUniformBlockiv = (PFNGLGETACTIVEUNIFORMBLOCKIVPROC) load(userptr, "glGetActiveUniformBlockiv"); + glad_glGetActiveUniformName = (PFNGLGETACTIVEUNIFORMNAMEPROC) load(userptr, "glGetActiveUniformName"); + glad_glGetActiveUniformsiv = (PFNGLGETACTIVEUNIFORMSIVPROC) load(userptr, "glGetActiveUniformsiv"); + glad_glGetIntegeri_v = (PFNGLGETINTEGERI_VPROC) load(userptr, "glGetIntegeri_v"); + glad_glGetUniformBlockIndex = (PFNGLGETUNIFORMBLOCKINDEXPROC) load(userptr, "glGetUniformBlockIndex"); + glad_glGetUniformIndices = (PFNGLGETUNIFORMINDICESPROC) load(userptr, "glGetUniformIndices"); + glad_glPrimitiveRestartIndex = (PFNGLPRIMITIVERESTARTINDEXPROC) load(userptr, "glPrimitiveRestartIndex"); + glad_glTexBuffer = (PFNGLTEXBUFFERPROC) load(userptr, "glTexBuffer"); + glad_glUniformBlockBinding = (PFNGLUNIFORMBLOCKBINDINGPROC) load(userptr, "glUniformBlockBinding"); +} +static void glad_gl_load_GL_VERSION_3_2( GLADuserptrloadfunc load, void* userptr) { + if(!GLAD_GL_VERSION_3_2) return; + glad_glClientWaitSync = (PFNGLCLIENTWAITSYNCPROC) load(userptr, "glClientWaitSync"); + glad_glDeleteSync = (PFNGLDELETESYNCPROC) load(userptr, "glDeleteSync"); + glad_glDrawElementsBaseVertex = (PFNGLDRAWELEMENTSBASEVERTEXPROC) load(userptr, "glDrawElementsBaseVertex"); + glad_glDrawElementsInstancedBaseVertex = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC) load(userptr, "glDrawElementsInstancedBaseVertex"); + glad_glDrawRangeElementsBaseVertex = (PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC) load(userptr, "glDrawRangeElementsBaseVertex"); + glad_glFenceSync = (PFNGLFENCESYNCPROC) load(userptr, "glFenceSync"); + glad_glFramebufferTexture = (PFNGLFRAMEBUFFERTEXTUREPROC) load(userptr, "glFramebufferTexture"); + glad_glGetBufferParameteri64v = (PFNGLGETBUFFERPARAMETERI64VPROC) load(userptr, "glGetBufferParameteri64v"); + glad_glGetInteger64i_v = (PFNGLGETINTEGER64I_VPROC) load(userptr, "glGetInteger64i_v"); + glad_glGetInteger64v = (PFNGLGETINTEGER64VPROC) load(userptr, "glGetInteger64v"); + glad_glGetMultisamplefv = (PFNGLGETMULTISAMPLEFVPROC) load(userptr, "glGetMultisamplefv"); + glad_glGetSynciv = (PFNGLGETSYNCIVPROC) load(userptr, "glGetSynciv"); + glad_glIsSync = (PFNGLISSYNCPROC) load(userptr, "glIsSync"); + glad_glMultiDrawElementsBaseVertex = (PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC) load(userptr, "glMultiDrawElementsBaseVertex"); + glad_glProvokingVertex = (PFNGLPROVOKINGVERTEXPROC) load(userptr, "glProvokingVertex"); + glad_glSampleMaski = (PFNGLSAMPLEMASKIPROC) load(userptr, "glSampleMaski"); + glad_glTexImage2DMultisample = (PFNGLTEXIMAGE2DMULTISAMPLEPROC) load(userptr, "glTexImage2DMultisample"); + glad_glTexImage3DMultisample = (PFNGLTEXIMAGE3DMULTISAMPLEPROC) load(userptr, "glTexImage3DMultisample"); + glad_glWaitSync = (PFNGLWAITSYNCPROC) load(userptr, "glWaitSync"); +} +static void glad_gl_load_GL_VERSION_3_3( GLADuserptrloadfunc load, void* userptr) { + if(!GLAD_GL_VERSION_3_3) return; + glad_glBindFragDataLocationIndexed = (PFNGLBINDFRAGDATALOCATIONINDEXEDPROC) load(userptr, "glBindFragDataLocationIndexed"); + glad_glBindSampler = (PFNGLBINDSAMPLERPROC) load(userptr, "glBindSampler"); + glad_glColorP3ui = (PFNGLCOLORP3UIPROC) load(userptr, "glColorP3ui"); + glad_glColorP3uiv = (PFNGLCOLORP3UIVPROC) load(userptr, "glColorP3uiv"); + glad_glColorP4ui = (PFNGLCOLORP4UIPROC) load(userptr, "glColorP4ui"); + glad_glColorP4uiv = (PFNGLCOLORP4UIVPROC) load(userptr, "glColorP4uiv"); + glad_glDeleteSamplers = (PFNGLDELETESAMPLERSPROC) load(userptr, "glDeleteSamplers"); + glad_glGenSamplers = (PFNGLGENSAMPLERSPROC) load(userptr, "glGenSamplers"); + glad_glGetFragDataIndex = (PFNGLGETFRAGDATAINDEXPROC) load(userptr, "glGetFragDataIndex"); + glad_glGetQueryObjecti64v = (PFNGLGETQUERYOBJECTI64VPROC) load(userptr, "glGetQueryObjecti64v"); + glad_glGetQueryObjectui64v = (PFNGLGETQUERYOBJECTUI64VPROC) load(userptr, "glGetQueryObjectui64v"); + glad_glGetSamplerParameterIiv = (PFNGLGETSAMPLERPARAMETERIIVPROC) load(userptr, "glGetSamplerParameterIiv"); + glad_glGetSamplerParameterIuiv = (PFNGLGETSAMPLERPARAMETERIUIVPROC) load(userptr, "glGetSamplerParameterIuiv"); + glad_glGetSamplerParameterfv = (PFNGLGETSAMPLERPARAMETERFVPROC) load(userptr, "glGetSamplerParameterfv"); + glad_glGetSamplerParameteriv = (PFNGLGETSAMPLERPARAMETERIVPROC) load(userptr, "glGetSamplerParameteriv"); + glad_glIsSampler = (PFNGLISSAMPLERPROC) load(userptr, "glIsSampler"); + glad_glMultiTexCoordP1ui = (PFNGLMULTITEXCOORDP1UIPROC) load(userptr, "glMultiTexCoordP1ui"); + glad_glMultiTexCoordP1uiv = (PFNGLMULTITEXCOORDP1UIVPROC) load(userptr, "glMultiTexCoordP1uiv"); + glad_glMultiTexCoordP2ui = (PFNGLMULTITEXCOORDP2UIPROC) load(userptr, "glMultiTexCoordP2ui"); + glad_glMultiTexCoordP2uiv = (PFNGLMULTITEXCOORDP2UIVPROC) load(userptr, "glMultiTexCoordP2uiv"); + glad_glMultiTexCoordP3ui = (PFNGLMULTITEXCOORDP3UIPROC) load(userptr, "glMultiTexCoordP3ui"); + glad_glMultiTexCoordP3uiv = (PFNGLMULTITEXCOORDP3UIVPROC) load(userptr, "glMultiTexCoordP3uiv"); + glad_glMultiTexCoordP4ui = (PFNGLMULTITEXCOORDP4UIPROC) load(userptr, "glMultiTexCoordP4ui"); + glad_glMultiTexCoordP4uiv = (PFNGLMULTITEXCOORDP4UIVPROC) load(userptr, "glMultiTexCoordP4uiv"); + glad_glNormalP3ui = (PFNGLNORMALP3UIPROC) load(userptr, "glNormalP3ui"); + glad_glNormalP3uiv = (PFNGLNORMALP3UIVPROC) load(userptr, "glNormalP3uiv"); + glad_glQueryCounter = (PFNGLQUERYCOUNTERPROC) load(userptr, "glQueryCounter"); + glad_glSamplerParameterIiv = (PFNGLSAMPLERPARAMETERIIVPROC) load(userptr, "glSamplerParameterIiv"); + glad_glSamplerParameterIuiv = (PFNGLSAMPLERPARAMETERIUIVPROC) load(userptr, "glSamplerParameterIuiv"); + glad_glSamplerParameterf = (PFNGLSAMPLERPARAMETERFPROC) load(userptr, "glSamplerParameterf"); + glad_glSamplerParameterfv = (PFNGLSAMPLERPARAMETERFVPROC) load(userptr, "glSamplerParameterfv"); + glad_glSamplerParameteri = (PFNGLSAMPLERPARAMETERIPROC) load(userptr, "glSamplerParameteri"); + glad_glSamplerParameteriv = (PFNGLSAMPLERPARAMETERIVPROC) load(userptr, "glSamplerParameteriv"); + glad_glSecondaryColorP3ui = (PFNGLSECONDARYCOLORP3UIPROC) load(userptr, "glSecondaryColorP3ui"); + glad_glSecondaryColorP3uiv = (PFNGLSECONDARYCOLORP3UIVPROC) load(userptr, "glSecondaryColorP3uiv"); + glad_glTexCoordP1ui = (PFNGLTEXCOORDP1UIPROC) load(userptr, "glTexCoordP1ui"); + glad_glTexCoordP1uiv = (PFNGLTEXCOORDP1UIVPROC) load(userptr, "glTexCoordP1uiv"); + glad_glTexCoordP2ui = (PFNGLTEXCOORDP2UIPROC) load(userptr, "glTexCoordP2ui"); + glad_glTexCoordP2uiv = (PFNGLTEXCOORDP2UIVPROC) load(userptr, "glTexCoordP2uiv"); + glad_glTexCoordP3ui = (PFNGLTEXCOORDP3UIPROC) load(userptr, "glTexCoordP3ui"); + glad_glTexCoordP3uiv = (PFNGLTEXCOORDP3UIVPROC) load(userptr, "glTexCoordP3uiv"); + glad_glTexCoordP4ui = (PFNGLTEXCOORDP4UIPROC) load(userptr, "glTexCoordP4ui"); + glad_glTexCoordP4uiv = (PFNGLTEXCOORDP4UIVPROC) load(userptr, "glTexCoordP4uiv"); + glad_glVertexAttribDivisor = (PFNGLVERTEXATTRIBDIVISORPROC) load(userptr, "glVertexAttribDivisor"); + glad_glVertexAttribP1ui = (PFNGLVERTEXATTRIBP1UIPROC) load(userptr, "glVertexAttribP1ui"); + glad_glVertexAttribP1uiv = (PFNGLVERTEXATTRIBP1UIVPROC) load(userptr, "glVertexAttribP1uiv"); + glad_glVertexAttribP2ui = (PFNGLVERTEXATTRIBP2UIPROC) load(userptr, "glVertexAttribP2ui"); + glad_glVertexAttribP2uiv = (PFNGLVERTEXATTRIBP2UIVPROC) load(userptr, "glVertexAttribP2uiv"); + glad_glVertexAttribP3ui = (PFNGLVERTEXATTRIBP3UIPROC) load(userptr, "glVertexAttribP3ui"); + glad_glVertexAttribP3uiv = (PFNGLVERTEXATTRIBP3UIVPROC) load(userptr, "glVertexAttribP3uiv"); + glad_glVertexAttribP4ui = (PFNGLVERTEXATTRIBP4UIPROC) load(userptr, "glVertexAttribP4ui"); + glad_glVertexAttribP4uiv = (PFNGLVERTEXATTRIBP4UIVPROC) load(userptr, "glVertexAttribP4uiv"); + glad_glVertexP2ui = (PFNGLVERTEXP2UIPROC) load(userptr, "glVertexP2ui"); + glad_glVertexP2uiv = (PFNGLVERTEXP2UIVPROC) load(userptr, "glVertexP2uiv"); + glad_glVertexP3ui = (PFNGLVERTEXP3UIPROC) load(userptr, "glVertexP3ui"); + glad_glVertexP3uiv = (PFNGLVERTEXP3UIVPROC) load(userptr, "glVertexP3uiv"); + glad_glVertexP4ui = (PFNGLVERTEXP4UIPROC) load(userptr, "glVertexP4ui"); + glad_glVertexP4uiv = (PFNGLVERTEXP4UIVPROC) load(userptr, "glVertexP4uiv"); +} + + + +#if defined(GL_ES_VERSION_3_0) || defined(GL_VERSION_3_0) +#define GLAD_GL_IS_SOME_NEW_VERSION 1 +#else +#define GLAD_GL_IS_SOME_NEW_VERSION 0 +#endif + +static int glad_gl_get_extensions( int version, const char **out_exts, unsigned int *out_num_exts_i, char ***out_exts_i) { +#if GLAD_GL_IS_SOME_NEW_VERSION + if(GLAD_VERSION_MAJOR(version) < 3) { +#else + GLAD_UNUSED(version); + GLAD_UNUSED(out_num_exts_i); + GLAD_UNUSED(out_exts_i); +#endif + if (glad_glGetString == NULL) { + return 0; + } + *out_exts = (const char *)glad_glGetString(GL_EXTENSIONS); +#if GLAD_GL_IS_SOME_NEW_VERSION + } else { + unsigned int index = 0; + unsigned int num_exts_i = 0; + char **exts_i = NULL; + if (glad_glGetStringi == NULL || glad_glGetIntegerv == NULL) { + return 0; + } + glad_glGetIntegerv(GL_NUM_EXTENSIONS, (int*) &num_exts_i); + if (num_exts_i > 0) { + exts_i = (char **) malloc(num_exts_i * (sizeof *exts_i)); + } + if (exts_i == NULL) { + return 0; + } + for(index = 0; index < num_exts_i; index++) { + const char *gl_str_tmp = (const char*) glad_glGetStringi(GL_EXTENSIONS, index); + size_t len = strlen(gl_str_tmp) + 1; + + char *local_str = (char*) malloc(len * sizeof(char)); + if(local_str != NULL) { + memcpy(local_str, gl_str_tmp, len * sizeof(char)); + } + + exts_i[index] = local_str; + } + + *out_num_exts_i = num_exts_i; + *out_exts_i = exts_i; + } +#endif + return 1; +} +static void glad_gl_free_extensions(char **exts_i, unsigned int num_exts_i) { + if (exts_i != NULL) { + unsigned int index; + for(index = 0; index < num_exts_i; index++) { + free((void *) (exts_i[index])); + } + free((void *)exts_i); + exts_i = NULL; + } +} +static int glad_gl_has_extension(int version, const char *exts, unsigned int num_exts_i, char **exts_i, const char *ext) { + if(GLAD_VERSION_MAJOR(version) < 3 || !GLAD_GL_IS_SOME_NEW_VERSION) { + const char *extensions; + const char *loc; + const char *terminator; + extensions = exts; + if(extensions == NULL || ext == NULL) { + return 0; + } + while(1) { + loc = strstr(extensions, ext); + if(loc == NULL) { + return 0; + } + terminator = loc + strlen(ext); + if((loc == extensions || *(loc - 1) == ' ') && + (*terminator == ' ' || *terminator == '\0')) { + return 1; + } + extensions = terminator; + } + } else { + unsigned int index; + for(index = 0; index < num_exts_i; index++) { + const char *e = exts_i[index]; + if(strcmp(e, ext) == 0) { + return 1; + } + } + } + return 0; +} + +static GLADapiproc glad_gl_get_proc_from_userptr(void *userptr, const char* name) { + return (GLAD_GNUC_EXTENSION (GLADapiproc (*)(const char *name)) userptr)(name); +} + +static int glad_gl_find_extensions_gl( int version) { + const char *exts = NULL; + unsigned int num_exts_i = 0; + char **exts_i = NULL; + if (!glad_gl_get_extensions(version, &exts, &num_exts_i, &exts_i)) return 0; -static void find_coreGL(void) { + GLAD_UNUSED(glad_gl_has_extension); - /* Thank you @elmindreda - * https://github.com/elmindreda/greg/blob/master/templates/greg.c.in#L176 - * https://github.com/glfw/glfw/blob/master/src/context.c#L36 - */ - int i, major, minor; + glad_gl_free_extensions(exts_i, num_exts_i); + return 1; +} + +static int glad_gl_find_core_gl(void) { + int i; const char* version; const char* prefixes[] = { "OpenGL ES-CM ", "OpenGL ES-CL ", "OpenGL ES ", + "OpenGL SC ", NULL }; - - version = (const char*) glGetString(GL_VERSION); - if (!version) return; - + int major = 0; + int minor = 0; + version = (const char*) glad_glGetString(GL_VERSION); + if (!version) return 0; for (i = 0; prefixes[i]; i++) { const size_t length = strlen(prefixes[i]); if (strncmp(version, prefixes[i], length) == 0) { @@ -1088,53 +6799,1515 @@ static void find_coreGL(void) { } } -/* PR #18 */ -#ifdef _MSC_VER - sscanf_s(version, "%d.%d", &major, &minor); -#else - sscanf(version, "%d.%d", &major, &minor); -#endif + GLAD_IMPL_UTIL_SSCANF(version, "%d.%d", &major, &minor); + + GLAD_GL_VERSION_1_0 = (major == 1 && minor >= 0) || major > 1; + GLAD_GL_VERSION_1_1 = (major == 1 && minor >= 1) || major > 1; + GLAD_GL_VERSION_1_2 = (major == 1 && minor >= 2) || major > 1; + GLAD_GL_VERSION_1_3 = (major == 1 && minor >= 3) || major > 1; + GLAD_GL_VERSION_1_4 = (major == 1 && minor >= 4) || major > 1; + GLAD_GL_VERSION_1_5 = (major == 1 && minor >= 5) || major > 1; + GLAD_GL_VERSION_2_0 = (major == 2 && minor >= 0) || major > 2; + GLAD_GL_VERSION_2_1 = (major == 2 && minor >= 1) || major > 2; + GLAD_GL_VERSION_3_0 = (major == 3 && minor >= 0) || major > 3; + GLAD_GL_VERSION_3_1 = (major == 3 && minor >= 1) || major > 3; + GLAD_GL_VERSION_3_2 = (major == 3 && minor >= 2) || major > 3; + GLAD_GL_VERSION_3_3 = (major == 3 && minor >= 3) || major > 3; + + return GLAD_MAKE_VERSION(major, minor); +} - GLVersion.major = major; GLVersion.minor = minor; - max_loaded_major = major; max_loaded_minor = minor; - GLAD_GL_VERSION_1_0 = (major == 1 && minor >= 0) || major > 1; - GLAD_GL_VERSION_1_1 = (major == 1 && minor >= 1) || major > 1; - GLAD_GL_VERSION_1_2 = (major == 1 && minor >= 2) || major > 1; - GLAD_GL_VERSION_1_3 = (major == 1 && minor >= 3) || major > 1; - GLAD_GL_VERSION_1_4 = (major == 1 && minor >= 4) || major > 1; - GLAD_GL_VERSION_1_5 = (major == 1 && minor >= 5) || major > 1; - GLAD_GL_VERSION_2_0 = (major == 2 && minor >= 0) || major > 2; - GLAD_GL_VERSION_2_1 = (major == 2 && minor >= 1) || major > 2; - GLAD_GL_VERSION_3_0 = (major == 3 && minor >= 0) || major > 3; - GLAD_GL_VERSION_3_1 = (major == 3 && minor >= 1) || major > 3; - GLAD_GL_VERSION_3_2 = (major == 3 && minor >= 2) || major > 3; - GLAD_GL_VERSION_3_3 = (major == 3 && minor >= 3) || major > 3; - if (GLVersion.major > 3 || (GLVersion.major >= 3 && GLVersion.minor >= 3)) { - max_loaded_major = 3; - max_loaded_minor = 3; - } +int gladLoadGLUserPtr( GLADuserptrloadfunc load, void *userptr) { + int version; + + glad_glGetString = (PFNGLGETSTRINGPROC) load(userptr, "glGetString"); + if(glad_glGetString == NULL) return 0; + if(glad_glGetString(GL_VERSION) == NULL) return 0; + version = glad_gl_find_core_gl(); + + glad_gl_load_GL_VERSION_1_0(load, userptr); + glad_gl_load_GL_VERSION_1_1(load, userptr); + glad_gl_load_GL_VERSION_1_2(load, userptr); + glad_gl_load_GL_VERSION_1_3(load, userptr); + glad_gl_load_GL_VERSION_1_4(load, userptr); + glad_gl_load_GL_VERSION_1_5(load, userptr); + glad_gl_load_GL_VERSION_2_0(load, userptr); + glad_gl_load_GL_VERSION_2_1(load, userptr); + glad_gl_load_GL_VERSION_3_0(load, userptr); + glad_gl_load_GL_VERSION_3_1(load, userptr); + glad_gl_load_GL_VERSION_3_2(load, userptr); + glad_gl_load_GL_VERSION_3_3(load, userptr); + + if (!glad_gl_find_extensions_gl(version)) return 0; + + + + return version; } -int gladLoadGLLoader(GLADloadproc load) { - GLVersion.major = 0; GLVersion.minor = 0; - glGetString = (PFNGLGETSTRINGPROC)load("glGetString"); - if(glGetString == NULL) return 0; - if(glGetString(GL_VERSION) == NULL) return 0; - find_coreGL(); - load_GL_VERSION_1_0(load); - load_GL_VERSION_1_1(load); - load_GL_VERSION_1_2(load); - load_GL_VERSION_1_3(load); - load_GL_VERSION_1_4(load); - load_GL_VERSION_1_5(load); - load_GL_VERSION_2_0(load); - load_GL_VERSION_2_1(load); - load_GL_VERSION_3_0(load); - load_GL_VERSION_3_1(load); - load_GL_VERSION_3_2(load); - load_GL_VERSION_3_3(load); - if (!find_extensionsGL()) return 0; - return GLVersion.major != 0 || GLVersion.minor != 0; +int gladLoadGL( GLADloadfunc load) { + return gladLoadGLUserPtr( glad_gl_get_proc_from_userptr, GLAD_GNUC_EXTENSION (void*) load); } + + + +void gladInstallGLDebug() { + glad_debug_glAccum = glad_debug_impl_glAccum; + glad_debug_glActiveTexture = glad_debug_impl_glActiveTexture; + glad_debug_glAlphaFunc = glad_debug_impl_glAlphaFunc; + glad_debug_glAreTexturesResident = glad_debug_impl_glAreTexturesResident; + glad_debug_glArrayElement = glad_debug_impl_glArrayElement; + glad_debug_glAttachShader = glad_debug_impl_glAttachShader; + glad_debug_glBegin = glad_debug_impl_glBegin; + glad_debug_glBeginConditionalRender = glad_debug_impl_glBeginConditionalRender; + glad_debug_glBeginQuery = glad_debug_impl_glBeginQuery; + glad_debug_glBeginTransformFeedback = glad_debug_impl_glBeginTransformFeedback; + glad_debug_glBindAttribLocation = glad_debug_impl_glBindAttribLocation; + glad_debug_glBindBuffer = glad_debug_impl_glBindBuffer; + glad_debug_glBindBufferBase = glad_debug_impl_glBindBufferBase; + glad_debug_glBindBufferRange = glad_debug_impl_glBindBufferRange; + glad_debug_glBindFragDataLocation = glad_debug_impl_glBindFragDataLocation; + glad_debug_glBindFragDataLocationIndexed = glad_debug_impl_glBindFragDataLocationIndexed; + glad_debug_glBindFramebuffer = glad_debug_impl_glBindFramebuffer; + glad_debug_glBindRenderbuffer = glad_debug_impl_glBindRenderbuffer; + glad_debug_glBindSampler = glad_debug_impl_glBindSampler; + glad_debug_glBindTexture = glad_debug_impl_glBindTexture; + glad_debug_glBindVertexArray = glad_debug_impl_glBindVertexArray; + glad_debug_glBitmap = glad_debug_impl_glBitmap; + glad_debug_glBlendColor = glad_debug_impl_glBlendColor; + glad_debug_glBlendEquation = glad_debug_impl_glBlendEquation; + glad_debug_glBlendEquationSeparate = glad_debug_impl_glBlendEquationSeparate; + glad_debug_glBlendFunc = glad_debug_impl_glBlendFunc; + glad_debug_glBlendFuncSeparate = glad_debug_impl_glBlendFuncSeparate; + glad_debug_glBlitFramebuffer = glad_debug_impl_glBlitFramebuffer; + glad_debug_glBufferData = glad_debug_impl_glBufferData; + glad_debug_glBufferSubData = glad_debug_impl_glBufferSubData; + glad_debug_glCallList = glad_debug_impl_glCallList; + glad_debug_glCallLists = glad_debug_impl_glCallLists; + glad_debug_glCheckFramebufferStatus = glad_debug_impl_glCheckFramebufferStatus; + glad_debug_glClampColor = glad_debug_impl_glClampColor; + glad_debug_glClear = glad_debug_impl_glClear; + glad_debug_glClearAccum = glad_debug_impl_glClearAccum; + glad_debug_glClearBufferfi = glad_debug_impl_glClearBufferfi; + glad_debug_glClearBufferfv = glad_debug_impl_glClearBufferfv; + glad_debug_glClearBufferiv = glad_debug_impl_glClearBufferiv; + glad_debug_glClearBufferuiv = glad_debug_impl_glClearBufferuiv; + glad_debug_glClearColor = glad_debug_impl_glClearColor; + glad_debug_glClearDepth = glad_debug_impl_glClearDepth; + glad_debug_glClearIndex = glad_debug_impl_glClearIndex; + glad_debug_glClearStencil = glad_debug_impl_glClearStencil; + glad_debug_glClientActiveTexture = glad_debug_impl_glClientActiveTexture; + glad_debug_glClientWaitSync = glad_debug_impl_glClientWaitSync; + glad_debug_glClipPlane = glad_debug_impl_glClipPlane; + glad_debug_glColor3b = glad_debug_impl_glColor3b; + glad_debug_glColor3bv = glad_debug_impl_glColor3bv; + glad_debug_glColor3d = glad_debug_impl_glColor3d; + glad_debug_glColor3dv = glad_debug_impl_glColor3dv; + glad_debug_glColor3f = glad_debug_impl_glColor3f; + glad_debug_glColor3fv = glad_debug_impl_glColor3fv; + glad_debug_glColor3i = glad_debug_impl_glColor3i; + glad_debug_glColor3iv = glad_debug_impl_glColor3iv; + glad_debug_glColor3s = glad_debug_impl_glColor3s; + glad_debug_glColor3sv = glad_debug_impl_glColor3sv; + glad_debug_glColor3ub = glad_debug_impl_glColor3ub; + glad_debug_glColor3ubv = glad_debug_impl_glColor3ubv; + glad_debug_glColor3ui = glad_debug_impl_glColor3ui; + glad_debug_glColor3uiv = glad_debug_impl_glColor3uiv; + glad_debug_glColor3us = glad_debug_impl_glColor3us; + glad_debug_glColor3usv = glad_debug_impl_glColor3usv; + glad_debug_glColor4b = glad_debug_impl_glColor4b; + glad_debug_glColor4bv = glad_debug_impl_glColor4bv; + glad_debug_glColor4d = glad_debug_impl_glColor4d; + glad_debug_glColor4dv = glad_debug_impl_glColor4dv; + glad_debug_glColor4f = glad_debug_impl_glColor4f; + glad_debug_glColor4fv = glad_debug_impl_glColor4fv; + glad_debug_glColor4i = glad_debug_impl_glColor4i; + glad_debug_glColor4iv = glad_debug_impl_glColor4iv; + glad_debug_glColor4s = glad_debug_impl_glColor4s; + glad_debug_glColor4sv = glad_debug_impl_glColor4sv; + glad_debug_glColor4ub = glad_debug_impl_glColor4ub; + glad_debug_glColor4ubv = glad_debug_impl_glColor4ubv; + glad_debug_glColor4ui = glad_debug_impl_glColor4ui; + glad_debug_glColor4uiv = glad_debug_impl_glColor4uiv; + glad_debug_glColor4us = glad_debug_impl_glColor4us; + glad_debug_glColor4usv = glad_debug_impl_glColor4usv; + glad_debug_glColorMask = glad_debug_impl_glColorMask; + glad_debug_glColorMaski = glad_debug_impl_glColorMaski; + glad_debug_glColorMaterial = glad_debug_impl_glColorMaterial; + glad_debug_glColorP3ui = glad_debug_impl_glColorP3ui; + glad_debug_glColorP3uiv = glad_debug_impl_glColorP3uiv; + glad_debug_glColorP4ui = glad_debug_impl_glColorP4ui; + glad_debug_glColorP4uiv = glad_debug_impl_glColorP4uiv; + glad_debug_glColorPointer = glad_debug_impl_glColorPointer; + glad_debug_glCompileShader = glad_debug_impl_glCompileShader; + glad_debug_glCompressedTexImage1D = glad_debug_impl_glCompressedTexImage1D; + glad_debug_glCompressedTexImage2D = glad_debug_impl_glCompressedTexImage2D; + glad_debug_glCompressedTexImage3D = glad_debug_impl_glCompressedTexImage3D; + glad_debug_glCompressedTexSubImage1D = glad_debug_impl_glCompressedTexSubImage1D; + glad_debug_glCompressedTexSubImage2D = glad_debug_impl_glCompressedTexSubImage2D; + glad_debug_glCompressedTexSubImage3D = glad_debug_impl_glCompressedTexSubImage3D; + glad_debug_glCopyBufferSubData = glad_debug_impl_glCopyBufferSubData; + glad_debug_glCopyPixels = glad_debug_impl_glCopyPixels; + glad_debug_glCopyTexImage1D = glad_debug_impl_glCopyTexImage1D; + glad_debug_glCopyTexImage2D = glad_debug_impl_glCopyTexImage2D; + glad_debug_glCopyTexSubImage1D = glad_debug_impl_glCopyTexSubImage1D; + glad_debug_glCopyTexSubImage2D = glad_debug_impl_glCopyTexSubImage2D; + glad_debug_glCopyTexSubImage3D = glad_debug_impl_glCopyTexSubImage3D; + glad_debug_glCreateProgram = glad_debug_impl_glCreateProgram; + glad_debug_glCreateShader = glad_debug_impl_glCreateShader; + glad_debug_glCullFace = glad_debug_impl_glCullFace; + glad_debug_glDeleteBuffers = glad_debug_impl_glDeleteBuffers; + glad_debug_glDeleteFramebuffers = glad_debug_impl_glDeleteFramebuffers; + glad_debug_glDeleteLists = glad_debug_impl_glDeleteLists; + glad_debug_glDeleteProgram = glad_debug_impl_glDeleteProgram; + glad_debug_glDeleteQueries = glad_debug_impl_glDeleteQueries; + glad_debug_glDeleteRenderbuffers = glad_debug_impl_glDeleteRenderbuffers; + glad_debug_glDeleteSamplers = glad_debug_impl_glDeleteSamplers; + glad_debug_glDeleteShader = glad_debug_impl_glDeleteShader; + glad_debug_glDeleteSync = glad_debug_impl_glDeleteSync; + glad_debug_glDeleteTextures = glad_debug_impl_glDeleteTextures; + glad_debug_glDeleteVertexArrays = glad_debug_impl_glDeleteVertexArrays; + glad_debug_glDepthFunc = glad_debug_impl_glDepthFunc; + glad_debug_glDepthMask = glad_debug_impl_glDepthMask; + glad_debug_glDepthRange = glad_debug_impl_glDepthRange; + glad_debug_glDetachShader = glad_debug_impl_glDetachShader; + glad_debug_glDisable = glad_debug_impl_glDisable; + glad_debug_glDisableClientState = glad_debug_impl_glDisableClientState; + glad_debug_glDisableVertexAttribArray = glad_debug_impl_glDisableVertexAttribArray; + glad_debug_glDisablei = glad_debug_impl_glDisablei; + glad_debug_glDrawArrays = glad_debug_impl_glDrawArrays; + glad_debug_glDrawArraysInstanced = glad_debug_impl_glDrawArraysInstanced; + glad_debug_glDrawBuffer = glad_debug_impl_glDrawBuffer; + glad_debug_glDrawBuffers = glad_debug_impl_glDrawBuffers; + glad_debug_glDrawElements = glad_debug_impl_glDrawElements; + glad_debug_glDrawElementsBaseVertex = glad_debug_impl_glDrawElementsBaseVertex; + glad_debug_glDrawElementsInstanced = glad_debug_impl_glDrawElementsInstanced; + glad_debug_glDrawElementsInstancedBaseVertex = glad_debug_impl_glDrawElementsInstancedBaseVertex; + glad_debug_glDrawPixels = glad_debug_impl_glDrawPixels; + glad_debug_glDrawRangeElements = glad_debug_impl_glDrawRangeElements; + glad_debug_glDrawRangeElementsBaseVertex = glad_debug_impl_glDrawRangeElementsBaseVertex; + glad_debug_glEdgeFlag = glad_debug_impl_glEdgeFlag; + glad_debug_glEdgeFlagPointer = glad_debug_impl_glEdgeFlagPointer; + glad_debug_glEdgeFlagv = glad_debug_impl_glEdgeFlagv; + glad_debug_glEnable = glad_debug_impl_glEnable; + glad_debug_glEnableClientState = glad_debug_impl_glEnableClientState; + glad_debug_glEnableVertexAttribArray = glad_debug_impl_glEnableVertexAttribArray; + glad_debug_glEnablei = glad_debug_impl_glEnablei; + glad_debug_glEnd = glad_debug_impl_glEnd; + glad_debug_glEndConditionalRender = glad_debug_impl_glEndConditionalRender; + glad_debug_glEndList = glad_debug_impl_glEndList; + glad_debug_glEndQuery = glad_debug_impl_glEndQuery; + glad_debug_glEndTransformFeedback = glad_debug_impl_glEndTransformFeedback; + glad_debug_glEvalCoord1d = glad_debug_impl_glEvalCoord1d; + glad_debug_glEvalCoord1dv = glad_debug_impl_glEvalCoord1dv; + glad_debug_glEvalCoord1f = glad_debug_impl_glEvalCoord1f; + glad_debug_glEvalCoord1fv = glad_debug_impl_glEvalCoord1fv; + glad_debug_glEvalCoord2d = glad_debug_impl_glEvalCoord2d; + glad_debug_glEvalCoord2dv = glad_debug_impl_glEvalCoord2dv; + glad_debug_glEvalCoord2f = glad_debug_impl_glEvalCoord2f; + glad_debug_glEvalCoord2fv = glad_debug_impl_glEvalCoord2fv; + glad_debug_glEvalMesh1 = glad_debug_impl_glEvalMesh1; + glad_debug_glEvalMesh2 = glad_debug_impl_glEvalMesh2; + glad_debug_glEvalPoint1 = glad_debug_impl_glEvalPoint1; + glad_debug_glEvalPoint2 = glad_debug_impl_glEvalPoint2; + glad_debug_glFeedbackBuffer = glad_debug_impl_glFeedbackBuffer; + glad_debug_glFenceSync = glad_debug_impl_glFenceSync; + glad_debug_glFinish = glad_debug_impl_glFinish; + glad_debug_glFlush = glad_debug_impl_glFlush; + glad_debug_glFlushMappedBufferRange = glad_debug_impl_glFlushMappedBufferRange; + glad_debug_glFogCoordPointer = glad_debug_impl_glFogCoordPointer; + glad_debug_glFogCoordd = glad_debug_impl_glFogCoordd; + glad_debug_glFogCoorddv = glad_debug_impl_glFogCoorddv; + glad_debug_glFogCoordf = glad_debug_impl_glFogCoordf; + glad_debug_glFogCoordfv = glad_debug_impl_glFogCoordfv; + glad_debug_glFogf = glad_debug_impl_glFogf; + glad_debug_glFogfv = glad_debug_impl_glFogfv; + glad_debug_glFogi = glad_debug_impl_glFogi; + glad_debug_glFogiv = glad_debug_impl_glFogiv; + glad_debug_glFramebufferRenderbuffer = glad_debug_impl_glFramebufferRenderbuffer; + glad_debug_glFramebufferTexture = glad_debug_impl_glFramebufferTexture; + glad_debug_glFramebufferTexture1D = glad_debug_impl_glFramebufferTexture1D; + glad_debug_glFramebufferTexture2D = glad_debug_impl_glFramebufferTexture2D; + glad_debug_glFramebufferTexture3D = glad_debug_impl_glFramebufferTexture3D; + glad_debug_glFramebufferTextureLayer = glad_debug_impl_glFramebufferTextureLayer; + glad_debug_glFrontFace = glad_debug_impl_glFrontFace; + glad_debug_glFrustum = glad_debug_impl_glFrustum; + glad_debug_glGenBuffers = glad_debug_impl_glGenBuffers; + glad_debug_glGenFramebuffers = glad_debug_impl_glGenFramebuffers; + glad_debug_glGenLists = glad_debug_impl_glGenLists; + glad_debug_glGenQueries = glad_debug_impl_glGenQueries; + glad_debug_glGenRenderbuffers = glad_debug_impl_glGenRenderbuffers; + glad_debug_glGenSamplers = glad_debug_impl_glGenSamplers; + glad_debug_glGenTextures = glad_debug_impl_glGenTextures; + glad_debug_glGenVertexArrays = glad_debug_impl_glGenVertexArrays; + glad_debug_glGenerateMipmap = glad_debug_impl_glGenerateMipmap; + glad_debug_glGetActiveAttrib = glad_debug_impl_glGetActiveAttrib; + glad_debug_glGetActiveUniform = glad_debug_impl_glGetActiveUniform; + glad_debug_glGetActiveUniformBlockName = glad_debug_impl_glGetActiveUniformBlockName; + glad_debug_glGetActiveUniformBlockiv = glad_debug_impl_glGetActiveUniformBlockiv; + glad_debug_glGetActiveUniformName = glad_debug_impl_glGetActiveUniformName; + glad_debug_glGetActiveUniformsiv = glad_debug_impl_glGetActiveUniformsiv; + glad_debug_glGetAttachedShaders = glad_debug_impl_glGetAttachedShaders; + glad_debug_glGetAttribLocation = glad_debug_impl_glGetAttribLocation; + glad_debug_glGetBooleani_v = glad_debug_impl_glGetBooleani_v; + glad_debug_glGetBooleanv = glad_debug_impl_glGetBooleanv; + glad_debug_glGetBufferParameteri64v = glad_debug_impl_glGetBufferParameteri64v; + glad_debug_glGetBufferParameteriv = glad_debug_impl_glGetBufferParameteriv; + glad_debug_glGetBufferPointerv = glad_debug_impl_glGetBufferPointerv; + glad_debug_glGetBufferSubData = glad_debug_impl_glGetBufferSubData; + glad_debug_glGetClipPlane = glad_debug_impl_glGetClipPlane; + glad_debug_glGetCompressedTexImage = glad_debug_impl_glGetCompressedTexImage; + glad_debug_glGetDoublev = glad_debug_impl_glGetDoublev; + glad_debug_glGetError = glad_debug_impl_glGetError; + glad_debug_glGetFloatv = glad_debug_impl_glGetFloatv; + glad_debug_glGetFragDataIndex = glad_debug_impl_glGetFragDataIndex; + glad_debug_glGetFragDataLocation = glad_debug_impl_glGetFragDataLocation; + glad_debug_glGetFramebufferAttachmentParameteriv = glad_debug_impl_glGetFramebufferAttachmentParameteriv; + glad_debug_glGetInteger64i_v = glad_debug_impl_glGetInteger64i_v; + glad_debug_glGetInteger64v = glad_debug_impl_glGetInteger64v; + glad_debug_glGetIntegeri_v = glad_debug_impl_glGetIntegeri_v; + glad_debug_glGetIntegerv = glad_debug_impl_glGetIntegerv; + glad_debug_glGetLightfv = glad_debug_impl_glGetLightfv; + glad_debug_glGetLightiv = glad_debug_impl_glGetLightiv; + glad_debug_glGetMapdv = glad_debug_impl_glGetMapdv; + glad_debug_glGetMapfv = glad_debug_impl_glGetMapfv; + glad_debug_glGetMapiv = glad_debug_impl_glGetMapiv; + glad_debug_glGetMaterialfv = glad_debug_impl_glGetMaterialfv; + glad_debug_glGetMaterialiv = glad_debug_impl_glGetMaterialiv; + glad_debug_glGetMultisamplefv = glad_debug_impl_glGetMultisamplefv; + glad_debug_glGetPixelMapfv = glad_debug_impl_glGetPixelMapfv; + glad_debug_glGetPixelMapuiv = glad_debug_impl_glGetPixelMapuiv; + glad_debug_glGetPixelMapusv = glad_debug_impl_glGetPixelMapusv; + glad_debug_glGetPointerv = glad_debug_impl_glGetPointerv; + glad_debug_glGetPolygonStipple = glad_debug_impl_glGetPolygonStipple; + glad_debug_glGetProgramInfoLog = glad_debug_impl_glGetProgramInfoLog; + glad_debug_glGetProgramiv = glad_debug_impl_glGetProgramiv; + glad_debug_glGetQueryObjecti64v = glad_debug_impl_glGetQueryObjecti64v; + glad_debug_glGetQueryObjectiv = glad_debug_impl_glGetQueryObjectiv; + glad_debug_glGetQueryObjectui64v = glad_debug_impl_glGetQueryObjectui64v; + glad_debug_glGetQueryObjectuiv = glad_debug_impl_glGetQueryObjectuiv; + glad_debug_glGetQueryiv = glad_debug_impl_glGetQueryiv; + glad_debug_glGetRenderbufferParameteriv = glad_debug_impl_glGetRenderbufferParameteriv; + glad_debug_glGetSamplerParameterIiv = glad_debug_impl_glGetSamplerParameterIiv; + glad_debug_glGetSamplerParameterIuiv = glad_debug_impl_glGetSamplerParameterIuiv; + glad_debug_glGetSamplerParameterfv = glad_debug_impl_glGetSamplerParameterfv; + glad_debug_glGetSamplerParameteriv = glad_debug_impl_glGetSamplerParameteriv; + glad_debug_glGetShaderInfoLog = glad_debug_impl_glGetShaderInfoLog; + glad_debug_glGetShaderSource = glad_debug_impl_glGetShaderSource; + glad_debug_glGetShaderiv = glad_debug_impl_glGetShaderiv; + glad_debug_glGetString = glad_debug_impl_glGetString; + glad_debug_glGetStringi = glad_debug_impl_glGetStringi; + glad_debug_glGetSynciv = glad_debug_impl_glGetSynciv; + glad_debug_glGetTexEnvfv = glad_debug_impl_glGetTexEnvfv; + glad_debug_glGetTexEnviv = glad_debug_impl_glGetTexEnviv; + glad_debug_glGetTexGendv = glad_debug_impl_glGetTexGendv; + glad_debug_glGetTexGenfv = glad_debug_impl_glGetTexGenfv; + glad_debug_glGetTexGeniv = glad_debug_impl_glGetTexGeniv; + glad_debug_glGetTexImage = glad_debug_impl_glGetTexImage; + glad_debug_glGetTexLevelParameterfv = glad_debug_impl_glGetTexLevelParameterfv; + glad_debug_glGetTexLevelParameteriv = glad_debug_impl_glGetTexLevelParameteriv; + glad_debug_glGetTexParameterIiv = glad_debug_impl_glGetTexParameterIiv; + glad_debug_glGetTexParameterIuiv = glad_debug_impl_glGetTexParameterIuiv; + glad_debug_glGetTexParameterfv = glad_debug_impl_glGetTexParameterfv; + glad_debug_glGetTexParameteriv = glad_debug_impl_glGetTexParameteriv; + glad_debug_glGetTransformFeedbackVarying = glad_debug_impl_glGetTransformFeedbackVarying; + glad_debug_glGetUniformBlockIndex = glad_debug_impl_glGetUniformBlockIndex; + glad_debug_glGetUniformIndices = glad_debug_impl_glGetUniformIndices; + glad_debug_glGetUniformLocation = glad_debug_impl_glGetUniformLocation; + glad_debug_glGetUniformfv = glad_debug_impl_glGetUniformfv; + glad_debug_glGetUniformiv = glad_debug_impl_glGetUniformiv; + glad_debug_glGetUniformuiv = glad_debug_impl_glGetUniformuiv; + glad_debug_glGetVertexAttribIiv = glad_debug_impl_glGetVertexAttribIiv; + glad_debug_glGetVertexAttribIuiv = glad_debug_impl_glGetVertexAttribIuiv; + glad_debug_glGetVertexAttribPointerv = glad_debug_impl_glGetVertexAttribPointerv; + glad_debug_glGetVertexAttribdv = glad_debug_impl_glGetVertexAttribdv; + glad_debug_glGetVertexAttribfv = glad_debug_impl_glGetVertexAttribfv; + glad_debug_glGetVertexAttribiv = glad_debug_impl_glGetVertexAttribiv; + glad_debug_glHint = glad_debug_impl_glHint; + glad_debug_glIndexMask = glad_debug_impl_glIndexMask; + glad_debug_glIndexPointer = glad_debug_impl_glIndexPointer; + glad_debug_glIndexd = glad_debug_impl_glIndexd; + glad_debug_glIndexdv = glad_debug_impl_glIndexdv; + glad_debug_glIndexf = glad_debug_impl_glIndexf; + glad_debug_glIndexfv = glad_debug_impl_glIndexfv; + glad_debug_glIndexi = glad_debug_impl_glIndexi; + glad_debug_glIndexiv = glad_debug_impl_glIndexiv; + glad_debug_glIndexs = glad_debug_impl_glIndexs; + glad_debug_glIndexsv = glad_debug_impl_glIndexsv; + glad_debug_glIndexub = glad_debug_impl_glIndexub; + glad_debug_glIndexubv = glad_debug_impl_glIndexubv; + glad_debug_glInitNames = glad_debug_impl_glInitNames; + glad_debug_glInterleavedArrays = glad_debug_impl_glInterleavedArrays; + glad_debug_glIsBuffer = glad_debug_impl_glIsBuffer; + glad_debug_glIsEnabled = glad_debug_impl_glIsEnabled; + glad_debug_glIsEnabledi = glad_debug_impl_glIsEnabledi; + glad_debug_glIsFramebuffer = glad_debug_impl_glIsFramebuffer; + glad_debug_glIsList = glad_debug_impl_glIsList; + glad_debug_glIsProgram = glad_debug_impl_glIsProgram; + glad_debug_glIsQuery = glad_debug_impl_glIsQuery; + glad_debug_glIsRenderbuffer = glad_debug_impl_glIsRenderbuffer; + glad_debug_glIsSampler = glad_debug_impl_glIsSampler; + glad_debug_glIsShader = glad_debug_impl_glIsShader; + glad_debug_glIsSync = glad_debug_impl_glIsSync; + glad_debug_glIsTexture = glad_debug_impl_glIsTexture; + glad_debug_glIsVertexArray = glad_debug_impl_glIsVertexArray; + glad_debug_glLightModelf = glad_debug_impl_glLightModelf; + glad_debug_glLightModelfv = glad_debug_impl_glLightModelfv; + glad_debug_glLightModeli = glad_debug_impl_glLightModeli; + glad_debug_glLightModeliv = glad_debug_impl_glLightModeliv; + glad_debug_glLightf = glad_debug_impl_glLightf; + glad_debug_glLightfv = glad_debug_impl_glLightfv; + glad_debug_glLighti = glad_debug_impl_glLighti; + glad_debug_glLightiv = glad_debug_impl_glLightiv; + glad_debug_glLineStipple = glad_debug_impl_glLineStipple; + glad_debug_glLineWidth = glad_debug_impl_glLineWidth; + glad_debug_glLinkProgram = glad_debug_impl_glLinkProgram; + glad_debug_glListBase = glad_debug_impl_glListBase; + glad_debug_glLoadIdentity = glad_debug_impl_glLoadIdentity; + glad_debug_glLoadMatrixd = glad_debug_impl_glLoadMatrixd; + glad_debug_glLoadMatrixf = glad_debug_impl_glLoadMatrixf; + glad_debug_glLoadName = glad_debug_impl_glLoadName; + glad_debug_glLoadTransposeMatrixd = glad_debug_impl_glLoadTransposeMatrixd; + glad_debug_glLoadTransposeMatrixf = glad_debug_impl_glLoadTransposeMatrixf; + glad_debug_glLogicOp = glad_debug_impl_glLogicOp; + glad_debug_glMap1d = glad_debug_impl_glMap1d; + glad_debug_glMap1f = glad_debug_impl_glMap1f; + glad_debug_glMap2d = glad_debug_impl_glMap2d; + glad_debug_glMap2f = glad_debug_impl_glMap2f; + glad_debug_glMapBuffer = glad_debug_impl_glMapBuffer; + glad_debug_glMapBufferRange = glad_debug_impl_glMapBufferRange; + glad_debug_glMapGrid1d = glad_debug_impl_glMapGrid1d; + glad_debug_glMapGrid1f = glad_debug_impl_glMapGrid1f; + glad_debug_glMapGrid2d = glad_debug_impl_glMapGrid2d; + glad_debug_glMapGrid2f = glad_debug_impl_glMapGrid2f; + glad_debug_glMaterialf = glad_debug_impl_glMaterialf; + glad_debug_glMaterialfv = glad_debug_impl_glMaterialfv; + glad_debug_glMateriali = glad_debug_impl_glMateriali; + glad_debug_glMaterialiv = glad_debug_impl_glMaterialiv; + glad_debug_glMatrixMode = glad_debug_impl_glMatrixMode; + glad_debug_glMultMatrixd = glad_debug_impl_glMultMatrixd; + glad_debug_glMultMatrixf = glad_debug_impl_glMultMatrixf; + glad_debug_glMultTransposeMatrixd = glad_debug_impl_glMultTransposeMatrixd; + glad_debug_glMultTransposeMatrixf = glad_debug_impl_glMultTransposeMatrixf; + glad_debug_glMultiDrawArrays = glad_debug_impl_glMultiDrawArrays; + glad_debug_glMultiDrawElements = glad_debug_impl_glMultiDrawElements; + glad_debug_glMultiDrawElementsBaseVertex = glad_debug_impl_glMultiDrawElementsBaseVertex; + glad_debug_glMultiTexCoord1d = glad_debug_impl_glMultiTexCoord1d; + glad_debug_glMultiTexCoord1dv = glad_debug_impl_glMultiTexCoord1dv; + glad_debug_glMultiTexCoord1f = glad_debug_impl_glMultiTexCoord1f; + glad_debug_glMultiTexCoord1fv = glad_debug_impl_glMultiTexCoord1fv; + glad_debug_glMultiTexCoord1i = glad_debug_impl_glMultiTexCoord1i; + glad_debug_glMultiTexCoord1iv = glad_debug_impl_glMultiTexCoord1iv; + glad_debug_glMultiTexCoord1s = glad_debug_impl_glMultiTexCoord1s; + glad_debug_glMultiTexCoord1sv = glad_debug_impl_glMultiTexCoord1sv; + glad_debug_glMultiTexCoord2d = glad_debug_impl_glMultiTexCoord2d; + glad_debug_glMultiTexCoord2dv = glad_debug_impl_glMultiTexCoord2dv; + glad_debug_glMultiTexCoord2f = glad_debug_impl_glMultiTexCoord2f; + glad_debug_glMultiTexCoord2fv = glad_debug_impl_glMultiTexCoord2fv; + glad_debug_glMultiTexCoord2i = glad_debug_impl_glMultiTexCoord2i; + glad_debug_glMultiTexCoord2iv = glad_debug_impl_glMultiTexCoord2iv; + glad_debug_glMultiTexCoord2s = glad_debug_impl_glMultiTexCoord2s; + glad_debug_glMultiTexCoord2sv = glad_debug_impl_glMultiTexCoord2sv; + glad_debug_glMultiTexCoord3d = glad_debug_impl_glMultiTexCoord3d; + glad_debug_glMultiTexCoord3dv = glad_debug_impl_glMultiTexCoord3dv; + glad_debug_glMultiTexCoord3f = glad_debug_impl_glMultiTexCoord3f; + glad_debug_glMultiTexCoord3fv = glad_debug_impl_glMultiTexCoord3fv; + glad_debug_glMultiTexCoord3i = glad_debug_impl_glMultiTexCoord3i; + glad_debug_glMultiTexCoord3iv = glad_debug_impl_glMultiTexCoord3iv; + glad_debug_glMultiTexCoord3s = glad_debug_impl_glMultiTexCoord3s; + glad_debug_glMultiTexCoord3sv = glad_debug_impl_glMultiTexCoord3sv; + glad_debug_glMultiTexCoord4d = glad_debug_impl_glMultiTexCoord4d; + glad_debug_glMultiTexCoord4dv = glad_debug_impl_glMultiTexCoord4dv; + glad_debug_glMultiTexCoord4f = glad_debug_impl_glMultiTexCoord4f; + glad_debug_glMultiTexCoord4fv = glad_debug_impl_glMultiTexCoord4fv; + glad_debug_glMultiTexCoord4i = glad_debug_impl_glMultiTexCoord4i; + glad_debug_glMultiTexCoord4iv = glad_debug_impl_glMultiTexCoord4iv; + glad_debug_glMultiTexCoord4s = glad_debug_impl_glMultiTexCoord4s; + glad_debug_glMultiTexCoord4sv = glad_debug_impl_glMultiTexCoord4sv; + glad_debug_glMultiTexCoordP1ui = glad_debug_impl_glMultiTexCoordP1ui; + glad_debug_glMultiTexCoordP1uiv = glad_debug_impl_glMultiTexCoordP1uiv; + glad_debug_glMultiTexCoordP2ui = glad_debug_impl_glMultiTexCoordP2ui; + glad_debug_glMultiTexCoordP2uiv = glad_debug_impl_glMultiTexCoordP2uiv; + glad_debug_glMultiTexCoordP3ui = glad_debug_impl_glMultiTexCoordP3ui; + glad_debug_glMultiTexCoordP3uiv = glad_debug_impl_glMultiTexCoordP3uiv; + glad_debug_glMultiTexCoordP4ui = glad_debug_impl_glMultiTexCoordP4ui; + glad_debug_glMultiTexCoordP4uiv = glad_debug_impl_glMultiTexCoordP4uiv; + glad_debug_glNewList = glad_debug_impl_glNewList; + glad_debug_glNormal3b = glad_debug_impl_glNormal3b; + glad_debug_glNormal3bv = glad_debug_impl_glNormal3bv; + glad_debug_glNormal3d = glad_debug_impl_glNormal3d; + glad_debug_glNormal3dv = glad_debug_impl_glNormal3dv; + glad_debug_glNormal3f = glad_debug_impl_glNormal3f; + glad_debug_glNormal3fv = glad_debug_impl_glNormal3fv; + glad_debug_glNormal3i = glad_debug_impl_glNormal3i; + glad_debug_glNormal3iv = glad_debug_impl_glNormal3iv; + glad_debug_glNormal3s = glad_debug_impl_glNormal3s; + glad_debug_glNormal3sv = glad_debug_impl_glNormal3sv; + glad_debug_glNormalP3ui = glad_debug_impl_glNormalP3ui; + glad_debug_glNormalP3uiv = glad_debug_impl_glNormalP3uiv; + glad_debug_glNormalPointer = glad_debug_impl_glNormalPointer; + glad_debug_glOrtho = glad_debug_impl_glOrtho; + glad_debug_glPassThrough = glad_debug_impl_glPassThrough; + glad_debug_glPixelMapfv = glad_debug_impl_glPixelMapfv; + glad_debug_glPixelMapuiv = glad_debug_impl_glPixelMapuiv; + glad_debug_glPixelMapusv = glad_debug_impl_glPixelMapusv; + glad_debug_glPixelStoref = glad_debug_impl_glPixelStoref; + glad_debug_glPixelStorei = glad_debug_impl_glPixelStorei; + glad_debug_glPixelTransferf = glad_debug_impl_glPixelTransferf; + glad_debug_glPixelTransferi = glad_debug_impl_glPixelTransferi; + glad_debug_glPixelZoom = glad_debug_impl_glPixelZoom; + glad_debug_glPointParameterf = glad_debug_impl_glPointParameterf; + glad_debug_glPointParameterfv = glad_debug_impl_glPointParameterfv; + glad_debug_glPointParameteri = glad_debug_impl_glPointParameteri; + glad_debug_glPointParameteriv = glad_debug_impl_glPointParameteriv; + glad_debug_glPointSize = glad_debug_impl_glPointSize; + glad_debug_glPolygonMode = glad_debug_impl_glPolygonMode; + glad_debug_glPolygonOffset = glad_debug_impl_glPolygonOffset; + glad_debug_glPolygonStipple = glad_debug_impl_glPolygonStipple; + glad_debug_glPopAttrib = glad_debug_impl_glPopAttrib; + glad_debug_glPopClientAttrib = glad_debug_impl_glPopClientAttrib; + glad_debug_glPopMatrix = glad_debug_impl_glPopMatrix; + glad_debug_glPopName = glad_debug_impl_glPopName; + glad_debug_glPrimitiveRestartIndex = glad_debug_impl_glPrimitiveRestartIndex; + glad_debug_glPrioritizeTextures = glad_debug_impl_glPrioritizeTextures; + glad_debug_glProvokingVertex = glad_debug_impl_glProvokingVertex; + glad_debug_glPushAttrib = glad_debug_impl_glPushAttrib; + glad_debug_glPushClientAttrib = glad_debug_impl_glPushClientAttrib; + glad_debug_glPushMatrix = glad_debug_impl_glPushMatrix; + glad_debug_glPushName = glad_debug_impl_glPushName; + glad_debug_glQueryCounter = glad_debug_impl_glQueryCounter; + glad_debug_glRasterPos2d = glad_debug_impl_glRasterPos2d; + glad_debug_glRasterPos2dv = glad_debug_impl_glRasterPos2dv; + glad_debug_glRasterPos2f = glad_debug_impl_glRasterPos2f; + glad_debug_glRasterPos2fv = glad_debug_impl_glRasterPos2fv; + glad_debug_glRasterPos2i = glad_debug_impl_glRasterPos2i; + glad_debug_glRasterPos2iv = glad_debug_impl_glRasterPos2iv; + glad_debug_glRasterPos2s = glad_debug_impl_glRasterPos2s; + glad_debug_glRasterPos2sv = glad_debug_impl_glRasterPos2sv; + glad_debug_glRasterPos3d = glad_debug_impl_glRasterPos3d; + glad_debug_glRasterPos3dv = glad_debug_impl_glRasterPos3dv; + glad_debug_glRasterPos3f = glad_debug_impl_glRasterPos3f; + glad_debug_glRasterPos3fv = glad_debug_impl_glRasterPos3fv; + glad_debug_glRasterPos3i = glad_debug_impl_glRasterPos3i; + glad_debug_glRasterPos3iv = glad_debug_impl_glRasterPos3iv; + glad_debug_glRasterPos3s = glad_debug_impl_glRasterPos3s; + glad_debug_glRasterPos3sv = glad_debug_impl_glRasterPos3sv; + glad_debug_glRasterPos4d = glad_debug_impl_glRasterPos4d; + glad_debug_glRasterPos4dv = glad_debug_impl_glRasterPos4dv; + glad_debug_glRasterPos4f = glad_debug_impl_glRasterPos4f; + glad_debug_glRasterPos4fv = glad_debug_impl_glRasterPos4fv; + glad_debug_glRasterPos4i = glad_debug_impl_glRasterPos4i; + glad_debug_glRasterPos4iv = glad_debug_impl_glRasterPos4iv; + glad_debug_glRasterPos4s = glad_debug_impl_glRasterPos4s; + glad_debug_glRasterPos4sv = glad_debug_impl_glRasterPos4sv; + glad_debug_glReadBuffer = glad_debug_impl_glReadBuffer; + glad_debug_glReadPixels = glad_debug_impl_glReadPixels; + glad_debug_glRectd = glad_debug_impl_glRectd; + glad_debug_glRectdv = glad_debug_impl_glRectdv; + glad_debug_glRectf = glad_debug_impl_glRectf; + glad_debug_glRectfv = glad_debug_impl_glRectfv; + glad_debug_glRecti = glad_debug_impl_glRecti; + glad_debug_glRectiv = glad_debug_impl_glRectiv; + glad_debug_glRects = glad_debug_impl_glRects; + glad_debug_glRectsv = glad_debug_impl_glRectsv; + glad_debug_glRenderMode = glad_debug_impl_glRenderMode; + glad_debug_glRenderbufferStorage = glad_debug_impl_glRenderbufferStorage; + glad_debug_glRenderbufferStorageMultisample = glad_debug_impl_glRenderbufferStorageMultisample; + glad_debug_glRotated = glad_debug_impl_glRotated; + glad_debug_glRotatef = glad_debug_impl_glRotatef; + glad_debug_glSampleCoverage = glad_debug_impl_glSampleCoverage; + glad_debug_glSampleMaski = glad_debug_impl_glSampleMaski; + glad_debug_glSamplerParameterIiv = glad_debug_impl_glSamplerParameterIiv; + glad_debug_glSamplerParameterIuiv = glad_debug_impl_glSamplerParameterIuiv; + glad_debug_glSamplerParameterf = glad_debug_impl_glSamplerParameterf; + glad_debug_glSamplerParameterfv = glad_debug_impl_glSamplerParameterfv; + glad_debug_glSamplerParameteri = glad_debug_impl_glSamplerParameteri; + glad_debug_glSamplerParameteriv = glad_debug_impl_glSamplerParameteriv; + glad_debug_glScaled = glad_debug_impl_glScaled; + glad_debug_glScalef = glad_debug_impl_glScalef; + glad_debug_glScissor = glad_debug_impl_glScissor; + glad_debug_glSecondaryColor3b = glad_debug_impl_glSecondaryColor3b; + glad_debug_glSecondaryColor3bv = glad_debug_impl_glSecondaryColor3bv; + glad_debug_glSecondaryColor3d = glad_debug_impl_glSecondaryColor3d; + glad_debug_glSecondaryColor3dv = glad_debug_impl_glSecondaryColor3dv; + glad_debug_glSecondaryColor3f = glad_debug_impl_glSecondaryColor3f; + glad_debug_glSecondaryColor3fv = glad_debug_impl_glSecondaryColor3fv; + glad_debug_glSecondaryColor3i = glad_debug_impl_glSecondaryColor3i; + glad_debug_glSecondaryColor3iv = glad_debug_impl_glSecondaryColor3iv; + glad_debug_glSecondaryColor3s = glad_debug_impl_glSecondaryColor3s; + glad_debug_glSecondaryColor3sv = glad_debug_impl_glSecondaryColor3sv; + glad_debug_glSecondaryColor3ub = glad_debug_impl_glSecondaryColor3ub; + glad_debug_glSecondaryColor3ubv = glad_debug_impl_glSecondaryColor3ubv; + glad_debug_glSecondaryColor3ui = glad_debug_impl_glSecondaryColor3ui; + glad_debug_glSecondaryColor3uiv = glad_debug_impl_glSecondaryColor3uiv; + glad_debug_glSecondaryColor3us = glad_debug_impl_glSecondaryColor3us; + glad_debug_glSecondaryColor3usv = glad_debug_impl_glSecondaryColor3usv; + glad_debug_glSecondaryColorP3ui = glad_debug_impl_glSecondaryColorP3ui; + glad_debug_glSecondaryColorP3uiv = glad_debug_impl_glSecondaryColorP3uiv; + glad_debug_glSecondaryColorPointer = glad_debug_impl_glSecondaryColorPointer; + glad_debug_glSelectBuffer = glad_debug_impl_glSelectBuffer; + glad_debug_glShadeModel = glad_debug_impl_glShadeModel; + glad_debug_glShaderSource = glad_debug_impl_glShaderSource; + glad_debug_glStencilFunc = glad_debug_impl_glStencilFunc; + glad_debug_glStencilFuncSeparate = glad_debug_impl_glStencilFuncSeparate; + glad_debug_glStencilMask = glad_debug_impl_glStencilMask; + glad_debug_glStencilMaskSeparate = glad_debug_impl_glStencilMaskSeparate; + glad_debug_glStencilOp = glad_debug_impl_glStencilOp; + glad_debug_glStencilOpSeparate = glad_debug_impl_glStencilOpSeparate; + glad_debug_glTexBuffer = glad_debug_impl_glTexBuffer; + glad_debug_glTexCoord1d = glad_debug_impl_glTexCoord1d; + glad_debug_glTexCoord1dv = glad_debug_impl_glTexCoord1dv; + glad_debug_glTexCoord1f = glad_debug_impl_glTexCoord1f; + glad_debug_glTexCoord1fv = glad_debug_impl_glTexCoord1fv; + glad_debug_glTexCoord1i = glad_debug_impl_glTexCoord1i; + glad_debug_glTexCoord1iv = glad_debug_impl_glTexCoord1iv; + glad_debug_glTexCoord1s = glad_debug_impl_glTexCoord1s; + glad_debug_glTexCoord1sv = glad_debug_impl_glTexCoord1sv; + glad_debug_glTexCoord2d = glad_debug_impl_glTexCoord2d; + glad_debug_glTexCoord2dv = glad_debug_impl_glTexCoord2dv; + glad_debug_glTexCoord2f = glad_debug_impl_glTexCoord2f; + glad_debug_glTexCoord2fv = glad_debug_impl_glTexCoord2fv; + glad_debug_glTexCoord2i = glad_debug_impl_glTexCoord2i; + glad_debug_glTexCoord2iv = glad_debug_impl_glTexCoord2iv; + glad_debug_glTexCoord2s = glad_debug_impl_glTexCoord2s; + glad_debug_glTexCoord2sv = glad_debug_impl_glTexCoord2sv; + glad_debug_glTexCoord3d = glad_debug_impl_glTexCoord3d; + glad_debug_glTexCoord3dv = glad_debug_impl_glTexCoord3dv; + glad_debug_glTexCoord3f = glad_debug_impl_glTexCoord3f; + glad_debug_glTexCoord3fv = glad_debug_impl_glTexCoord3fv; + glad_debug_glTexCoord3i = glad_debug_impl_glTexCoord3i; + glad_debug_glTexCoord3iv = glad_debug_impl_glTexCoord3iv; + glad_debug_glTexCoord3s = glad_debug_impl_glTexCoord3s; + glad_debug_glTexCoord3sv = glad_debug_impl_glTexCoord3sv; + glad_debug_glTexCoord4d = glad_debug_impl_glTexCoord4d; + glad_debug_glTexCoord4dv = glad_debug_impl_glTexCoord4dv; + glad_debug_glTexCoord4f = glad_debug_impl_glTexCoord4f; + glad_debug_glTexCoord4fv = glad_debug_impl_glTexCoord4fv; + glad_debug_glTexCoord4i = glad_debug_impl_glTexCoord4i; + glad_debug_glTexCoord4iv = glad_debug_impl_glTexCoord4iv; + glad_debug_glTexCoord4s = glad_debug_impl_glTexCoord4s; + glad_debug_glTexCoord4sv = glad_debug_impl_glTexCoord4sv; + glad_debug_glTexCoordP1ui = glad_debug_impl_glTexCoordP1ui; + glad_debug_glTexCoordP1uiv = glad_debug_impl_glTexCoordP1uiv; + glad_debug_glTexCoordP2ui = glad_debug_impl_glTexCoordP2ui; + glad_debug_glTexCoordP2uiv = glad_debug_impl_glTexCoordP2uiv; + glad_debug_glTexCoordP3ui = glad_debug_impl_glTexCoordP3ui; + glad_debug_glTexCoordP3uiv = glad_debug_impl_glTexCoordP3uiv; + glad_debug_glTexCoordP4ui = glad_debug_impl_glTexCoordP4ui; + glad_debug_glTexCoordP4uiv = glad_debug_impl_glTexCoordP4uiv; + glad_debug_glTexCoordPointer = glad_debug_impl_glTexCoordPointer; + glad_debug_glTexEnvf = glad_debug_impl_glTexEnvf; + glad_debug_glTexEnvfv = glad_debug_impl_glTexEnvfv; + glad_debug_glTexEnvi = glad_debug_impl_glTexEnvi; + glad_debug_glTexEnviv = glad_debug_impl_glTexEnviv; + glad_debug_glTexGend = glad_debug_impl_glTexGend; + glad_debug_glTexGendv = glad_debug_impl_glTexGendv; + glad_debug_glTexGenf = glad_debug_impl_glTexGenf; + glad_debug_glTexGenfv = glad_debug_impl_glTexGenfv; + glad_debug_glTexGeni = glad_debug_impl_glTexGeni; + glad_debug_glTexGeniv = glad_debug_impl_glTexGeniv; + glad_debug_glTexImage1D = glad_debug_impl_glTexImage1D; + glad_debug_glTexImage2D = glad_debug_impl_glTexImage2D; + glad_debug_glTexImage2DMultisample = glad_debug_impl_glTexImage2DMultisample; + glad_debug_glTexImage3D = glad_debug_impl_glTexImage3D; + glad_debug_glTexImage3DMultisample = glad_debug_impl_glTexImage3DMultisample; + glad_debug_glTexParameterIiv = glad_debug_impl_glTexParameterIiv; + glad_debug_glTexParameterIuiv = glad_debug_impl_glTexParameterIuiv; + glad_debug_glTexParameterf = glad_debug_impl_glTexParameterf; + glad_debug_glTexParameterfv = glad_debug_impl_glTexParameterfv; + glad_debug_glTexParameteri = glad_debug_impl_glTexParameteri; + glad_debug_glTexParameteriv = glad_debug_impl_glTexParameteriv; + glad_debug_glTexSubImage1D = glad_debug_impl_glTexSubImage1D; + glad_debug_glTexSubImage2D = glad_debug_impl_glTexSubImage2D; + glad_debug_glTexSubImage3D = glad_debug_impl_glTexSubImage3D; + glad_debug_glTransformFeedbackVaryings = glad_debug_impl_glTransformFeedbackVaryings; + glad_debug_glTranslated = glad_debug_impl_glTranslated; + glad_debug_glTranslatef = glad_debug_impl_glTranslatef; + glad_debug_glUniform1f = glad_debug_impl_glUniform1f; + glad_debug_glUniform1fv = glad_debug_impl_glUniform1fv; + glad_debug_glUniform1i = glad_debug_impl_glUniform1i; + glad_debug_glUniform1iv = glad_debug_impl_glUniform1iv; + glad_debug_glUniform1ui = glad_debug_impl_glUniform1ui; + glad_debug_glUniform1uiv = glad_debug_impl_glUniform1uiv; + glad_debug_glUniform2f = glad_debug_impl_glUniform2f; + glad_debug_glUniform2fv = glad_debug_impl_glUniform2fv; + glad_debug_glUniform2i = glad_debug_impl_glUniform2i; + glad_debug_glUniform2iv = glad_debug_impl_glUniform2iv; + glad_debug_glUniform2ui = glad_debug_impl_glUniform2ui; + glad_debug_glUniform2uiv = glad_debug_impl_glUniform2uiv; + glad_debug_glUniform3f = glad_debug_impl_glUniform3f; + glad_debug_glUniform3fv = glad_debug_impl_glUniform3fv; + glad_debug_glUniform3i = glad_debug_impl_glUniform3i; + glad_debug_glUniform3iv = glad_debug_impl_glUniform3iv; + glad_debug_glUniform3ui = glad_debug_impl_glUniform3ui; + glad_debug_glUniform3uiv = glad_debug_impl_glUniform3uiv; + glad_debug_glUniform4f = glad_debug_impl_glUniform4f; + glad_debug_glUniform4fv = glad_debug_impl_glUniform4fv; + glad_debug_glUniform4i = glad_debug_impl_glUniform4i; + glad_debug_glUniform4iv = glad_debug_impl_glUniform4iv; + glad_debug_glUniform4ui = glad_debug_impl_glUniform4ui; + glad_debug_glUniform4uiv = glad_debug_impl_glUniform4uiv; + glad_debug_glUniformBlockBinding = glad_debug_impl_glUniformBlockBinding; + glad_debug_glUniformMatrix2fv = glad_debug_impl_glUniformMatrix2fv; + glad_debug_glUniformMatrix2x3fv = glad_debug_impl_glUniformMatrix2x3fv; + glad_debug_glUniformMatrix2x4fv = glad_debug_impl_glUniformMatrix2x4fv; + glad_debug_glUniformMatrix3fv = glad_debug_impl_glUniformMatrix3fv; + glad_debug_glUniformMatrix3x2fv = glad_debug_impl_glUniformMatrix3x2fv; + glad_debug_glUniformMatrix3x4fv = glad_debug_impl_glUniformMatrix3x4fv; + glad_debug_glUniformMatrix4fv = glad_debug_impl_glUniformMatrix4fv; + glad_debug_glUniformMatrix4x2fv = glad_debug_impl_glUniformMatrix4x2fv; + glad_debug_glUniformMatrix4x3fv = glad_debug_impl_glUniformMatrix4x3fv; + glad_debug_glUnmapBuffer = glad_debug_impl_glUnmapBuffer; + glad_debug_glUseProgram = glad_debug_impl_glUseProgram; + glad_debug_glValidateProgram = glad_debug_impl_glValidateProgram; + glad_debug_glVertex2d = glad_debug_impl_glVertex2d; + glad_debug_glVertex2dv = glad_debug_impl_glVertex2dv; + glad_debug_glVertex2f = glad_debug_impl_glVertex2f; + glad_debug_glVertex2fv = glad_debug_impl_glVertex2fv; + glad_debug_glVertex2i = glad_debug_impl_glVertex2i; + glad_debug_glVertex2iv = glad_debug_impl_glVertex2iv; + glad_debug_glVertex2s = glad_debug_impl_glVertex2s; + glad_debug_glVertex2sv = glad_debug_impl_glVertex2sv; + glad_debug_glVertex3d = glad_debug_impl_glVertex3d; + glad_debug_glVertex3dv = glad_debug_impl_glVertex3dv; + glad_debug_glVertex3f = glad_debug_impl_glVertex3f; + glad_debug_glVertex3fv = glad_debug_impl_glVertex3fv; + glad_debug_glVertex3i = glad_debug_impl_glVertex3i; + glad_debug_glVertex3iv = glad_debug_impl_glVertex3iv; + glad_debug_glVertex3s = glad_debug_impl_glVertex3s; + glad_debug_glVertex3sv = glad_debug_impl_glVertex3sv; + glad_debug_glVertex4d = glad_debug_impl_glVertex4d; + glad_debug_glVertex4dv = glad_debug_impl_glVertex4dv; + glad_debug_glVertex4f = glad_debug_impl_glVertex4f; + glad_debug_glVertex4fv = glad_debug_impl_glVertex4fv; + glad_debug_glVertex4i = glad_debug_impl_glVertex4i; + glad_debug_glVertex4iv = glad_debug_impl_glVertex4iv; + glad_debug_glVertex4s = glad_debug_impl_glVertex4s; + glad_debug_glVertex4sv = glad_debug_impl_glVertex4sv; + glad_debug_glVertexAttrib1d = glad_debug_impl_glVertexAttrib1d; + glad_debug_glVertexAttrib1dv = glad_debug_impl_glVertexAttrib1dv; + glad_debug_glVertexAttrib1f = glad_debug_impl_glVertexAttrib1f; + glad_debug_glVertexAttrib1fv = glad_debug_impl_glVertexAttrib1fv; + glad_debug_glVertexAttrib1s = glad_debug_impl_glVertexAttrib1s; + glad_debug_glVertexAttrib1sv = glad_debug_impl_glVertexAttrib1sv; + glad_debug_glVertexAttrib2d = glad_debug_impl_glVertexAttrib2d; + glad_debug_glVertexAttrib2dv = glad_debug_impl_glVertexAttrib2dv; + glad_debug_glVertexAttrib2f = glad_debug_impl_glVertexAttrib2f; + glad_debug_glVertexAttrib2fv = glad_debug_impl_glVertexAttrib2fv; + glad_debug_glVertexAttrib2s = glad_debug_impl_glVertexAttrib2s; + glad_debug_glVertexAttrib2sv = glad_debug_impl_glVertexAttrib2sv; + glad_debug_glVertexAttrib3d = glad_debug_impl_glVertexAttrib3d; + glad_debug_glVertexAttrib3dv = glad_debug_impl_glVertexAttrib3dv; + glad_debug_glVertexAttrib3f = glad_debug_impl_glVertexAttrib3f; + glad_debug_glVertexAttrib3fv = glad_debug_impl_glVertexAttrib3fv; + glad_debug_glVertexAttrib3s = glad_debug_impl_glVertexAttrib3s; + glad_debug_glVertexAttrib3sv = glad_debug_impl_glVertexAttrib3sv; + glad_debug_glVertexAttrib4Nbv = glad_debug_impl_glVertexAttrib4Nbv; + glad_debug_glVertexAttrib4Niv = glad_debug_impl_glVertexAttrib4Niv; + glad_debug_glVertexAttrib4Nsv = glad_debug_impl_glVertexAttrib4Nsv; + glad_debug_glVertexAttrib4Nub = glad_debug_impl_glVertexAttrib4Nub; + glad_debug_glVertexAttrib4Nubv = glad_debug_impl_glVertexAttrib4Nubv; + glad_debug_glVertexAttrib4Nuiv = glad_debug_impl_glVertexAttrib4Nuiv; + glad_debug_glVertexAttrib4Nusv = glad_debug_impl_glVertexAttrib4Nusv; + glad_debug_glVertexAttrib4bv = glad_debug_impl_glVertexAttrib4bv; + glad_debug_glVertexAttrib4d = glad_debug_impl_glVertexAttrib4d; + glad_debug_glVertexAttrib4dv = glad_debug_impl_glVertexAttrib4dv; + glad_debug_glVertexAttrib4f = glad_debug_impl_glVertexAttrib4f; + glad_debug_glVertexAttrib4fv = glad_debug_impl_glVertexAttrib4fv; + glad_debug_glVertexAttrib4iv = glad_debug_impl_glVertexAttrib4iv; + glad_debug_glVertexAttrib4s = glad_debug_impl_glVertexAttrib4s; + glad_debug_glVertexAttrib4sv = glad_debug_impl_glVertexAttrib4sv; + glad_debug_glVertexAttrib4ubv = glad_debug_impl_glVertexAttrib4ubv; + glad_debug_glVertexAttrib4uiv = glad_debug_impl_glVertexAttrib4uiv; + glad_debug_glVertexAttrib4usv = glad_debug_impl_glVertexAttrib4usv; + glad_debug_glVertexAttribDivisor = glad_debug_impl_glVertexAttribDivisor; + glad_debug_glVertexAttribI1i = glad_debug_impl_glVertexAttribI1i; + glad_debug_glVertexAttribI1iv = glad_debug_impl_glVertexAttribI1iv; + glad_debug_glVertexAttribI1ui = glad_debug_impl_glVertexAttribI1ui; + glad_debug_glVertexAttribI1uiv = glad_debug_impl_glVertexAttribI1uiv; + glad_debug_glVertexAttribI2i = glad_debug_impl_glVertexAttribI2i; + glad_debug_glVertexAttribI2iv = glad_debug_impl_glVertexAttribI2iv; + glad_debug_glVertexAttribI2ui = glad_debug_impl_glVertexAttribI2ui; + glad_debug_glVertexAttribI2uiv = glad_debug_impl_glVertexAttribI2uiv; + glad_debug_glVertexAttribI3i = glad_debug_impl_glVertexAttribI3i; + glad_debug_glVertexAttribI3iv = glad_debug_impl_glVertexAttribI3iv; + glad_debug_glVertexAttribI3ui = glad_debug_impl_glVertexAttribI3ui; + glad_debug_glVertexAttribI3uiv = glad_debug_impl_glVertexAttribI3uiv; + glad_debug_glVertexAttribI4bv = glad_debug_impl_glVertexAttribI4bv; + glad_debug_glVertexAttribI4i = glad_debug_impl_glVertexAttribI4i; + glad_debug_glVertexAttribI4iv = glad_debug_impl_glVertexAttribI4iv; + glad_debug_glVertexAttribI4sv = glad_debug_impl_glVertexAttribI4sv; + glad_debug_glVertexAttribI4ubv = glad_debug_impl_glVertexAttribI4ubv; + glad_debug_glVertexAttribI4ui = glad_debug_impl_glVertexAttribI4ui; + glad_debug_glVertexAttribI4uiv = glad_debug_impl_glVertexAttribI4uiv; + glad_debug_glVertexAttribI4usv = glad_debug_impl_glVertexAttribI4usv; + glad_debug_glVertexAttribIPointer = glad_debug_impl_glVertexAttribIPointer; + glad_debug_glVertexAttribP1ui = glad_debug_impl_glVertexAttribP1ui; + glad_debug_glVertexAttribP1uiv = glad_debug_impl_glVertexAttribP1uiv; + glad_debug_glVertexAttribP2ui = glad_debug_impl_glVertexAttribP2ui; + glad_debug_glVertexAttribP2uiv = glad_debug_impl_glVertexAttribP2uiv; + glad_debug_glVertexAttribP3ui = glad_debug_impl_glVertexAttribP3ui; + glad_debug_glVertexAttribP3uiv = glad_debug_impl_glVertexAttribP3uiv; + glad_debug_glVertexAttribP4ui = glad_debug_impl_glVertexAttribP4ui; + glad_debug_glVertexAttribP4uiv = glad_debug_impl_glVertexAttribP4uiv; + glad_debug_glVertexAttribPointer = glad_debug_impl_glVertexAttribPointer; + glad_debug_glVertexP2ui = glad_debug_impl_glVertexP2ui; + glad_debug_glVertexP2uiv = glad_debug_impl_glVertexP2uiv; + glad_debug_glVertexP3ui = glad_debug_impl_glVertexP3ui; + glad_debug_glVertexP3uiv = glad_debug_impl_glVertexP3uiv; + glad_debug_glVertexP4ui = glad_debug_impl_glVertexP4ui; + glad_debug_glVertexP4uiv = glad_debug_impl_glVertexP4uiv; + glad_debug_glVertexPointer = glad_debug_impl_glVertexPointer; + glad_debug_glViewport = glad_debug_impl_glViewport; + glad_debug_glWaitSync = glad_debug_impl_glWaitSync; + glad_debug_glWindowPos2d = glad_debug_impl_glWindowPos2d; + glad_debug_glWindowPos2dv = glad_debug_impl_glWindowPos2dv; + glad_debug_glWindowPos2f = glad_debug_impl_glWindowPos2f; + glad_debug_glWindowPos2fv = glad_debug_impl_glWindowPos2fv; + glad_debug_glWindowPos2i = glad_debug_impl_glWindowPos2i; + glad_debug_glWindowPos2iv = glad_debug_impl_glWindowPos2iv; + glad_debug_glWindowPos2s = glad_debug_impl_glWindowPos2s; + glad_debug_glWindowPos2sv = glad_debug_impl_glWindowPos2sv; + glad_debug_glWindowPos3d = glad_debug_impl_glWindowPos3d; + glad_debug_glWindowPos3dv = glad_debug_impl_glWindowPos3dv; + glad_debug_glWindowPos3f = glad_debug_impl_glWindowPos3f; + glad_debug_glWindowPos3fv = glad_debug_impl_glWindowPos3fv; + glad_debug_glWindowPos3i = glad_debug_impl_glWindowPos3i; + glad_debug_glWindowPos3iv = glad_debug_impl_glWindowPos3iv; + glad_debug_glWindowPos3s = glad_debug_impl_glWindowPos3s; + glad_debug_glWindowPos3sv = glad_debug_impl_glWindowPos3sv; +} + +void gladUninstallGLDebug() { + glad_debug_glAccum = glad_glAccum; + glad_debug_glActiveTexture = glad_glActiveTexture; + glad_debug_glAlphaFunc = glad_glAlphaFunc; + glad_debug_glAreTexturesResident = glad_glAreTexturesResident; + glad_debug_glArrayElement = glad_glArrayElement; + glad_debug_glAttachShader = glad_glAttachShader; + glad_debug_glBegin = glad_glBegin; + glad_debug_glBeginConditionalRender = glad_glBeginConditionalRender; + glad_debug_glBeginQuery = glad_glBeginQuery; + glad_debug_glBeginTransformFeedback = glad_glBeginTransformFeedback; + glad_debug_glBindAttribLocation = glad_glBindAttribLocation; + glad_debug_glBindBuffer = glad_glBindBuffer; + glad_debug_glBindBufferBase = glad_glBindBufferBase; + glad_debug_glBindBufferRange = glad_glBindBufferRange; + glad_debug_glBindFragDataLocation = glad_glBindFragDataLocation; + glad_debug_glBindFragDataLocationIndexed = glad_glBindFragDataLocationIndexed; + glad_debug_glBindFramebuffer = glad_glBindFramebuffer; + glad_debug_glBindRenderbuffer = glad_glBindRenderbuffer; + glad_debug_glBindSampler = glad_glBindSampler; + glad_debug_glBindTexture = glad_glBindTexture; + glad_debug_glBindVertexArray = glad_glBindVertexArray; + glad_debug_glBitmap = glad_glBitmap; + glad_debug_glBlendColor = glad_glBlendColor; + glad_debug_glBlendEquation = glad_glBlendEquation; + glad_debug_glBlendEquationSeparate = glad_glBlendEquationSeparate; + glad_debug_glBlendFunc = glad_glBlendFunc; + glad_debug_glBlendFuncSeparate = glad_glBlendFuncSeparate; + glad_debug_glBlitFramebuffer = glad_glBlitFramebuffer; + glad_debug_glBufferData = glad_glBufferData; + glad_debug_glBufferSubData = glad_glBufferSubData; + glad_debug_glCallList = glad_glCallList; + glad_debug_glCallLists = glad_glCallLists; + glad_debug_glCheckFramebufferStatus = glad_glCheckFramebufferStatus; + glad_debug_glClampColor = glad_glClampColor; + glad_debug_glClear = glad_glClear; + glad_debug_glClearAccum = glad_glClearAccum; + glad_debug_glClearBufferfi = glad_glClearBufferfi; + glad_debug_glClearBufferfv = glad_glClearBufferfv; + glad_debug_glClearBufferiv = glad_glClearBufferiv; + glad_debug_glClearBufferuiv = glad_glClearBufferuiv; + glad_debug_glClearColor = glad_glClearColor; + glad_debug_glClearDepth = glad_glClearDepth; + glad_debug_glClearIndex = glad_glClearIndex; + glad_debug_glClearStencil = glad_glClearStencil; + glad_debug_glClientActiveTexture = glad_glClientActiveTexture; + glad_debug_glClientWaitSync = glad_glClientWaitSync; + glad_debug_glClipPlane = glad_glClipPlane; + glad_debug_glColor3b = glad_glColor3b; + glad_debug_glColor3bv = glad_glColor3bv; + glad_debug_glColor3d = glad_glColor3d; + glad_debug_glColor3dv = glad_glColor3dv; + glad_debug_glColor3f = glad_glColor3f; + glad_debug_glColor3fv = glad_glColor3fv; + glad_debug_glColor3i = glad_glColor3i; + glad_debug_glColor3iv = glad_glColor3iv; + glad_debug_glColor3s = glad_glColor3s; + glad_debug_glColor3sv = glad_glColor3sv; + glad_debug_glColor3ub = glad_glColor3ub; + glad_debug_glColor3ubv = glad_glColor3ubv; + glad_debug_glColor3ui = glad_glColor3ui; + glad_debug_glColor3uiv = glad_glColor3uiv; + glad_debug_glColor3us = glad_glColor3us; + glad_debug_glColor3usv = glad_glColor3usv; + glad_debug_glColor4b = glad_glColor4b; + glad_debug_glColor4bv = glad_glColor4bv; + glad_debug_glColor4d = glad_glColor4d; + glad_debug_glColor4dv = glad_glColor4dv; + glad_debug_glColor4f = glad_glColor4f; + glad_debug_glColor4fv = glad_glColor4fv; + glad_debug_glColor4i = glad_glColor4i; + glad_debug_glColor4iv = glad_glColor4iv; + glad_debug_glColor4s = glad_glColor4s; + glad_debug_glColor4sv = glad_glColor4sv; + glad_debug_glColor4ub = glad_glColor4ub; + glad_debug_glColor4ubv = glad_glColor4ubv; + glad_debug_glColor4ui = glad_glColor4ui; + glad_debug_glColor4uiv = glad_glColor4uiv; + glad_debug_glColor4us = glad_glColor4us; + glad_debug_glColor4usv = glad_glColor4usv; + glad_debug_glColorMask = glad_glColorMask; + glad_debug_glColorMaski = glad_glColorMaski; + glad_debug_glColorMaterial = glad_glColorMaterial; + glad_debug_glColorP3ui = glad_glColorP3ui; + glad_debug_glColorP3uiv = glad_glColorP3uiv; + glad_debug_glColorP4ui = glad_glColorP4ui; + glad_debug_glColorP4uiv = glad_glColorP4uiv; + glad_debug_glColorPointer = glad_glColorPointer; + glad_debug_glCompileShader = glad_glCompileShader; + glad_debug_glCompressedTexImage1D = glad_glCompressedTexImage1D; + glad_debug_glCompressedTexImage2D = glad_glCompressedTexImage2D; + glad_debug_glCompressedTexImage3D = glad_glCompressedTexImage3D; + glad_debug_glCompressedTexSubImage1D = glad_glCompressedTexSubImage1D; + glad_debug_glCompressedTexSubImage2D = glad_glCompressedTexSubImage2D; + glad_debug_glCompressedTexSubImage3D = glad_glCompressedTexSubImage3D; + glad_debug_glCopyBufferSubData = glad_glCopyBufferSubData; + glad_debug_glCopyPixels = glad_glCopyPixels; + glad_debug_glCopyTexImage1D = glad_glCopyTexImage1D; + glad_debug_glCopyTexImage2D = glad_glCopyTexImage2D; + glad_debug_glCopyTexSubImage1D = glad_glCopyTexSubImage1D; + glad_debug_glCopyTexSubImage2D = glad_glCopyTexSubImage2D; + glad_debug_glCopyTexSubImage3D = glad_glCopyTexSubImage3D; + glad_debug_glCreateProgram = glad_glCreateProgram; + glad_debug_glCreateShader = glad_glCreateShader; + glad_debug_glCullFace = glad_glCullFace; + glad_debug_glDeleteBuffers = glad_glDeleteBuffers; + glad_debug_glDeleteFramebuffers = glad_glDeleteFramebuffers; + glad_debug_glDeleteLists = glad_glDeleteLists; + glad_debug_glDeleteProgram = glad_glDeleteProgram; + glad_debug_glDeleteQueries = glad_glDeleteQueries; + glad_debug_glDeleteRenderbuffers = glad_glDeleteRenderbuffers; + glad_debug_glDeleteSamplers = glad_glDeleteSamplers; + glad_debug_glDeleteShader = glad_glDeleteShader; + glad_debug_glDeleteSync = glad_glDeleteSync; + glad_debug_glDeleteTextures = glad_glDeleteTextures; + glad_debug_glDeleteVertexArrays = glad_glDeleteVertexArrays; + glad_debug_glDepthFunc = glad_glDepthFunc; + glad_debug_glDepthMask = glad_glDepthMask; + glad_debug_glDepthRange = glad_glDepthRange; + glad_debug_glDetachShader = glad_glDetachShader; + glad_debug_glDisable = glad_glDisable; + glad_debug_glDisableClientState = glad_glDisableClientState; + glad_debug_glDisableVertexAttribArray = glad_glDisableVertexAttribArray; + glad_debug_glDisablei = glad_glDisablei; + glad_debug_glDrawArrays = glad_glDrawArrays; + glad_debug_glDrawArraysInstanced = glad_glDrawArraysInstanced; + glad_debug_glDrawBuffer = glad_glDrawBuffer; + glad_debug_glDrawBuffers = glad_glDrawBuffers; + glad_debug_glDrawElements = glad_glDrawElements; + glad_debug_glDrawElementsBaseVertex = glad_glDrawElementsBaseVertex; + glad_debug_glDrawElementsInstanced = glad_glDrawElementsInstanced; + glad_debug_glDrawElementsInstancedBaseVertex = glad_glDrawElementsInstancedBaseVertex; + glad_debug_glDrawPixels = glad_glDrawPixels; + glad_debug_glDrawRangeElements = glad_glDrawRangeElements; + glad_debug_glDrawRangeElementsBaseVertex = glad_glDrawRangeElementsBaseVertex; + glad_debug_glEdgeFlag = glad_glEdgeFlag; + glad_debug_glEdgeFlagPointer = glad_glEdgeFlagPointer; + glad_debug_glEdgeFlagv = glad_glEdgeFlagv; + glad_debug_glEnable = glad_glEnable; + glad_debug_glEnableClientState = glad_glEnableClientState; + glad_debug_glEnableVertexAttribArray = glad_glEnableVertexAttribArray; + glad_debug_glEnablei = glad_glEnablei; + glad_debug_glEnd = glad_glEnd; + glad_debug_glEndConditionalRender = glad_glEndConditionalRender; + glad_debug_glEndList = glad_glEndList; + glad_debug_glEndQuery = glad_glEndQuery; + glad_debug_glEndTransformFeedback = glad_glEndTransformFeedback; + glad_debug_glEvalCoord1d = glad_glEvalCoord1d; + glad_debug_glEvalCoord1dv = glad_glEvalCoord1dv; + glad_debug_glEvalCoord1f = glad_glEvalCoord1f; + glad_debug_glEvalCoord1fv = glad_glEvalCoord1fv; + glad_debug_glEvalCoord2d = glad_glEvalCoord2d; + glad_debug_glEvalCoord2dv = glad_glEvalCoord2dv; + glad_debug_glEvalCoord2f = glad_glEvalCoord2f; + glad_debug_glEvalCoord2fv = glad_glEvalCoord2fv; + glad_debug_glEvalMesh1 = glad_glEvalMesh1; + glad_debug_glEvalMesh2 = glad_glEvalMesh2; + glad_debug_glEvalPoint1 = glad_glEvalPoint1; + glad_debug_glEvalPoint2 = glad_glEvalPoint2; + glad_debug_glFeedbackBuffer = glad_glFeedbackBuffer; + glad_debug_glFenceSync = glad_glFenceSync; + glad_debug_glFinish = glad_glFinish; + glad_debug_glFlush = glad_glFlush; + glad_debug_glFlushMappedBufferRange = glad_glFlushMappedBufferRange; + glad_debug_glFogCoordPointer = glad_glFogCoordPointer; + glad_debug_glFogCoordd = glad_glFogCoordd; + glad_debug_glFogCoorddv = glad_glFogCoorddv; + glad_debug_glFogCoordf = glad_glFogCoordf; + glad_debug_glFogCoordfv = glad_glFogCoordfv; + glad_debug_glFogf = glad_glFogf; + glad_debug_glFogfv = glad_glFogfv; + glad_debug_glFogi = glad_glFogi; + glad_debug_glFogiv = glad_glFogiv; + glad_debug_glFramebufferRenderbuffer = glad_glFramebufferRenderbuffer; + glad_debug_glFramebufferTexture = glad_glFramebufferTexture; + glad_debug_glFramebufferTexture1D = glad_glFramebufferTexture1D; + glad_debug_glFramebufferTexture2D = glad_glFramebufferTexture2D; + glad_debug_glFramebufferTexture3D = glad_glFramebufferTexture3D; + glad_debug_glFramebufferTextureLayer = glad_glFramebufferTextureLayer; + glad_debug_glFrontFace = glad_glFrontFace; + glad_debug_glFrustum = glad_glFrustum; + glad_debug_glGenBuffers = glad_glGenBuffers; + glad_debug_glGenFramebuffers = glad_glGenFramebuffers; + glad_debug_glGenLists = glad_glGenLists; + glad_debug_glGenQueries = glad_glGenQueries; + glad_debug_glGenRenderbuffers = glad_glGenRenderbuffers; + glad_debug_glGenSamplers = glad_glGenSamplers; + glad_debug_glGenTextures = glad_glGenTextures; + glad_debug_glGenVertexArrays = glad_glGenVertexArrays; + glad_debug_glGenerateMipmap = glad_glGenerateMipmap; + glad_debug_glGetActiveAttrib = glad_glGetActiveAttrib; + glad_debug_glGetActiveUniform = glad_glGetActiveUniform; + glad_debug_glGetActiveUniformBlockName = glad_glGetActiveUniformBlockName; + glad_debug_glGetActiveUniformBlockiv = glad_glGetActiveUniformBlockiv; + glad_debug_glGetActiveUniformName = glad_glGetActiveUniformName; + glad_debug_glGetActiveUniformsiv = glad_glGetActiveUniformsiv; + glad_debug_glGetAttachedShaders = glad_glGetAttachedShaders; + glad_debug_glGetAttribLocation = glad_glGetAttribLocation; + glad_debug_glGetBooleani_v = glad_glGetBooleani_v; + glad_debug_glGetBooleanv = glad_glGetBooleanv; + glad_debug_glGetBufferParameteri64v = glad_glGetBufferParameteri64v; + glad_debug_glGetBufferParameteriv = glad_glGetBufferParameteriv; + glad_debug_glGetBufferPointerv = glad_glGetBufferPointerv; + glad_debug_glGetBufferSubData = glad_glGetBufferSubData; + glad_debug_glGetClipPlane = glad_glGetClipPlane; + glad_debug_glGetCompressedTexImage = glad_glGetCompressedTexImage; + glad_debug_glGetDoublev = glad_glGetDoublev; + glad_debug_glGetError = glad_glGetError; + glad_debug_glGetFloatv = glad_glGetFloatv; + glad_debug_glGetFragDataIndex = glad_glGetFragDataIndex; + glad_debug_glGetFragDataLocation = glad_glGetFragDataLocation; + glad_debug_glGetFramebufferAttachmentParameteriv = glad_glGetFramebufferAttachmentParameteriv; + glad_debug_glGetInteger64i_v = glad_glGetInteger64i_v; + glad_debug_glGetInteger64v = glad_glGetInteger64v; + glad_debug_glGetIntegeri_v = glad_glGetIntegeri_v; + glad_debug_glGetIntegerv = glad_glGetIntegerv; + glad_debug_glGetLightfv = glad_glGetLightfv; + glad_debug_glGetLightiv = glad_glGetLightiv; + glad_debug_glGetMapdv = glad_glGetMapdv; + glad_debug_glGetMapfv = glad_glGetMapfv; + glad_debug_glGetMapiv = glad_glGetMapiv; + glad_debug_glGetMaterialfv = glad_glGetMaterialfv; + glad_debug_glGetMaterialiv = glad_glGetMaterialiv; + glad_debug_glGetMultisamplefv = glad_glGetMultisamplefv; + glad_debug_glGetPixelMapfv = glad_glGetPixelMapfv; + glad_debug_glGetPixelMapuiv = glad_glGetPixelMapuiv; + glad_debug_glGetPixelMapusv = glad_glGetPixelMapusv; + glad_debug_glGetPointerv = glad_glGetPointerv; + glad_debug_glGetPolygonStipple = glad_glGetPolygonStipple; + glad_debug_glGetProgramInfoLog = glad_glGetProgramInfoLog; + glad_debug_glGetProgramiv = glad_glGetProgramiv; + glad_debug_glGetQueryObjecti64v = glad_glGetQueryObjecti64v; + glad_debug_glGetQueryObjectiv = glad_glGetQueryObjectiv; + glad_debug_glGetQueryObjectui64v = glad_glGetQueryObjectui64v; + glad_debug_glGetQueryObjectuiv = glad_glGetQueryObjectuiv; + glad_debug_glGetQueryiv = glad_glGetQueryiv; + glad_debug_glGetRenderbufferParameteriv = glad_glGetRenderbufferParameteriv; + glad_debug_glGetSamplerParameterIiv = glad_glGetSamplerParameterIiv; + glad_debug_glGetSamplerParameterIuiv = glad_glGetSamplerParameterIuiv; + glad_debug_glGetSamplerParameterfv = glad_glGetSamplerParameterfv; + glad_debug_glGetSamplerParameteriv = glad_glGetSamplerParameteriv; + glad_debug_glGetShaderInfoLog = glad_glGetShaderInfoLog; + glad_debug_glGetShaderSource = glad_glGetShaderSource; + glad_debug_glGetShaderiv = glad_glGetShaderiv; + glad_debug_glGetString = glad_glGetString; + glad_debug_glGetStringi = glad_glGetStringi; + glad_debug_glGetSynciv = glad_glGetSynciv; + glad_debug_glGetTexEnvfv = glad_glGetTexEnvfv; + glad_debug_glGetTexEnviv = glad_glGetTexEnviv; + glad_debug_glGetTexGendv = glad_glGetTexGendv; + glad_debug_glGetTexGenfv = glad_glGetTexGenfv; + glad_debug_glGetTexGeniv = glad_glGetTexGeniv; + glad_debug_glGetTexImage = glad_glGetTexImage; + glad_debug_glGetTexLevelParameterfv = glad_glGetTexLevelParameterfv; + glad_debug_glGetTexLevelParameteriv = glad_glGetTexLevelParameteriv; + glad_debug_glGetTexParameterIiv = glad_glGetTexParameterIiv; + glad_debug_glGetTexParameterIuiv = glad_glGetTexParameterIuiv; + glad_debug_glGetTexParameterfv = glad_glGetTexParameterfv; + glad_debug_glGetTexParameteriv = glad_glGetTexParameteriv; + glad_debug_glGetTransformFeedbackVarying = glad_glGetTransformFeedbackVarying; + glad_debug_glGetUniformBlockIndex = glad_glGetUniformBlockIndex; + glad_debug_glGetUniformIndices = glad_glGetUniformIndices; + glad_debug_glGetUniformLocation = glad_glGetUniformLocation; + glad_debug_glGetUniformfv = glad_glGetUniformfv; + glad_debug_glGetUniformiv = glad_glGetUniformiv; + glad_debug_glGetUniformuiv = glad_glGetUniformuiv; + glad_debug_glGetVertexAttribIiv = glad_glGetVertexAttribIiv; + glad_debug_glGetVertexAttribIuiv = glad_glGetVertexAttribIuiv; + glad_debug_glGetVertexAttribPointerv = glad_glGetVertexAttribPointerv; + glad_debug_glGetVertexAttribdv = glad_glGetVertexAttribdv; + glad_debug_glGetVertexAttribfv = glad_glGetVertexAttribfv; + glad_debug_glGetVertexAttribiv = glad_glGetVertexAttribiv; + glad_debug_glHint = glad_glHint; + glad_debug_glIndexMask = glad_glIndexMask; + glad_debug_glIndexPointer = glad_glIndexPointer; + glad_debug_glIndexd = glad_glIndexd; + glad_debug_glIndexdv = glad_glIndexdv; + glad_debug_glIndexf = glad_glIndexf; + glad_debug_glIndexfv = glad_glIndexfv; + glad_debug_glIndexi = glad_glIndexi; + glad_debug_glIndexiv = glad_glIndexiv; + glad_debug_glIndexs = glad_glIndexs; + glad_debug_glIndexsv = glad_glIndexsv; + glad_debug_glIndexub = glad_glIndexub; + glad_debug_glIndexubv = glad_glIndexubv; + glad_debug_glInitNames = glad_glInitNames; + glad_debug_glInterleavedArrays = glad_glInterleavedArrays; + glad_debug_glIsBuffer = glad_glIsBuffer; + glad_debug_glIsEnabled = glad_glIsEnabled; + glad_debug_glIsEnabledi = glad_glIsEnabledi; + glad_debug_glIsFramebuffer = glad_glIsFramebuffer; + glad_debug_glIsList = glad_glIsList; + glad_debug_glIsProgram = glad_glIsProgram; + glad_debug_glIsQuery = glad_glIsQuery; + glad_debug_glIsRenderbuffer = glad_glIsRenderbuffer; + glad_debug_glIsSampler = glad_glIsSampler; + glad_debug_glIsShader = glad_glIsShader; + glad_debug_glIsSync = glad_glIsSync; + glad_debug_glIsTexture = glad_glIsTexture; + glad_debug_glIsVertexArray = glad_glIsVertexArray; + glad_debug_glLightModelf = glad_glLightModelf; + glad_debug_glLightModelfv = glad_glLightModelfv; + glad_debug_glLightModeli = glad_glLightModeli; + glad_debug_glLightModeliv = glad_glLightModeliv; + glad_debug_glLightf = glad_glLightf; + glad_debug_glLightfv = glad_glLightfv; + glad_debug_glLighti = glad_glLighti; + glad_debug_glLightiv = glad_glLightiv; + glad_debug_glLineStipple = glad_glLineStipple; + glad_debug_glLineWidth = glad_glLineWidth; + glad_debug_glLinkProgram = glad_glLinkProgram; + glad_debug_glListBase = glad_glListBase; + glad_debug_glLoadIdentity = glad_glLoadIdentity; + glad_debug_glLoadMatrixd = glad_glLoadMatrixd; + glad_debug_glLoadMatrixf = glad_glLoadMatrixf; + glad_debug_glLoadName = glad_glLoadName; + glad_debug_glLoadTransposeMatrixd = glad_glLoadTransposeMatrixd; + glad_debug_glLoadTransposeMatrixf = glad_glLoadTransposeMatrixf; + glad_debug_glLogicOp = glad_glLogicOp; + glad_debug_glMap1d = glad_glMap1d; + glad_debug_glMap1f = glad_glMap1f; + glad_debug_glMap2d = glad_glMap2d; + glad_debug_glMap2f = glad_glMap2f; + glad_debug_glMapBuffer = glad_glMapBuffer; + glad_debug_glMapBufferRange = glad_glMapBufferRange; + glad_debug_glMapGrid1d = glad_glMapGrid1d; + glad_debug_glMapGrid1f = glad_glMapGrid1f; + glad_debug_glMapGrid2d = glad_glMapGrid2d; + glad_debug_glMapGrid2f = glad_glMapGrid2f; + glad_debug_glMaterialf = glad_glMaterialf; + glad_debug_glMaterialfv = glad_glMaterialfv; + glad_debug_glMateriali = glad_glMateriali; + glad_debug_glMaterialiv = glad_glMaterialiv; + glad_debug_glMatrixMode = glad_glMatrixMode; + glad_debug_glMultMatrixd = glad_glMultMatrixd; + glad_debug_glMultMatrixf = glad_glMultMatrixf; + glad_debug_glMultTransposeMatrixd = glad_glMultTransposeMatrixd; + glad_debug_glMultTransposeMatrixf = glad_glMultTransposeMatrixf; + glad_debug_glMultiDrawArrays = glad_glMultiDrawArrays; + glad_debug_glMultiDrawElements = glad_glMultiDrawElements; + glad_debug_glMultiDrawElementsBaseVertex = glad_glMultiDrawElementsBaseVertex; + glad_debug_glMultiTexCoord1d = glad_glMultiTexCoord1d; + glad_debug_glMultiTexCoord1dv = glad_glMultiTexCoord1dv; + glad_debug_glMultiTexCoord1f = glad_glMultiTexCoord1f; + glad_debug_glMultiTexCoord1fv = glad_glMultiTexCoord1fv; + glad_debug_glMultiTexCoord1i = glad_glMultiTexCoord1i; + glad_debug_glMultiTexCoord1iv = glad_glMultiTexCoord1iv; + glad_debug_glMultiTexCoord1s = glad_glMultiTexCoord1s; + glad_debug_glMultiTexCoord1sv = glad_glMultiTexCoord1sv; + glad_debug_glMultiTexCoord2d = glad_glMultiTexCoord2d; + glad_debug_glMultiTexCoord2dv = glad_glMultiTexCoord2dv; + glad_debug_glMultiTexCoord2f = glad_glMultiTexCoord2f; + glad_debug_glMultiTexCoord2fv = glad_glMultiTexCoord2fv; + glad_debug_glMultiTexCoord2i = glad_glMultiTexCoord2i; + glad_debug_glMultiTexCoord2iv = glad_glMultiTexCoord2iv; + glad_debug_glMultiTexCoord2s = glad_glMultiTexCoord2s; + glad_debug_glMultiTexCoord2sv = glad_glMultiTexCoord2sv; + glad_debug_glMultiTexCoord3d = glad_glMultiTexCoord3d; + glad_debug_glMultiTexCoord3dv = glad_glMultiTexCoord3dv; + glad_debug_glMultiTexCoord3f = glad_glMultiTexCoord3f; + glad_debug_glMultiTexCoord3fv = glad_glMultiTexCoord3fv; + glad_debug_glMultiTexCoord3i = glad_glMultiTexCoord3i; + glad_debug_glMultiTexCoord3iv = glad_glMultiTexCoord3iv; + glad_debug_glMultiTexCoord3s = glad_glMultiTexCoord3s; + glad_debug_glMultiTexCoord3sv = glad_glMultiTexCoord3sv; + glad_debug_glMultiTexCoord4d = glad_glMultiTexCoord4d; + glad_debug_glMultiTexCoord4dv = glad_glMultiTexCoord4dv; + glad_debug_glMultiTexCoord4f = glad_glMultiTexCoord4f; + glad_debug_glMultiTexCoord4fv = glad_glMultiTexCoord4fv; + glad_debug_glMultiTexCoord4i = glad_glMultiTexCoord4i; + glad_debug_glMultiTexCoord4iv = glad_glMultiTexCoord4iv; + glad_debug_glMultiTexCoord4s = glad_glMultiTexCoord4s; + glad_debug_glMultiTexCoord4sv = glad_glMultiTexCoord4sv; + glad_debug_glMultiTexCoordP1ui = glad_glMultiTexCoordP1ui; + glad_debug_glMultiTexCoordP1uiv = glad_glMultiTexCoordP1uiv; + glad_debug_glMultiTexCoordP2ui = glad_glMultiTexCoordP2ui; + glad_debug_glMultiTexCoordP2uiv = glad_glMultiTexCoordP2uiv; + glad_debug_glMultiTexCoordP3ui = glad_glMultiTexCoordP3ui; + glad_debug_glMultiTexCoordP3uiv = glad_glMultiTexCoordP3uiv; + glad_debug_glMultiTexCoordP4ui = glad_glMultiTexCoordP4ui; + glad_debug_glMultiTexCoordP4uiv = glad_glMultiTexCoordP4uiv; + glad_debug_glNewList = glad_glNewList; + glad_debug_glNormal3b = glad_glNormal3b; + glad_debug_glNormal3bv = glad_glNormal3bv; + glad_debug_glNormal3d = glad_glNormal3d; + glad_debug_glNormal3dv = glad_glNormal3dv; + glad_debug_glNormal3f = glad_glNormal3f; + glad_debug_glNormal3fv = glad_glNormal3fv; + glad_debug_glNormal3i = glad_glNormal3i; + glad_debug_glNormal3iv = glad_glNormal3iv; + glad_debug_glNormal3s = glad_glNormal3s; + glad_debug_glNormal3sv = glad_glNormal3sv; + glad_debug_glNormalP3ui = glad_glNormalP3ui; + glad_debug_glNormalP3uiv = glad_glNormalP3uiv; + glad_debug_glNormalPointer = glad_glNormalPointer; + glad_debug_glOrtho = glad_glOrtho; + glad_debug_glPassThrough = glad_glPassThrough; + glad_debug_glPixelMapfv = glad_glPixelMapfv; + glad_debug_glPixelMapuiv = glad_glPixelMapuiv; + glad_debug_glPixelMapusv = glad_glPixelMapusv; + glad_debug_glPixelStoref = glad_glPixelStoref; + glad_debug_glPixelStorei = glad_glPixelStorei; + glad_debug_glPixelTransferf = glad_glPixelTransferf; + glad_debug_glPixelTransferi = glad_glPixelTransferi; + glad_debug_glPixelZoom = glad_glPixelZoom; + glad_debug_glPointParameterf = glad_glPointParameterf; + glad_debug_glPointParameterfv = glad_glPointParameterfv; + glad_debug_glPointParameteri = glad_glPointParameteri; + glad_debug_glPointParameteriv = glad_glPointParameteriv; + glad_debug_glPointSize = glad_glPointSize; + glad_debug_glPolygonMode = glad_glPolygonMode; + glad_debug_glPolygonOffset = glad_glPolygonOffset; + glad_debug_glPolygonStipple = glad_glPolygonStipple; + glad_debug_glPopAttrib = glad_glPopAttrib; + glad_debug_glPopClientAttrib = glad_glPopClientAttrib; + glad_debug_glPopMatrix = glad_glPopMatrix; + glad_debug_glPopName = glad_glPopName; + glad_debug_glPrimitiveRestartIndex = glad_glPrimitiveRestartIndex; + glad_debug_glPrioritizeTextures = glad_glPrioritizeTextures; + glad_debug_glProvokingVertex = glad_glProvokingVertex; + glad_debug_glPushAttrib = glad_glPushAttrib; + glad_debug_glPushClientAttrib = glad_glPushClientAttrib; + glad_debug_glPushMatrix = glad_glPushMatrix; + glad_debug_glPushName = glad_glPushName; + glad_debug_glQueryCounter = glad_glQueryCounter; + glad_debug_glRasterPos2d = glad_glRasterPos2d; + glad_debug_glRasterPos2dv = glad_glRasterPos2dv; + glad_debug_glRasterPos2f = glad_glRasterPos2f; + glad_debug_glRasterPos2fv = glad_glRasterPos2fv; + glad_debug_glRasterPos2i = glad_glRasterPos2i; + glad_debug_glRasterPos2iv = glad_glRasterPos2iv; + glad_debug_glRasterPos2s = glad_glRasterPos2s; + glad_debug_glRasterPos2sv = glad_glRasterPos2sv; + glad_debug_glRasterPos3d = glad_glRasterPos3d; + glad_debug_glRasterPos3dv = glad_glRasterPos3dv; + glad_debug_glRasterPos3f = glad_glRasterPos3f; + glad_debug_glRasterPos3fv = glad_glRasterPos3fv; + glad_debug_glRasterPos3i = glad_glRasterPos3i; + glad_debug_glRasterPos3iv = glad_glRasterPos3iv; + glad_debug_glRasterPos3s = glad_glRasterPos3s; + glad_debug_glRasterPos3sv = glad_glRasterPos3sv; + glad_debug_glRasterPos4d = glad_glRasterPos4d; + glad_debug_glRasterPos4dv = glad_glRasterPos4dv; + glad_debug_glRasterPos4f = glad_glRasterPos4f; + glad_debug_glRasterPos4fv = glad_glRasterPos4fv; + glad_debug_glRasterPos4i = glad_glRasterPos4i; + glad_debug_glRasterPos4iv = glad_glRasterPos4iv; + glad_debug_glRasterPos4s = glad_glRasterPos4s; + glad_debug_glRasterPos4sv = glad_glRasterPos4sv; + glad_debug_glReadBuffer = glad_glReadBuffer; + glad_debug_glReadPixels = glad_glReadPixels; + glad_debug_glRectd = glad_glRectd; + glad_debug_glRectdv = glad_glRectdv; + glad_debug_glRectf = glad_glRectf; + glad_debug_glRectfv = glad_glRectfv; + glad_debug_glRecti = glad_glRecti; + glad_debug_glRectiv = glad_glRectiv; + glad_debug_glRects = glad_glRects; + glad_debug_glRectsv = glad_glRectsv; + glad_debug_glRenderMode = glad_glRenderMode; + glad_debug_glRenderbufferStorage = glad_glRenderbufferStorage; + glad_debug_glRenderbufferStorageMultisample = glad_glRenderbufferStorageMultisample; + glad_debug_glRotated = glad_glRotated; + glad_debug_glRotatef = glad_glRotatef; + glad_debug_glSampleCoverage = glad_glSampleCoverage; + glad_debug_glSampleMaski = glad_glSampleMaski; + glad_debug_glSamplerParameterIiv = glad_glSamplerParameterIiv; + glad_debug_glSamplerParameterIuiv = glad_glSamplerParameterIuiv; + glad_debug_glSamplerParameterf = glad_glSamplerParameterf; + glad_debug_glSamplerParameterfv = glad_glSamplerParameterfv; + glad_debug_glSamplerParameteri = glad_glSamplerParameteri; + glad_debug_glSamplerParameteriv = glad_glSamplerParameteriv; + glad_debug_glScaled = glad_glScaled; + glad_debug_glScalef = glad_glScalef; + glad_debug_glScissor = glad_glScissor; + glad_debug_glSecondaryColor3b = glad_glSecondaryColor3b; + glad_debug_glSecondaryColor3bv = glad_glSecondaryColor3bv; + glad_debug_glSecondaryColor3d = glad_glSecondaryColor3d; + glad_debug_glSecondaryColor3dv = glad_glSecondaryColor3dv; + glad_debug_glSecondaryColor3f = glad_glSecondaryColor3f; + glad_debug_glSecondaryColor3fv = glad_glSecondaryColor3fv; + glad_debug_glSecondaryColor3i = glad_glSecondaryColor3i; + glad_debug_glSecondaryColor3iv = glad_glSecondaryColor3iv; + glad_debug_glSecondaryColor3s = glad_glSecondaryColor3s; + glad_debug_glSecondaryColor3sv = glad_glSecondaryColor3sv; + glad_debug_glSecondaryColor3ub = glad_glSecondaryColor3ub; + glad_debug_glSecondaryColor3ubv = glad_glSecondaryColor3ubv; + glad_debug_glSecondaryColor3ui = glad_glSecondaryColor3ui; + glad_debug_glSecondaryColor3uiv = glad_glSecondaryColor3uiv; + glad_debug_glSecondaryColor3us = glad_glSecondaryColor3us; + glad_debug_glSecondaryColor3usv = glad_glSecondaryColor3usv; + glad_debug_glSecondaryColorP3ui = glad_glSecondaryColorP3ui; + glad_debug_glSecondaryColorP3uiv = glad_glSecondaryColorP3uiv; + glad_debug_glSecondaryColorPointer = glad_glSecondaryColorPointer; + glad_debug_glSelectBuffer = glad_glSelectBuffer; + glad_debug_glShadeModel = glad_glShadeModel; + glad_debug_glShaderSource = glad_glShaderSource; + glad_debug_glStencilFunc = glad_glStencilFunc; + glad_debug_glStencilFuncSeparate = glad_glStencilFuncSeparate; + glad_debug_glStencilMask = glad_glStencilMask; + glad_debug_glStencilMaskSeparate = glad_glStencilMaskSeparate; + glad_debug_glStencilOp = glad_glStencilOp; + glad_debug_glStencilOpSeparate = glad_glStencilOpSeparate; + glad_debug_glTexBuffer = glad_glTexBuffer; + glad_debug_glTexCoord1d = glad_glTexCoord1d; + glad_debug_glTexCoord1dv = glad_glTexCoord1dv; + glad_debug_glTexCoord1f = glad_glTexCoord1f; + glad_debug_glTexCoord1fv = glad_glTexCoord1fv; + glad_debug_glTexCoord1i = glad_glTexCoord1i; + glad_debug_glTexCoord1iv = glad_glTexCoord1iv; + glad_debug_glTexCoord1s = glad_glTexCoord1s; + glad_debug_glTexCoord1sv = glad_glTexCoord1sv; + glad_debug_glTexCoord2d = glad_glTexCoord2d; + glad_debug_glTexCoord2dv = glad_glTexCoord2dv; + glad_debug_glTexCoord2f = glad_glTexCoord2f; + glad_debug_glTexCoord2fv = glad_glTexCoord2fv; + glad_debug_glTexCoord2i = glad_glTexCoord2i; + glad_debug_glTexCoord2iv = glad_glTexCoord2iv; + glad_debug_glTexCoord2s = glad_glTexCoord2s; + glad_debug_glTexCoord2sv = glad_glTexCoord2sv; + glad_debug_glTexCoord3d = glad_glTexCoord3d; + glad_debug_glTexCoord3dv = glad_glTexCoord3dv; + glad_debug_glTexCoord3f = glad_glTexCoord3f; + glad_debug_glTexCoord3fv = glad_glTexCoord3fv; + glad_debug_glTexCoord3i = glad_glTexCoord3i; + glad_debug_glTexCoord3iv = glad_glTexCoord3iv; + glad_debug_glTexCoord3s = glad_glTexCoord3s; + glad_debug_glTexCoord3sv = glad_glTexCoord3sv; + glad_debug_glTexCoord4d = glad_glTexCoord4d; + glad_debug_glTexCoord4dv = glad_glTexCoord4dv; + glad_debug_glTexCoord4f = glad_glTexCoord4f; + glad_debug_glTexCoord4fv = glad_glTexCoord4fv; + glad_debug_glTexCoord4i = glad_glTexCoord4i; + glad_debug_glTexCoord4iv = glad_glTexCoord4iv; + glad_debug_glTexCoord4s = glad_glTexCoord4s; + glad_debug_glTexCoord4sv = glad_glTexCoord4sv; + glad_debug_glTexCoordP1ui = glad_glTexCoordP1ui; + glad_debug_glTexCoordP1uiv = glad_glTexCoordP1uiv; + glad_debug_glTexCoordP2ui = glad_glTexCoordP2ui; + glad_debug_glTexCoordP2uiv = glad_glTexCoordP2uiv; + glad_debug_glTexCoordP3ui = glad_glTexCoordP3ui; + glad_debug_glTexCoordP3uiv = glad_glTexCoordP3uiv; + glad_debug_glTexCoordP4ui = glad_glTexCoordP4ui; + glad_debug_glTexCoordP4uiv = glad_glTexCoordP4uiv; + glad_debug_glTexCoordPointer = glad_glTexCoordPointer; + glad_debug_glTexEnvf = glad_glTexEnvf; + glad_debug_glTexEnvfv = glad_glTexEnvfv; + glad_debug_glTexEnvi = glad_glTexEnvi; + glad_debug_glTexEnviv = glad_glTexEnviv; + glad_debug_glTexGend = glad_glTexGend; + glad_debug_glTexGendv = glad_glTexGendv; + glad_debug_glTexGenf = glad_glTexGenf; + glad_debug_glTexGenfv = glad_glTexGenfv; + glad_debug_glTexGeni = glad_glTexGeni; + glad_debug_glTexGeniv = glad_glTexGeniv; + glad_debug_glTexImage1D = glad_glTexImage1D; + glad_debug_glTexImage2D = glad_glTexImage2D; + glad_debug_glTexImage2DMultisample = glad_glTexImage2DMultisample; + glad_debug_glTexImage3D = glad_glTexImage3D; + glad_debug_glTexImage3DMultisample = glad_glTexImage3DMultisample; + glad_debug_glTexParameterIiv = glad_glTexParameterIiv; + glad_debug_glTexParameterIuiv = glad_glTexParameterIuiv; + glad_debug_glTexParameterf = glad_glTexParameterf; + glad_debug_glTexParameterfv = glad_glTexParameterfv; + glad_debug_glTexParameteri = glad_glTexParameteri; + glad_debug_glTexParameteriv = glad_glTexParameteriv; + glad_debug_glTexSubImage1D = glad_glTexSubImage1D; + glad_debug_glTexSubImage2D = glad_glTexSubImage2D; + glad_debug_glTexSubImage3D = glad_glTexSubImage3D; + glad_debug_glTransformFeedbackVaryings = glad_glTransformFeedbackVaryings; + glad_debug_glTranslated = glad_glTranslated; + glad_debug_glTranslatef = glad_glTranslatef; + glad_debug_glUniform1f = glad_glUniform1f; + glad_debug_glUniform1fv = glad_glUniform1fv; + glad_debug_glUniform1i = glad_glUniform1i; + glad_debug_glUniform1iv = glad_glUniform1iv; + glad_debug_glUniform1ui = glad_glUniform1ui; + glad_debug_glUniform1uiv = glad_glUniform1uiv; + glad_debug_glUniform2f = glad_glUniform2f; + glad_debug_glUniform2fv = glad_glUniform2fv; + glad_debug_glUniform2i = glad_glUniform2i; + glad_debug_glUniform2iv = glad_glUniform2iv; + glad_debug_glUniform2ui = glad_glUniform2ui; + glad_debug_glUniform2uiv = glad_glUniform2uiv; + glad_debug_glUniform3f = glad_glUniform3f; + glad_debug_glUniform3fv = glad_glUniform3fv; + glad_debug_glUniform3i = glad_glUniform3i; + glad_debug_glUniform3iv = glad_glUniform3iv; + glad_debug_glUniform3ui = glad_glUniform3ui; + glad_debug_glUniform3uiv = glad_glUniform3uiv; + glad_debug_glUniform4f = glad_glUniform4f; + glad_debug_glUniform4fv = glad_glUniform4fv; + glad_debug_glUniform4i = glad_glUniform4i; + glad_debug_glUniform4iv = glad_glUniform4iv; + glad_debug_glUniform4ui = glad_glUniform4ui; + glad_debug_glUniform4uiv = glad_glUniform4uiv; + glad_debug_glUniformBlockBinding = glad_glUniformBlockBinding; + glad_debug_glUniformMatrix2fv = glad_glUniformMatrix2fv; + glad_debug_glUniformMatrix2x3fv = glad_glUniformMatrix2x3fv; + glad_debug_glUniformMatrix2x4fv = glad_glUniformMatrix2x4fv; + glad_debug_glUniformMatrix3fv = glad_glUniformMatrix3fv; + glad_debug_glUniformMatrix3x2fv = glad_glUniformMatrix3x2fv; + glad_debug_glUniformMatrix3x4fv = glad_glUniformMatrix3x4fv; + glad_debug_glUniformMatrix4fv = glad_glUniformMatrix4fv; + glad_debug_glUniformMatrix4x2fv = glad_glUniformMatrix4x2fv; + glad_debug_glUniformMatrix4x3fv = glad_glUniformMatrix4x3fv; + glad_debug_glUnmapBuffer = glad_glUnmapBuffer; + glad_debug_glUseProgram = glad_glUseProgram; + glad_debug_glValidateProgram = glad_glValidateProgram; + glad_debug_glVertex2d = glad_glVertex2d; + glad_debug_glVertex2dv = glad_glVertex2dv; + glad_debug_glVertex2f = glad_glVertex2f; + glad_debug_glVertex2fv = glad_glVertex2fv; + glad_debug_glVertex2i = glad_glVertex2i; + glad_debug_glVertex2iv = glad_glVertex2iv; + glad_debug_glVertex2s = glad_glVertex2s; + glad_debug_glVertex2sv = glad_glVertex2sv; + glad_debug_glVertex3d = glad_glVertex3d; + glad_debug_glVertex3dv = glad_glVertex3dv; + glad_debug_glVertex3f = glad_glVertex3f; + glad_debug_glVertex3fv = glad_glVertex3fv; + glad_debug_glVertex3i = glad_glVertex3i; + glad_debug_glVertex3iv = glad_glVertex3iv; + glad_debug_glVertex3s = glad_glVertex3s; + glad_debug_glVertex3sv = glad_glVertex3sv; + glad_debug_glVertex4d = glad_glVertex4d; + glad_debug_glVertex4dv = glad_glVertex4dv; + glad_debug_glVertex4f = glad_glVertex4f; + glad_debug_glVertex4fv = glad_glVertex4fv; + glad_debug_glVertex4i = glad_glVertex4i; + glad_debug_glVertex4iv = glad_glVertex4iv; + glad_debug_glVertex4s = glad_glVertex4s; + glad_debug_glVertex4sv = glad_glVertex4sv; + glad_debug_glVertexAttrib1d = glad_glVertexAttrib1d; + glad_debug_glVertexAttrib1dv = glad_glVertexAttrib1dv; + glad_debug_glVertexAttrib1f = glad_glVertexAttrib1f; + glad_debug_glVertexAttrib1fv = glad_glVertexAttrib1fv; + glad_debug_glVertexAttrib1s = glad_glVertexAttrib1s; + glad_debug_glVertexAttrib1sv = glad_glVertexAttrib1sv; + glad_debug_glVertexAttrib2d = glad_glVertexAttrib2d; + glad_debug_glVertexAttrib2dv = glad_glVertexAttrib2dv; + glad_debug_glVertexAttrib2f = glad_glVertexAttrib2f; + glad_debug_glVertexAttrib2fv = glad_glVertexAttrib2fv; + glad_debug_glVertexAttrib2s = glad_glVertexAttrib2s; + glad_debug_glVertexAttrib2sv = glad_glVertexAttrib2sv; + glad_debug_glVertexAttrib3d = glad_glVertexAttrib3d; + glad_debug_glVertexAttrib3dv = glad_glVertexAttrib3dv; + glad_debug_glVertexAttrib3f = glad_glVertexAttrib3f; + glad_debug_glVertexAttrib3fv = glad_glVertexAttrib3fv; + glad_debug_glVertexAttrib3s = glad_glVertexAttrib3s; + glad_debug_glVertexAttrib3sv = glad_glVertexAttrib3sv; + glad_debug_glVertexAttrib4Nbv = glad_glVertexAttrib4Nbv; + glad_debug_glVertexAttrib4Niv = glad_glVertexAttrib4Niv; + glad_debug_glVertexAttrib4Nsv = glad_glVertexAttrib4Nsv; + glad_debug_glVertexAttrib4Nub = glad_glVertexAttrib4Nub; + glad_debug_glVertexAttrib4Nubv = glad_glVertexAttrib4Nubv; + glad_debug_glVertexAttrib4Nuiv = glad_glVertexAttrib4Nuiv; + glad_debug_glVertexAttrib4Nusv = glad_glVertexAttrib4Nusv; + glad_debug_glVertexAttrib4bv = glad_glVertexAttrib4bv; + glad_debug_glVertexAttrib4d = glad_glVertexAttrib4d; + glad_debug_glVertexAttrib4dv = glad_glVertexAttrib4dv; + glad_debug_glVertexAttrib4f = glad_glVertexAttrib4f; + glad_debug_glVertexAttrib4fv = glad_glVertexAttrib4fv; + glad_debug_glVertexAttrib4iv = glad_glVertexAttrib4iv; + glad_debug_glVertexAttrib4s = glad_glVertexAttrib4s; + glad_debug_glVertexAttrib4sv = glad_glVertexAttrib4sv; + glad_debug_glVertexAttrib4ubv = glad_glVertexAttrib4ubv; + glad_debug_glVertexAttrib4uiv = glad_glVertexAttrib4uiv; + glad_debug_glVertexAttrib4usv = glad_glVertexAttrib4usv; + glad_debug_glVertexAttribDivisor = glad_glVertexAttribDivisor; + glad_debug_glVertexAttribI1i = glad_glVertexAttribI1i; + glad_debug_glVertexAttribI1iv = glad_glVertexAttribI1iv; + glad_debug_glVertexAttribI1ui = glad_glVertexAttribI1ui; + glad_debug_glVertexAttribI1uiv = glad_glVertexAttribI1uiv; + glad_debug_glVertexAttribI2i = glad_glVertexAttribI2i; + glad_debug_glVertexAttribI2iv = glad_glVertexAttribI2iv; + glad_debug_glVertexAttribI2ui = glad_glVertexAttribI2ui; + glad_debug_glVertexAttribI2uiv = glad_glVertexAttribI2uiv; + glad_debug_glVertexAttribI3i = glad_glVertexAttribI3i; + glad_debug_glVertexAttribI3iv = glad_glVertexAttribI3iv; + glad_debug_glVertexAttribI3ui = glad_glVertexAttribI3ui; + glad_debug_glVertexAttribI3uiv = glad_glVertexAttribI3uiv; + glad_debug_glVertexAttribI4bv = glad_glVertexAttribI4bv; + glad_debug_glVertexAttribI4i = glad_glVertexAttribI4i; + glad_debug_glVertexAttribI4iv = glad_glVertexAttribI4iv; + glad_debug_glVertexAttribI4sv = glad_glVertexAttribI4sv; + glad_debug_glVertexAttribI4ubv = glad_glVertexAttribI4ubv; + glad_debug_glVertexAttribI4ui = glad_glVertexAttribI4ui; + glad_debug_glVertexAttribI4uiv = glad_glVertexAttribI4uiv; + glad_debug_glVertexAttribI4usv = glad_glVertexAttribI4usv; + glad_debug_glVertexAttribIPointer = glad_glVertexAttribIPointer; + glad_debug_glVertexAttribP1ui = glad_glVertexAttribP1ui; + glad_debug_glVertexAttribP1uiv = glad_glVertexAttribP1uiv; + glad_debug_glVertexAttribP2ui = glad_glVertexAttribP2ui; + glad_debug_glVertexAttribP2uiv = glad_glVertexAttribP2uiv; + glad_debug_glVertexAttribP3ui = glad_glVertexAttribP3ui; + glad_debug_glVertexAttribP3uiv = glad_glVertexAttribP3uiv; + glad_debug_glVertexAttribP4ui = glad_glVertexAttribP4ui; + glad_debug_glVertexAttribP4uiv = glad_glVertexAttribP4uiv; + glad_debug_glVertexAttribPointer = glad_glVertexAttribPointer; + glad_debug_glVertexP2ui = glad_glVertexP2ui; + glad_debug_glVertexP2uiv = glad_glVertexP2uiv; + glad_debug_glVertexP3ui = glad_glVertexP3ui; + glad_debug_glVertexP3uiv = glad_glVertexP3uiv; + glad_debug_glVertexP4ui = glad_glVertexP4ui; + glad_debug_glVertexP4uiv = glad_glVertexP4uiv; + glad_debug_glVertexPointer = glad_glVertexPointer; + glad_debug_glViewport = glad_glViewport; + glad_debug_glWaitSync = glad_glWaitSync; + glad_debug_glWindowPos2d = glad_glWindowPos2d; + glad_debug_glWindowPos2dv = glad_glWindowPos2dv; + glad_debug_glWindowPos2f = glad_glWindowPos2f; + glad_debug_glWindowPos2fv = glad_glWindowPos2fv; + glad_debug_glWindowPos2i = glad_glWindowPos2i; + glad_debug_glWindowPos2iv = glad_glWindowPos2iv; + glad_debug_glWindowPos2s = glad_glWindowPos2s; + glad_debug_glWindowPos2sv = glad_glWindowPos2sv; + glad_debug_glWindowPos3d = glad_glWindowPos3d; + glad_debug_glWindowPos3dv = glad_glWindowPos3dv; + glad_debug_glWindowPos3f = glad_glWindowPos3f; + glad_debug_glWindowPos3fv = glad_glWindowPos3fv; + glad_debug_glWindowPos3i = glad_glWindowPos3i; + glad_debug_glWindowPos3iv = glad_glWindowPos3iv; + glad_debug_glWindowPos3s = glad_glWindowPos3s; + glad_debug_glWindowPos3sv = glad_glWindowPos3sv; +} + + +#ifdef __cplusplus +} +#endif |