-
Notifications
You must be signed in to change notification settings - Fork 0
/
GL.c
788 lines (784 loc) · 45.2 KB
/
GL.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
// This file was generated by a tool:
// https://github.com/holmak/opengl-loader
#include <assert.h>
#include "GL.h"
#include <SDL2/SDL.h>
GLPROC_glCullFace glCullFace;
GLPROC_glFrontFace glFrontFace;
GLPROC_glHint glHint;
GLPROC_glLineWidth glLineWidth;
GLPROC_glPointSize glPointSize;
GLPROC_glPolygonMode glPolygonMode;
GLPROC_glScissor glScissor;
GLPROC_glTexParameterf glTexParameterf;
GLPROC_glTexParameterfv glTexParameterfv;
GLPROC_glTexParameteri glTexParameteri;
GLPROC_glTexParameteriv glTexParameteriv;
GLPROC_glTexImage1D glTexImage1D;
GLPROC_glTexImage2D glTexImage2D;
GLPROC_glDrawBuffer glDrawBuffer;
GLPROC_glClear glClear;
GLPROC_glClearColor glClearColor;
GLPROC_glClearStencil glClearStencil;
GLPROC_glClearDepth glClearDepth;
GLPROC_glStencilMask glStencilMask;
GLPROC_glColorMask glColorMask;
GLPROC_glDepthMask glDepthMask;
GLPROC_glDisable glDisable;
GLPROC_glEnable glEnable;
GLPROC_glFinish glFinish;
GLPROC_glFlush glFlush;
GLPROC_glBlendFunc glBlendFunc;
GLPROC_glLogicOp glLogicOp;
GLPROC_glStencilFunc glStencilFunc;
GLPROC_glStencilOp glStencilOp;
GLPROC_glDepthFunc glDepthFunc;
GLPROC_glPixelStoref glPixelStoref;
GLPROC_glPixelStorei glPixelStorei;
GLPROC_glReadBuffer glReadBuffer;
GLPROC_glReadPixels glReadPixels;
GLPROC_glGetBooleanv glGetBooleanv;
GLPROC_glGetDoublev glGetDoublev;
GLPROC_glGetError glGetError;
GLPROC_glGetFloatv glGetFloatv;
GLPROC_glGetIntegerv glGetIntegerv;
GLPROC_glGetString glGetString;
GLPROC_glGetTexImage glGetTexImage;
GLPROC_glGetTexParameterfv glGetTexParameterfv;
GLPROC_glGetTexParameteriv glGetTexParameteriv;
GLPROC_glGetTexLevelParameterfv glGetTexLevelParameterfv;
GLPROC_glGetTexLevelParameteriv glGetTexLevelParameteriv;
GLPROC_glIsEnabled glIsEnabled;
GLPROC_glDepthRange glDepthRange;
GLPROC_glViewport glViewport;
GLPROC_glDrawArrays glDrawArrays;
GLPROC_glDrawElements glDrawElements;
GLPROC_glPolygonOffset glPolygonOffset;
GLPROC_glCopyTexImage1D glCopyTexImage1D;
GLPROC_glCopyTexImage2D glCopyTexImage2D;
GLPROC_glCopyTexSubImage1D glCopyTexSubImage1D;
GLPROC_glCopyTexSubImage2D glCopyTexSubImage2D;
GLPROC_glTexSubImage1D glTexSubImage1D;
GLPROC_glTexSubImage2D glTexSubImage2D;
GLPROC_glBindTexture glBindTexture;
GLPROC_glDeleteTextures glDeleteTextures;
GLPROC_glGenTextures glGenTextures;
GLPROC_glIsTexture glIsTexture;
GLPROC_glDrawRangeElements glDrawRangeElements;
GLPROC_glTexImage3D glTexImage3D;
GLPROC_glTexSubImage3D glTexSubImage3D;
GLPROC_glCopyTexSubImage3D glCopyTexSubImage3D;
GLPROC_glActiveTexture glActiveTexture;
GLPROC_glSampleCoverage glSampleCoverage;
GLPROC_glCompressedTexImage3D glCompressedTexImage3D;
GLPROC_glCompressedTexImage2D glCompressedTexImage2D;
GLPROC_glCompressedTexImage1D glCompressedTexImage1D;
GLPROC_glCompressedTexSubImage3D glCompressedTexSubImage3D;
GLPROC_glCompressedTexSubImage2D glCompressedTexSubImage2D;
GLPROC_glCompressedTexSubImage1D glCompressedTexSubImage1D;
GLPROC_glGetCompressedTexImage glGetCompressedTexImage;
GLPROC_glBlendFuncSeparate glBlendFuncSeparate;
GLPROC_glMultiDrawArrays glMultiDrawArrays;
GLPROC_glMultiDrawElements glMultiDrawElements;
GLPROC_glPointParameterf glPointParameterf;
GLPROC_glPointParameterfv glPointParameterfv;
GLPROC_glPointParameteri glPointParameteri;
GLPROC_glPointParameteriv glPointParameteriv;
GLPROC_glBlendColor glBlendColor;
GLPROC_glBlendEquation glBlendEquation;
GLPROC_glGenQueries glGenQueries;
GLPROC_glDeleteQueries glDeleteQueries;
GLPROC_glIsQuery glIsQuery;
GLPROC_glBeginQuery glBeginQuery;
GLPROC_glEndQuery glEndQuery;
GLPROC_glGetQueryiv glGetQueryiv;
GLPROC_glGetQueryObjectiv glGetQueryObjectiv;
GLPROC_glGetQueryObjectuiv glGetQueryObjectuiv;
GLPROC_glBindBuffer glBindBuffer;
GLPROC_glDeleteBuffers glDeleteBuffers;
GLPROC_glGenBuffers glGenBuffers;
GLPROC_glIsBuffer glIsBuffer;
GLPROC_glBufferData glBufferData;
GLPROC_glBufferSubData glBufferSubData;
GLPROC_glGetBufferSubData glGetBufferSubData;
GLPROC_glMapBuffer glMapBuffer;
GLPROC_glUnmapBuffer glUnmapBuffer;
GLPROC_glGetBufferParameteriv glGetBufferParameteriv;
GLPROC_glGetBufferPointerv glGetBufferPointerv;
GLPROC_glBlendEquationSeparate glBlendEquationSeparate;
GLPROC_glDrawBuffers glDrawBuffers;
GLPROC_glStencilOpSeparate glStencilOpSeparate;
GLPROC_glStencilFuncSeparate glStencilFuncSeparate;
GLPROC_glStencilMaskSeparate glStencilMaskSeparate;
GLPROC_glAttachShader glAttachShader;
GLPROC_glBindAttribLocation glBindAttribLocation;
GLPROC_glCompileShader glCompileShader;
GLPROC_glCreateProgram glCreateProgram;
GLPROC_glCreateShader glCreateShader;
GLPROC_glDeleteProgram glDeleteProgram;
GLPROC_glDeleteShader glDeleteShader;
GLPROC_glDetachShader glDetachShader;
GLPROC_glDisableVertexAttribArray glDisableVertexAttribArray;
GLPROC_glEnableVertexAttribArray glEnableVertexAttribArray;
GLPROC_glGetActiveAttrib glGetActiveAttrib;
GLPROC_glGetActiveUniform glGetActiveUniform;
GLPROC_glGetAttachedShaders glGetAttachedShaders;
GLPROC_glGetAttribLocation glGetAttribLocation;
GLPROC_glGetProgramiv glGetProgramiv;
GLPROC_glGetProgramInfoLog glGetProgramInfoLog;
GLPROC_glGetShaderiv glGetShaderiv;
GLPROC_glGetShaderInfoLog glGetShaderInfoLog;
GLPROC_glGetShaderSource glGetShaderSource;
GLPROC_glGetUniformLocation glGetUniformLocation;
GLPROC_glGetUniformfv glGetUniformfv;
GLPROC_glGetUniformiv glGetUniformiv;
GLPROC_glGetVertexAttribdv glGetVertexAttribdv;
GLPROC_glGetVertexAttribfv glGetVertexAttribfv;
GLPROC_glGetVertexAttribiv glGetVertexAttribiv;
GLPROC_glGetVertexAttribPointerv glGetVertexAttribPointerv;
GLPROC_glIsProgram glIsProgram;
GLPROC_glIsShader glIsShader;
GLPROC_glLinkProgram glLinkProgram;
GLPROC_glShaderSource glShaderSource;
GLPROC_glUseProgram glUseProgram;
GLPROC_glUniform1f glUniform1f;
GLPROC_glUniform2f glUniform2f;
GLPROC_glUniform3f glUniform3f;
GLPROC_glUniform4f glUniform4f;
GLPROC_glUniform1i glUniform1i;
GLPROC_glUniform2i glUniform2i;
GLPROC_glUniform3i glUniform3i;
GLPROC_glUniform4i glUniform4i;
GLPROC_glUniform1fv glUniform1fv;
GLPROC_glUniform2fv glUniform2fv;
GLPROC_glUniform3fv glUniform3fv;
GLPROC_glUniform4fv glUniform4fv;
GLPROC_glUniform1iv glUniform1iv;
GLPROC_glUniform2iv glUniform2iv;
GLPROC_glUniform3iv glUniform3iv;
GLPROC_glUniform4iv glUniform4iv;
GLPROC_glUniformMatrix2fv glUniformMatrix2fv;
GLPROC_glUniformMatrix3fv glUniformMatrix3fv;
GLPROC_glUniformMatrix4fv glUniformMatrix4fv;
GLPROC_glValidateProgram glValidateProgram;
GLPROC_glVertexAttrib1d glVertexAttrib1d;
GLPROC_glVertexAttrib1dv glVertexAttrib1dv;
GLPROC_glVertexAttrib1f glVertexAttrib1f;
GLPROC_glVertexAttrib1fv glVertexAttrib1fv;
GLPROC_glVertexAttrib1s glVertexAttrib1s;
GLPROC_glVertexAttrib1sv glVertexAttrib1sv;
GLPROC_glVertexAttrib2d glVertexAttrib2d;
GLPROC_glVertexAttrib2dv glVertexAttrib2dv;
GLPROC_glVertexAttrib2f glVertexAttrib2f;
GLPROC_glVertexAttrib2fv glVertexAttrib2fv;
GLPROC_glVertexAttrib2s glVertexAttrib2s;
GLPROC_glVertexAttrib2sv glVertexAttrib2sv;
GLPROC_glVertexAttrib3d glVertexAttrib3d;
GLPROC_glVertexAttrib3dv glVertexAttrib3dv;
GLPROC_glVertexAttrib3f glVertexAttrib3f;
GLPROC_glVertexAttrib3fv glVertexAttrib3fv;
GLPROC_glVertexAttrib3s glVertexAttrib3s;
GLPROC_glVertexAttrib3sv glVertexAttrib3sv;
GLPROC_glVertexAttrib4Nbv glVertexAttrib4Nbv;
GLPROC_glVertexAttrib4Niv glVertexAttrib4Niv;
GLPROC_glVertexAttrib4Nsv glVertexAttrib4Nsv;
GLPROC_glVertexAttrib4Nub glVertexAttrib4Nub;
GLPROC_glVertexAttrib4Nubv glVertexAttrib4Nubv;
GLPROC_glVertexAttrib4Nuiv glVertexAttrib4Nuiv;
GLPROC_glVertexAttrib4Nusv glVertexAttrib4Nusv;
GLPROC_glVertexAttrib4bv glVertexAttrib4bv;
GLPROC_glVertexAttrib4d glVertexAttrib4d;
GLPROC_glVertexAttrib4dv glVertexAttrib4dv;
GLPROC_glVertexAttrib4f glVertexAttrib4f;
GLPROC_glVertexAttrib4fv glVertexAttrib4fv;
GLPROC_glVertexAttrib4iv glVertexAttrib4iv;
GLPROC_glVertexAttrib4s glVertexAttrib4s;
GLPROC_glVertexAttrib4sv glVertexAttrib4sv;
GLPROC_glVertexAttrib4ubv glVertexAttrib4ubv;
GLPROC_glVertexAttrib4uiv glVertexAttrib4uiv;
GLPROC_glVertexAttrib4usv glVertexAttrib4usv;
GLPROC_glVertexAttribPointer glVertexAttribPointer;
GLPROC_glUniformMatrix2x3fv glUniformMatrix2x3fv;
GLPROC_glUniformMatrix3x2fv glUniformMatrix3x2fv;
GLPROC_glUniformMatrix2x4fv glUniformMatrix2x4fv;
GLPROC_glUniformMatrix4x2fv glUniformMatrix4x2fv;
GLPROC_glUniformMatrix3x4fv glUniformMatrix3x4fv;
GLPROC_glUniformMatrix4x3fv glUniformMatrix4x3fv;
GLPROC_glColorMaski glColorMaski;
GLPROC_glGetBooleani_v glGetBooleani_v;
GLPROC_glGetIntegeri_v glGetIntegeri_v;
GLPROC_glEnablei glEnablei;
GLPROC_glDisablei glDisablei;
GLPROC_glIsEnabledi glIsEnabledi;
GLPROC_glBeginTransformFeedback glBeginTransformFeedback;
GLPROC_glEndTransformFeedback glEndTransformFeedback;
GLPROC_glBindBufferRange glBindBufferRange;
GLPROC_glBindBufferBase glBindBufferBase;
GLPROC_glTransformFeedbackVaryings glTransformFeedbackVaryings;
GLPROC_glGetTransformFeedbackVarying glGetTransformFeedbackVarying;
GLPROC_glClampColor glClampColor;
GLPROC_glBeginConditionalRender glBeginConditionalRender;
GLPROC_glEndConditionalRender glEndConditionalRender;
GLPROC_glVertexAttribIPointer glVertexAttribIPointer;
GLPROC_glGetVertexAttribIiv glGetVertexAttribIiv;
GLPROC_glGetVertexAttribIuiv glGetVertexAttribIuiv;
GLPROC_glVertexAttribI1i glVertexAttribI1i;
GLPROC_glVertexAttribI2i glVertexAttribI2i;
GLPROC_glVertexAttribI3i glVertexAttribI3i;
GLPROC_glVertexAttribI4i glVertexAttribI4i;
GLPROC_glVertexAttribI1ui glVertexAttribI1ui;
GLPROC_glVertexAttribI2ui glVertexAttribI2ui;
GLPROC_glVertexAttribI3ui glVertexAttribI3ui;
GLPROC_glVertexAttribI4ui glVertexAttribI4ui;
GLPROC_glVertexAttribI1iv glVertexAttribI1iv;
GLPROC_glVertexAttribI2iv glVertexAttribI2iv;
GLPROC_glVertexAttribI3iv glVertexAttribI3iv;
GLPROC_glVertexAttribI4iv glVertexAttribI4iv;
GLPROC_glVertexAttribI1uiv glVertexAttribI1uiv;
GLPROC_glVertexAttribI2uiv glVertexAttribI2uiv;
GLPROC_glVertexAttribI3uiv glVertexAttribI3uiv;
GLPROC_glVertexAttribI4uiv glVertexAttribI4uiv;
GLPROC_glVertexAttribI4bv glVertexAttribI4bv;
GLPROC_glVertexAttribI4sv glVertexAttribI4sv;
GLPROC_glVertexAttribI4ubv glVertexAttribI4ubv;
GLPROC_glVertexAttribI4usv glVertexAttribI4usv;
GLPROC_glGetUniformuiv glGetUniformuiv;
GLPROC_glBindFragDataLocation glBindFragDataLocation;
GLPROC_glGetFragDataLocation glGetFragDataLocation;
GLPROC_glUniform1ui glUniform1ui;
GLPROC_glUniform2ui glUniform2ui;
GLPROC_glUniform3ui glUniform3ui;
GLPROC_glUniform4ui glUniform4ui;
GLPROC_glUniform1uiv glUniform1uiv;
GLPROC_glUniform2uiv glUniform2uiv;
GLPROC_glUniform3uiv glUniform3uiv;
GLPROC_glUniform4uiv glUniform4uiv;
GLPROC_glTexParameterIiv glTexParameterIiv;
GLPROC_glTexParameterIuiv glTexParameterIuiv;
GLPROC_glGetTexParameterIiv glGetTexParameterIiv;
GLPROC_glGetTexParameterIuiv glGetTexParameterIuiv;
GLPROC_glClearBufferiv glClearBufferiv;
GLPROC_glClearBufferuiv glClearBufferuiv;
GLPROC_glClearBufferfv glClearBufferfv;
GLPROC_glClearBufferfi glClearBufferfi;
GLPROC_glGetStringi glGetStringi;
GLPROC_glIsRenderbuffer glIsRenderbuffer;
GLPROC_glBindRenderbuffer glBindRenderbuffer;
GLPROC_glDeleteRenderbuffers glDeleteRenderbuffers;
GLPROC_glGenRenderbuffers glGenRenderbuffers;
GLPROC_glRenderbufferStorage glRenderbufferStorage;
GLPROC_glGetRenderbufferParameteriv glGetRenderbufferParameteriv;
GLPROC_glIsFramebuffer glIsFramebuffer;
GLPROC_glBindFramebuffer glBindFramebuffer;
GLPROC_glDeleteFramebuffers glDeleteFramebuffers;
GLPROC_glGenFramebuffers glGenFramebuffers;
GLPROC_glCheckFramebufferStatus glCheckFramebufferStatus;
GLPROC_glFramebufferTexture1D glFramebufferTexture1D;
GLPROC_glFramebufferTexture2D glFramebufferTexture2D;
GLPROC_glFramebufferTexture3D glFramebufferTexture3D;
GLPROC_glFramebufferRenderbuffer glFramebufferRenderbuffer;
GLPROC_glGetFramebufferAttachmentParameteriv glGetFramebufferAttachmentParameteriv;
GLPROC_glGenerateMipmap glGenerateMipmap;
GLPROC_glBlitFramebuffer glBlitFramebuffer;
GLPROC_glRenderbufferStorageMultisample glRenderbufferStorageMultisample;
GLPROC_glFramebufferTextureLayer glFramebufferTextureLayer;
GLPROC_glMapBufferRange glMapBufferRange;
GLPROC_glFlushMappedBufferRange glFlushMappedBufferRange;
GLPROC_glBindVertexArray glBindVertexArray;
GLPROC_glDeleteVertexArrays glDeleteVertexArrays;
GLPROC_glGenVertexArrays glGenVertexArrays;
GLPROC_glIsVertexArray glIsVertexArray;
GLPROC_glDrawArraysInstanced glDrawArraysInstanced;
GLPROC_glDrawElementsInstanced glDrawElementsInstanced;
GLPROC_glTexBuffer glTexBuffer;
GLPROC_glPrimitiveRestartIndex glPrimitiveRestartIndex;
GLPROC_glCopyBufferSubData glCopyBufferSubData;
GLPROC_glGetUniformIndices glGetUniformIndices;
GLPROC_glGetActiveUniformsiv glGetActiveUniformsiv;
GLPROC_glGetActiveUniformName glGetActiveUniformName;
GLPROC_glGetUniformBlockIndex glGetUniformBlockIndex;
GLPROC_glGetActiveUniformBlockiv glGetActiveUniformBlockiv;
GLPROC_glGetActiveUniformBlockName glGetActiveUniformBlockName;
GLPROC_glUniformBlockBinding glUniformBlockBinding;
GLPROC_glDrawElementsBaseVertex glDrawElementsBaseVertex;
GLPROC_glDrawRangeElementsBaseVertex glDrawRangeElementsBaseVertex;
GLPROC_glDrawElementsInstancedBaseVertex glDrawElementsInstancedBaseVertex;
GLPROC_glMultiDrawElementsBaseVertex glMultiDrawElementsBaseVertex;
GLPROC_glProvokingVertex glProvokingVertex;
GLPROC_glFenceSync glFenceSync;
GLPROC_glIsSync glIsSync;
GLPROC_glDeleteSync glDeleteSync;
GLPROC_glClientWaitSync glClientWaitSync;
GLPROC_glWaitSync glWaitSync;
GLPROC_glGetInteger64v glGetInteger64v;
GLPROC_glGetSynciv glGetSynciv;
GLPROC_glGetInteger64i_v glGetInteger64i_v;
GLPROC_glGetBufferParameteri64v glGetBufferParameteri64v;
GLPROC_glFramebufferTexture glFramebufferTexture;
GLPROC_glTexImage2DMultisample glTexImage2DMultisample;
GLPROC_glTexImage3DMultisample glTexImage3DMultisample;
GLPROC_glGetMultisamplefv glGetMultisamplefv;
GLPROC_glSampleMaski glSampleMaski;
GLPROC_glBindFragDataLocationIndexed glBindFragDataLocationIndexed;
GLPROC_glGetFragDataIndex glGetFragDataIndex;
GLPROC_glGenSamplers glGenSamplers;
GLPROC_glDeleteSamplers glDeleteSamplers;
GLPROC_glIsSampler glIsSampler;
GLPROC_glBindSampler glBindSampler;
GLPROC_glSamplerParameteri glSamplerParameteri;
GLPROC_glSamplerParameteriv glSamplerParameteriv;
GLPROC_glSamplerParameterf glSamplerParameterf;
GLPROC_glSamplerParameterfv glSamplerParameterfv;
GLPROC_glSamplerParameterIiv glSamplerParameterIiv;
GLPROC_glSamplerParameterIuiv glSamplerParameterIuiv;
GLPROC_glGetSamplerParameteriv glGetSamplerParameteriv;
GLPROC_glGetSamplerParameterIiv glGetSamplerParameterIiv;
GLPROC_glGetSamplerParameterfv glGetSamplerParameterfv;
GLPROC_glGetSamplerParameterIuiv glGetSamplerParameterIuiv;
GLPROC_glQueryCounter glQueryCounter;
GLPROC_glGetQueryObjecti64v glGetQueryObjecti64v;
GLPROC_glGetQueryObjectui64v glGetQueryObjectui64v;
GLPROC_glVertexAttribDivisor glVertexAttribDivisor;
GLPROC_glVertexAttribP1ui glVertexAttribP1ui;
GLPROC_glVertexAttribP1uiv glVertexAttribP1uiv;
GLPROC_glVertexAttribP2ui glVertexAttribP2ui;
GLPROC_glVertexAttribP2uiv glVertexAttribP2uiv;
GLPROC_glVertexAttribP3ui glVertexAttribP3ui;
GLPROC_glVertexAttribP3uiv glVertexAttribP3uiv;
GLPROC_glVertexAttribP4ui glVertexAttribP4ui;
GLPROC_glVertexAttribP4uiv glVertexAttribP4uiv;
GLPROC_glVertexP2ui glVertexP2ui;
GLPROC_glVertexP2uiv glVertexP2uiv;
GLPROC_glVertexP3ui glVertexP3ui;
GLPROC_glVertexP3uiv glVertexP3uiv;
GLPROC_glVertexP4ui glVertexP4ui;
GLPROC_glVertexP4uiv glVertexP4uiv;
GLPROC_glTexCoordP1ui glTexCoordP1ui;
GLPROC_glTexCoordP1uiv glTexCoordP1uiv;
GLPROC_glTexCoordP2ui glTexCoordP2ui;
GLPROC_glTexCoordP2uiv glTexCoordP2uiv;
GLPROC_glTexCoordP3ui glTexCoordP3ui;
GLPROC_glTexCoordP3uiv glTexCoordP3uiv;
GLPROC_glTexCoordP4ui glTexCoordP4ui;
GLPROC_glTexCoordP4uiv glTexCoordP4uiv;
GLPROC_glMultiTexCoordP1ui glMultiTexCoordP1ui;
GLPROC_glMultiTexCoordP1uiv glMultiTexCoordP1uiv;
GLPROC_glMultiTexCoordP2ui glMultiTexCoordP2ui;
GLPROC_glMultiTexCoordP2uiv glMultiTexCoordP2uiv;
GLPROC_glMultiTexCoordP3ui glMultiTexCoordP3ui;
GLPROC_glMultiTexCoordP3uiv glMultiTexCoordP3uiv;
GLPROC_glMultiTexCoordP4ui glMultiTexCoordP4ui;
GLPROC_glMultiTexCoordP4uiv glMultiTexCoordP4uiv;
GLPROC_glNormalP3ui glNormalP3ui;
GLPROC_glNormalP3uiv glNormalP3uiv;
GLPROC_glColorP3ui glColorP3ui;
GLPROC_glColorP3uiv glColorP3uiv;
GLPROC_glColorP4ui glColorP4ui;
GLPROC_glColorP4uiv glColorP4uiv;
GLPROC_glSecondaryColorP3ui glSecondaryColorP3ui;
GLPROC_glSecondaryColorP3uiv glSecondaryColorP3uiv;
GLPROC_glDebugMessageControl glDebugMessageControl;
GLPROC_glDebugMessageInsert glDebugMessageInsert;
GLPROC_glDebugMessageCallback glDebugMessageCallback;
GLPROC_glGetDebugMessageLog glGetDebugMessageLog;
GLPROC_glPushDebugGroup glPushDebugGroup;
GLPROC_glPopDebugGroup glPopDebugGroup;
GLPROC_glObjectLabel glObjectLabel;
GLPROC_glGetObjectLabel glGetObjectLabel;
GLPROC_glObjectPtrLabel glObjectPtrLabel;
GLPROC_glGetObjectPtrLabel glGetObjectPtrLabel;
GLPROC_glGetPointerv glGetPointerv;
static void *Load(const char *name)
{
void *proc = SDL_GL_GetProcAddress(name);
assert(proc);
return proc;
}
void LoadGL()
{
glCullFace = (GLPROC_glCullFace)Load("glCullFace");
glFrontFace = (GLPROC_glFrontFace)Load("glFrontFace");
glHint = (GLPROC_glHint)Load("glHint");
glLineWidth = (GLPROC_glLineWidth)Load("glLineWidth");
glPointSize = (GLPROC_glPointSize)Load("glPointSize");
glPolygonMode = (GLPROC_glPolygonMode)Load("glPolygonMode");
glScissor = (GLPROC_glScissor)Load("glScissor");
glTexParameterf = (GLPROC_glTexParameterf)Load("glTexParameterf");
glTexParameterfv = (GLPROC_glTexParameterfv)Load("glTexParameterfv");
glTexParameteri = (GLPROC_glTexParameteri)Load("glTexParameteri");
glTexParameteriv = (GLPROC_glTexParameteriv)Load("glTexParameteriv");
glTexImage1D = (GLPROC_glTexImage1D)Load("glTexImage1D");
glTexImage2D = (GLPROC_glTexImage2D)Load("glTexImage2D");
glDrawBuffer = (GLPROC_glDrawBuffer)Load("glDrawBuffer");
glClear = (GLPROC_glClear)Load("glClear");
glClearColor = (GLPROC_glClearColor)Load("glClearColor");
glClearStencil = (GLPROC_glClearStencil)Load("glClearStencil");
glClearDepth = (GLPROC_glClearDepth)Load("glClearDepth");
glStencilMask = (GLPROC_glStencilMask)Load("glStencilMask");
glColorMask = (GLPROC_glColorMask)Load("glColorMask");
glDepthMask = (GLPROC_glDepthMask)Load("glDepthMask");
glDisable = (GLPROC_glDisable)Load("glDisable");
glEnable = (GLPROC_glEnable)Load("glEnable");
glFinish = (GLPROC_glFinish)Load("glFinish");
glFlush = (GLPROC_glFlush)Load("glFlush");
glBlendFunc = (GLPROC_glBlendFunc)Load("glBlendFunc");
glLogicOp = (GLPROC_glLogicOp)Load("glLogicOp");
glStencilFunc = (GLPROC_glStencilFunc)Load("glStencilFunc");
glStencilOp = (GLPROC_glStencilOp)Load("glStencilOp");
glDepthFunc = (GLPROC_glDepthFunc)Load("glDepthFunc");
glPixelStoref = (GLPROC_glPixelStoref)Load("glPixelStoref");
glPixelStorei = (GLPROC_glPixelStorei)Load("glPixelStorei");
glReadBuffer = (GLPROC_glReadBuffer)Load("glReadBuffer");
glReadPixels = (GLPROC_glReadPixels)Load("glReadPixels");
glGetBooleanv = (GLPROC_glGetBooleanv)Load("glGetBooleanv");
glGetDoublev = (GLPROC_glGetDoublev)Load("glGetDoublev");
glGetError = (GLPROC_glGetError)Load("glGetError");
glGetFloatv = (GLPROC_glGetFloatv)Load("glGetFloatv");
glGetIntegerv = (GLPROC_glGetIntegerv)Load("glGetIntegerv");
glGetString = (GLPROC_glGetString)Load("glGetString");
glGetTexImage = (GLPROC_glGetTexImage)Load("glGetTexImage");
glGetTexParameterfv = (GLPROC_glGetTexParameterfv)Load("glGetTexParameterfv");
glGetTexParameteriv = (GLPROC_glGetTexParameteriv)Load("glGetTexParameteriv");
glGetTexLevelParameterfv = (GLPROC_glGetTexLevelParameterfv)Load("glGetTexLevelParameterfv");
glGetTexLevelParameteriv = (GLPROC_glGetTexLevelParameteriv)Load("glGetTexLevelParameteriv");
glIsEnabled = (GLPROC_glIsEnabled)Load("glIsEnabled");
glDepthRange = (GLPROC_glDepthRange)Load("glDepthRange");
glViewport = (GLPROC_glViewport)Load("glViewport");
glDrawArrays = (GLPROC_glDrawArrays)Load("glDrawArrays");
glDrawElements = (GLPROC_glDrawElements)Load("glDrawElements");
glPolygonOffset = (GLPROC_glPolygonOffset)Load("glPolygonOffset");
glCopyTexImage1D = (GLPROC_glCopyTexImage1D)Load("glCopyTexImage1D");
glCopyTexImage2D = (GLPROC_glCopyTexImage2D)Load("glCopyTexImage2D");
glCopyTexSubImage1D = (GLPROC_glCopyTexSubImage1D)Load("glCopyTexSubImage1D");
glCopyTexSubImage2D = (GLPROC_glCopyTexSubImage2D)Load("glCopyTexSubImage2D");
glTexSubImage1D = (GLPROC_glTexSubImage1D)Load("glTexSubImage1D");
glTexSubImage2D = (GLPROC_glTexSubImage2D)Load("glTexSubImage2D");
glBindTexture = (GLPROC_glBindTexture)Load("glBindTexture");
glDeleteTextures = (GLPROC_glDeleteTextures)Load("glDeleteTextures");
glGenTextures = (GLPROC_glGenTextures)Load("glGenTextures");
glIsTexture = (GLPROC_glIsTexture)Load("glIsTexture");
glDrawRangeElements = (GLPROC_glDrawRangeElements)Load("glDrawRangeElements");
glTexImage3D = (GLPROC_glTexImage3D)Load("glTexImage3D");
glTexSubImage3D = (GLPROC_glTexSubImage3D)Load("glTexSubImage3D");
glCopyTexSubImage3D = (GLPROC_glCopyTexSubImage3D)Load("glCopyTexSubImage3D");
glActiveTexture = (GLPROC_glActiveTexture)Load("glActiveTexture");
glSampleCoverage = (GLPROC_glSampleCoverage)Load("glSampleCoverage");
glCompressedTexImage3D = (GLPROC_glCompressedTexImage3D)Load("glCompressedTexImage3D");
glCompressedTexImage2D = (GLPROC_glCompressedTexImage2D)Load("glCompressedTexImage2D");
glCompressedTexImage1D = (GLPROC_glCompressedTexImage1D)Load("glCompressedTexImage1D");
glCompressedTexSubImage3D = (GLPROC_glCompressedTexSubImage3D)Load("glCompressedTexSubImage3D");
glCompressedTexSubImage2D = (GLPROC_glCompressedTexSubImage2D)Load("glCompressedTexSubImage2D");
glCompressedTexSubImage1D = (GLPROC_glCompressedTexSubImage1D)Load("glCompressedTexSubImage1D");
glGetCompressedTexImage = (GLPROC_glGetCompressedTexImage)Load("glGetCompressedTexImage");
glBlendFuncSeparate = (GLPROC_glBlendFuncSeparate)Load("glBlendFuncSeparate");
glMultiDrawArrays = (GLPROC_glMultiDrawArrays)Load("glMultiDrawArrays");
glMultiDrawElements = (GLPROC_glMultiDrawElements)Load("glMultiDrawElements");
glPointParameterf = (GLPROC_glPointParameterf)Load("glPointParameterf");
glPointParameterfv = (GLPROC_glPointParameterfv)Load("glPointParameterfv");
glPointParameteri = (GLPROC_glPointParameteri)Load("glPointParameteri");
glPointParameteriv = (GLPROC_glPointParameteriv)Load("glPointParameteriv");
glBlendColor = (GLPROC_glBlendColor)Load("glBlendColor");
glBlendEquation = (GLPROC_glBlendEquation)Load("glBlendEquation");
glGenQueries = (GLPROC_glGenQueries)Load("glGenQueries");
glDeleteQueries = (GLPROC_glDeleteQueries)Load("glDeleteQueries");
glIsQuery = (GLPROC_glIsQuery)Load("glIsQuery");
glBeginQuery = (GLPROC_glBeginQuery)Load("glBeginQuery");
glEndQuery = (GLPROC_glEndQuery)Load("glEndQuery");
glGetQueryiv = (GLPROC_glGetQueryiv)Load("glGetQueryiv");
glGetQueryObjectiv = (GLPROC_glGetQueryObjectiv)Load("glGetQueryObjectiv");
glGetQueryObjectuiv = (GLPROC_glGetQueryObjectuiv)Load("glGetQueryObjectuiv");
glBindBuffer = (GLPROC_glBindBuffer)Load("glBindBuffer");
glDeleteBuffers = (GLPROC_glDeleteBuffers)Load("glDeleteBuffers");
glGenBuffers = (GLPROC_glGenBuffers)Load("glGenBuffers");
glIsBuffer = (GLPROC_glIsBuffer)Load("glIsBuffer");
glBufferData = (GLPROC_glBufferData)Load("glBufferData");
glBufferSubData = (GLPROC_glBufferSubData)Load("glBufferSubData");
glGetBufferSubData = (GLPROC_glGetBufferSubData)Load("glGetBufferSubData");
glMapBuffer = (GLPROC_glMapBuffer)Load("glMapBuffer");
glUnmapBuffer = (GLPROC_glUnmapBuffer)Load("glUnmapBuffer");
glGetBufferParameteriv = (GLPROC_glGetBufferParameteriv)Load("glGetBufferParameteriv");
glGetBufferPointerv = (GLPROC_glGetBufferPointerv)Load("glGetBufferPointerv");
glBlendEquationSeparate = (GLPROC_glBlendEquationSeparate)Load("glBlendEquationSeparate");
glDrawBuffers = (GLPROC_glDrawBuffers)Load("glDrawBuffers");
glStencilOpSeparate = (GLPROC_glStencilOpSeparate)Load("glStencilOpSeparate");
glStencilFuncSeparate = (GLPROC_glStencilFuncSeparate)Load("glStencilFuncSeparate");
glStencilMaskSeparate = (GLPROC_glStencilMaskSeparate)Load("glStencilMaskSeparate");
glAttachShader = (GLPROC_glAttachShader)Load("glAttachShader");
glBindAttribLocation = (GLPROC_glBindAttribLocation)Load("glBindAttribLocation");
glCompileShader = (GLPROC_glCompileShader)Load("glCompileShader");
glCreateProgram = (GLPROC_glCreateProgram)Load("glCreateProgram");
glCreateShader = (GLPROC_glCreateShader)Load("glCreateShader");
glDeleteProgram = (GLPROC_glDeleteProgram)Load("glDeleteProgram");
glDeleteShader = (GLPROC_glDeleteShader)Load("glDeleteShader");
glDetachShader = (GLPROC_glDetachShader)Load("glDetachShader");
glDisableVertexAttribArray = (GLPROC_glDisableVertexAttribArray)Load("glDisableVertexAttribArray");
glEnableVertexAttribArray = (GLPROC_glEnableVertexAttribArray)Load("glEnableVertexAttribArray");
glGetActiveAttrib = (GLPROC_glGetActiveAttrib)Load("glGetActiveAttrib");
glGetActiveUniform = (GLPROC_glGetActiveUniform)Load("glGetActiveUniform");
glGetAttachedShaders = (GLPROC_glGetAttachedShaders)Load("glGetAttachedShaders");
glGetAttribLocation = (GLPROC_glGetAttribLocation)Load("glGetAttribLocation");
glGetProgramiv = (GLPROC_glGetProgramiv)Load("glGetProgramiv");
glGetProgramInfoLog = (GLPROC_glGetProgramInfoLog)Load("glGetProgramInfoLog");
glGetShaderiv = (GLPROC_glGetShaderiv)Load("glGetShaderiv");
glGetShaderInfoLog = (GLPROC_glGetShaderInfoLog)Load("glGetShaderInfoLog");
glGetShaderSource = (GLPROC_glGetShaderSource)Load("glGetShaderSource");
glGetUniformLocation = (GLPROC_glGetUniformLocation)Load("glGetUniformLocation");
glGetUniformfv = (GLPROC_glGetUniformfv)Load("glGetUniformfv");
glGetUniformiv = (GLPROC_glGetUniformiv)Load("glGetUniformiv");
glGetVertexAttribdv = (GLPROC_glGetVertexAttribdv)Load("glGetVertexAttribdv");
glGetVertexAttribfv = (GLPROC_glGetVertexAttribfv)Load("glGetVertexAttribfv");
glGetVertexAttribiv = (GLPROC_glGetVertexAttribiv)Load("glGetVertexAttribiv");
glGetVertexAttribPointerv = (GLPROC_glGetVertexAttribPointerv)Load("glGetVertexAttribPointerv");
glIsProgram = (GLPROC_glIsProgram)Load("glIsProgram");
glIsShader = (GLPROC_glIsShader)Load("glIsShader");
glLinkProgram = (GLPROC_glLinkProgram)Load("glLinkProgram");
glShaderSource = (GLPROC_glShaderSource)Load("glShaderSource");
glUseProgram = (GLPROC_glUseProgram)Load("glUseProgram");
glUniform1f = (GLPROC_glUniform1f)Load("glUniform1f");
glUniform2f = (GLPROC_glUniform2f)Load("glUniform2f");
glUniform3f = (GLPROC_glUniform3f)Load("glUniform3f");
glUniform4f = (GLPROC_glUniform4f)Load("glUniform4f");
glUniform1i = (GLPROC_glUniform1i)Load("glUniform1i");
glUniform2i = (GLPROC_glUniform2i)Load("glUniform2i");
glUniform3i = (GLPROC_glUniform3i)Load("glUniform3i");
glUniform4i = (GLPROC_glUniform4i)Load("glUniform4i");
glUniform1fv = (GLPROC_glUniform1fv)Load("glUniform1fv");
glUniform2fv = (GLPROC_glUniform2fv)Load("glUniform2fv");
glUniform3fv = (GLPROC_glUniform3fv)Load("glUniform3fv");
glUniform4fv = (GLPROC_glUniform4fv)Load("glUniform4fv");
glUniform1iv = (GLPROC_glUniform1iv)Load("glUniform1iv");
glUniform2iv = (GLPROC_glUniform2iv)Load("glUniform2iv");
glUniform3iv = (GLPROC_glUniform3iv)Load("glUniform3iv");
glUniform4iv = (GLPROC_glUniform4iv)Load("glUniform4iv");
glUniformMatrix2fv = (GLPROC_glUniformMatrix2fv)Load("glUniformMatrix2fv");
glUniformMatrix3fv = (GLPROC_glUniformMatrix3fv)Load("glUniformMatrix3fv");
glUniformMatrix4fv = (GLPROC_glUniformMatrix4fv)Load("glUniformMatrix4fv");
glValidateProgram = (GLPROC_glValidateProgram)Load("glValidateProgram");
glVertexAttrib1d = (GLPROC_glVertexAttrib1d)Load("glVertexAttrib1d");
glVertexAttrib1dv = (GLPROC_glVertexAttrib1dv)Load("glVertexAttrib1dv");
glVertexAttrib1f = (GLPROC_glVertexAttrib1f)Load("glVertexAttrib1f");
glVertexAttrib1fv = (GLPROC_glVertexAttrib1fv)Load("glVertexAttrib1fv");
glVertexAttrib1s = (GLPROC_glVertexAttrib1s)Load("glVertexAttrib1s");
glVertexAttrib1sv = (GLPROC_glVertexAttrib1sv)Load("glVertexAttrib1sv");
glVertexAttrib2d = (GLPROC_glVertexAttrib2d)Load("glVertexAttrib2d");
glVertexAttrib2dv = (GLPROC_glVertexAttrib2dv)Load("glVertexAttrib2dv");
glVertexAttrib2f = (GLPROC_glVertexAttrib2f)Load("glVertexAttrib2f");
glVertexAttrib2fv = (GLPROC_glVertexAttrib2fv)Load("glVertexAttrib2fv");
glVertexAttrib2s = (GLPROC_glVertexAttrib2s)Load("glVertexAttrib2s");
glVertexAttrib2sv = (GLPROC_glVertexAttrib2sv)Load("glVertexAttrib2sv");
glVertexAttrib3d = (GLPROC_glVertexAttrib3d)Load("glVertexAttrib3d");
glVertexAttrib3dv = (GLPROC_glVertexAttrib3dv)Load("glVertexAttrib3dv");
glVertexAttrib3f = (GLPROC_glVertexAttrib3f)Load("glVertexAttrib3f");
glVertexAttrib3fv = (GLPROC_glVertexAttrib3fv)Load("glVertexAttrib3fv");
glVertexAttrib3s = (GLPROC_glVertexAttrib3s)Load("glVertexAttrib3s");
glVertexAttrib3sv = (GLPROC_glVertexAttrib3sv)Load("glVertexAttrib3sv");
glVertexAttrib4Nbv = (GLPROC_glVertexAttrib4Nbv)Load("glVertexAttrib4Nbv");
glVertexAttrib4Niv = (GLPROC_glVertexAttrib4Niv)Load("glVertexAttrib4Niv");
glVertexAttrib4Nsv = (GLPROC_glVertexAttrib4Nsv)Load("glVertexAttrib4Nsv");
glVertexAttrib4Nub = (GLPROC_glVertexAttrib4Nub)Load("glVertexAttrib4Nub");
glVertexAttrib4Nubv = (GLPROC_glVertexAttrib4Nubv)Load("glVertexAttrib4Nubv");
glVertexAttrib4Nuiv = (GLPROC_glVertexAttrib4Nuiv)Load("glVertexAttrib4Nuiv");
glVertexAttrib4Nusv = (GLPROC_glVertexAttrib4Nusv)Load("glVertexAttrib4Nusv");
glVertexAttrib4bv = (GLPROC_glVertexAttrib4bv)Load("glVertexAttrib4bv");
glVertexAttrib4d = (GLPROC_glVertexAttrib4d)Load("glVertexAttrib4d");
glVertexAttrib4dv = (GLPROC_glVertexAttrib4dv)Load("glVertexAttrib4dv");
glVertexAttrib4f = (GLPROC_glVertexAttrib4f)Load("glVertexAttrib4f");
glVertexAttrib4fv = (GLPROC_glVertexAttrib4fv)Load("glVertexAttrib4fv");
glVertexAttrib4iv = (GLPROC_glVertexAttrib4iv)Load("glVertexAttrib4iv");
glVertexAttrib4s = (GLPROC_glVertexAttrib4s)Load("glVertexAttrib4s");
glVertexAttrib4sv = (GLPROC_glVertexAttrib4sv)Load("glVertexAttrib4sv");
glVertexAttrib4ubv = (GLPROC_glVertexAttrib4ubv)Load("glVertexAttrib4ubv");
glVertexAttrib4uiv = (GLPROC_glVertexAttrib4uiv)Load("glVertexAttrib4uiv");
glVertexAttrib4usv = (GLPROC_glVertexAttrib4usv)Load("glVertexAttrib4usv");
glVertexAttribPointer = (GLPROC_glVertexAttribPointer)Load("glVertexAttribPointer");
glUniformMatrix2x3fv = (GLPROC_glUniformMatrix2x3fv)Load("glUniformMatrix2x3fv");
glUniformMatrix3x2fv = (GLPROC_glUniformMatrix3x2fv)Load("glUniformMatrix3x2fv");
glUniformMatrix2x4fv = (GLPROC_glUniformMatrix2x4fv)Load("glUniformMatrix2x4fv");
glUniformMatrix4x2fv = (GLPROC_glUniformMatrix4x2fv)Load("glUniformMatrix4x2fv");
glUniformMatrix3x4fv = (GLPROC_glUniformMatrix3x4fv)Load("glUniformMatrix3x4fv");
glUniformMatrix4x3fv = (GLPROC_glUniformMatrix4x3fv)Load("glUniformMatrix4x3fv");
glColorMaski = (GLPROC_glColorMaski)Load("glColorMaski");
glGetBooleani_v = (GLPROC_glGetBooleani_v)Load("glGetBooleani_v");
glGetIntegeri_v = (GLPROC_glGetIntegeri_v)Load("glGetIntegeri_v");
glEnablei = (GLPROC_glEnablei)Load("glEnablei");
glDisablei = (GLPROC_glDisablei)Load("glDisablei");
glIsEnabledi = (GLPROC_glIsEnabledi)Load("glIsEnabledi");
glBeginTransformFeedback = (GLPROC_glBeginTransformFeedback)Load("glBeginTransformFeedback");
glEndTransformFeedback = (GLPROC_glEndTransformFeedback)Load("glEndTransformFeedback");
glBindBufferRange = (GLPROC_glBindBufferRange)Load("glBindBufferRange");
glBindBufferBase = (GLPROC_glBindBufferBase)Load("glBindBufferBase");
glTransformFeedbackVaryings = (GLPROC_glTransformFeedbackVaryings)Load("glTransformFeedbackVaryings");
glGetTransformFeedbackVarying = (GLPROC_glGetTransformFeedbackVarying)Load("glGetTransformFeedbackVarying");
glClampColor = (GLPROC_glClampColor)Load("glClampColor");
glBeginConditionalRender = (GLPROC_glBeginConditionalRender)Load("glBeginConditionalRender");
glEndConditionalRender = (GLPROC_glEndConditionalRender)Load("glEndConditionalRender");
glVertexAttribIPointer = (GLPROC_glVertexAttribIPointer)Load("glVertexAttribIPointer");
glGetVertexAttribIiv = (GLPROC_glGetVertexAttribIiv)Load("glGetVertexAttribIiv");
glGetVertexAttribIuiv = (GLPROC_glGetVertexAttribIuiv)Load("glGetVertexAttribIuiv");
glVertexAttribI1i = (GLPROC_glVertexAttribI1i)Load("glVertexAttribI1i");
glVertexAttribI2i = (GLPROC_glVertexAttribI2i)Load("glVertexAttribI2i");
glVertexAttribI3i = (GLPROC_glVertexAttribI3i)Load("glVertexAttribI3i");
glVertexAttribI4i = (GLPROC_glVertexAttribI4i)Load("glVertexAttribI4i");
glVertexAttribI1ui = (GLPROC_glVertexAttribI1ui)Load("glVertexAttribI1ui");
glVertexAttribI2ui = (GLPROC_glVertexAttribI2ui)Load("glVertexAttribI2ui");
glVertexAttribI3ui = (GLPROC_glVertexAttribI3ui)Load("glVertexAttribI3ui");
glVertexAttribI4ui = (GLPROC_glVertexAttribI4ui)Load("glVertexAttribI4ui");
glVertexAttribI1iv = (GLPROC_glVertexAttribI1iv)Load("glVertexAttribI1iv");
glVertexAttribI2iv = (GLPROC_glVertexAttribI2iv)Load("glVertexAttribI2iv");
glVertexAttribI3iv = (GLPROC_glVertexAttribI3iv)Load("glVertexAttribI3iv");
glVertexAttribI4iv = (GLPROC_glVertexAttribI4iv)Load("glVertexAttribI4iv");
glVertexAttribI1uiv = (GLPROC_glVertexAttribI1uiv)Load("glVertexAttribI1uiv");
glVertexAttribI2uiv = (GLPROC_glVertexAttribI2uiv)Load("glVertexAttribI2uiv");
glVertexAttribI3uiv = (GLPROC_glVertexAttribI3uiv)Load("glVertexAttribI3uiv");
glVertexAttribI4uiv = (GLPROC_glVertexAttribI4uiv)Load("glVertexAttribI4uiv");
glVertexAttribI4bv = (GLPROC_glVertexAttribI4bv)Load("glVertexAttribI4bv");
glVertexAttribI4sv = (GLPROC_glVertexAttribI4sv)Load("glVertexAttribI4sv");
glVertexAttribI4ubv = (GLPROC_glVertexAttribI4ubv)Load("glVertexAttribI4ubv");
glVertexAttribI4usv = (GLPROC_glVertexAttribI4usv)Load("glVertexAttribI4usv");
glGetUniformuiv = (GLPROC_glGetUniformuiv)Load("glGetUniformuiv");
glBindFragDataLocation = (GLPROC_glBindFragDataLocation)Load("glBindFragDataLocation");
glGetFragDataLocation = (GLPROC_glGetFragDataLocation)Load("glGetFragDataLocation");
glUniform1ui = (GLPROC_glUniform1ui)Load("glUniform1ui");
glUniform2ui = (GLPROC_glUniform2ui)Load("glUniform2ui");
glUniform3ui = (GLPROC_glUniform3ui)Load("glUniform3ui");
glUniform4ui = (GLPROC_glUniform4ui)Load("glUniform4ui");
glUniform1uiv = (GLPROC_glUniform1uiv)Load("glUniform1uiv");
glUniform2uiv = (GLPROC_glUniform2uiv)Load("glUniform2uiv");
glUniform3uiv = (GLPROC_glUniform3uiv)Load("glUniform3uiv");
glUniform4uiv = (GLPROC_glUniform4uiv)Load("glUniform4uiv");
glTexParameterIiv = (GLPROC_glTexParameterIiv)Load("glTexParameterIiv");
glTexParameterIuiv = (GLPROC_glTexParameterIuiv)Load("glTexParameterIuiv");
glGetTexParameterIiv = (GLPROC_glGetTexParameterIiv)Load("glGetTexParameterIiv");
glGetTexParameterIuiv = (GLPROC_glGetTexParameterIuiv)Load("glGetTexParameterIuiv");
glClearBufferiv = (GLPROC_glClearBufferiv)Load("glClearBufferiv");
glClearBufferuiv = (GLPROC_glClearBufferuiv)Load("glClearBufferuiv");
glClearBufferfv = (GLPROC_glClearBufferfv)Load("glClearBufferfv");
glClearBufferfi = (GLPROC_glClearBufferfi)Load("glClearBufferfi");
glGetStringi = (GLPROC_glGetStringi)Load("glGetStringi");
glIsRenderbuffer = (GLPROC_glIsRenderbuffer)Load("glIsRenderbuffer");
glBindRenderbuffer = (GLPROC_glBindRenderbuffer)Load("glBindRenderbuffer");
glDeleteRenderbuffers = (GLPROC_glDeleteRenderbuffers)Load("glDeleteRenderbuffers");
glGenRenderbuffers = (GLPROC_glGenRenderbuffers)Load("glGenRenderbuffers");
glRenderbufferStorage = (GLPROC_glRenderbufferStorage)Load("glRenderbufferStorage");
glGetRenderbufferParameteriv = (GLPROC_glGetRenderbufferParameteriv)Load("glGetRenderbufferParameteriv");
glIsFramebuffer = (GLPROC_glIsFramebuffer)Load("glIsFramebuffer");
glBindFramebuffer = (GLPROC_glBindFramebuffer)Load("glBindFramebuffer");
glDeleteFramebuffers = (GLPROC_glDeleteFramebuffers)Load("glDeleteFramebuffers");
glGenFramebuffers = (GLPROC_glGenFramebuffers)Load("glGenFramebuffers");
glCheckFramebufferStatus = (GLPROC_glCheckFramebufferStatus)Load("glCheckFramebufferStatus");
glFramebufferTexture1D = (GLPROC_glFramebufferTexture1D)Load("glFramebufferTexture1D");
glFramebufferTexture2D = (GLPROC_glFramebufferTexture2D)Load("glFramebufferTexture2D");
glFramebufferTexture3D = (GLPROC_glFramebufferTexture3D)Load("glFramebufferTexture3D");
glFramebufferRenderbuffer = (GLPROC_glFramebufferRenderbuffer)Load("glFramebufferRenderbuffer");
glGetFramebufferAttachmentParameteriv = (GLPROC_glGetFramebufferAttachmentParameteriv)Load("glGetFramebufferAttachmentParameteriv");
glGenerateMipmap = (GLPROC_glGenerateMipmap)Load("glGenerateMipmap");
glBlitFramebuffer = (GLPROC_glBlitFramebuffer)Load("glBlitFramebuffer");
glRenderbufferStorageMultisample = (GLPROC_glRenderbufferStorageMultisample)Load("glRenderbufferStorageMultisample");
glFramebufferTextureLayer = (GLPROC_glFramebufferTextureLayer)Load("glFramebufferTextureLayer");
glMapBufferRange = (GLPROC_glMapBufferRange)Load("glMapBufferRange");
glFlushMappedBufferRange = (GLPROC_glFlushMappedBufferRange)Load("glFlushMappedBufferRange");
glBindVertexArray = (GLPROC_glBindVertexArray)Load("glBindVertexArray");
glDeleteVertexArrays = (GLPROC_glDeleteVertexArrays)Load("glDeleteVertexArrays");
glGenVertexArrays = (GLPROC_glGenVertexArrays)Load("glGenVertexArrays");
glIsVertexArray = (GLPROC_glIsVertexArray)Load("glIsVertexArray");
glDrawArraysInstanced = (GLPROC_glDrawArraysInstanced)Load("glDrawArraysInstanced");
glDrawElementsInstanced = (GLPROC_glDrawElementsInstanced)Load("glDrawElementsInstanced");
glTexBuffer = (GLPROC_glTexBuffer)Load("glTexBuffer");
glPrimitiveRestartIndex = (GLPROC_glPrimitiveRestartIndex)Load("glPrimitiveRestartIndex");
glCopyBufferSubData = (GLPROC_glCopyBufferSubData)Load("glCopyBufferSubData");
glGetUniformIndices = (GLPROC_glGetUniformIndices)Load("glGetUniformIndices");
glGetActiveUniformsiv = (GLPROC_glGetActiveUniformsiv)Load("glGetActiveUniformsiv");
glGetActiveUniformName = (GLPROC_glGetActiveUniformName)Load("glGetActiveUniformName");
glGetUniformBlockIndex = (GLPROC_glGetUniformBlockIndex)Load("glGetUniformBlockIndex");
glGetActiveUniformBlockiv = (GLPROC_glGetActiveUniformBlockiv)Load("glGetActiveUniformBlockiv");
glGetActiveUniformBlockName = (GLPROC_glGetActiveUniformBlockName)Load("glGetActiveUniformBlockName");
glUniformBlockBinding = (GLPROC_glUniformBlockBinding)Load("glUniformBlockBinding");
glDrawElementsBaseVertex = (GLPROC_glDrawElementsBaseVertex)Load("glDrawElementsBaseVertex");
glDrawRangeElementsBaseVertex = (GLPROC_glDrawRangeElementsBaseVertex)Load("glDrawRangeElementsBaseVertex");
glDrawElementsInstancedBaseVertex = (GLPROC_glDrawElementsInstancedBaseVertex)Load("glDrawElementsInstancedBaseVertex");
glMultiDrawElementsBaseVertex = (GLPROC_glMultiDrawElementsBaseVertex)Load("glMultiDrawElementsBaseVertex");
glProvokingVertex = (GLPROC_glProvokingVertex)Load("glProvokingVertex");
glFenceSync = (GLPROC_glFenceSync)Load("glFenceSync");
glIsSync = (GLPROC_glIsSync)Load("glIsSync");
glDeleteSync = (GLPROC_glDeleteSync)Load("glDeleteSync");
glClientWaitSync = (GLPROC_glClientWaitSync)Load("glClientWaitSync");
glWaitSync = (GLPROC_glWaitSync)Load("glWaitSync");
glGetInteger64v = (GLPROC_glGetInteger64v)Load("glGetInteger64v");
glGetSynciv = (GLPROC_glGetSynciv)Load("glGetSynciv");
glGetInteger64i_v = (GLPROC_glGetInteger64i_v)Load("glGetInteger64i_v");
glGetBufferParameteri64v = (GLPROC_glGetBufferParameteri64v)Load("glGetBufferParameteri64v");
glFramebufferTexture = (GLPROC_glFramebufferTexture)Load("glFramebufferTexture");
glTexImage2DMultisample = (GLPROC_glTexImage2DMultisample)Load("glTexImage2DMultisample");
glTexImage3DMultisample = (GLPROC_glTexImage3DMultisample)Load("glTexImage3DMultisample");
glGetMultisamplefv = (GLPROC_glGetMultisamplefv)Load("glGetMultisamplefv");
glSampleMaski = (GLPROC_glSampleMaski)Load("glSampleMaski");
glBindFragDataLocationIndexed = (GLPROC_glBindFragDataLocationIndexed)Load("glBindFragDataLocationIndexed");
glGetFragDataIndex = (GLPROC_glGetFragDataIndex)Load("glGetFragDataIndex");
glGenSamplers = (GLPROC_glGenSamplers)Load("glGenSamplers");
glDeleteSamplers = (GLPROC_glDeleteSamplers)Load("glDeleteSamplers");
glIsSampler = (GLPROC_glIsSampler)Load("glIsSampler");
glBindSampler = (GLPROC_glBindSampler)Load("glBindSampler");
glSamplerParameteri = (GLPROC_glSamplerParameteri)Load("glSamplerParameteri");
glSamplerParameteriv = (GLPROC_glSamplerParameteriv)Load("glSamplerParameteriv");
glSamplerParameterf = (GLPROC_glSamplerParameterf)Load("glSamplerParameterf");
glSamplerParameterfv = (GLPROC_glSamplerParameterfv)Load("glSamplerParameterfv");
glSamplerParameterIiv = (GLPROC_glSamplerParameterIiv)Load("glSamplerParameterIiv");
glSamplerParameterIuiv = (GLPROC_glSamplerParameterIuiv)Load("glSamplerParameterIuiv");
glGetSamplerParameteriv = (GLPROC_glGetSamplerParameteriv)Load("glGetSamplerParameteriv");
glGetSamplerParameterIiv = (GLPROC_glGetSamplerParameterIiv)Load("glGetSamplerParameterIiv");
glGetSamplerParameterfv = (GLPROC_glGetSamplerParameterfv)Load("glGetSamplerParameterfv");
glGetSamplerParameterIuiv = (GLPROC_glGetSamplerParameterIuiv)Load("glGetSamplerParameterIuiv");
glQueryCounter = (GLPROC_glQueryCounter)Load("glQueryCounter");
glGetQueryObjecti64v = (GLPROC_glGetQueryObjecti64v)Load("glGetQueryObjecti64v");
glGetQueryObjectui64v = (GLPROC_glGetQueryObjectui64v)Load("glGetQueryObjectui64v");
glVertexAttribDivisor = (GLPROC_glVertexAttribDivisor)Load("glVertexAttribDivisor");
glVertexAttribP1ui = (GLPROC_glVertexAttribP1ui)Load("glVertexAttribP1ui");
glVertexAttribP1uiv = (GLPROC_glVertexAttribP1uiv)Load("glVertexAttribP1uiv");
glVertexAttribP2ui = (GLPROC_glVertexAttribP2ui)Load("glVertexAttribP2ui");
glVertexAttribP2uiv = (GLPROC_glVertexAttribP2uiv)Load("glVertexAttribP2uiv");
glVertexAttribP3ui = (GLPROC_glVertexAttribP3ui)Load("glVertexAttribP3ui");
glVertexAttribP3uiv = (GLPROC_glVertexAttribP3uiv)Load("glVertexAttribP3uiv");
glVertexAttribP4ui = (GLPROC_glVertexAttribP4ui)Load("glVertexAttribP4ui");
glVertexAttribP4uiv = (GLPROC_glVertexAttribP4uiv)Load("glVertexAttribP4uiv");
glVertexP2ui = (GLPROC_glVertexP2ui)Load("glVertexP2ui");
glVertexP2uiv = (GLPROC_glVertexP2uiv)Load("glVertexP2uiv");
glVertexP3ui = (GLPROC_glVertexP3ui)Load("glVertexP3ui");
glVertexP3uiv = (GLPROC_glVertexP3uiv)Load("glVertexP3uiv");
glVertexP4ui = (GLPROC_glVertexP4ui)Load("glVertexP4ui");
glVertexP4uiv = (GLPROC_glVertexP4uiv)Load("glVertexP4uiv");
glTexCoordP1ui = (GLPROC_glTexCoordP1ui)Load("glTexCoordP1ui");
glTexCoordP1uiv = (GLPROC_glTexCoordP1uiv)Load("glTexCoordP1uiv");
glTexCoordP2ui = (GLPROC_glTexCoordP2ui)Load("glTexCoordP2ui");
glTexCoordP2uiv = (GLPROC_glTexCoordP2uiv)Load("glTexCoordP2uiv");
glTexCoordP3ui = (GLPROC_glTexCoordP3ui)Load("glTexCoordP3ui");
glTexCoordP3uiv = (GLPROC_glTexCoordP3uiv)Load("glTexCoordP3uiv");
glTexCoordP4ui = (GLPROC_glTexCoordP4ui)Load("glTexCoordP4ui");
glTexCoordP4uiv = (GLPROC_glTexCoordP4uiv)Load("glTexCoordP4uiv");
glMultiTexCoordP1ui = (GLPROC_glMultiTexCoordP1ui)Load("glMultiTexCoordP1ui");
glMultiTexCoordP1uiv = (GLPROC_glMultiTexCoordP1uiv)Load("glMultiTexCoordP1uiv");
glMultiTexCoordP2ui = (GLPROC_glMultiTexCoordP2ui)Load("glMultiTexCoordP2ui");
glMultiTexCoordP2uiv = (GLPROC_glMultiTexCoordP2uiv)Load("glMultiTexCoordP2uiv");
glMultiTexCoordP3ui = (GLPROC_glMultiTexCoordP3ui)Load("glMultiTexCoordP3ui");
glMultiTexCoordP3uiv = (GLPROC_glMultiTexCoordP3uiv)Load("glMultiTexCoordP3uiv");
glMultiTexCoordP4ui = (GLPROC_glMultiTexCoordP4ui)Load("glMultiTexCoordP4ui");
glMultiTexCoordP4uiv = (GLPROC_glMultiTexCoordP4uiv)Load("glMultiTexCoordP4uiv");
glNormalP3ui = (GLPROC_glNormalP3ui)Load("glNormalP3ui");
glNormalP3uiv = (GLPROC_glNormalP3uiv)Load("glNormalP3uiv");
glColorP3ui = (GLPROC_glColorP3ui)Load("glColorP3ui");
glColorP3uiv = (GLPROC_glColorP3uiv)Load("glColorP3uiv");
glColorP4ui = (GLPROC_glColorP4ui)Load("glColorP4ui");
glColorP4uiv = (GLPROC_glColorP4uiv)Load("glColorP4uiv");
glSecondaryColorP3ui = (GLPROC_glSecondaryColorP3ui)Load("glSecondaryColorP3ui");
glSecondaryColorP3uiv = (GLPROC_glSecondaryColorP3uiv)Load("glSecondaryColorP3uiv");
glDebugMessageControl = (GLPROC_glDebugMessageControl)Load("glDebugMessageControl");
glDebugMessageInsert = (GLPROC_glDebugMessageInsert)Load("glDebugMessageInsert");
glDebugMessageCallback = (GLPROC_glDebugMessageCallback)Load("glDebugMessageCallback");
glGetDebugMessageLog = (GLPROC_glGetDebugMessageLog)Load("glGetDebugMessageLog");
glPushDebugGroup = (GLPROC_glPushDebugGroup)Load("glPushDebugGroup");
glPopDebugGroup = (GLPROC_glPopDebugGroup)Load("glPopDebugGroup");
glObjectLabel = (GLPROC_glObjectLabel)Load("glObjectLabel");
glGetObjectLabel = (GLPROC_glGetObjectLabel)Load("glGetObjectLabel");
glObjectPtrLabel = (GLPROC_glObjectPtrLabel)Load("glObjectPtrLabel");
glGetObjectPtrLabel = (GLPROC_glGetObjectPtrLabel)Load("glGetObjectPtrLabel");
glGetPointerv = (GLPROC_glGetPointerv)Load("glGetPointerv");
}