gl3w.c 82 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344
  1. #include "gl3w.h"
  2. #ifdef _MSC_VER
  3. #pragma warning (disable: 4055) // warning C4055: 'type cast' : from data pointer 'void *' to function pointer
  4. #pragma warning (disable: 4152) // warning C4152: nonstandard extension, function/data pointer conversion in expression
  5. #endif
  6. #ifdef _WIN32
  7. #define WIN32_LEAN_AND_MEAN 1
  8. #include <windows.h>
  9. static HMODULE libgl;
  10. static void open_libgl(void)
  11. {
  12. libgl = LoadLibraryA("opengl32.dll");
  13. }
  14. static void close_libgl(void)
  15. {
  16. FreeLibrary(libgl);
  17. }
  18. static void *get_proc(const char *proc)
  19. {
  20. void *res;
  21. res = wglGetProcAddress(proc);
  22. if (!res)
  23. res = GetProcAddress(libgl, proc);
  24. return res;
  25. }
  26. #elif defined(__APPLE__) || defined(__APPLE_CC__)
  27. #include <Carbon/Carbon.h>
  28. CFBundleRef bundle;
  29. CFURLRef bundleURL;
  30. static void open_libgl(void)
  31. {
  32. bundleURL = CFURLCreateWithFileSystemPath(kCFAllocatorDefault,
  33. CFSTR("/System/Library/Frameworks/OpenGL.framework"),
  34. kCFURLPOSIXPathStyle, true);
  35. bundle = CFBundleCreate(kCFAllocatorDefault, bundleURL);
  36. assert(bundle != NULL);
  37. }
  38. static void close_libgl(void)
  39. {
  40. CFRelease(bundle);
  41. CFRelease(bundleURL);
  42. }
  43. static void *get_proc(const char *proc)
  44. {
  45. void *res;
  46. CFStringRef procname = CFStringCreateWithCString(kCFAllocatorDefault, proc,
  47. kCFStringEncodingASCII);
  48. res = CFBundleGetFunctionPointerForName(bundle, procname);
  49. CFRelease(procname);
  50. return res;
  51. }
  52. #else
  53. #include <dlfcn.h>
  54. #include <GL/glx.h>
  55. static void *libgl;
  56. static void open_libgl(void)
  57. {
  58. libgl = dlopen("libGL.so.1", RTLD_LAZY | RTLD_GLOBAL);
  59. }
  60. static void close_libgl(void)
  61. {
  62. dlclose(libgl);
  63. }
  64. static void *get_proc(const char *proc)
  65. {
  66. void *res;
  67. res = (void*)glXGetProcAddress((const GLubyte *) proc);
  68. if (!res)
  69. res = dlsym(libgl, proc);
  70. return res;
  71. }
  72. #endif
  73. static struct {
  74. int major, minor;
  75. } version;
  76. static int parse_version(void)
  77. {
  78. if (!glGetIntegerv)
  79. return -1;
  80. glGetIntegerv(GL_MAJOR_VERSION, &version.major);
  81. glGetIntegerv(GL_MINOR_VERSION, &version.minor);
  82. if (version.major < 3)
  83. return -1;
  84. return 0;
  85. }
  86. static void load_procs(void);
  87. int gl3wInit(void)
  88. {
  89. open_libgl();
  90. load_procs();
  91. close_libgl();
  92. return parse_version();
  93. }
  94. int gl3wIsSupported(int major, int minor)
  95. {
  96. if (major < 3)
  97. return 0;
  98. if (version.major == major)
  99. return version.minor >= minor;
  100. return version.major >= major;
  101. }
  102. void *gl3wGetProcAddress(const char *proc)
  103. {
  104. return get_proc(proc);
  105. }
  106. PFNGLCULLFACEPROC gl3wCullFace;
  107. PFNGLFRONTFACEPROC gl3wFrontFace;
  108. PFNGLHINTPROC gl3wHint;
  109. PFNGLLINEWIDTHPROC gl3wLineWidth;
  110. PFNGLPOINTSIZEPROC gl3wPointSize;
  111. PFNGLPOLYGONMODEPROC gl3wPolygonMode;
  112. PFNGLSCISSORPROC gl3wScissor;
  113. PFNGLTEXPARAMETERFPROC gl3wTexParameterf;
  114. PFNGLTEXPARAMETERFVPROC gl3wTexParameterfv;
  115. PFNGLTEXPARAMETERIPROC gl3wTexParameteri;
  116. PFNGLTEXPARAMETERIVPROC gl3wTexParameteriv;
  117. PFNGLTEXIMAGE1DPROC gl3wTexImage1D;
  118. PFNGLTEXIMAGE2DPROC gl3wTexImage2D;
  119. PFNGLDRAWBUFFERPROC gl3wDrawBuffer;
  120. PFNGLCLEARPROC gl3wClear;
  121. PFNGLCLEARCOLORPROC gl3wClearColor;
  122. PFNGLCLEARSTENCILPROC gl3wClearStencil;
  123. PFNGLCLEARDEPTHPROC gl3wClearDepth;
  124. PFNGLSTENCILMASKPROC gl3wStencilMask;
  125. PFNGLCOLORMASKPROC gl3wColorMask;
  126. PFNGLDEPTHMASKPROC gl3wDepthMask;
  127. PFNGLDISABLEPROC gl3wDisable;
  128. PFNGLENABLEPROC gl3wEnable;
  129. PFNGLFINISHPROC gl3wFinish;
  130. PFNGLFLUSHPROC gl3wFlush;
  131. PFNGLBLENDFUNCPROC gl3wBlendFunc;
  132. PFNGLLOGICOPPROC gl3wLogicOp;
  133. PFNGLSTENCILFUNCPROC gl3wStencilFunc;
  134. PFNGLSTENCILOPPROC gl3wStencilOp;
  135. PFNGLDEPTHFUNCPROC gl3wDepthFunc;
  136. PFNGLPIXELSTOREFPROC gl3wPixelStoref;
  137. PFNGLPIXELSTOREIPROC gl3wPixelStorei;
  138. PFNGLREADBUFFERPROC gl3wReadBuffer;
  139. PFNGLREADPIXELSPROC gl3wReadPixels;
  140. PFNGLGETBOOLEANVPROC gl3wGetBooleanv;
  141. PFNGLGETDOUBLEVPROC gl3wGetDoublev;
  142. PFNGLGETERRORPROC gl3wGetError;
  143. PFNGLGETFLOATVPROC gl3wGetFloatv;
  144. PFNGLGETINTEGERVPROC gl3wGetIntegerv;
  145. PFNGLGETSTRINGPROC gl3wGetString;
  146. PFNGLGETTEXIMAGEPROC gl3wGetTexImage;
  147. PFNGLGETTEXPARAMETERFVPROC gl3wGetTexParameterfv;
  148. PFNGLGETTEXPARAMETERIVPROC gl3wGetTexParameteriv;
  149. PFNGLGETTEXLEVELPARAMETERFVPROC gl3wGetTexLevelParameterfv;
  150. PFNGLGETTEXLEVELPARAMETERIVPROC gl3wGetTexLevelParameteriv;
  151. PFNGLISENABLEDPROC gl3wIsEnabled;
  152. PFNGLDEPTHRANGEPROC gl3wDepthRange;
  153. PFNGLVIEWPORTPROC gl3wViewport;
  154. PFNGLDRAWARRAYSPROC gl3wDrawArrays;
  155. PFNGLDRAWELEMENTSPROC gl3wDrawElements;
  156. PFNGLGETPOINTERVPROC gl3wGetPointerv;
  157. PFNGLPOLYGONOFFSETPROC gl3wPolygonOffset;
  158. PFNGLCOPYTEXIMAGE1DPROC gl3wCopyTexImage1D;
  159. PFNGLCOPYTEXIMAGE2DPROC gl3wCopyTexImage2D;
  160. PFNGLCOPYTEXSUBIMAGE1DPROC gl3wCopyTexSubImage1D;
  161. PFNGLCOPYTEXSUBIMAGE2DPROC gl3wCopyTexSubImage2D;
  162. PFNGLTEXSUBIMAGE1DPROC gl3wTexSubImage1D;
  163. PFNGLTEXSUBIMAGE2DPROC gl3wTexSubImage2D;
  164. PFNGLBINDTEXTUREPROC gl3wBindTexture;
  165. PFNGLDELETETEXTURESPROC gl3wDeleteTextures;
  166. PFNGLGENTEXTURESPROC gl3wGenTextures;
  167. PFNGLISTEXTUREPROC gl3wIsTexture;
  168. PFNGLBLENDCOLORPROC gl3wBlendColor;
  169. PFNGLBLENDEQUATIONPROC gl3wBlendEquation;
  170. PFNGLDRAWRANGEELEMENTSPROC gl3wDrawRangeElements;
  171. PFNGLTEXIMAGE3DPROC gl3wTexImage3D;
  172. PFNGLTEXSUBIMAGE3DPROC gl3wTexSubImage3D;
  173. PFNGLCOPYTEXSUBIMAGE3DPROC gl3wCopyTexSubImage3D;
  174. PFNGLACTIVETEXTUREPROC gl3wActiveTexture;
  175. PFNGLSAMPLECOVERAGEPROC gl3wSampleCoverage;
  176. PFNGLCOMPRESSEDTEXIMAGE3DPROC gl3wCompressedTexImage3D;
  177. PFNGLCOMPRESSEDTEXIMAGE2DPROC gl3wCompressedTexImage2D;
  178. PFNGLCOMPRESSEDTEXIMAGE1DPROC gl3wCompressedTexImage1D;
  179. PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC gl3wCompressedTexSubImage3D;
  180. PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC gl3wCompressedTexSubImage2D;
  181. PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC gl3wCompressedTexSubImage1D;
  182. PFNGLGETCOMPRESSEDTEXIMAGEPROC gl3wGetCompressedTexImage;
  183. PFNGLBLENDFUNCSEPARATEPROC gl3wBlendFuncSeparate;
  184. PFNGLMULTIDRAWARRAYSPROC gl3wMultiDrawArrays;
  185. PFNGLMULTIDRAWELEMENTSPROC gl3wMultiDrawElements;
  186. PFNGLPOINTPARAMETERFPROC gl3wPointParameterf;
  187. PFNGLPOINTPARAMETERFVPROC gl3wPointParameterfv;
  188. PFNGLPOINTPARAMETERIPROC gl3wPointParameteri;
  189. PFNGLPOINTPARAMETERIVPROC gl3wPointParameteriv;
  190. PFNGLGENQUERIESPROC gl3wGenQueries;
  191. PFNGLDELETEQUERIESPROC gl3wDeleteQueries;
  192. PFNGLISQUERYPROC gl3wIsQuery;
  193. PFNGLBEGINQUERYPROC gl3wBeginQuery;
  194. PFNGLENDQUERYPROC gl3wEndQuery;
  195. PFNGLGETQUERYIVPROC gl3wGetQueryiv;
  196. PFNGLGETQUERYOBJECTIVPROC gl3wGetQueryObjectiv;
  197. PFNGLGETQUERYOBJECTUIVPROC gl3wGetQueryObjectuiv;
  198. PFNGLBINDBUFFERPROC gl3wBindBuffer;
  199. PFNGLDELETEBUFFERSPROC gl3wDeleteBuffers;
  200. PFNGLGENBUFFERSPROC gl3wGenBuffers;
  201. PFNGLISBUFFERPROC gl3wIsBuffer;
  202. PFNGLBUFFERDATAPROC gl3wBufferData;
  203. PFNGLBUFFERSUBDATAPROC gl3wBufferSubData;
  204. PFNGLGETBUFFERSUBDATAPROC gl3wGetBufferSubData;
  205. PFNGLMAPBUFFERPROC gl3wMapBuffer;
  206. PFNGLUNMAPBUFFERPROC gl3wUnmapBuffer;
  207. PFNGLGETBUFFERPARAMETERIVPROC gl3wGetBufferParameteriv;
  208. PFNGLGETBUFFERPOINTERVPROC gl3wGetBufferPointerv;
  209. PFNGLBLENDEQUATIONSEPARATEPROC gl3wBlendEquationSeparate;
  210. PFNGLDRAWBUFFERSPROC gl3wDrawBuffers;
  211. PFNGLSTENCILOPSEPARATEPROC gl3wStencilOpSeparate;
  212. PFNGLSTENCILFUNCSEPARATEPROC gl3wStencilFuncSeparate;
  213. PFNGLSTENCILMASKSEPARATEPROC gl3wStencilMaskSeparate;
  214. PFNGLATTACHSHADERPROC gl3wAttachShader;
  215. PFNGLBINDATTRIBLOCATIONPROC gl3wBindAttribLocation;
  216. PFNGLCOMPILESHADERPROC gl3wCompileShader;
  217. PFNGLCREATEPROGRAMPROC gl3wCreateProgram;
  218. PFNGLCREATESHADERPROC gl3wCreateShader;
  219. PFNGLDELETEPROGRAMPROC gl3wDeleteProgram;
  220. PFNGLDELETESHADERPROC gl3wDeleteShader;
  221. PFNGLDETACHSHADERPROC gl3wDetachShader;
  222. PFNGLDISABLEVERTEXATTRIBARRAYPROC gl3wDisableVertexAttribArray;
  223. PFNGLENABLEVERTEXATTRIBARRAYPROC gl3wEnableVertexAttribArray;
  224. PFNGLGETACTIVEATTRIBPROC gl3wGetActiveAttrib;
  225. PFNGLGETACTIVEUNIFORMPROC gl3wGetActiveUniform;
  226. PFNGLGETATTACHEDSHADERSPROC gl3wGetAttachedShaders;
  227. PFNGLGETATTRIBLOCATIONPROC gl3wGetAttribLocation;
  228. PFNGLGETPROGRAMIVPROC gl3wGetProgramiv;
  229. PFNGLGETPROGRAMINFOLOGPROC gl3wGetProgramInfoLog;
  230. PFNGLGETSHADERIVPROC gl3wGetShaderiv;
  231. PFNGLGETSHADERINFOLOGPROC gl3wGetShaderInfoLog;
  232. PFNGLGETSHADERSOURCEPROC gl3wGetShaderSource;
  233. PFNGLGETUNIFORMLOCATIONPROC gl3wGetUniformLocation;
  234. PFNGLGETUNIFORMFVPROC gl3wGetUniformfv;
  235. PFNGLGETUNIFORMIVPROC gl3wGetUniformiv;
  236. PFNGLGETVERTEXATTRIBDVPROC gl3wGetVertexAttribdv;
  237. PFNGLGETVERTEXATTRIBFVPROC gl3wGetVertexAttribfv;
  238. PFNGLGETVERTEXATTRIBIVPROC gl3wGetVertexAttribiv;
  239. PFNGLGETVERTEXATTRIBPOINTERVPROC gl3wGetVertexAttribPointerv;
  240. PFNGLISPROGRAMPROC gl3wIsProgram;
  241. PFNGLISSHADERPROC gl3wIsShader;
  242. PFNGLLINKPROGRAMPROC gl3wLinkProgram;
  243. PFNGLSHADERSOURCEPROC gl3wShaderSource;
  244. PFNGLUSEPROGRAMPROC gl3wUseProgram;
  245. PFNGLUNIFORM1FPROC gl3wUniform1f;
  246. PFNGLUNIFORM2FPROC gl3wUniform2f;
  247. PFNGLUNIFORM3FPROC gl3wUniform3f;
  248. PFNGLUNIFORM4FPROC gl3wUniform4f;
  249. PFNGLUNIFORM1IPROC gl3wUniform1i;
  250. PFNGLUNIFORM2IPROC gl3wUniform2i;
  251. PFNGLUNIFORM3IPROC gl3wUniform3i;
  252. PFNGLUNIFORM4IPROC gl3wUniform4i;
  253. PFNGLUNIFORM1FVPROC gl3wUniform1fv;
  254. PFNGLUNIFORM2FVPROC gl3wUniform2fv;
  255. PFNGLUNIFORM3FVPROC gl3wUniform3fv;
  256. PFNGLUNIFORM4FVPROC gl3wUniform4fv;
  257. PFNGLUNIFORM1IVPROC gl3wUniform1iv;
  258. PFNGLUNIFORM2IVPROC gl3wUniform2iv;
  259. PFNGLUNIFORM3IVPROC gl3wUniform3iv;
  260. PFNGLUNIFORM4IVPROC gl3wUniform4iv;
  261. PFNGLUNIFORMMATRIX2FVPROC gl3wUniformMatrix2fv;
  262. PFNGLUNIFORMMATRIX3FVPROC gl3wUniformMatrix3fv;
  263. PFNGLUNIFORMMATRIX4FVPROC gl3wUniformMatrix4fv;
  264. PFNGLVALIDATEPROGRAMPROC gl3wValidateProgram;
  265. PFNGLVERTEXATTRIB1DPROC gl3wVertexAttrib1d;
  266. PFNGLVERTEXATTRIB1DVPROC gl3wVertexAttrib1dv;
  267. PFNGLVERTEXATTRIB1FPROC gl3wVertexAttrib1f;
  268. PFNGLVERTEXATTRIB1FVPROC gl3wVertexAttrib1fv;
  269. PFNGLVERTEXATTRIB1SPROC gl3wVertexAttrib1s;
  270. PFNGLVERTEXATTRIB1SVPROC gl3wVertexAttrib1sv;
  271. PFNGLVERTEXATTRIB2DPROC gl3wVertexAttrib2d;
  272. PFNGLVERTEXATTRIB2DVPROC gl3wVertexAttrib2dv;
  273. PFNGLVERTEXATTRIB2FPROC gl3wVertexAttrib2f;
  274. PFNGLVERTEXATTRIB2FVPROC gl3wVertexAttrib2fv;
  275. PFNGLVERTEXATTRIB2SPROC gl3wVertexAttrib2s;
  276. PFNGLVERTEXATTRIB2SVPROC gl3wVertexAttrib2sv;
  277. PFNGLVERTEXATTRIB3DPROC gl3wVertexAttrib3d;
  278. PFNGLVERTEXATTRIB3DVPROC gl3wVertexAttrib3dv;
  279. PFNGLVERTEXATTRIB3FPROC gl3wVertexAttrib3f;
  280. PFNGLVERTEXATTRIB3FVPROC gl3wVertexAttrib3fv;
  281. PFNGLVERTEXATTRIB3SPROC gl3wVertexAttrib3s;
  282. PFNGLVERTEXATTRIB3SVPROC gl3wVertexAttrib3sv;
  283. PFNGLVERTEXATTRIB4NBVPROC gl3wVertexAttrib4Nbv;
  284. PFNGLVERTEXATTRIB4NIVPROC gl3wVertexAttrib4Niv;
  285. PFNGLVERTEXATTRIB4NSVPROC gl3wVertexAttrib4Nsv;
  286. PFNGLVERTEXATTRIB4NUBPROC gl3wVertexAttrib4Nub;
  287. PFNGLVERTEXATTRIB4NUBVPROC gl3wVertexAttrib4Nubv;
  288. PFNGLVERTEXATTRIB4NUIVPROC gl3wVertexAttrib4Nuiv;
  289. PFNGLVERTEXATTRIB4NUSVPROC gl3wVertexAttrib4Nusv;
  290. PFNGLVERTEXATTRIB4BVPROC gl3wVertexAttrib4bv;
  291. PFNGLVERTEXATTRIB4DPROC gl3wVertexAttrib4d;
  292. PFNGLVERTEXATTRIB4DVPROC gl3wVertexAttrib4dv;
  293. PFNGLVERTEXATTRIB4FPROC gl3wVertexAttrib4f;
  294. PFNGLVERTEXATTRIB4FVPROC gl3wVertexAttrib4fv;
  295. PFNGLVERTEXATTRIB4IVPROC gl3wVertexAttrib4iv;
  296. PFNGLVERTEXATTRIB4SPROC gl3wVertexAttrib4s;
  297. PFNGLVERTEXATTRIB4SVPROC gl3wVertexAttrib4sv;
  298. PFNGLVERTEXATTRIB4UBVPROC gl3wVertexAttrib4ubv;
  299. PFNGLVERTEXATTRIB4UIVPROC gl3wVertexAttrib4uiv;
  300. PFNGLVERTEXATTRIB4USVPROC gl3wVertexAttrib4usv;
  301. PFNGLVERTEXATTRIBPOINTERPROC gl3wVertexAttribPointer;
  302. PFNGLUNIFORMMATRIX2X3FVPROC gl3wUniformMatrix2x3fv;
  303. PFNGLUNIFORMMATRIX3X2FVPROC gl3wUniformMatrix3x2fv;
  304. PFNGLUNIFORMMATRIX2X4FVPROC gl3wUniformMatrix2x4fv;
  305. PFNGLUNIFORMMATRIX4X2FVPROC gl3wUniformMatrix4x2fv;
  306. PFNGLUNIFORMMATRIX3X4FVPROC gl3wUniformMatrix3x4fv;
  307. PFNGLUNIFORMMATRIX4X3FVPROC gl3wUniformMatrix4x3fv;
  308. PFNGLCOLORMASKIPROC gl3wColorMaski;
  309. PFNGLGETBOOLEANI_VPROC gl3wGetBooleani_v;
  310. PFNGLGETINTEGERI_VPROC gl3wGetIntegeri_v;
  311. PFNGLENABLEIPROC gl3wEnablei;
  312. PFNGLDISABLEIPROC gl3wDisablei;
  313. PFNGLISENABLEDIPROC gl3wIsEnabledi;
  314. PFNGLBEGINTRANSFORMFEEDBACKPROC gl3wBeginTransformFeedback;
  315. PFNGLENDTRANSFORMFEEDBACKPROC gl3wEndTransformFeedback;
  316. PFNGLBINDBUFFERRANGEPROC gl3wBindBufferRange;
  317. PFNGLBINDBUFFERBASEPROC gl3wBindBufferBase;
  318. PFNGLTRANSFORMFEEDBACKVARYINGSPROC gl3wTransformFeedbackVaryings;
  319. PFNGLGETTRANSFORMFEEDBACKVARYINGPROC gl3wGetTransformFeedbackVarying;
  320. PFNGLCLAMPCOLORPROC gl3wClampColor;
  321. PFNGLBEGINCONDITIONALRENDERPROC gl3wBeginConditionalRender;
  322. PFNGLENDCONDITIONALRENDERPROC gl3wEndConditionalRender;
  323. PFNGLVERTEXATTRIBIPOINTERPROC gl3wVertexAttribIPointer;
  324. PFNGLGETVERTEXATTRIBIIVPROC gl3wGetVertexAttribIiv;
  325. PFNGLGETVERTEXATTRIBIUIVPROC gl3wGetVertexAttribIuiv;
  326. PFNGLVERTEXATTRIBI1IPROC gl3wVertexAttribI1i;
  327. PFNGLVERTEXATTRIBI2IPROC gl3wVertexAttribI2i;
  328. PFNGLVERTEXATTRIBI3IPROC gl3wVertexAttribI3i;
  329. PFNGLVERTEXATTRIBI4IPROC gl3wVertexAttribI4i;
  330. PFNGLVERTEXATTRIBI1UIPROC gl3wVertexAttribI1ui;
  331. PFNGLVERTEXATTRIBI2UIPROC gl3wVertexAttribI2ui;
  332. PFNGLVERTEXATTRIBI3UIPROC gl3wVertexAttribI3ui;
  333. PFNGLVERTEXATTRIBI4UIPROC gl3wVertexAttribI4ui;
  334. PFNGLVERTEXATTRIBI1IVPROC gl3wVertexAttribI1iv;
  335. PFNGLVERTEXATTRIBI2IVPROC gl3wVertexAttribI2iv;
  336. PFNGLVERTEXATTRIBI3IVPROC gl3wVertexAttribI3iv;
  337. PFNGLVERTEXATTRIBI4IVPROC gl3wVertexAttribI4iv;
  338. PFNGLVERTEXATTRIBI1UIVPROC gl3wVertexAttribI1uiv;
  339. PFNGLVERTEXATTRIBI2UIVPROC gl3wVertexAttribI2uiv;
  340. PFNGLVERTEXATTRIBI3UIVPROC gl3wVertexAttribI3uiv;
  341. PFNGLVERTEXATTRIBI4UIVPROC gl3wVertexAttribI4uiv;
  342. PFNGLVERTEXATTRIBI4BVPROC gl3wVertexAttribI4bv;
  343. PFNGLVERTEXATTRIBI4SVPROC gl3wVertexAttribI4sv;
  344. PFNGLVERTEXATTRIBI4UBVPROC gl3wVertexAttribI4ubv;
  345. PFNGLVERTEXATTRIBI4USVPROC gl3wVertexAttribI4usv;
  346. PFNGLGETUNIFORMUIVPROC gl3wGetUniformuiv;
  347. PFNGLBINDFRAGDATALOCATIONPROC gl3wBindFragDataLocation;
  348. PFNGLGETFRAGDATALOCATIONPROC gl3wGetFragDataLocation;
  349. PFNGLUNIFORM1UIPROC gl3wUniform1ui;
  350. PFNGLUNIFORM2UIPROC gl3wUniform2ui;
  351. PFNGLUNIFORM3UIPROC gl3wUniform3ui;
  352. PFNGLUNIFORM4UIPROC gl3wUniform4ui;
  353. PFNGLUNIFORM1UIVPROC gl3wUniform1uiv;
  354. PFNGLUNIFORM2UIVPROC gl3wUniform2uiv;
  355. PFNGLUNIFORM3UIVPROC gl3wUniform3uiv;
  356. PFNGLUNIFORM4UIVPROC gl3wUniform4uiv;
  357. PFNGLTEXPARAMETERIIVPROC gl3wTexParameterIiv;
  358. PFNGLTEXPARAMETERIUIVPROC gl3wTexParameterIuiv;
  359. PFNGLGETTEXPARAMETERIIVPROC gl3wGetTexParameterIiv;
  360. PFNGLGETTEXPARAMETERIUIVPROC gl3wGetTexParameterIuiv;
  361. PFNGLCLEARBUFFERIVPROC gl3wClearBufferiv;
  362. PFNGLCLEARBUFFERUIVPROC gl3wClearBufferuiv;
  363. PFNGLCLEARBUFFERFVPROC gl3wClearBufferfv;
  364. PFNGLCLEARBUFFERFIPROC gl3wClearBufferfi;
  365. PFNGLGETSTRINGIPROC gl3wGetStringi;
  366. PFNGLDRAWARRAYSINSTANCEDPROC gl3wDrawArraysInstanced;
  367. PFNGLDRAWELEMENTSINSTANCEDPROC gl3wDrawElementsInstanced;
  368. PFNGLTEXBUFFERPROC gl3wTexBuffer;
  369. PFNGLPRIMITIVERESTARTINDEXPROC gl3wPrimitiveRestartIndex;
  370. PFNGLGETINTEGER64I_VPROC gl3wGetInteger64i_v;
  371. PFNGLGETBUFFERPARAMETERI64VPROC gl3wGetBufferParameteri64v;
  372. PFNGLFRAMEBUFFERTEXTUREPROC gl3wFramebufferTexture;
  373. PFNGLVERTEXATTRIBDIVISORPROC gl3wVertexAttribDivisor;
  374. PFNGLMINSAMPLESHADINGPROC gl3wMinSampleShading;
  375. PFNGLBLENDEQUATIONIPROC gl3wBlendEquationi;
  376. PFNGLBLENDEQUATIONSEPARATEIPROC gl3wBlendEquationSeparatei;
  377. PFNGLBLENDFUNCIPROC gl3wBlendFunci;
  378. PFNGLBLENDFUNCSEPARATEIPROC gl3wBlendFuncSeparatei;
  379. PFNGLISRENDERBUFFERPROC gl3wIsRenderbuffer;
  380. PFNGLBINDRENDERBUFFERPROC gl3wBindRenderbuffer;
  381. PFNGLDELETERENDERBUFFERSPROC gl3wDeleteRenderbuffers;
  382. PFNGLGENRENDERBUFFERSPROC gl3wGenRenderbuffers;
  383. PFNGLRENDERBUFFERSTORAGEPROC gl3wRenderbufferStorage;
  384. PFNGLGETRENDERBUFFERPARAMETERIVPROC gl3wGetRenderbufferParameteriv;
  385. PFNGLISFRAMEBUFFERPROC gl3wIsFramebuffer;
  386. PFNGLBINDFRAMEBUFFERPROC gl3wBindFramebuffer;
  387. PFNGLDELETEFRAMEBUFFERSPROC gl3wDeleteFramebuffers;
  388. PFNGLGENFRAMEBUFFERSPROC gl3wGenFramebuffers;
  389. PFNGLCHECKFRAMEBUFFERSTATUSPROC gl3wCheckFramebufferStatus;
  390. PFNGLFRAMEBUFFERTEXTURE1DPROC gl3wFramebufferTexture1D;
  391. PFNGLFRAMEBUFFERTEXTURE2DPROC gl3wFramebufferTexture2D;
  392. PFNGLFRAMEBUFFERTEXTURE3DPROC gl3wFramebufferTexture3D;
  393. PFNGLFRAMEBUFFERRENDERBUFFERPROC gl3wFramebufferRenderbuffer;
  394. PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC gl3wGetFramebufferAttachmentParameteriv;
  395. PFNGLGENERATEMIPMAPPROC gl3wGenerateMipmap;
  396. PFNGLBLITFRAMEBUFFERPROC gl3wBlitFramebuffer;
  397. PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC gl3wRenderbufferStorageMultisample;
  398. PFNGLFRAMEBUFFERTEXTURELAYERPROC gl3wFramebufferTextureLayer;
  399. PFNGLMAPBUFFERRANGEPROC gl3wMapBufferRange;
  400. PFNGLFLUSHMAPPEDBUFFERRANGEPROC gl3wFlushMappedBufferRange;
  401. PFNGLBINDVERTEXARRAYPROC gl3wBindVertexArray;
  402. PFNGLDELETEVERTEXARRAYSPROC gl3wDeleteVertexArrays;
  403. PFNGLGENVERTEXARRAYSPROC gl3wGenVertexArrays;
  404. PFNGLISVERTEXARRAYPROC gl3wIsVertexArray;
  405. PFNGLGETUNIFORMINDICESPROC gl3wGetUniformIndices;
  406. PFNGLGETACTIVEUNIFORMSIVPROC gl3wGetActiveUniformsiv;
  407. PFNGLGETACTIVEUNIFORMNAMEPROC gl3wGetActiveUniformName;
  408. PFNGLGETUNIFORMBLOCKINDEXPROC gl3wGetUniformBlockIndex;
  409. PFNGLGETACTIVEUNIFORMBLOCKIVPROC gl3wGetActiveUniformBlockiv;
  410. PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC gl3wGetActiveUniformBlockName;
  411. PFNGLUNIFORMBLOCKBINDINGPROC gl3wUniformBlockBinding;
  412. PFNGLCOPYBUFFERSUBDATAPROC gl3wCopyBufferSubData;
  413. PFNGLDRAWELEMENTSBASEVERTEXPROC gl3wDrawElementsBaseVertex;
  414. PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC gl3wDrawRangeElementsBaseVertex;
  415. PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC gl3wDrawElementsInstancedBaseVertex;
  416. PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC gl3wMultiDrawElementsBaseVertex;
  417. PFNGLPROVOKINGVERTEXPROC gl3wProvokingVertex;
  418. PFNGLFENCESYNCPROC gl3wFenceSync;
  419. PFNGLISSYNCPROC gl3wIsSync;
  420. PFNGLDELETESYNCPROC gl3wDeleteSync;
  421. PFNGLCLIENTWAITSYNCPROC gl3wClientWaitSync;
  422. PFNGLWAITSYNCPROC gl3wWaitSync;
  423. PFNGLGETINTEGER64VPROC gl3wGetInteger64v;
  424. PFNGLGETSYNCIVPROC gl3wGetSynciv;
  425. PFNGLTEXIMAGE2DMULTISAMPLEPROC gl3wTexImage2DMultisample;
  426. PFNGLTEXIMAGE3DMULTISAMPLEPROC gl3wTexImage3DMultisample;
  427. PFNGLGETMULTISAMPLEFVPROC gl3wGetMultisamplefv;
  428. PFNGLSAMPLEMASKIPROC gl3wSampleMaski;
  429. PFNGLBLENDEQUATIONIARBPROC gl3wBlendEquationiARB;
  430. PFNGLBLENDEQUATIONSEPARATEIARBPROC gl3wBlendEquationSeparateiARB;
  431. PFNGLBLENDFUNCIARBPROC gl3wBlendFunciARB;
  432. PFNGLBLENDFUNCSEPARATEIARBPROC gl3wBlendFuncSeparateiARB;
  433. PFNGLMINSAMPLESHADINGARBPROC gl3wMinSampleShadingARB;
  434. PFNGLNAMEDSTRINGARBPROC gl3wNamedStringARB;
  435. PFNGLDELETENAMEDSTRINGARBPROC gl3wDeleteNamedStringARB;
  436. PFNGLCOMPILESHADERINCLUDEARBPROC gl3wCompileShaderIncludeARB;
  437. PFNGLISNAMEDSTRINGARBPROC gl3wIsNamedStringARB;
  438. PFNGLGETNAMEDSTRINGARBPROC gl3wGetNamedStringARB;
  439. PFNGLGETNAMEDSTRINGIVARBPROC gl3wGetNamedStringivARB;
  440. PFNGLBINDFRAGDATALOCATIONINDEXEDPROC gl3wBindFragDataLocationIndexed;
  441. PFNGLGETFRAGDATAINDEXPROC gl3wGetFragDataIndex;
  442. PFNGLGENSAMPLERSPROC gl3wGenSamplers;
  443. PFNGLDELETESAMPLERSPROC gl3wDeleteSamplers;
  444. PFNGLISSAMPLERPROC gl3wIsSampler;
  445. PFNGLBINDSAMPLERPROC gl3wBindSampler;
  446. PFNGLSAMPLERPARAMETERIPROC gl3wSamplerParameteri;
  447. PFNGLSAMPLERPARAMETERIVPROC gl3wSamplerParameteriv;
  448. PFNGLSAMPLERPARAMETERFPROC gl3wSamplerParameterf;
  449. PFNGLSAMPLERPARAMETERFVPROC gl3wSamplerParameterfv;
  450. PFNGLSAMPLERPARAMETERIIVPROC gl3wSamplerParameterIiv;
  451. PFNGLSAMPLERPARAMETERIUIVPROC gl3wSamplerParameterIuiv;
  452. PFNGLGETSAMPLERPARAMETERIVPROC gl3wGetSamplerParameteriv;
  453. PFNGLGETSAMPLERPARAMETERIIVPROC gl3wGetSamplerParameterIiv;
  454. PFNGLGETSAMPLERPARAMETERFVPROC gl3wGetSamplerParameterfv;
  455. PFNGLGETSAMPLERPARAMETERIUIVPROC gl3wGetSamplerParameterIuiv;
  456. PFNGLQUERYCOUNTERPROC gl3wQueryCounter;
  457. PFNGLGETQUERYOBJECTI64VPROC gl3wGetQueryObjecti64v;
  458. PFNGLGETQUERYOBJECTUI64VPROC gl3wGetQueryObjectui64v;
  459. PFNGLVERTEXP2UIPROC gl3wVertexP2ui;
  460. PFNGLVERTEXP2UIVPROC gl3wVertexP2uiv;
  461. PFNGLVERTEXP3UIPROC gl3wVertexP3ui;
  462. PFNGLVERTEXP3UIVPROC gl3wVertexP3uiv;
  463. PFNGLVERTEXP4UIPROC gl3wVertexP4ui;
  464. PFNGLVERTEXP4UIVPROC gl3wVertexP4uiv;
  465. PFNGLTEXCOORDP1UIPROC gl3wTexCoordP1ui;
  466. PFNGLTEXCOORDP1UIVPROC gl3wTexCoordP1uiv;
  467. PFNGLTEXCOORDP2UIPROC gl3wTexCoordP2ui;
  468. PFNGLTEXCOORDP2UIVPROC gl3wTexCoordP2uiv;
  469. PFNGLTEXCOORDP3UIPROC gl3wTexCoordP3ui;
  470. PFNGLTEXCOORDP3UIVPROC gl3wTexCoordP3uiv;
  471. PFNGLTEXCOORDP4UIPROC gl3wTexCoordP4ui;
  472. PFNGLTEXCOORDP4UIVPROC gl3wTexCoordP4uiv;
  473. PFNGLMULTITEXCOORDP1UIPROC gl3wMultiTexCoordP1ui;
  474. PFNGLMULTITEXCOORDP1UIVPROC gl3wMultiTexCoordP1uiv;
  475. PFNGLMULTITEXCOORDP2UIPROC gl3wMultiTexCoordP2ui;
  476. PFNGLMULTITEXCOORDP2UIVPROC gl3wMultiTexCoordP2uiv;
  477. PFNGLMULTITEXCOORDP3UIPROC gl3wMultiTexCoordP3ui;
  478. PFNGLMULTITEXCOORDP3UIVPROC gl3wMultiTexCoordP3uiv;
  479. PFNGLMULTITEXCOORDP4UIPROC gl3wMultiTexCoordP4ui;
  480. PFNGLMULTITEXCOORDP4UIVPROC gl3wMultiTexCoordP4uiv;
  481. PFNGLNORMALP3UIPROC gl3wNormalP3ui;
  482. PFNGLNORMALP3UIVPROC gl3wNormalP3uiv;
  483. PFNGLCOLORP3UIPROC gl3wColorP3ui;
  484. PFNGLCOLORP3UIVPROC gl3wColorP3uiv;
  485. PFNGLCOLORP4UIPROC gl3wColorP4ui;
  486. PFNGLCOLORP4UIVPROC gl3wColorP4uiv;
  487. PFNGLSECONDARYCOLORP3UIPROC gl3wSecondaryColorP3ui;
  488. PFNGLSECONDARYCOLORP3UIVPROC gl3wSecondaryColorP3uiv;
  489. PFNGLVERTEXATTRIBP1UIPROC gl3wVertexAttribP1ui;
  490. PFNGLVERTEXATTRIBP1UIVPROC gl3wVertexAttribP1uiv;
  491. PFNGLVERTEXATTRIBP2UIPROC gl3wVertexAttribP2ui;
  492. PFNGLVERTEXATTRIBP2UIVPROC gl3wVertexAttribP2uiv;
  493. PFNGLVERTEXATTRIBP3UIPROC gl3wVertexAttribP3ui;
  494. PFNGLVERTEXATTRIBP3UIVPROC gl3wVertexAttribP3uiv;
  495. PFNGLVERTEXATTRIBP4UIPROC gl3wVertexAttribP4ui;
  496. PFNGLVERTEXATTRIBP4UIVPROC gl3wVertexAttribP4uiv;
  497. PFNGLDRAWARRAYSINDIRECTPROC gl3wDrawArraysIndirect;
  498. PFNGLDRAWELEMENTSINDIRECTPROC gl3wDrawElementsIndirect;
  499. PFNGLUNIFORM1DPROC gl3wUniform1d;
  500. PFNGLUNIFORM2DPROC gl3wUniform2d;
  501. PFNGLUNIFORM3DPROC gl3wUniform3d;
  502. PFNGLUNIFORM4DPROC gl3wUniform4d;
  503. PFNGLUNIFORM1DVPROC gl3wUniform1dv;
  504. PFNGLUNIFORM2DVPROC gl3wUniform2dv;
  505. PFNGLUNIFORM3DVPROC gl3wUniform3dv;
  506. PFNGLUNIFORM4DVPROC gl3wUniform4dv;
  507. PFNGLUNIFORMMATRIX2DVPROC gl3wUniformMatrix2dv;
  508. PFNGLUNIFORMMATRIX3DVPROC gl3wUniformMatrix3dv;
  509. PFNGLUNIFORMMATRIX4DVPROC gl3wUniformMatrix4dv;
  510. PFNGLUNIFORMMATRIX2X3DVPROC gl3wUniformMatrix2x3dv;
  511. PFNGLUNIFORMMATRIX2X4DVPROC gl3wUniformMatrix2x4dv;
  512. PFNGLUNIFORMMATRIX3X2DVPROC gl3wUniformMatrix3x2dv;
  513. PFNGLUNIFORMMATRIX3X4DVPROC gl3wUniformMatrix3x4dv;
  514. PFNGLUNIFORMMATRIX4X2DVPROC gl3wUniformMatrix4x2dv;
  515. PFNGLUNIFORMMATRIX4X3DVPROC gl3wUniformMatrix4x3dv;
  516. PFNGLGETUNIFORMDVPROC gl3wGetUniformdv;
  517. PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC gl3wGetSubroutineUniformLocation;
  518. PFNGLGETSUBROUTINEINDEXPROC gl3wGetSubroutineIndex;
  519. PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC gl3wGetActiveSubroutineUniformiv;
  520. PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC gl3wGetActiveSubroutineUniformName;
  521. PFNGLGETACTIVESUBROUTINENAMEPROC gl3wGetActiveSubroutineName;
  522. PFNGLUNIFORMSUBROUTINESUIVPROC gl3wUniformSubroutinesuiv;
  523. PFNGLGETUNIFORMSUBROUTINEUIVPROC gl3wGetUniformSubroutineuiv;
  524. PFNGLGETPROGRAMSTAGEIVPROC gl3wGetProgramStageiv;
  525. PFNGLPATCHPARAMETERIPROC gl3wPatchParameteri;
  526. PFNGLPATCHPARAMETERFVPROC gl3wPatchParameterfv;
  527. PFNGLBINDTRANSFORMFEEDBACKPROC gl3wBindTransformFeedback;
  528. PFNGLDELETETRANSFORMFEEDBACKSPROC gl3wDeleteTransformFeedbacks;
  529. PFNGLGENTRANSFORMFEEDBACKSPROC gl3wGenTransformFeedbacks;
  530. PFNGLISTRANSFORMFEEDBACKPROC gl3wIsTransformFeedback;
  531. PFNGLPAUSETRANSFORMFEEDBACKPROC gl3wPauseTransformFeedback;
  532. PFNGLRESUMETRANSFORMFEEDBACKPROC gl3wResumeTransformFeedback;
  533. PFNGLDRAWTRANSFORMFEEDBACKPROC gl3wDrawTransformFeedback;
  534. PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC gl3wDrawTransformFeedbackStream;
  535. PFNGLBEGINQUERYINDEXEDPROC gl3wBeginQueryIndexed;
  536. PFNGLENDQUERYINDEXEDPROC gl3wEndQueryIndexed;
  537. PFNGLGETQUERYINDEXEDIVPROC gl3wGetQueryIndexediv;
  538. PFNGLRELEASESHADERCOMPILERPROC gl3wReleaseShaderCompiler;
  539. PFNGLSHADERBINARYPROC gl3wShaderBinary;
  540. PFNGLGETSHADERPRECISIONFORMATPROC gl3wGetShaderPrecisionFormat;
  541. PFNGLDEPTHRANGEFPROC gl3wDepthRangef;
  542. PFNGLCLEARDEPTHFPROC gl3wClearDepthf;
  543. PFNGLGETPROGRAMBINARYPROC gl3wGetProgramBinary;
  544. PFNGLPROGRAMBINARYPROC gl3wProgramBinary;
  545. PFNGLPROGRAMPARAMETERIPROC gl3wProgramParameteri;
  546. PFNGLUSEPROGRAMSTAGESPROC gl3wUseProgramStages;
  547. PFNGLACTIVESHADERPROGRAMPROC gl3wActiveShaderProgram;
  548. PFNGLCREATESHADERPROGRAMVPROC gl3wCreateShaderProgramv;
  549. PFNGLBINDPROGRAMPIPELINEPROC gl3wBindProgramPipeline;
  550. PFNGLDELETEPROGRAMPIPELINESPROC gl3wDeleteProgramPipelines;
  551. PFNGLGENPROGRAMPIPELINESPROC gl3wGenProgramPipelines;
  552. PFNGLISPROGRAMPIPELINEPROC gl3wIsProgramPipeline;
  553. PFNGLGETPROGRAMPIPELINEIVPROC gl3wGetProgramPipelineiv;
  554. PFNGLPROGRAMUNIFORM1IPROC gl3wProgramUniform1i;
  555. PFNGLPROGRAMUNIFORM1IVPROC gl3wProgramUniform1iv;
  556. PFNGLPROGRAMUNIFORM1FPROC gl3wProgramUniform1f;
  557. PFNGLPROGRAMUNIFORM1FVPROC gl3wProgramUniform1fv;
  558. PFNGLPROGRAMUNIFORM1DPROC gl3wProgramUniform1d;
  559. PFNGLPROGRAMUNIFORM1DVPROC gl3wProgramUniform1dv;
  560. PFNGLPROGRAMUNIFORM1UIPROC gl3wProgramUniform1ui;
  561. PFNGLPROGRAMUNIFORM1UIVPROC gl3wProgramUniform1uiv;
  562. PFNGLPROGRAMUNIFORM2IPROC gl3wProgramUniform2i;
  563. PFNGLPROGRAMUNIFORM2IVPROC gl3wProgramUniform2iv;
  564. PFNGLPROGRAMUNIFORM2FPROC gl3wProgramUniform2f;
  565. PFNGLPROGRAMUNIFORM2FVPROC gl3wProgramUniform2fv;
  566. PFNGLPROGRAMUNIFORM2DPROC gl3wProgramUniform2d;
  567. PFNGLPROGRAMUNIFORM2DVPROC gl3wProgramUniform2dv;
  568. PFNGLPROGRAMUNIFORM2UIPROC gl3wProgramUniform2ui;
  569. PFNGLPROGRAMUNIFORM2UIVPROC gl3wProgramUniform2uiv;
  570. PFNGLPROGRAMUNIFORM3IPROC gl3wProgramUniform3i;
  571. PFNGLPROGRAMUNIFORM3IVPROC gl3wProgramUniform3iv;
  572. PFNGLPROGRAMUNIFORM3FPROC gl3wProgramUniform3f;
  573. PFNGLPROGRAMUNIFORM3FVPROC gl3wProgramUniform3fv;
  574. PFNGLPROGRAMUNIFORM3DPROC gl3wProgramUniform3d;
  575. PFNGLPROGRAMUNIFORM3DVPROC gl3wProgramUniform3dv;
  576. PFNGLPROGRAMUNIFORM3UIPROC gl3wProgramUniform3ui;
  577. PFNGLPROGRAMUNIFORM3UIVPROC gl3wProgramUniform3uiv;
  578. PFNGLPROGRAMUNIFORM4IPROC gl3wProgramUniform4i;
  579. PFNGLPROGRAMUNIFORM4IVPROC gl3wProgramUniform4iv;
  580. PFNGLPROGRAMUNIFORM4FPROC gl3wProgramUniform4f;
  581. PFNGLPROGRAMUNIFORM4FVPROC gl3wProgramUniform4fv;
  582. PFNGLPROGRAMUNIFORM4DPROC gl3wProgramUniform4d;
  583. PFNGLPROGRAMUNIFORM4DVPROC gl3wProgramUniform4dv;
  584. PFNGLPROGRAMUNIFORM4UIPROC gl3wProgramUniform4ui;
  585. PFNGLPROGRAMUNIFORM4UIVPROC gl3wProgramUniform4uiv;
  586. PFNGLPROGRAMUNIFORMMATRIX2FVPROC gl3wProgramUniformMatrix2fv;
  587. PFNGLPROGRAMUNIFORMMATRIX3FVPROC gl3wProgramUniformMatrix3fv;
  588. PFNGLPROGRAMUNIFORMMATRIX4FVPROC gl3wProgramUniformMatrix4fv;
  589. PFNGLPROGRAMUNIFORMMATRIX2DVPROC gl3wProgramUniformMatrix2dv;
  590. PFNGLPROGRAMUNIFORMMATRIX3DVPROC gl3wProgramUniformMatrix3dv;
  591. PFNGLPROGRAMUNIFORMMATRIX4DVPROC gl3wProgramUniformMatrix4dv;
  592. PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC gl3wProgramUniformMatrix2x3fv;
  593. PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC gl3wProgramUniformMatrix3x2fv;
  594. PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC gl3wProgramUniformMatrix2x4fv;
  595. PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC gl3wProgramUniformMatrix4x2fv;
  596. PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC gl3wProgramUniformMatrix3x4fv;
  597. PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC gl3wProgramUniformMatrix4x3fv;
  598. PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC gl3wProgramUniformMatrix2x3dv;
  599. PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC gl3wProgramUniformMatrix3x2dv;
  600. PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC gl3wProgramUniformMatrix2x4dv;
  601. PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC gl3wProgramUniformMatrix4x2dv;
  602. PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC gl3wProgramUniformMatrix3x4dv;
  603. PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC gl3wProgramUniformMatrix4x3dv;
  604. PFNGLVALIDATEPROGRAMPIPELINEPROC gl3wValidateProgramPipeline;
  605. PFNGLGETPROGRAMPIPELINEINFOLOGPROC gl3wGetProgramPipelineInfoLog;
  606. PFNGLVERTEXATTRIBL1DPROC gl3wVertexAttribL1d;
  607. PFNGLVERTEXATTRIBL2DPROC gl3wVertexAttribL2d;
  608. PFNGLVERTEXATTRIBL3DPROC gl3wVertexAttribL3d;
  609. PFNGLVERTEXATTRIBL4DPROC gl3wVertexAttribL4d;
  610. PFNGLVERTEXATTRIBL1DVPROC gl3wVertexAttribL1dv;
  611. PFNGLVERTEXATTRIBL2DVPROC gl3wVertexAttribL2dv;
  612. PFNGLVERTEXATTRIBL3DVPROC gl3wVertexAttribL3dv;
  613. PFNGLVERTEXATTRIBL4DVPROC gl3wVertexAttribL4dv;
  614. PFNGLVERTEXATTRIBLPOINTERPROC gl3wVertexAttribLPointer;
  615. PFNGLGETVERTEXATTRIBLDVPROC gl3wGetVertexAttribLdv;
  616. PFNGLVIEWPORTARRAYVPROC gl3wViewportArrayv;
  617. PFNGLVIEWPORTINDEXEDFPROC gl3wViewportIndexedf;
  618. PFNGLVIEWPORTINDEXEDFVPROC gl3wViewportIndexedfv;
  619. PFNGLSCISSORARRAYVPROC gl3wScissorArrayv;
  620. PFNGLSCISSORINDEXEDPROC gl3wScissorIndexed;
  621. PFNGLSCISSORINDEXEDVPROC gl3wScissorIndexedv;
  622. PFNGLDEPTHRANGEARRAYVPROC gl3wDepthRangeArrayv;
  623. PFNGLDEPTHRANGEINDEXEDPROC gl3wDepthRangeIndexed;
  624. PFNGLGETFLOATI_VPROC gl3wGetFloati_v;
  625. PFNGLGETDOUBLEI_VPROC gl3wGetDoublei_v;
  626. PFNGLCREATESYNCFROMCLEVENTARBPROC gl3wCreateSyncFromCLeventARB;
  627. PFNGLDEBUGMESSAGECONTROLARBPROC gl3wDebugMessageControlARB;
  628. PFNGLDEBUGMESSAGEINSERTARBPROC gl3wDebugMessageInsertARB;
  629. PFNGLDEBUGMESSAGECALLBACKARBPROC gl3wDebugMessageCallbackARB;
  630. PFNGLGETDEBUGMESSAGELOGARBPROC gl3wGetDebugMessageLogARB;
  631. PFNGLGETGRAPHICSRESETSTATUSARBPROC gl3wGetGraphicsResetStatusARB;
  632. PFNGLGETNTEXIMAGEARBPROC gl3wGetnTexImageARB;
  633. PFNGLREADNPIXELSARBPROC gl3wReadnPixelsARB;
  634. PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC gl3wGetnCompressedTexImageARB;
  635. PFNGLGETNUNIFORMFVARBPROC gl3wGetnUniformfvARB;
  636. PFNGLGETNUNIFORMIVARBPROC gl3wGetnUniformivARB;
  637. PFNGLGETNUNIFORMUIVARBPROC gl3wGetnUniformuivARB;
  638. PFNGLGETNUNIFORMDVARBPROC gl3wGetnUniformdvARB;
  639. PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC gl3wDrawArraysInstancedBaseInstance;
  640. PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC gl3wDrawElementsInstancedBaseInstance;
  641. PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC gl3wDrawElementsInstancedBaseVertexBaseInstance;
  642. PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC gl3wDrawTransformFeedbackInstanced;
  643. PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC gl3wDrawTransformFeedbackStreamInstanced;
  644. PFNGLGETINTERNALFORMATIVPROC gl3wGetInternalformativ;
  645. PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC gl3wGetActiveAtomicCounterBufferiv;
  646. PFNGLBINDIMAGETEXTUREPROC gl3wBindImageTexture;
  647. PFNGLMEMORYBARRIERPROC gl3wMemoryBarrier;
  648. PFNGLTEXSTORAGE1DPROC gl3wTexStorage1D;
  649. PFNGLTEXSTORAGE2DPROC gl3wTexStorage2D;
  650. PFNGLTEXSTORAGE3DPROC gl3wTexStorage3D;
  651. PFNGLTEXTURESTORAGE1DEXTPROC gl3wTextureStorage1DEXT;
  652. PFNGLTEXTURESTORAGE2DEXTPROC gl3wTextureStorage2DEXT;
  653. PFNGLTEXTURESTORAGE3DEXTPROC gl3wTextureStorage3DEXT;
  654. PFNGLDEBUGMESSAGECONTROLPROC gl3wDebugMessageControl;
  655. PFNGLDEBUGMESSAGEINSERTPROC gl3wDebugMessageInsert;
  656. PFNGLDEBUGMESSAGECALLBACKPROC gl3wDebugMessageCallback;
  657. PFNGLGETDEBUGMESSAGELOGPROC gl3wGetDebugMessageLog;
  658. PFNGLPUSHDEBUGGROUPPROC gl3wPushDebugGroup;
  659. PFNGLPOPDEBUGGROUPPROC gl3wPopDebugGroup;
  660. PFNGLOBJECTLABELPROC gl3wObjectLabel;
  661. PFNGLGETOBJECTLABELPROC gl3wGetObjectLabel;
  662. PFNGLOBJECTPTRLABELPROC gl3wObjectPtrLabel;
  663. PFNGLGETOBJECTPTRLABELPROC gl3wGetObjectPtrLabel;
  664. PFNGLCLEARBUFFERDATAPROC gl3wClearBufferData;
  665. PFNGLCLEARBUFFERSUBDATAPROC gl3wClearBufferSubData;
  666. PFNGLCLEARNAMEDBUFFERDATAEXTPROC gl3wClearNamedBufferDataEXT;
  667. PFNGLCLEARNAMEDBUFFERSUBDATAEXTPROC gl3wClearNamedBufferSubDataEXT;
  668. PFNGLDISPATCHCOMPUTEPROC gl3wDispatchCompute;
  669. PFNGLDISPATCHCOMPUTEINDIRECTPROC gl3wDispatchComputeIndirect;
  670. PFNGLCOPYIMAGESUBDATAPROC gl3wCopyImageSubData;
  671. PFNGLTEXTUREVIEWPROC gl3wTextureView;
  672. PFNGLBINDVERTEXBUFFERPROC gl3wBindVertexBuffer;
  673. PFNGLVERTEXATTRIBFORMATPROC gl3wVertexAttribFormat;
  674. PFNGLVERTEXATTRIBIFORMATPROC gl3wVertexAttribIFormat;
  675. PFNGLVERTEXATTRIBLFORMATPROC gl3wVertexAttribLFormat;
  676. PFNGLVERTEXATTRIBBINDINGPROC gl3wVertexAttribBinding;
  677. PFNGLVERTEXBINDINGDIVISORPROC gl3wVertexBindingDivisor;
  678. PFNGLVERTEXARRAYBINDVERTEXBUFFEREXTPROC gl3wVertexArrayBindVertexBufferEXT;
  679. PFNGLVERTEXARRAYVERTEXATTRIBFORMATEXTPROC gl3wVertexArrayVertexAttribFormatEXT;
  680. PFNGLVERTEXARRAYVERTEXATTRIBIFORMATEXTPROC gl3wVertexArrayVertexAttribIFormatEXT;
  681. PFNGLVERTEXARRAYVERTEXATTRIBLFORMATEXTPROC gl3wVertexArrayVertexAttribLFormatEXT;
  682. PFNGLVERTEXARRAYVERTEXATTRIBBINDINGEXTPROC gl3wVertexArrayVertexAttribBindingEXT;
  683. PFNGLVERTEXARRAYVERTEXBINDINGDIVISOREXTPROC gl3wVertexArrayVertexBindingDivisorEXT;
  684. PFNGLFRAMEBUFFERPARAMETERIPROC gl3wFramebufferParameteri;
  685. PFNGLGETFRAMEBUFFERPARAMETERIVPROC gl3wGetFramebufferParameteriv;
  686. PFNGLNAMEDFRAMEBUFFERPARAMETERIEXTPROC gl3wNamedFramebufferParameteriEXT;
  687. PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVEXTPROC gl3wGetNamedFramebufferParameterivEXT;
  688. PFNGLGETINTERNALFORMATI64VPROC gl3wGetInternalformati64v;
  689. PFNGLINVALIDATETEXSUBIMAGEPROC gl3wInvalidateTexSubImage;
  690. PFNGLINVALIDATETEXIMAGEPROC gl3wInvalidateTexImage;
  691. PFNGLINVALIDATEBUFFERSUBDATAPROC gl3wInvalidateBufferSubData;
  692. PFNGLINVALIDATEBUFFERDATAPROC gl3wInvalidateBufferData;
  693. PFNGLINVALIDATEFRAMEBUFFERPROC gl3wInvalidateFramebuffer;
  694. PFNGLINVALIDATESUBFRAMEBUFFERPROC gl3wInvalidateSubFramebuffer;
  695. PFNGLMULTIDRAWARRAYSINDIRECTPROC gl3wMultiDrawArraysIndirect;
  696. PFNGLMULTIDRAWELEMENTSINDIRECTPROC gl3wMultiDrawElementsIndirect;
  697. PFNGLGETPROGRAMINTERFACEIVPROC gl3wGetProgramInterfaceiv;
  698. PFNGLGETPROGRAMRESOURCEINDEXPROC gl3wGetProgramResourceIndex;
  699. PFNGLGETPROGRAMRESOURCENAMEPROC gl3wGetProgramResourceName;
  700. PFNGLGETPROGRAMRESOURCEIVPROC gl3wGetProgramResourceiv;
  701. PFNGLGETPROGRAMRESOURCELOCATIONPROC gl3wGetProgramResourceLocation;
  702. PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC gl3wGetProgramResourceLocationIndex;
  703. PFNGLSHADERSTORAGEBLOCKBINDINGPROC gl3wShaderStorageBlockBinding;
  704. PFNGLTEXBUFFERRANGEPROC gl3wTexBufferRange;
  705. PFNGLTEXTUREBUFFERRANGEEXTPROC gl3wTextureBufferRangeEXT;
  706. PFNGLTEXSTORAGE2DMULTISAMPLEPROC gl3wTexStorage2DMultisample;
  707. PFNGLTEXSTORAGE3DMULTISAMPLEPROC gl3wTexStorage3DMultisample;
  708. PFNGLTEXTURESTORAGE2DMULTISAMPLEEXTPROC gl3wTextureStorage2DMultisampleEXT;
  709. PFNGLTEXTURESTORAGE3DMULTISAMPLEEXTPROC gl3wTextureStorage3DMultisampleEXT;
  710. static void load_procs(void)
  711. {
  712. gl3wCullFace = (PFNGLCULLFACEPROC) get_proc("glCullFace");
  713. gl3wFrontFace = (PFNGLFRONTFACEPROC) get_proc("glFrontFace");
  714. gl3wHint = (PFNGLHINTPROC) get_proc("glHint");
  715. gl3wLineWidth = (PFNGLLINEWIDTHPROC) get_proc("glLineWidth");
  716. gl3wPointSize = (PFNGLPOINTSIZEPROC) get_proc("glPointSize");
  717. gl3wPolygonMode = (PFNGLPOLYGONMODEPROC) get_proc("glPolygonMode");
  718. gl3wScissor = (PFNGLSCISSORPROC) get_proc("glScissor");
  719. gl3wTexParameterf = (PFNGLTEXPARAMETERFPROC) get_proc("glTexParameterf");
  720. gl3wTexParameterfv = (PFNGLTEXPARAMETERFVPROC) get_proc("glTexParameterfv");
  721. gl3wTexParameteri = (PFNGLTEXPARAMETERIPROC) get_proc("glTexParameteri");
  722. gl3wTexParameteriv = (PFNGLTEXPARAMETERIVPROC) get_proc("glTexParameteriv");
  723. gl3wTexImage1D = (PFNGLTEXIMAGE1DPROC) get_proc("glTexImage1D");
  724. gl3wTexImage2D = (PFNGLTEXIMAGE2DPROC) get_proc("glTexImage2D");
  725. gl3wDrawBuffer = (PFNGLDRAWBUFFERPROC) get_proc("glDrawBuffer");
  726. gl3wClear = (PFNGLCLEARPROC) get_proc("glClear");
  727. gl3wClearColor = (PFNGLCLEARCOLORPROC) get_proc("glClearColor");
  728. gl3wClearStencil = (PFNGLCLEARSTENCILPROC) get_proc("glClearStencil");
  729. gl3wClearDepth = (PFNGLCLEARDEPTHPROC) get_proc("glClearDepth");
  730. gl3wStencilMask = (PFNGLSTENCILMASKPROC) get_proc("glStencilMask");
  731. gl3wColorMask = (PFNGLCOLORMASKPROC) get_proc("glColorMask");
  732. gl3wDepthMask = (PFNGLDEPTHMASKPROC) get_proc("glDepthMask");
  733. gl3wDisable = (PFNGLDISABLEPROC) get_proc("glDisable");
  734. gl3wEnable = (PFNGLENABLEPROC) get_proc("glEnable");
  735. gl3wFinish = (PFNGLFINISHPROC) get_proc("glFinish");
  736. gl3wFlush = (PFNGLFLUSHPROC) get_proc("glFlush");
  737. gl3wBlendFunc = (PFNGLBLENDFUNCPROC) get_proc("glBlendFunc");
  738. gl3wLogicOp = (PFNGLLOGICOPPROC) get_proc("glLogicOp");
  739. gl3wStencilFunc = (PFNGLSTENCILFUNCPROC) get_proc("glStencilFunc");
  740. gl3wStencilOp = (PFNGLSTENCILOPPROC) get_proc("glStencilOp");
  741. gl3wDepthFunc = (PFNGLDEPTHFUNCPROC) get_proc("glDepthFunc");
  742. gl3wPixelStoref = (PFNGLPIXELSTOREFPROC) get_proc("glPixelStoref");
  743. gl3wPixelStorei = (PFNGLPIXELSTOREIPROC) get_proc("glPixelStorei");
  744. gl3wReadBuffer = (PFNGLREADBUFFERPROC) get_proc("glReadBuffer");
  745. gl3wReadPixels = (PFNGLREADPIXELSPROC) get_proc("glReadPixels");
  746. gl3wGetBooleanv = (PFNGLGETBOOLEANVPROC) get_proc("glGetBooleanv");
  747. gl3wGetDoublev = (PFNGLGETDOUBLEVPROC) get_proc("glGetDoublev");
  748. gl3wGetError = (PFNGLGETERRORPROC) get_proc("glGetError");
  749. gl3wGetFloatv = (PFNGLGETFLOATVPROC) get_proc("glGetFloatv");
  750. gl3wGetIntegerv = (PFNGLGETINTEGERVPROC) get_proc("glGetIntegerv");
  751. gl3wGetString = (PFNGLGETSTRINGPROC) get_proc("glGetString");
  752. gl3wGetTexImage = (PFNGLGETTEXIMAGEPROC) get_proc("glGetTexImage");
  753. gl3wGetTexParameterfv = (PFNGLGETTEXPARAMETERFVPROC) get_proc("glGetTexParameterfv");
  754. gl3wGetTexParameteriv = (PFNGLGETTEXPARAMETERIVPROC) get_proc("glGetTexParameteriv");
  755. gl3wGetTexLevelParameterfv = (PFNGLGETTEXLEVELPARAMETERFVPROC) get_proc("glGetTexLevelParameterfv");
  756. gl3wGetTexLevelParameteriv = (PFNGLGETTEXLEVELPARAMETERIVPROC) get_proc("glGetTexLevelParameteriv");
  757. gl3wIsEnabled = (PFNGLISENABLEDPROC) get_proc("glIsEnabled");
  758. gl3wDepthRange = (PFNGLDEPTHRANGEPROC) get_proc("glDepthRange");
  759. gl3wViewport = (PFNGLVIEWPORTPROC) get_proc("glViewport");
  760. gl3wDrawArrays = (PFNGLDRAWARRAYSPROC) get_proc("glDrawArrays");
  761. gl3wDrawElements = (PFNGLDRAWELEMENTSPROC) get_proc("glDrawElements");
  762. gl3wGetPointerv = (PFNGLGETPOINTERVPROC) get_proc("glGetPointerv");
  763. gl3wPolygonOffset = (PFNGLPOLYGONOFFSETPROC) get_proc("glPolygonOffset");
  764. gl3wCopyTexImage1D = (PFNGLCOPYTEXIMAGE1DPROC) get_proc("glCopyTexImage1D");
  765. gl3wCopyTexImage2D = (PFNGLCOPYTEXIMAGE2DPROC) get_proc("glCopyTexImage2D");
  766. gl3wCopyTexSubImage1D = (PFNGLCOPYTEXSUBIMAGE1DPROC) get_proc("glCopyTexSubImage1D");
  767. gl3wCopyTexSubImage2D = (PFNGLCOPYTEXSUBIMAGE2DPROC) get_proc("glCopyTexSubImage2D");
  768. gl3wTexSubImage1D = (PFNGLTEXSUBIMAGE1DPROC) get_proc("glTexSubImage1D");
  769. gl3wTexSubImage2D = (PFNGLTEXSUBIMAGE2DPROC) get_proc("glTexSubImage2D");
  770. gl3wBindTexture = (PFNGLBINDTEXTUREPROC) get_proc("glBindTexture");
  771. gl3wDeleteTextures = (PFNGLDELETETEXTURESPROC) get_proc("glDeleteTextures");
  772. gl3wGenTextures = (PFNGLGENTEXTURESPROC) get_proc("glGenTextures");
  773. gl3wIsTexture = (PFNGLISTEXTUREPROC) get_proc("glIsTexture");
  774. gl3wBlendColor = (PFNGLBLENDCOLORPROC) get_proc("glBlendColor");
  775. gl3wBlendEquation = (PFNGLBLENDEQUATIONPROC) get_proc("glBlendEquation");
  776. gl3wDrawRangeElements = (PFNGLDRAWRANGEELEMENTSPROC) get_proc("glDrawRangeElements");
  777. gl3wTexImage3D = (PFNGLTEXIMAGE3DPROC) get_proc("glTexImage3D");
  778. gl3wTexSubImage3D = (PFNGLTEXSUBIMAGE3DPROC) get_proc("glTexSubImage3D");
  779. gl3wCopyTexSubImage3D = (PFNGLCOPYTEXSUBIMAGE3DPROC) get_proc("glCopyTexSubImage3D");
  780. gl3wActiveTexture = (PFNGLACTIVETEXTUREPROC) get_proc("glActiveTexture");
  781. gl3wSampleCoverage = (PFNGLSAMPLECOVERAGEPROC) get_proc("glSampleCoverage");
  782. gl3wCompressedTexImage3D = (PFNGLCOMPRESSEDTEXIMAGE3DPROC) get_proc("glCompressedTexImage3D");
  783. gl3wCompressedTexImage2D = (PFNGLCOMPRESSEDTEXIMAGE2DPROC) get_proc("glCompressedTexImage2D");
  784. gl3wCompressedTexImage1D = (PFNGLCOMPRESSEDTEXIMAGE1DPROC) get_proc("glCompressedTexImage1D");
  785. gl3wCompressedTexSubImage3D = (PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) get_proc("glCompressedTexSubImage3D");
  786. gl3wCompressedTexSubImage2D = (PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) get_proc("glCompressedTexSubImage2D");
  787. gl3wCompressedTexSubImage1D = (PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) get_proc("glCompressedTexSubImage1D");
  788. gl3wGetCompressedTexImage = (PFNGLGETCOMPRESSEDTEXIMAGEPROC) get_proc("glGetCompressedTexImage");
  789. gl3wBlendFuncSeparate = (PFNGLBLENDFUNCSEPARATEPROC) get_proc("glBlendFuncSeparate");
  790. gl3wMultiDrawArrays = (PFNGLMULTIDRAWARRAYSPROC) get_proc("glMultiDrawArrays");
  791. gl3wMultiDrawElements = (PFNGLMULTIDRAWELEMENTSPROC) get_proc("glMultiDrawElements");
  792. gl3wPointParameterf = (PFNGLPOINTPARAMETERFPROC) get_proc("glPointParameterf");
  793. gl3wPointParameterfv = (PFNGLPOINTPARAMETERFVPROC) get_proc("glPointParameterfv");
  794. gl3wPointParameteri = (PFNGLPOINTPARAMETERIPROC) get_proc("glPointParameteri");
  795. gl3wPointParameteriv = (PFNGLPOINTPARAMETERIVPROC) get_proc("glPointParameteriv");
  796. gl3wGenQueries = (PFNGLGENQUERIESPROC) get_proc("glGenQueries");
  797. gl3wDeleteQueries = (PFNGLDELETEQUERIESPROC) get_proc("glDeleteQueries");
  798. gl3wIsQuery = (PFNGLISQUERYPROC) get_proc("glIsQuery");
  799. gl3wBeginQuery = (PFNGLBEGINQUERYPROC) get_proc("glBeginQuery");
  800. gl3wEndQuery = (PFNGLENDQUERYPROC) get_proc("glEndQuery");
  801. gl3wGetQueryiv = (PFNGLGETQUERYIVPROC) get_proc("glGetQueryiv");
  802. gl3wGetQueryObjectiv = (PFNGLGETQUERYOBJECTIVPROC) get_proc("glGetQueryObjectiv");
  803. gl3wGetQueryObjectuiv = (PFNGLGETQUERYOBJECTUIVPROC) get_proc("glGetQueryObjectuiv");
  804. gl3wBindBuffer = (PFNGLBINDBUFFERPROC) get_proc("glBindBuffer");
  805. gl3wDeleteBuffers = (PFNGLDELETEBUFFERSPROC) get_proc("glDeleteBuffers");
  806. gl3wGenBuffers = (PFNGLGENBUFFERSPROC) get_proc("glGenBuffers");
  807. gl3wIsBuffer = (PFNGLISBUFFERPROC) get_proc("glIsBuffer");
  808. gl3wBufferData = (PFNGLBUFFERDATAPROC) get_proc("glBufferData");
  809. gl3wBufferSubData = (PFNGLBUFFERSUBDATAPROC) get_proc("glBufferSubData");
  810. gl3wGetBufferSubData = (PFNGLGETBUFFERSUBDATAPROC) get_proc("glGetBufferSubData");
  811. gl3wMapBuffer = (PFNGLMAPBUFFERPROC) get_proc("glMapBuffer");
  812. gl3wUnmapBuffer = (PFNGLUNMAPBUFFERPROC) get_proc("glUnmapBuffer");
  813. gl3wGetBufferParameteriv = (PFNGLGETBUFFERPARAMETERIVPROC) get_proc("glGetBufferParameteriv");
  814. gl3wGetBufferPointerv = (PFNGLGETBUFFERPOINTERVPROC) get_proc("glGetBufferPointerv");
  815. gl3wBlendEquationSeparate = (PFNGLBLENDEQUATIONSEPARATEPROC) get_proc("glBlendEquationSeparate");
  816. gl3wDrawBuffers = (PFNGLDRAWBUFFERSPROC) get_proc("glDrawBuffers");
  817. gl3wStencilOpSeparate = (PFNGLSTENCILOPSEPARATEPROC) get_proc("glStencilOpSeparate");
  818. gl3wStencilFuncSeparate = (PFNGLSTENCILFUNCSEPARATEPROC) get_proc("glStencilFuncSeparate");
  819. gl3wStencilMaskSeparate = (PFNGLSTENCILMASKSEPARATEPROC) get_proc("glStencilMaskSeparate");
  820. gl3wAttachShader = (PFNGLATTACHSHADERPROC) get_proc("glAttachShader");
  821. gl3wBindAttribLocation = (PFNGLBINDATTRIBLOCATIONPROC) get_proc("glBindAttribLocation");
  822. gl3wCompileShader = (PFNGLCOMPILESHADERPROC) get_proc("glCompileShader");
  823. gl3wCreateProgram = (PFNGLCREATEPROGRAMPROC) get_proc("glCreateProgram");
  824. gl3wCreateShader = (PFNGLCREATESHADERPROC) get_proc("glCreateShader");
  825. gl3wDeleteProgram = (PFNGLDELETEPROGRAMPROC) get_proc("glDeleteProgram");
  826. gl3wDeleteShader = (PFNGLDELETESHADERPROC) get_proc("glDeleteShader");
  827. gl3wDetachShader = (PFNGLDETACHSHADERPROC) get_proc("glDetachShader");
  828. gl3wDisableVertexAttribArray = (PFNGLDISABLEVERTEXATTRIBARRAYPROC) get_proc("glDisableVertexAttribArray");
  829. gl3wEnableVertexAttribArray = (PFNGLENABLEVERTEXATTRIBARRAYPROC) get_proc("glEnableVertexAttribArray");
  830. gl3wGetActiveAttrib = (PFNGLGETACTIVEATTRIBPROC) get_proc("glGetActiveAttrib");
  831. gl3wGetActiveUniform = (PFNGLGETACTIVEUNIFORMPROC) get_proc("glGetActiveUniform");
  832. gl3wGetAttachedShaders = (PFNGLGETATTACHEDSHADERSPROC) get_proc("glGetAttachedShaders");
  833. gl3wGetAttribLocation = (PFNGLGETATTRIBLOCATIONPROC) get_proc("glGetAttribLocation");
  834. gl3wGetProgramiv = (PFNGLGETPROGRAMIVPROC) get_proc("glGetProgramiv");
  835. gl3wGetProgramInfoLog = (PFNGLGETPROGRAMINFOLOGPROC) get_proc("glGetProgramInfoLog");
  836. gl3wGetShaderiv = (PFNGLGETSHADERIVPROC) get_proc("glGetShaderiv");
  837. gl3wGetShaderInfoLog = (PFNGLGETSHADERINFOLOGPROC) get_proc("glGetShaderInfoLog");
  838. gl3wGetShaderSource = (PFNGLGETSHADERSOURCEPROC) get_proc("glGetShaderSource");
  839. gl3wGetUniformLocation = (PFNGLGETUNIFORMLOCATIONPROC) get_proc("glGetUniformLocation");
  840. gl3wGetUniformfv = (PFNGLGETUNIFORMFVPROC) get_proc("glGetUniformfv");
  841. gl3wGetUniformiv = (PFNGLGETUNIFORMIVPROC) get_proc("glGetUniformiv");
  842. gl3wGetVertexAttribdv = (PFNGLGETVERTEXATTRIBDVPROC) get_proc("glGetVertexAttribdv");
  843. gl3wGetVertexAttribfv = (PFNGLGETVERTEXATTRIBFVPROC) get_proc("glGetVertexAttribfv");
  844. gl3wGetVertexAttribiv = (PFNGLGETVERTEXATTRIBIVPROC) get_proc("glGetVertexAttribiv");
  845. gl3wGetVertexAttribPointerv = (PFNGLGETVERTEXATTRIBPOINTERVPROC) get_proc("glGetVertexAttribPointerv");
  846. gl3wIsProgram = (PFNGLISPROGRAMPROC) get_proc("glIsProgram");
  847. gl3wIsShader = (PFNGLISSHADERPROC) get_proc("glIsShader");
  848. gl3wLinkProgram = (PFNGLLINKPROGRAMPROC) get_proc("glLinkProgram");
  849. gl3wShaderSource = (PFNGLSHADERSOURCEPROC) get_proc("glShaderSource");
  850. gl3wUseProgram = (PFNGLUSEPROGRAMPROC) get_proc("glUseProgram");
  851. gl3wUniform1f = (PFNGLUNIFORM1FPROC) get_proc("glUniform1f");
  852. gl3wUniform2f = (PFNGLUNIFORM2FPROC) get_proc("glUniform2f");
  853. gl3wUniform3f = (PFNGLUNIFORM3FPROC) get_proc("glUniform3f");
  854. gl3wUniform4f = (PFNGLUNIFORM4FPROC) get_proc("glUniform4f");
  855. gl3wUniform1i = (PFNGLUNIFORM1IPROC) get_proc("glUniform1i");
  856. gl3wUniform2i = (PFNGLUNIFORM2IPROC) get_proc("glUniform2i");
  857. gl3wUniform3i = (PFNGLUNIFORM3IPROC) get_proc("glUniform3i");
  858. gl3wUniform4i = (PFNGLUNIFORM4IPROC) get_proc("glUniform4i");
  859. gl3wUniform1fv = (PFNGLUNIFORM1FVPROC) get_proc("glUniform1fv");
  860. gl3wUniform2fv = (PFNGLUNIFORM2FVPROC) get_proc("glUniform2fv");
  861. gl3wUniform3fv = (PFNGLUNIFORM3FVPROC) get_proc("glUniform3fv");
  862. gl3wUniform4fv = (PFNGLUNIFORM4FVPROC) get_proc("glUniform4fv");
  863. gl3wUniform1iv = (PFNGLUNIFORM1IVPROC) get_proc("glUniform1iv");
  864. gl3wUniform2iv = (PFNGLUNIFORM2IVPROC) get_proc("glUniform2iv");
  865. gl3wUniform3iv = (PFNGLUNIFORM3IVPROC) get_proc("glUniform3iv");
  866. gl3wUniform4iv = (PFNGLUNIFORM4IVPROC) get_proc("glUniform4iv");
  867. gl3wUniformMatrix2fv = (PFNGLUNIFORMMATRIX2FVPROC) get_proc("glUniformMatrix2fv");
  868. gl3wUniformMatrix3fv = (PFNGLUNIFORMMATRIX3FVPROC) get_proc("glUniformMatrix3fv");
  869. gl3wUniformMatrix4fv = (PFNGLUNIFORMMATRIX4FVPROC) get_proc("glUniformMatrix4fv");
  870. gl3wValidateProgram = (PFNGLVALIDATEPROGRAMPROC) get_proc("glValidateProgram");
  871. gl3wVertexAttrib1d = (PFNGLVERTEXATTRIB1DPROC) get_proc("glVertexAttrib1d");
  872. gl3wVertexAttrib1dv = (PFNGLVERTEXATTRIB1DVPROC) get_proc("glVertexAttrib1dv");
  873. gl3wVertexAttrib1f = (PFNGLVERTEXATTRIB1FPROC) get_proc("glVertexAttrib1f");
  874. gl3wVertexAttrib1fv = (PFNGLVERTEXATTRIB1FVPROC) get_proc("glVertexAttrib1fv");
  875. gl3wVertexAttrib1s = (PFNGLVERTEXATTRIB1SPROC) get_proc("glVertexAttrib1s");
  876. gl3wVertexAttrib1sv = (PFNGLVERTEXATTRIB1SVPROC) get_proc("glVertexAttrib1sv");
  877. gl3wVertexAttrib2d = (PFNGLVERTEXATTRIB2DPROC) get_proc("glVertexAttrib2d");
  878. gl3wVertexAttrib2dv = (PFNGLVERTEXATTRIB2DVPROC) get_proc("glVertexAttrib2dv");
  879. gl3wVertexAttrib2f = (PFNGLVERTEXATTRIB2FPROC) get_proc("glVertexAttrib2f");
  880. gl3wVertexAttrib2fv = (PFNGLVERTEXATTRIB2FVPROC) get_proc("glVertexAttrib2fv");
  881. gl3wVertexAttrib2s = (PFNGLVERTEXATTRIB2SPROC) get_proc("glVertexAttrib2s");
  882. gl3wVertexAttrib2sv = (PFNGLVERTEXATTRIB2SVPROC) get_proc("glVertexAttrib2sv");
  883. gl3wVertexAttrib3d = (PFNGLVERTEXATTRIB3DPROC) get_proc("glVertexAttrib3d");
  884. gl3wVertexAttrib3dv = (PFNGLVERTEXATTRIB3DVPROC) get_proc("glVertexAttrib3dv");
  885. gl3wVertexAttrib3f = (PFNGLVERTEXATTRIB3FPROC) get_proc("glVertexAttrib3f");
  886. gl3wVertexAttrib3fv = (PFNGLVERTEXATTRIB3FVPROC) get_proc("glVertexAttrib3fv");
  887. gl3wVertexAttrib3s = (PFNGLVERTEXATTRIB3SPROC) get_proc("glVertexAttrib3s");
  888. gl3wVertexAttrib3sv = (PFNGLVERTEXATTRIB3SVPROC) get_proc("glVertexAttrib3sv");
  889. gl3wVertexAttrib4Nbv = (PFNGLVERTEXATTRIB4NBVPROC) get_proc("glVertexAttrib4Nbv");
  890. gl3wVertexAttrib4Niv = (PFNGLVERTEXATTRIB4NIVPROC) get_proc("glVertexAttrib4Niv");
  891. gl3wVertexAttrib4Nsv = (PFNGLVERTEXATTRIB4NSVPROC) get_proc("glVertexAttrib4Nsv");
  892. gl3wVertexAttrib4Nub = (PFNGLVERTEXATTRIB4NUBPROC) get_proc("glVertexAttrib4Nub");
  893. gl3wVertexAttrib4Nubv = (PFNGLVERTEXATTRIB4NUBVPROC) get_proc("glVertexAttrib4Nubv");
  894. gl3wVertexAttrib4Nuiv = (PFNGLVERTEXATTRIB4NUIVPROC) get_proc("glVertexAttrib4Nuiv");
  895. gl3wVertexAttrib4Nusv = (PFNGLVERTEXATTRIB4NUSVPROC) get_proc("glVertexAttrib4Nusv");
  896. gl3wVertexAttrib4bv = (PFNGLVERTEXATTRIB4BVPROC) get_proc("glVertexAttrib4bv");
  897. gl3wVertexAttrib4d = (PFNGLVERTEXATTRIB4DPROC) get_proc("glVertexAttrib4d");
  898. gl3wVertexAttrib4dv = (PFNGLVERTEXATTRIB4DVPROC) get_proc("glVertexAttrib4dv");
  899. gl3wVertexAttrib4f = (PFNGLVERTEXATTRIB4FPROC) get_proc("glVertexAttrib4f");
  900. gl3wVertexAttrib4fv = (PFNGLVERTEXATTRIB4FVPROC) get_proc("glVertexAttrib4fv");
  901. gl3wVertexAttrib4iv = (PFNGLVERTEXATTRIB4IVPROC) get_proc("glVertexAttrib4iv");
  902. gl3wVertexAttrib4s = (PFNGLVERTEXATTRIB4SPROC) get_proc("glVertexAttrib4s");
  903. gl3wVertexAttrib4sv = (PFNGLVERTEXATTRIB4SVPROC) get_proc("glVertexAttrib4sv");
  904. gl3wVertexAttrib4ubv = (PFNGLVERTEXATTRIB4UBVPROC) get_proc("glVertexAttrib4ubv");
  905. gl3wVertexAttrib4uiv = (PFNGLVERTEXATTRIB4UIVPROC) get_proc("glVertexAttrib4uiv");
  906. gl3wVertexAttrib4usv = (PFNGLVERTEXATTRIB4USVPROC) get_proc("glVertexAttrib4usv");
  907. gl3wVertexAttribPointer = (PFNGLVERTEXATTRIBPOINTERPROC) get_proc("glVertexAttribPointer");
  908. gl3wUniformMatrix2x3fv = (PFNGLUNIFORMMATRIX2X3FVPROC) get_proc("glUniformMatrix2x3fv");
  909. gl3wUniformMatrix3x2fv = (PFNGLUNIFORMMATRIX3X2FVPROC) get_proc("glUniformMatrix3x2fv");
  910. gl3wUniformMatrix2x4fv = (PFNGLUNIFORMMATRIX2X4FVPROC) get_proc("glUniformMatrix2x4fv");
  911. gl3wUniformMatrix4x2fv = (PFNGLUNIFORMMATRIX4X2FVPROC) get_proc("glUniformMatrix4x2fv");
  912. gl3wUniformMatrix3x4fv = (PFNGLUNIFORMMATRIX3X4FVPROC) get_proc("glUniformMatrix3x4fv");
  913. gl3wUniformMatrix4x3fv = (PFNGLUNIFORMMATRIX4X3FVPROC) get_proc("glUniformMatrix4x3fv");
  914. gl3wColorMaski = (PFNGLCOLORMASKIPROC) get_proc("glColorMaski");
  915. gl3wGetBooleani_v = (PFNGLGETBOOLEANI_VPROC) get_proc("glGetBooleani_v");
  916. gl3wGetIntegeri_v = (PFNGLGETINTEGERI_VPROC) get_proc("glGetIntegeri_v");
  917. gl3wEnablei = (PFNGLENABLEIPROC) get_proc("glEnablei");
  918. gl3wDisablei = (PFNGLDISABLEIPROC) get_proc("glDisablei");
  919. gl3wIsEnabledi = (PFNGLISENABLEDIPROC) get_proc("glIsEnabledi");
  920. gl3wBeginTransformFeedback = (PFNGLBEGINTRANSFORMFEEDBACKPROC) get_proc("glBeginTransformFeedback");
  921. gl3wEndTransformFeedback = (PFNGLENDTRANSFORMFEEDBACKPROC) get_proc("glEndTransformFeedback");
  922. gl3wBindBufferRange = (PFNGLBINDBUFFERRANGEPROC) get_proc("glBindBufferRange");
  923. gl3wBindBufferBase = (PFNGLBINDBUFFERBASEPROC) get_proc("glBindBufferBase");
  924. gl3wTransformFeedbackVaryings = (PFNGLTRANSFORMFEEDBACKVARYINGSPROC) get_proc("glTransformFeedbackVaryings");
  925. gl3wGetTransformFeedbackVarying = (PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) get_proc("glGetTransformFeedbackVarying");
  926. gl3wClampColor = (PFNGLCLAMPCOLORPROC) get_proc("glClampColor");
  927. gl3wBeginConditionalRender = (PFNGLBEGINCONDITIONALRENDERPROC) get_proc("glBeginConditionalRender");
  928. gl3wEndConditionalRender = (PFNGLENDCONDITIONALRENDERPROC) get_proc("glEndConditionalRender");
  929. gl3wVertexAttribIPointer = (PFNGLVERTEXATTRIBIPOINTERPROC) get_proc("glVertexAttribIPointer");
  930. gl3wGetVertexAttribIiv = (PFNGLGETVERTEXATTRIBIIVPROC) get_proc("glGetVertexAttribIiv");
  931. gl3wGetVertexAttribIuiv = (PFNGLGETVERTEXATTRIBIUIVPROC) get_proc("glGetVertexAttribIuiv");
  932. gl3wVertexAttribI1i = (PFNGLVERTEXATTRIBI1IPROC) get_proc("glVertexAttribI1i");
  933. gl3wVertexAttribI2i = (PFNGLVERTEXATTRIBI2IPROC) get_proc("glVertexAttribI2i");
  934. gl3wVertexAttribI3i = (PFNGLVERTEXATTRIBI3IPROC) get_proc("glVertexAttribI3i");
  935. gl3wVertexAttribI4i = (PFNGLVERTEXATTRIBI4IPROC) get_proc("glVertexAttribI4i");
  936. gl3wVertexAttribI1ui = (PFNGLVERTEXATTRIBI1UIPROC) get_proc("glVertexAttribI1ui");
  937. gl3wVertexAttribI2ui = (PFNGLVERTEXATTRIBI2UIPROC) get_proc("glVertexAttribI2ui");
  938. gl3wVertexAttribI3ui = (PFNGLVERTEXATTRIBI3UIPROC) get_proc("glVertexAttribI3ui");
  939. gl3wVertexAttribI4ui = (PFNGLVERTEXATTRIBI4UIPROC) get_proc("glVertexAttribI4ui");
  940. gl3wVertexAttribI1iv = (PFNGLVERTEXATTRIBI1IVPROC) get_proc("glVertexAttribI1iv");
  941. gl3wVertexAttribI2iv = (PFNGLVERTEXATTRIBI2IVPROC) get_proc("glVertexAttribI2iv");
  942. gl3wVertexAttribI3iv = (PFNGLVERTEXATTRIBI3IVPROC) get_proc("glVertexAttribI3iv");
  943. gl3wVertexAttribI4iv = (PFNGLVERTEXATTRIBI4IVPROC) get_proc("glVertexAttribI4iv");
  944. gl3wVertexAttribI1uiv = (PFNGLVERTEXATTRIBI1UIVPROC) get_proc("glVertexAttribI1uiv");
  945. gl3wVertexAttribI2uiv = (PFNGLVERTEXATTRIBI2UIVPROC) get_proc("glVertexAttribI2uiv");
  946. gl3wVertexAttribI3uiv = (PFNGLVERTEXATTRIBI3UIVPROC) get_proc("glVertexAttribI3uiv");
  947. gl3wVertexAttribI4uiv = (PFNGLVERTEXATTRIBI4UIVPROC) get_proc("glVertexAttribI4uiv");
  948. gl3wVertexAttribI4bv = (PFNGLVERTEXATTRIBI4BVPROC) get_proc("glVertexAttribI4bv");
  949. gl3wVertexAttribI4sv = (PFNGLVERTEXATTRIBI4SVPROC) get_proc("glVertexAttribI4sv");
  950. gl3wVertexAttribI4ubv = (PFNGLVERTEXATTRIBI4UBVPROC) get_proc("glVertexAttribI4ubv");
  951. gl3wVertexAttribI4usv = (PFNGLVERTEXATTRIBI4USVPROC) get_proc("glVertexAttribI4usv");
  952. gl3wGetUniformuiv = (PFNGLGETUNIFORMUIVPROC) get_proc("glGetUniformuiv");
  953. gl3wBindFragDataLocation = (PFNGLBINDFRAGDATALOCATIONPROC) get_proc("glBindFragDataLocation");
  954. gl3wGetFragDataLocation = (PFNGLGETFRAGDATALOCATIONPROC) get_proc("glGetFragDataLocation");
  955. gl3wUniform1ui = (PFNGLUNIFORM1UIPROC) get_proc("glUniform1ui");
  956. gl3wUniform2ui = (PFNGLUNIFORM2UIPROC) get_proc("glUniform2ui");
  957. gl3wUniform3ui = (PFNGLUNIFORM3UIPROC) get_proc("glUniform3ui");
  958. gl3wUniform4ui = (PFNGLUNIFORM4UIPROC) get_proc("glUniform4ui");
  959. gl3wUniform1uiv = (PFNGLUNIFORM1UIVPROC) get_proc("glUniform1uiv");
  960. gl3wUniform2uiv = (PFNGLUNIFORM2UIVPROC) get_proc("glUniform2uiv");
  961. gl3wUniform3uiv = (PFNGLUNIFORM3UIVPROC) get_proc("glUniform3uiv");
  962. gl3wUniform4uiv = (PFNGLUNIFORM4UIVPROC) get_proc("glUniform4uiv");
  963. gl3wTexParameterIiv = (PFNGLTEXPARAMETERIIVPROC) get_proc("glTexParameterIiv");
  964. gl3wTexParameterIuiv = (PFNGLTEXPARAMETERIUIVPROC) get_proc("glTexParameterIuiv");
  965. gl3wGetTexParameterIiv = (PFNGLGETTEXPARAMETERIIVPROC) get_proc("glGetTexParameterIiv");
  966. gl3wGetTexParameterIuiv = (PFNGLGETTEXPARAMETERIUIVPROC) get_proc("glGetTexParameterIuiv");
  967. gl3wClearBufferiv = (PFNGLCLEARBUFFERIVPROC) get_proc("glClearBufferiv");
  968. gl3wClearBufferuiv = (PFNGLCLEARBUFFERUIVPROC) get_proc("glClearBufferuiv");
  969. gl3wClearBufferfv = (PFNGLCLEARBUFFERFVPROC) get_proc("glClearBufferfv");
  970. gl3wClearBufferfi = (PFNGLCLEARBUFFERFIPROC) get_proc("glClearBufferfi");
  971. gl3wGetStringi = (PFNGLGETSTRINGIPROC) get_proc("glGetStringi");
  972. gl3wDrawArraysInstanced = (PFNGLDRAWARRAYSINSTANCEDPROC) get_proc("glDrawArraysInstanced");
  973. gl3wDrawElementsInstanced = (PFNGLDRAWELEMENTSINSTANCEDPROC) get_proc("glDrawElementsInstanced");
  974. gl3wTexBuffer = (PFNGLTEXBUFFERPROC) get_proc("glTexBuffer");
  975. gl3wPrimitiveRestartIndex = (PFNGLPRIMITIVERESTARTINDEXPROC) get_proc("glPrimitiveRestartIndex");
  976. gl3wGetInteger64i_v = (PFNGLGETINTEGER64I_VPROC) get_proc("glGetInteger64i_v");
  977. gl3wGetBufferParameteri64v = (PFNGLGETBUFFERPARAMETERI64VPROC) get_proc("glGetBufferParameteri64v");
  978. gl3wFramebufferTexture = (PFNGLFRAMEBUFFERTEXTUREPROC) get_proc("glFramebufferTexture");
  979. gl3wVertexAttribDivisor = (PFNGLVERTEXATTRIBDIVISORPROC) get_proc("glVertexAttribDivisor");
  980. gl3wMinSampleShading = (PFNGLMINSAMPLESHADINGPROC) get_proc("glMinSampleShading");
  981. gl3wBlendEquationi = (PFNGLBLENDEQUATIONIPROC) get_proc("glBlendEquationi");
  982. gl3wBlendEquationSeparatei = (PFNGLBLENDEQUATIONSEPARATEIPROC) get_proc("glBlendEquationSeparatei");
  983. gl3wBlendFunci = (PFNGLBLENDFUNCIPROC) get_proc("glBlendFunci");
  984. gl3wBlendFuncSeparatei = (PFNGLBLENDFUNCSEPARATEIPROC) get_proc("glBlendFuncSeparatei");
  985. gl3wIsRenderbuffer = (PFNGLISRENDERBUFFERPROC) get_proc("glIsRenderbuffer");
  986. gl3wBindRenderbuffer = (PFNGLBINDRENDERBUFFERPROC) get_proc("glBindRenderbuffer");
  987. gl3wDeleteRenderbuffers = (PFNGLDELETERENDERBUFFERSPROC) get_proc("glDeleteRenderbuffers");
  988. gl3wGenRenderbuffers = (PFNGLGENRENDERBUFFERSPROC) get_proc("glGenRenderbuffers");
  989. gl3wRenderbufferStorage = (PFNGLRENDERBUFFERSTORAGEPROC) get_proc("glRenderbufferStorage");
  990. gl3wGetRenderbufferParameteriv = (PFNGLGETRENDERBUFFERPARAMETERIVPROC) get_proc("glGetRenderbufferParameteriv");
  991. gl3wIsFramebuffer = (PFNGLISFRAMEBUFFERPROC) get_proc("glIsFramebuffer");
  992. gl3wBindFramebuffer = (PFNGLBINDFRAMEBUFFERPROC) get_proc("glBindFramebuffer");
  993. gl3wDeleteFramebuffers = (PFNGLDELETEFRAMEBUFFERSPROC) get_proc("glDeleteFramebuffers");
  994. gl3wGenFramebuffers = (PFNGLGENFRAMEBUFFERSPROC) get_proc("glGenFramebuffers");
  995. gl3wCheckFramebufferStatus = (PFNGLCHECKFRAMEBUFFERSTATUSPROC) get_proc("glCheckFramebufferStatus");
  996. gl3wFramebufferTexture1D = (PFNGLFRAMEBUFFERTEXTURE1DPROC) get_proc("glFramebufferTexture1D");
  997. gl3wFramebufferTexture2D = (PFNGLFRAMEBUFFERTEXTURE2DPROC) get_proc("glFramebufferTexture2D");
  998. gl3wFramebufferTexture3D = (PFNGLFRAMEBUFFERTEXTURE3DPROC) get_proc("glFramebufferTexture3D");
  999. gl3wFramebufferRenderbuffer = (PFNGLFRAMEBUFFERRENDERBUFFERPROC) get_proc("glFramebufferRenderbuffer");
  1000. gl3wGetFramebufferAttachmentParameteriv = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) get_proc("glGetFramebufferAttachmentParameteriv");
  1001. gl3wGenerateMipmap = (PFNGLGENERATEMIPMAPPROC) get_proc("glGenerateMipmap");
  1002. gl3wBlitFramebuffer = (PFNGLBLITFRAMEBUFFERPROC) get_proc("glBlitFramebuffer");
  1003. gl3wRenderbufferStorageMultisample = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) get_proc("glRenderbufferStorageMultisample");
  1004. gl3wFramebufferTextureLayer = (PFNGLFRAMEBUFFERTEXTURELAYERPROC) get_proc("glFramebufferTextureLayer");
  1005. gl3wMapBufferRange = (PFNGLMAPBUFFERRANGEPROC) get_proc("glMapBufferRange");
  1006. gl3wFlushMappedBufferRange = (PFNGLFLUSHMAPPEDBUFFERRANGEPROC) get_proc("glFlushMappedBufferRange");
  1007. gl3wBindVertexArray = (PFNGLBINDVERTEXARRAYPROC) get_proc("glBindVertexArray");
  1008. gl3wDeleteVertexArrays = (PFNGLDELETEVERTEXARRAYSPROC) get_proc("glDeleteVertexArrays");
  1009. gl3wGenVertexArrays = (PFNGLGENVERTEXARRAYSPROC) get_proc("glGenVertexArrays");
  1010. gl3wIsVertexArray = (PFNGLISVERTEXARRAYPROC) get_proc("glIsVertexArray");
  1011. gl3wGetUniformIndices = (PFNGLGETUNIFORMINDICESPROC) get_proc("glGetUniformIndices");
  1012. gl3wGetActiveUniformsiv = (PFNGLGETACTIVEUNIFORMSIVPROC) get_proc("glGetActiveUniformsiv");
  1013. gl3wGetActiveUniformName = (PFNGLGETACTIVEUNIFORMNAMEPROC) get_proc("glGetActiveUniformName");
  1014. gl3wGetUniformBlockIndex = (PFNGLGETUNIFORMBLOCKINDEXPROC) get_proc("glGetUniformBlockIndex");
  1015. gl3wGetActiveUniformBlockiv = (PFNGLGETACTIVEUNIFORMBLOCKIVPROC) get_proc("glGetActiveUniformBlockiv");
  1016. gl3wGetActiveUniformBlockName = (PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) get_proc("glGetActiveUniformBlockName");
  1017. gl3wUniformBlockBinding = (PFNGLUNIFORMBLOCKBINDINGPROC) get_proc("glUniformBlockBinding");
  1018. gl3wCopyBufferSubData = (PFNGLCOPYBUFFERSUBDATAPROC) get_proc("glCopyBufferSubData");
  1019. gl3wDrawElementsBaseVertex = (PFNGLDRAWELEMENTSBASEVERTEXPROC) get_proc("glDrawElementsBaseVertex");
  1020. gl3wDrawRangeElementsBaseVertex = (PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC) get_proc("glDrawRangeElementsBaseVertex");
  1021. gl3wDrawElementsInstancedBaseVertex = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC) get_proc("glDrawElementsInstancedBaseVertex");
  1022. gl3wMultiDrawElementsBaseVertex = (PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC) get_proc("glMultiDrawElementsBaseVertex");
  1023. gl3wProvokingVertex = (PFNGLPROVOKINGVERTEXPROC) get_proc("glProvokingVertex");
  1024. gl3wFenceSync = (PFNGLFENCESYNCPROC) get_proc("glFenceSync");
  1025. gl3wIsSync = (PFNGLISSYNCPROC) get_proc("glIsSync");
  1026. gl3wDeleteSync = (PFNGLDELETESYNCPROC) get_proc("glDeleteSync");
  1027. gl3wClientWaitSync = (PFNGLCLIENTWAITSYNCPROC) get_proc("glClientWaitSync");
  1028. gl3wWaitSync = (PFNGLWAITSYNCPROC) get_proc("glWaitSync");
  1029. gl3wGetInteger64v = (PFNGLGETINTEGER64VPROC) get_proc("glGetInteger64v");
  1030. gl3wGetSynciv = (PFNGLGETSYNCIVPROC) get_proc("glGetSynciv");
  1031. gl3wTexImage2DMultisample = (PFNGLTEXIMAGE2DMULTISAMPLEPROC) get_proc("glTexImage2DMultisample");
  1032. gl3wTexImage3DMultisample = (PFNGLTEXIMAGE3DMULTISAMPLEPROC) get_proc("glTexImage3DMultisample");
  1033. gl3wGetMultisamplefv = (PFNGLGETMULTISAMPLEFVPROC) get_proc("glGetMultisamplefv");
  1034. gl3wSampleMaski = (PFNGLSAMPLEMASKIPROC) get_proc("glSampleMaski");
  1035. gl3wBlendEquationiARB = (PFNGLBLENDEQUATIONIARBPROC) get_proc("glBlendEquationiARB");
  1036. gl3wBlendEquationSeparateiARB = (PFNGLBLENDEQUATIONSEPARATEIARBPROC) get_proc("glBlendEquationSeparateiARB");
  1037. gl3wBlendFunciARB = (PFNGLBLENDFUNCIARBPROC) get_proc("glBlendFunciARB");
  1038. gl3wBlendFuncSeparateiARB = (PFNGLBLENDFUNCSEPARATEIARBPROC) get_proc("glBlendFuncSeparateiARB");
  1039. gl3wMinSampleShadingARB = (PFNGLMINSAMPLESHADINGARBPROC) get_proc("glMinSampleShadingARB");
  1040. gl3wNamedStringARB = (PFNGLNAMEDSTRINGARBPROC) get_proc("glNamedStringARB");
  1041. gl3wDeleteNamedStringARB = (PFNGLDELETENAMEDSTRINGARBPROC) get_proc("glDeleteNamedStringARB");
  1042. gl3wCompileShaderIncludeARB = (PFNGLCOMPILESHADERINCLUDEARBPROC) get_proc("glCompileShaderIncludeARB");
  1043. gl3wIsNamedStringARB = (PFNGLISNAMEDSTRINGARBPROC) get_proc("glIsNamedStringARB");
  1044. gl3wGetNamedStringARB = (PFNGLGETNAMEDSTRINGARBPROC) get_proc("glGetNamedStringARB");
  1045. gl3wGetNamedStringivARB = (PFNGLGETNAMEDSTRINGIVARBPROC) get_proc("glGetNamedStringivARB");
  1046. gl3wBindFragDataLocationIndexed = (PFNGLBINDFRAGDATALOCATIONINDEXEDPROC) get_proc("glBindFragDataLocationIndexed");
  1047. gl3wGetFragDataIndex = (PFNGLGETFRAGDATAINDEXPROC) get_proc("glGetFragDataIndex");
  1048. gl3wGenSamplers = (PFNGLGENSAMPLERSPROC) get_proc("glGenSamplers");
  1049. gl3wDeleteSamplers = (PFNGLDELETESAMPLERSPROC) get_proc("glDeleteSamplers");
  1050. gl3wIsSampler = (PFNGLISSAMPLERPROC) get_proc("glIsSampler");
  1051. gl3wBindSampler = (PFNGLBINDSAMPLERPROC) get_proc("glBindSampler");
  1052. gl3wSamplerParameteri = (PFNGLSAMPLERPARAMETERIPROC) get_proc("glSamplerParameteri");
  1053. gl3wSamplerParameteriv = (PFNGLSAMPLERPARAMETERIVPROC) get_proc("glSamplerParameteriv");
  1054. gl3wSamplerParameterf = (PFNGLSAMPLERPARAMETERFPROC) get_proc("glSamplerParameterf");
  1055. gl3wSamplerParameterfv = (PFNGLSAMPLERPARAMETERFVPROC) get_proc("glSamplerParameterfv");
  1056. gl3wSamplerParameterIiv = (PFNGLSAMPLERPARAMETERIIVPROC) get_proc("glSamplerParameterIiv");
  1057. gl3wSamplerParameterIuiv = (PFNGLSAMPLERPARAMETERIUIVPROC) get_proc("glSamplerParameterIuiv");
  1058. gl3wGetSamplerParameteriv = (PFNGLGETSAMPLERPARAMETERIVPROC) get_proc("glGetSamplerParameteriv");
  1059. gl3wGetSamplerParameterIiv = (PFNGLGETSAMPLERPARAMETERIIVPROC) get_proc("glGetSamplerParameterIiv");
  1060. gl3wGetSamplerParameterfv = (PFNGLGETSAMPLERPARAMETERFVPROC) get_proc("glGetSamplerParameterfv");
  1061. gl3wGetSamplerParameterIuiv = (PFNGLGETSAMPLERPARAMETERIUIVPROC) get_proc("glGetSamplerParameterIuiv");
  1062. gl3wQueryCounter = (PFNGLQUERYCOUNTERPROC) get_proc("glQueryCounter");
  1063. gl3wGetQueryObjecti64v = (PFNGLGETQUERYOBJECTI64VPROC) get_proc("glGetQueryObjecti64v");
  1064. gl3wGetQueryObjectui64v = (PFNGLGETQUERYOBJECTUI64VPROC) get_proc("glGetQueryObjectui64v");
  1065. gl3wVertexP2ui = (PFNGLVERTEXP2UIPROC) get_proc("glVertexP2ui");
  1066. gl3wVertexP2uiv = (PFNGLVERTEXP2UIVPROC) get_proc("glVertexP2uiv");
  1067. gl3wVertexP3ui = (PFNGLVERTEXP3UIPROC) get_proc("glVertexP3ui");
  1068. gl3wVertexP3uiv = (PFNGLVERTEXP3UIVPROC) get_proc("glVertexP3uiv");
  1069. gl3wVertexP4ui = (PFNGLVERTEXP4UIPROC) get_proc("glVertexP4ui");
  1070. gl3wVertexP4uiv = (PFNGLVERTEXP4UIVPROC) get_proc("glVertexP4uiv");
  1071. gl3wTexCoordP1ui = (PFNGLTEXCOORDP1UIPROC) get_proc("glTexCoordP1ui");
  1072. gl3wTexCoordP1uiv = (PFNGLTEXCOORDP1UIVPROC) get_proc("glTexCoordP1uiv");
  1073. gl3wTexCoordP2ui = (PFNGLTEXCOORDP2UIPROC) get_proc("glTexCoordP2ui");
  1074. gl3wTexCoordP2uiv = (PFNGLTEXCOORDP2UIVPROC) get_proc("glTexCoordP2uiv");
  1075. gl3wTexCoordP3ui = (PFNGLTEXCOORDP3UIPROC) get_proc("glTexCoordP3ui");
  1076. gl3wTexCoordP3uiv = (PFNGLTEXCOORDP3UIVPROC) get_proc("glTexCoordP3uiv");
  1077. gl3wTexCoordP4ui = (PFNGLTEXCOORDP4UIPROC) get_proc("glTexCoordP4ui");
  1078. gl3wTexCoordP4uiv = (PFNGLTEXCOORDP4UIVPROC) get_proc("glTexCoordP4uiv");
  1079. gl3wMultiTexCoordP1ui = (PFNGLMULTITEXCOORDP1UIPROC) get_proc("glMultiTexCoordP1ui");
  1080. gl3wMultiTexCoordP1uiv = (PFNGLMULTITEXCOORDP1UIVPROC) get_proc("glMultiTexCoordP1uiv");
  1081. gl3wMultiTexCoordP2ui = (PFNGLMULTITEXCOORDP2UIPROC) get_proc("glMultiTexCoordP2ui");
  1082. gl3wMultiTexCoordP2uiv = (PFNGLMULTITEXCOORDP2UIVPROC) get_proc("glMultiTexCoordP2uiv");
  1083. gl3wMultiTexCoordP3ui = (PFNGLMULTITEXCOORDP3UIPROC) get_proc("glMultiTexCoordP3ui");
  1084. gl3wMultiTexCoordP3uiv = (PFNGLMULTITEXCOORDP3UIVPROC) get_proc("glMultiTexCoordP3uiv");
  1085. gl3wMultiTexCoordP4ui = (PFNGLMULTITEXCOORDP4UIPROC) get_proc("glMultiTexCoordP4ui");
  1086. gl3wMultiTexCoordP4uiv = (PFNGLMULTITEXCOORDP4UIVPROC) get_proc("glMultiTexCoordP4uiv");
  1087. gl3wNormalP3ui = (PFNGLNORMALP3UIPROC) get_proc("glNormalP3ui");
  1088. gl3wNormalP3uiv = (PFNGLNORMALP3UIVPROC) get_proc("glNormalP3uiv");
  1089. gl3wColorP3ui = (PFNGLCOLORP3UIPROC) get_proc("glColorP3ui");
  1090. gl3wColorP3uiv = (PFNGLCOLORP3UIVPROC) get_proc("glColorP3uiv");
  1091. gl3wColorP4ui = (PFNGLCOLORP4UIPROC) get_proc("glColorP4ui");
  1092. gl3wColorP4uiv = (PFNGLCOLORP4UIVPROC) get_proc("glColorP4uiv");
  1093. gl3wSecondaryColorP3ui = (PFNGLSECONDARYCOLORP3UIPROC) get_proc("glSecondaryColorP3ui");
  1094. gl3wSecondaryColorP3uiv = (PFNGLSECONDARYCOLORP3UIVPROC) get_proc("glSecondaryColorP3uiv");
  1095. gl3wVertexAttribP1ui = (PFNGLVERTEXATTRIBP1UIPROC) get_proc("glVertexAttribP1ui");
  1096. gl3wVertexAttribP1uiv = (PFNGLVERTEXATTRIBP1UIVPROC) get_proc("glVertexAttribP1uiv");
  1097. gl3wVertexAttribP2ui = (PFNGLVERTEXATTRIBP2UIPROC) get_proc("glVertexAttribP2ui");
  1098. gl3wVertexAttribP2uiv = (PFNGLVERTEXATTRIBP2UIVPROC) get_proc("glVertexAttribP2uiv");
  1099. gl3wVertexAttribP3ui = (PFNGLVERTEXATTRIBP3UIPROC) get_proc("glVertexAttribP3ui");
  1100. gl3wVertexAttribP3uiv = (PFNGLVERTEXATTRIBP3UIVPROC) get_proc("glVertexAttribP3uiv");
  1101. gl3wVertexAttribP4ui = (PFNGLVERTEXATTRIBP4UIPROC) get_proc("glVertexAttribP4ui");
  1102. gl3wVertexAttribP4uiv = (PFNGLVERTEXATTRIBP4UIVPROC) get_proc("glVertexAttribP4uiv");
  1103. gl3wDrawArraysIndirect = (PFNGLDRAWARRAYSINDIRECTPROC) get_proc("glDrawArraysIndirect");
  1104. gl3wDrawElementsIndirect = (PFNGLDRAWELEMENTSINDIRECTPROC) get_proc("glDrawElementsIndirect");
  1105. gl3wUniform1d = (PFNGLUNIFORM1DPROC) get_proc("glUniform1d");
  1106. gl3wUniform2d = (PFNGLUNIFORM2DPROC) get_proc("glUniform2d");
  1107. gl3wUniform3d = (PFNGLUNIFORM3DPROC) get_proc("glUniform3d");
  1108. gl3wUniform4d = (PFNGLUNIFORM4DPROC) get_proc("glUniform4d");
  1109. gl3wUniform1dv = (PFNGLUNIFORM1DVPROC) get_proc("glUniform1dv");
  1110. gl3wUniform2dv = (PFNGLUNIFORM2DVPROC) get_proc("glUniform2dv");
  1111. gl3wUniform3dv = (PFNGLUNIFORM3DVPROC) get_proc("glUniform3dv");
  1112. gl3wUniform4dv = (PFNGLUNIFORM4DVPROC) get_proc("glUniform4dv");
  1113. gl3wUniformMatrix2dv = (PFNGLUNIFORMMATRIX2DVPROC) get_proc("glUniformMatrix2dv");
  1114. gl3wUniformMatrix3dv = (PFNGLUNIFORMMATRIX3DVPROC) get_proc("glUniformMatrix3dv");
  1115. gl3wUniformMatrix4dv = (PFNGLUNIFORMMATRIX4DVPROC) get_proc("glUniformMatrix4dv");
  1116. gl3wUniformMatrix2x3dv = (PFNGLUNIFORMMATRIX2X3DVPROC) get_proc("glUniformMatrix2x3dv");
  1117. gl3wUniformMatrix2x4dv = (PFNGLUNIFORMMATRIX2X4DVPROC) get_proc("glUniformMatrix2x4dv");
  1118. gl3wUniformMatrix3x2dv = (PFNGLUNIFORMMATRIX3X2DVPROC) get_proc("glUniformMatrix3x2dv");
  1119. gl3wUniformMatrix3x4dv = (PFNGLUNIFORMMATRIX3X4DVPROC) get_proc("glUniformMatrix3x4dv");
  1120. gl3wUniformMatrix4x2dv = (PFNGLUNIFORMMATRIX4X2DVPROC) get_proc("glUniformMatrix4x2dv");
  1121. gl3wUniformMatrix4x3dv = (PFNGLUNIFORMMATRIX4X3DVPROC) get_proc("glUniformMatrix4x3dv");
  1122. gl3wGetUniformdv = (PFNGLGETUNIFORMDVPROC) get_proc("glGetUniformdv");
  1123. gl3wGetSubroutineUniformLocation = (PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC) get_proc("glGetSubroutineUniformLocation");
  1124. gl3wGetSubroutineIndex = (PFNGLGETSUBROUTINEINDEXPROC) get_proc("glGetSubroutineIndex");
  1125. gl3wGetActiveSubroutineUniformiv = (PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC) get_proc("glGetActiveSubroutineUniformiv");
  1126. gl3wGetActiveSubroutineUniformName = (PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) get_proc("glGetActiveSubroutineUniformName");
  1127. gl3wGetActiveSubroutineName = (PFNGLGETACTIVESUBROUTINENAMEPROC) get_proc("glGetActiveSubroutineName");
  1128. gl3wUniformSubroutinesuiv = (PFNGLUNIFORMSUBROUTINESUIVPROC) get_proc("glUniformSubroutinesuiv");
  1129. gl3wGetUniformSubroutineuiv = (PFNGLGETUNIFORMSUBROUTINEUIVPROC) get_proc("glGetUniformSubroutineuiv");
  1130. gl3wGetProgramStageiv = (PFNGLGETPROGRAMSTAGEIVPROC) get_proc("glGetProgramStageiv");
  1131. gl3wPatchParameteri = (PFNGLPATCHPARAMETERIPROC) get_proc("glPatchParameteri");
  1132. gl3wPatchParameterfv = (PFNGLPATCHPARAMETERFVPROC) get_proc("glPatchParameterfv");
  1133. gl3wBindTransformFeedback = (PFNGLBINDTRANSFORMFEEDBACKPROC) get_proc("glBindTransformFeedback");
  1134. gl3wDeleteTransformFeedbacks = (PFNGLDELETETRANSFORMFEEDBACKSPROC) get_proc("glDeleteTransformFeedbacks");
  1135. gl3wGenTransformFeedbacks = (PFNGLGENTRANSFORMFEEDBACKSPROC) get_proc("glGenTransformFeedbacks");
  1136. gl3wIsTransformFeedback = (PFNGLISTRANSFORMFEEDBACKPROC) get_proc("glIsTransformFeedback");
  1137. gl3wPauseTransformFeedback = (PFNGLPAUSETRANSFORMFEEDBACKPROC) get_proc("glPauseTransformFeedback");
  1138. gl3wResumeTransformFeedback = (PFNGLRESUMETRANSFORMFEEDBACKPROC) get_proc("glResumeTransformFeedback");
  1139. gl3wDrawTransformFeedback = (PFNGLDRAWTRANSFORMFEEDBACKPROC) get_proc("glDrawTransformFeedback");
  1140. gl3wDrawTransformFeedbackStream = (PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC) get_proc("glDrawTransformFeedbackStream");
  1141. gl3wBeginQueryIndexed = (PFNGLBEGINQUERYINDEXEDPROC) get_proc("glBeginQueryIndexed");
  1142. gl3wEndQueryIndexed = (PFNGLENDQUERYINDEXEDPROC) get_proc("glEndQueryIndexed");
  1143. gl3wGetQueryIndexediv = (PFNGLGETQUERYINDEXEDIVPROC) get_proc("glGetQueryIndexediv");
  1144. gl3wReleaseShaderCompiler = (PFNGLRELEASESHADERCOMPILERPROC) get_proc("glReleaseShaderCompiler");
  1145. gl3wShaderBinary = (PFNGLSHADERBINARYPROC) get_proc("glShaderBinary");
  1146. gl3wGetShaderPrecisionFormat = (PFNGLGETSHADERPRECISIONFORMATPROC) get_proc("glGetShaderPrecisionFormat");
  1147. gl3wDepthRangef = (PFNGLDEPTHRANGEFPROC) get_proc("glDepthRangef");
  1148. gl3wClearDepthf = (PFNGLCLEARDEPTHFPROC) get_proc("glClearDepthf");
  1149. gl3wGetProgramBinary = (PFNGLGETPROGRAMBINARYPROC) get_proc("glGetProgramBinary");
  1150. gl3wProgramBinary = (PFNGLPROGRAMBINARYPROC) get_proc("glProgramBinary");
  1151. gl3wProgramParameteri = (PFNGLPROGRAMPARAMETERIPROC) get_proc("glProgramParameteri");
  1152. gl3wUseProgramStages = (PFNGLUSEPROGRAMSTAGESPROC) get_proc("glUseProgramStages");
  1153. gl3wActiveShaderProgram = (PFNGLACTIVESHADERPROGRAMPROC) get_proc("glActiveShaderProgram");
  1154. gl3wCreateShaderProgramv = (PFNGLCREATESHADERPROGRAMVPROC) get_proc("glCreateShaderProgramv");
  1155. gl3wBindProgramPipeline = (PFNGLBINDPROGRAMPIPELINEPROC) get_proc("glBindProgramPipeline");
  1156. gl3wDeleteProgramPipelines = (PFNGLDELETEPROGRAMPIPELINESPROC) get_proc("glDeleteProgramPipelines");
  1157. gl3wGenProgramPipelines = (PFNGLGENPROGRAMPIPELINESPROC) get_proc("glGenProgramPipelines");
  1158. gl3wIsProgramPipeline = (PFNGLISPROGRAMPIPELINEPROC) get_proc("glIsProgramPipeline");
  1159. gl3wGetProgramPipelineiv = (PFNGLGETPROGRAMPIPELINEIVPROC) get_proc("glGetProgramPipelineiv");
  1160. gl3wProgramUniform1i = (PFNGLPROGRAMUNIFORM1IPROC) get_proc("glProgramUniform1i");
  1161. gl3wProgramUniform1iv = (PFNGLPROGRAMUNIFORM1IVPROC) get_proc("glProgramUniform1iv");
  1162. gl3wProgramUniform1f = (PFNGLPROGRAMUNIFORM1FPROC) get_proc("glProgramUniform1f");
  1163. gl3wProgramUniform1fv = (PFNGLPROGRAMUNIFORM1FVPROC) get_proc("glProgramUniform1fv");
  1164. gl3wProgramUniform1d = (PFNGLPROGRAMUNIFORM1DPROC) get_proc("glProgramUniform1d");
  1165. gl3wProgramUniform1dv = (PFNGLPROGRAMUNIFORM1DVPROC) get_proc("glProgramUniform1dv");
  1166. gl3wProgramUniform1ui = (PFNGLPROGRAMUNIFORM1UIPROC) get_proc("glProgramUniform1ui");
  1167. gl3wProgramUniform1uiv = (PFNGLPROGRAMUNIFORM1UIVPROC) get_proc("glProgramUniform1uiv");
  1168. gl3wProgramUniform2i = (PFNGLPROGRAMUNIFORM2IPROC) get_proc("glProgramUniform2i");
  1169. gl3wProgramUniform2iv = (PFNGLPROGRAMUNIFORM2IVPROC) get_proc("glProgramUniform2iv");
  1170. gl3wProgramUniform2f = (PFNGLPROGRAMUNIFORM2FPROC) get_proc("glProgramUniform2f");
  1171. gl3wProgramUniform2fv = (PFNGLPROGRAMUNIFORM2FVPROC) get_proc("glProgramUniform2fv");
  1172. gl3wProgramUniform2d = (PFNGLPROGRAMUNIFORM2DPROC) get_proc("glProgramUniform2d");
  1173. gl3wProgramUniform2dv = (PFNGLPROGRAMUNIFORM2DVPROC) get_proc("glProgramUniform2dv");
  1174. gl3wProgramUniform2ui = (PFNGLPROGRAMUNIFORM2UIPROC) get_proc("glProgramUniform2ui");
  1175. gl3wProgramUniform2uiv = (PFNGLPROGRAMUNIFORM2UIVPROC) get_proc("glProgramUniform2uiv");
  1176. gl3wProgramUniform3i = (PFNGLPROGRAMUNIFORM3IPROC) get_proc("glProgramUniform3i");
  1177. gl3wProgramUniform3iv = (PFNGLPROGRAMUNIFORM3IVPROC) get_proc("glProgramUniform3iv");
  1178. gl3wProgramUniform3f = (PFNGLPROGRAMUNIFORM3FPROC) get_proc("glProgramUniform3f");
  1179. gl3wProgramUniform3fv = (PFNGLPROGRAMUNIFORM3FVPROC) get_proc("glProgramUniform3fv");
  1180. gl3wProgramUniform3d = (PFNGLPROGRAMUNIFORM3DPROC) get_proc("glProgramUniform3d");
  1181. gl3wProgramUniform3dv = (PFNGLPROGRAMUNIFORM3DVPROC) get_proc("glProgramUniform3dv");
  1182. gl3wProgramUniform3ui = (PFNGLPROGRAMUNIFORM3UIPROC) get_proc("glProgramUniform3ui");
  1183. gl3wProgramUniform3uiv = (PFNGLPROGRAMUNIFORM3UIVPROC) get_proc("glProgramUniform3uiv");
  1184. gl3wProgramUniform4i = (PFNGLPROGRAMUNIFORM4IPROC) get_proc("glProgramUniform4i");
  1185. gl3wProgramUniform4iv = (PFNGLPROGRAMUNIFORM4IVPROC) get_proc("glProgramUniform4iv");
  1186. gl3wProgramUniform4f = (PFNGLPROGRAMUNIFORM4FPROC) get_proc("glProgramUniform4f");
  1187. gl3wProgramUniform4fv = (PFNGLPROGRAMUNIFORM4FVPROC) get_proc("glProgramUniform4fv");
  1188. gl3wProgramUniform4d = (PFNGLPROGRAMUNIFORM4DPROC) get_proc("glProgramUniform4d");
  1189. gl3wProgramUniform4dv = (PFNGLPROGRAMUNIFORM4DVPROC) get_proc("glProgramUniform4dv");
  1190. gl3wProgramUniform4ui = (PFNGLPROGRAMUNIFORM4UIPROC) get_proc("glProgramUniform4ui");
  1191. gl3wProgramUniform4uiv = (PFNGLPROGRAMUNIFORM4UIVPROC) get_proc("glProgramUniform4uiv");
  1192. gl3wProgramUniformMatrix2fv = (PFNGLPROGRAMUNIFORMMATRIX2FVPROC) get_proc("glProgramUniformMatrix2fv");
  1193. gl3wProgramUniformMatrix3fv = (PFNGLPROGRAMUNIFORMMATRIX3FVPROC) get_proc("glProgramUniformMatrix3fv");
  1194. gl3wProgramUniformMatrix4fv = (PFNGLPROGRAMUNIFORMMATRIX4FVPROC) get_proc("glProgramUniformMatrix4fv");
  1195. gl3wProgramUniformMatrix2dv = (PFNGLPROGRAMUNIFORMMATRIX2DVPROC) get_proc("glProgramUniformMatrix2dv");
  1196. gl3wProgramUniformMatrix3dv = (PFNGLPROGRAMUNIFORMMATRIX3DVPROC) get_proc("glProgramUniformMatrix3dv");
  1197. gl3wProgramUniformMatrix4dv = (PFNGLPROGRAMUNIFORMMATRIX4DVPROC) get_proc("glProgramUniformMatrix4dv");
  1198. gl3wProgramUniformMatrix2x3fv = (PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC) get_proc("glProgramUniformMatrix2x3fv");
  1199. gl3wProgramUniformMatrix3x2fv = (PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC) get_proc("glProgramUniformMatrix3x2fv");
  1200. gl3wProgramUniformMatrix2x4fv = (PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC) get_proc("glProgramUniformMatrix2x4fv");
  1201. gl3wProgramUniformMatrix4x2fv = (PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC) get_proc("glProgramUniformMatrix4x2fv");
  1202. gl3wProgramUniformMatrix3x4fv = (PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC) get_proc("glProgramUniformMatrix3x4fv");
  1203. gl3wProgramUniformMatrix4x3fv = (PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC) get_proc("glProgramUniformMatrix4x3fv");
  1204. gl3wProgramUniformMatrix2x3dv = (PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC) get_proc("glProgramUniformMatrix2x3dv");
  1205. gl3wProgramUniformMatrix3x2dv = (PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC) get_proc("glProgramUniformMatrix3x2dv");
  1206. gl3wProgramUniformMatrix2x4dv = (PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC) get_proc("glProgramUniformMatrix2x4dv");
  1207. gl3wProgramUniformMatrix4x2dv = (PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC) get_proc("glProgramUniformMatrix4x2dv");
  1208. gl3wProgramUniformMatrix3x4dv = (PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC) get_proc("glProgramUniformMatrix3x4dv");
  1209. gl3wProgramUniformMatrix4x3dv = (PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC) get_proc("glProgramUniformMatrix4x3dv");
  1210. gl3wValidateProgramPipeline = (PFNGLVALIDATEPROGRAMPIPELINEPROC) get_proc("glValidateProgramPipeline");
  1211. gl3wGetProgramPipelineInfoLog = (PFNGLGETPROGRAMPIPELINEINFOLOGPROC) get_proc("glGetProgramPipelineInfoLog");
  1212. gl3wVertexAttribL1d = (PFNGLVERTEXATTRIBL1DPROC) get_proc("glVertexAttribL1d");
  1213. gl3wVertexAttribL2d = (PFNGLVERTEXATTRIBL2DPROC) get_proc("glVertexAttribL2d");
  1214. gl3wVertexAttribL3d = (PFNGLVERTEXATTRIBL3DPROC) get_proc("glVertexAttribL3d");
  1215. gl3wVertexAttribL4d = (PFNGLVERTEXATTRIBL4DPROC) get_proc("glVertexAttribL4d");
  1216. gl3wVertexAttribL1dv = (PFNGLVERTEXATTRIBL1DVPROC) get_proc("glVertexAttribL1dv");
  1217. gl3wVertexAttribL2dv = (PFNGLVERTEXATTRIBL2DVPROC) get_proc("glVertexAttribL2dv");
  1218. gl3wVertexAttribL3dv = (PFNGLVERTEXATTRIBL3DVPROC) get_proc("glVertexAttribL3dv");
  1219. gl3wVertexAttribL4dv = (PFNGLVERTEXATTRIBL4DVPROC) get_proc("glVertexAttribL4dv");
  1220. gl3wVertexAttribLPointer = (PFNGLVERTEXATTRIBLPOINTERPROC) get_proc("glVertexAttribLPointer");
  1221. gl3wGetVertexAttribLdv = (PFNGLGETVERTEXATTRIBLDVPROC) get_proc("glGetVertexAttribLdv");
  1222. gl3wViewportArrayv = (PFNGLVIEWPORTARRAYVPROC) get_proc("glViewportArrayv");
  1223. gl3wViewportIndexedf = (PFNGLVIEWPORTINDEXEDFPROC) get_proc("glViewportIndexedf");
  1224. gl3wViewportIndexedfv = (PFNGLVIEWPORTINDEXEDFVPROC) get_proc("glViewportIndexedfv");
  1225. gl3wScissorArrayv = (PFNGLSCISSORARRAYVPROC) get_proc("glScissorArrayv");
  1226. gl3wScissorIndexed = (PFNGLSCISSORINDEXEDPROC) get_proc("glScissorIndexed");
  1227. gl3wScissorIndexedv = (PFNGLSCISSORINDEXEDVPROC) get_proc("glScissorIndexedv");
  1228. gl3wDepthRangeArrayv = (PFNGLDEPTHRANGEARRAYVPROC) get_proc("glDepthRangeArrayv");
  1229. gl3wDepthRangeIndexed = (PFNGLDEPTHRANGEINDEXEDPROC) get_proc("glDepthRangeIndexed");
  1230. gl3wGetFloati_v = (PFNGLGETFLOATI_VPROC) get_proc("glGetFloati_v");
  1231. gl3wGetDoublei_v = (PFNGLGETDOUBLEI_VPROC) get_proc("glGetDoublei_v");
  1232. gl3wCreateSyncFromCLeventARB = (PFNGLCREATESYNCFROMCLEVENTARBPROC) get_proc("glCreateSyncFromCLeventARB");
  1233. gl3wDebugMessageControlARB = (PFNGLDEBUGMESSAGECONTROLARBPROC) get_proc("glDebugMessageControlARB");
  1234. gl3wDebugMessageInsertARB = (PFNGLDEBUGMESSAGEINSERTARBPROC) get_proc("glDebugMessageInsertARB");
  1235. gl3wDebugMessageCallbackARB = (PFNGLDEBUGMESSAGECALLBACKARBPROC) get_proc("glDebugMessageCallbackARB");
  1236. gl3wGetDebugMessageLogARB = (PFNGLGETDEBUGMESSAGELOGARBPROC) get_proc("glGetDebugMessageLogARB");
  1237. gl3wGetGraphicsResetStatusARB = (PFNGLGETGRAPHICSRESETSTATUSARBPROC) get_proc("glGetGraphicsResetStatusARB");
  1238. gl3wGetnTexImageARB = (PFNGLGETNTEXIMAGEARBPROC) get_proc("glGetnTexImageARB");
  1239. gl3wReadnPixelsARB = (PFNGLREADNPIXELSARBPROC) get_proc("glReadnPixelsARB");
  1240. gl3wGetnCompressedTexImageARB = (PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC) get_proc("glGetnCompressedTexImageARB");
  1241. gl3wGetnUniformfvARB = (PFNGLGETNUNIFORMFVARBPROC) get_proc("glGetnUniformfvARB");
  1242. gl3wGetnUniformivARB = (PFNGLGETNUNIFORMIVARBPROC) get_proc("glGetnUniformivARB");
  1243. gl3wGetnUniformuivARB = (PFNGLGETNUNIFORMUIVARBPROC) get_proc("glGetnUniformuivARB");
  1244. gl3wGetnUniformdvARB = (PFNGLGETNUNIFORMDVARBPROC) get_proc("glGetnUniformdvARB");
  1245. gl3wDrawArraysInstancedBaseInstance = (PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC) get_proc("glDrawArraysInstancedBaseInstance");
  1246. gl3wDrawElementsInstancedBaseInstance = (PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC) get_proc("glDrawElementsInstancedBaseInstance");
  1247. gl3wDrawElementsInstancedBaseVertexBaseInstance = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC) get_proc("glDrawElementsInstancedBaseVertexBaseInstance");
  1248. gl3wDrawTransformFeedbackInstanced = (PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC) get_proc("glDrawTransformFeedbackInstanced");
  1249. gl3wDrawTransformFeedbackStreamInstanced = (PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC) get_proc("glDrawTransformFeedbackStreamInstanced");
  1250. gl3wGetInternalformativ = (PFNGLGETINTERNALFORMATIVPROC) get_proc("glGetInternalformativ");
  1251. gl3wGetActiveAtomicCounterBufferiv = (PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC) get_proc("glGetActiveAtomicCounterBufferiv");
  1252. gl3wBindImageTexture = (PFNGLBINDIMAGETEXTUREPROC) get_proc("glBindImageTexture");
  1253. gl3wMemoryBarrier = (PFNGLMEMORYBARRIERPROC) get_proc("glMemoryBarrier");
  1254. gl3wTexStorage1D = (PFNGLTEXSTORAGE1DPROC) get_proc("glTexStorage1D");
  1255. gl3wTexStorage2D = (PFNGLTEXSTORAGE2DPROC) get_proc("glTexStorage2D");
  1256. gl3wTexStorage3D = (PFNGLTEXSTORAGE3DPROC) get_proc("glTexStorage3D");
  1257. gl3wTextureStorage1DEXT = (PFNGLTEXTURESTORAGE1DEXTPROC) get_proc("glTextureStorage1DEXT");
  1258. gl3wTextureStorage2DEXT = (PFNGLTEXTURESTORAGE2DEXTPROC) get_proc("glTextureStorage2DEXT");
  1259. gl3wTextureStorage3DEXT = (PFNGLTEXTURESTORAGE3DEXTPROC) get_proc("glTextureStorage3DEXT");
  1260. gl3wDebugMessageControl = (PFNGLDEBUGMESSAGECONTROLPROC) get_proc("glDebugMessageControl");
  1261. gl3wDebugMessageInsert = (PFNGLDEBUGMESSAGEINSERTPROC) get_proc("glDebugMessageInsert");
  1262. gl3wDebugMessageCallback = (PFNGLDEBUGMESSAGECALLBACKPROC) get_proc("glDebugMessageCallback");
  1263. gl3wGetDebugMessageLog = (PFNGLGETDEBUGMESSAGELOGPROC) get_proc("glGetDebugMessageLog");
  1264. gl3wPushDebugGroup = (PFNGLPUSHDEBUGGROUPPROC) get_proc("glPushDebugGroup");
  1265. gl3wPopDebugGroup = (PFNGLPOPDEBUGGROUPPROC) get_proc("glPopDebugGroup");
  1266. gl3wObjectLabel = (PFNGLOBJECTLABELPROC) get_proc("glObjectLabel");
  1267. gl3wGetObjectLabel = (PFNGLGETOBJECTLABELPROC) get_proc("glGetObjectLabel");
  1268. gl3wObjectPtrLabel = (PFNGLOBJECTPTRLABELPROC) get_proc("glObjectPtrLabel");
  1269. gl3wGetObjectPtrLabel = (PFNGLGETOBJECTPTRLABELPROC) get_proc("glGetObjectPtrLabel");
  1270. gl3wClearBufferData = (PFNGLCLEARBUFFERDATAPROC) get_proc("glClearBufferData");
  1271. gl3wClearBufferSubData = (PFNGLCLEARBUFFERSUBDATAPROC) get_proc("glClearBufferSubData");
  1272. gl3wClearNamedBufferDataEXT = (PFNGLCLEARNAMEDBUFFERDATAEXTPROC) get_proc("glClearNamedBufferDataEXT");
  1273. gl3wClearNamedBufferSubDataEXT = (PFNGLCLEARNAMEDBUFFERSUBDATAEXTPROC) get_proc("glClearNamedBufferSubDataEXT");
  1274. gl3wDispatchCompute = (PFNGLDISPATCHCOMPUTEPROC) get_proc("glDispatchCompute");
  1275. gl3wDispatchComputeIndirect = (PFNGLDISPATCHCOMPUTEINDIRECTPROC) get_proc("glDispatchComputeIndirect");
  1276. gl3wCopyImageSubData = (PFNGLCOPYIMAGESUBDATAPROC) get_proc("glCopyImageSubData");
  1277. gl3wTextureView = (PFNGLTEXTUREVIEWPROC) get_proc("glTextureView");
  1278. gl3wBindVertexBuffer = (PFNGLBINDVERTEXBUFFERPROC) get_proc("glBindVertexBuffer");
  1279. gl3wVertexAttribFormat = (PFNGLVERTEXATTRIBFORMATPROC) get_proc("glVertexAttribFormat");
  1280. gl3wVertexAttribIFormat = (PFNGLVERTEXATTRIBIFORMATPROC) get_proc("glVertexAttribIFormat");
  1281. gl3wVertexAttribLFormat = (PFNGLVERTEXATTRIBLFORMATPROC) get_proc("glVertexAttribLFormat");
  1282. gl3wVertexAttribBinding = (PFNGLVERTEXATTRIBBINDINGPROC) get_proc("glVertexAttribBinding");
  1283. gl3wVertexBindingDivisor = (PFNGLVERTEXBINDINGDIVISORPROC) get_proc("glVertexBindingDivisor");
  1284. gl3wVertexArrayBindVertexBufferEXT = (PFNGLVERTEXARRAYBINDVERTEXBUFFEREXTPROC) get_proc("glVertexArrayBindVertexBufferEXT");
  1285. gl3wVertexArrayVertexAttribFormatEXT = (PFNGLVERTEXARRAYVERTEXATTRIBFORMATEXTPROC) get_proc("glVertexArrayVertexAttribFormatEXT");
  1286. gl3wVertexArrayVertexAttribIFormatEXT = (PFNGLVERTEXARRAYVERTEXATTRIBIFORMATEXTPROC) get_proc("glVertexArrayVertexAttribIFormatEXT");
  1287. gl3wVertexArrayVertexAttribLFormatEXT = (PFNGLVERTEXARRAYVERTEXATTRIBLFORMATEXTPROC) get_proc("glVertexArrayVertexAttribLFormatEXT");
  1288. gl3wVertexArrayVertexAttribBindingEXT = (PFNGLVERTEXARRAYVERTEXATTRIBBINDINGEXTPROC) get_proc("glVertexArrayVertexAttribBindingEXT");
  1289. gl3wVertexArrayVertexBindingDivisorEXT = (PFNGLVERTEXARRAYVERTEXBINDINGDIVISOREXTPROC) get_proc("glVertexArrayVertexBindingDivisorEXT");
  1290. gl3wFramebufferParameteri = (PFNGLFRAMEBUFFERPARAMETERIPROC) get_proc("glFramebufferParameteri");
  1291. gl3wGetFramebufferParameteriv = (PFNGLGETFRAMEBUFFERPARAMETERIVPROC) get_proc("glGetFramebufferParameteriv");
  1292. gl3wNamedFramebufferParameteriEXT = (PFNGLNAMEDFRAMEBUFFERPARAMETERIEXTPROC) get_proc("glNamedFramebufferParameteriEXT");
  1293. gl3wGetNamedFramebufferParameterivEXT = (PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVEXTPROC) get_proc("glGetNamedFramebufferParameterivEXT");
  1294. gl3wGetInternalformati64v = (PFNGLGETINTERNALFORMATI64VPROC) get_proc("glGetInternalformati64v");
  1295. gl3wInvalidateTexSubImage = (PFNGLINVALIDATETEXSUBIMAGEPROC) get_proc("glInvalidateTexSubImage");
  1296. gl3wInvalidateTexImage = (PFNGLINVALIDATETEXIMAGEPROC) get_proc("glInvalidateTexImage");
  1297. gl3wInvalidateBufferSubData = (PFNGLINVALIDATEBUFFERSUBDATAPROC) get_proc("glInvalidateBufferSubData");
  1298. gl3wInvalidateBufferData = (PFNGLINVALIDATEBUFFERDATAPROC) get_proc("glInvalidateBufferData");
  1299. gl3wInvalidateFramebuffer = (PFNGLINVALIDATEFRAMEBUFFERPROC) get_proc("glInvalidateFramebuffer");
  1300. gl3wInvalidateSubFramebuffer = (PFNGLINVALIDATESUBFRAMEBUFFERPROC) get_proc("glInvalidateSubFramebuffer");
  1301. gl3wMultiDrawArraysIndirect = (PFNGLMULTIDRAWARRAYSINDIRECTPROC) get_proc("glMultiDrawArraysIndirect");
  1302. gl3wMultiDrawElementsIndirect = (PFNGLMULTIDRAWELEMENTSINDIRECTPROC) get_proc("glMultiDrawElementsIndirect");
  1303. gl3wGetProgramInterfaceiv = (PFNGLGETPROGRAMINTERFACEIVPROC) get_proc("glGetProgramInterfaceiv");
  1304. gl3wGetProgramResourceIndex = (PFNGLGETPROGRAMRESOURCEINDEXPROC) get_proc("glGetProgramResourceIndex");
  1305. gl3wGetProgramResourceName = (PFNGLGETPROGRAMRESOURCENAMEPROC) get_proc("glGetProgramResourceName");
  1306. gl3wGetProgramResourceiv = (PFNGLGETPROGRAMRESOURCEIVPROC) get_proc("glGetProgramResourceiv");
  1307. gl3wGetProgramResourceLocation = (PFNGLGETPROGRAMRESOURCELOCATIONPROC) get_proc("glGetProgramResourceLocation");
  1308. gl3wGetProgramResourceLocationIndex = (PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC) get_proc("glGetProgramResourceLocationIndex");
  1309. gl3wShaderStorageBlockBinding = (PFNGLSHADERSTORAGEBLOCKBINDINGPROC) get_proc("glShaderStorageBlockBinding");
  1310. gl3wTexBufferRange = (PFNGLTEXBUFFERRANGEPROC) get_proc("glTexBufferRange");
  1311. gl3wTextureBufferRangeEXT = (PFNGLTEXTUREBUFFERRANGEEXTPROC) get_proc("glTextureBufferRangeEXT");
  1312. gl3wTexStorage2DMultisample = (PFNGLTEXSTORAGE2DMULTISAMPLEPROC) get_proc("glTexStorage2DMultisample");
  1313. gl3wTexStorage3DMultisample = (PFNGLTEXSTORAGE3DMULTISAMPLEPROC) get_proc("glTexStorage3DMultisample");
  1314. gl3wTextureStorage2DMultisampleEXT = (PFNGLTEXTURESTORAGE2DMULTISAMPLEEXTPROC) get_proc("glTextureStorage2DMultisampleEXT");
  1315. gl3wTextureStorage3DMultisampleEXT = (PFNGLTEXTURESTORAGE3DMULTISAMPLEEXTPROC) get_proc("glTextureStorage3DMultisampleEXT");
  1316. }