This repository has been archived by the owner on Jan 22, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
/
opengl32.go
3503 lines (3139 loc) · 83.5 KB
/
opengl32.go
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
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// This file was automatically generated by https://github.com/kbinani/win/blob/generator/internal/cmd/gen/gen.go
// go run internal/cmd/gen/gen.go
// +build windows
package win
import (
"unsafe"
)
var (
// Library
libopengl32 uintptr
// Functions
glAccum uintptr
glAlphaFunc uintptr
glAreTexturesResident uintptr
glArrayElement uintptr
glBegin uintptr
glBindTexture uintptr
glBitmap uintptr
glBlendFunc uintptr
glCallList uintptr
glCallLists uintptr
glClear uintptr
glClearAccum uintptr
glClearColor uintptr
glClearDepth uintptr
glClearIndex uintptr
glClearStencil uintptr
glClipPlane uintptr
glColor3b uintptr
glColor3bv uintptr
glColor3d uintptr
glColor3dv uintptr
glColor3f uintptr
glColor3fv uintptr
glColor3i uintptr
glColor3iv uintptr
glColor3s uintptr
glColor3sv uintptr
glColor3ub uintptr
glColor3ubv uintptr
glColor3ui uintptr
glColor3uiv uintptr
glColor3us uintptr
glColor3usv uintptr
glColor4b uintptr
glColor4bv uintptr
glColor4d uintptr
glColor4dv uintptr
glColor4f uintptr
glColor4fv uintptr
glColor4i uintptr
glColor4iv uintptr
glColor4s uintptr
glColor4sv uintptr
glColor4ub uintptr
glColor4ubv uintptr
glColor4ui uintptr
glColor4uiv uintptr
glColor4us uintptr
glColor4usv uintptr
glColorMask uintptr
glColorMaterial uintptr
glColorPointer uintptr
glCopyPixels uintptr
glCopyTexImage1D uintptr
glCopyTexImage2D uintptr
glCopyTexSubImage1D uintptr
glCopyTexSubImage2D uintptr
glCullFace uintptr
glDeleteLists uintptr
glDeleteTextures uintptr
glDepthFunc uintptr
glDepthMask uintptr
glDepthRange uintptr
glDisable uintptr
glDisableClientState uintptr
glDrawArrays uintptr
glDrawBuffer uintptr
glDrawElements uintptr
glDrawPixels uintptr
glEdgeFlag uintptr
glEdgeFlagPointer uintptr
glEdgeFlagv uintptr
glEnable uintptr
glEnableClientState uintptr
glEnd uintptr
glEndList uintptr
glEvalCoord1d uintptr
glEvalCoord1dv uintptr
glEvalCoord1f uintptr
glEvalCoord1fv uintptr
glEvalCoord2d uintptr
glEvalCoord2dv uintptr
glEvalCoord2f uintptr
glEvalCoord2fv uintptr
glEvalMesh1 uintptr
glEvalMesh2 uintptr
glEvalPoint1 uintptr
glEvalPoint2 uintptr
glFeedbackBuffer uintptr
glFinish uintptr
glFlush uintptr
glFogf uintptr
glFogfv uintptr
glFogi uintptr
glFogiv uintptr
glFrontFace uintptr
glFrustum uintptr
glGenLists uintptr
glGenTextures uintptr
glGetBooleanv uintptr
glGetClipPlane uintptr
glGetDoublev uintptr
glGetError uintptr
glGetFloatv uintptr
glGetIntegerv uintptr
glGetLightfv uintptr
glGetLightiv uintptr
glGetMapdv uintptr
glGetMapfv uintptr
glGetMapiv uintptr
glGetMaterialfv uintptr
glGetMaterialiv uintptr
glGetPixelMapfv uintptr
glGetPixelMapuiv uintptr
glGetPixelMapusv uintptr
glGetPointerv uintptr
glGetPolygonStipple uintptr
glGetTexEnvfv uintptr
glGetTexEnviv uintptr
glGetTexGendv uintptr
glGetTexGenfv uintptr
glGetTexGeniv uintptr
glGetTexImage uintptr
glGetTexLevelParameterfv uintptr
glGetTexLevelParameteriv uintptr
glGetTexParameterfv uintptr
glGetTexParameteriv uintptr
glHint uintptr
glIndexMask uintptr
glIndexPointer uintptr
glIndexd uintptr
glIndexdv uintptr
glIndexf uintptr
glIndexfv uintptr
glIndexi uintptr
glIndexiv uintptr
glIndexs uintptr
glIndexsv uintptr
glIndexub uintptr
glIndexubv uintptr
glInitNames uintptr
glInterleavedArrays uintptr
glIsEnabled uintptr
glIsList uintptr
glIsTexture uintptr
glLightModelf uintptr
glLightModelfv uintptr
glLightModeli uintptr
glLightModeliv uintptr
glLightf uintptr
glLightfv uintptr
glLighti uintptr
glLightiv uintptr
glLineStipple uintptr
glLineWidth uintptr
glListBase uintptr
glLoadIdentity uintptr
glLoadMatrixd uintptr
glLoadMatrixf uintptr
glLoadName uintptr
glLogicOp uintptr
glMap1d uintptr
glMap1f uintptr
glMap2d uintptr
glMap2f uintptr
glMapGrid1d uintptr
glMapGrid1f uintptr
glMapGrid2d uintptr
glMapGrid2f uintptr
glMaterialf uintptr
glMaterialfv uintptr
glMateriali uintptr
glMaterialiv uintptr
glMatrixMode uintptr
glMultMatrixd uintptr
glMultMatrixf uintptr
glNewList uintptr
glNormal3b uintptr
glNormal3bv uintptr
glNormal3d uintptr
glNormal3dv uintptr
glNormal3f uintptr
glNormal3fv uintptr
glNormal3i uintptr
glNormal3iv uintptr
glNormal3s uintptr
glNormal3sv uintptr
glNormalPointer uintptr
glOrtho uintptr
glPassThrough uintptr
glPixelMapfv uintptr
glPixelMapuiv uintptr
glPixelMapusv uintptr
glPixelStoref uintptr
glPixelStorei uintptr
glPixelTransferf uintptr
glPixelTransferi uintptr
glPixelZoom uintptr
glPointSize uintptr
glPolygonMode uintptr
glPolygonOffset uintptr
glPolygonStipple uintptr
glPopAttrib uintptr
glPopClientAttrib uintptr
glPopMatrix uintptr
glPopName uintptr
glPrioritizeTextures uintptr
glPushAttrib uintptr
glPushClientAttrib uintptr
glPushMatrix uintptr
glPushName uintptr
glRasterPos2d uintptr
glRasterPos2dv uintptr
glRasterPos2f uintptr
glRasterPos2fv uintptr
glRasterPos2i uintptr
glRasterPos2iv uintptr
glRasterPos2s uintptr
glRasterPos2sv uintptr
glRasterPos3d uintptr
glRasterPos3dv uintptr
glRasterPos3f uintptr
glRasterPos3fv uintptr
glRasterPos3i uintptr
glRasterPos3iv uintptr
glRasterPos3s uintptr
glRasterPos3sv uintptr
glRasterPos4d uintptr
glRasterPos4dv uintptr
glRasterPos4f uintptr
glRasterPos4fv uintptr
glRasterPos4i uintptr
glRasterPos4iv uintptr
glRasterPos4s uintptr
glRasterPos4sv uintptr
glReadBuffer uintptr
glReadPixels uintptr
glRectd uintptr
glRectdv uintptr
glRectf uintptr
glRectfv uintptr
glRecti uintptr
glRectiv uintptr
glRects uintptr
glRectsv uintptr
glRenderMode uintptr
glRotated uintptr
glRotatef uintptr
glScaled uintptr
glScalef uintptr
glScissor uintptr
glSelectBuffer uintptr
glShadeModel uintptr
glStencilFunc uintptr
glStencilMask uintptr
glStencilOp uintptr
glTexCoord1d uintptr
glTexCoord1dv uintptr
glTexCoord1f uintptr
glTexCoord1fv uintptr
glTexCoord1i uintptr
glTexCoord1iv uintptr
glTexCoord1s uintptr
glTexCoord1sv uintptr
glTexCoord2d uintptr
glTexCoord2dv uintptr
glTexCoord2f uintptr
glTexCoord2fv uintptr
glTexCoord2i uintptr
glTexCoord2iv uintptr
glTexCoord2s uintptr
glTexCoord2sv uintptr
glTexCoord3d uintptr
glTexCoord3dv uintptr
glTexCoord3f uintptr
glTexCoord3fv uintptr
glTexCoord3i uintptr
glTexCoord3iv uintptr
glTexCoord3s uintptr
glTexCoord3sv uintptr
glTexCoord4d uintptr
glTexCoord4dv uintptr
glTexCoord4f uintptr
glTexCoord4fv uintptr
glTexCoord4i uintptr
glTexCoord4iv uintptr
glTexCoord4s uintptr
glTexCoord4sv uintptr
glTexCoordPointer uintptr
glTexEnvf uintptr
glTexEnvfv uintptr
glTexEnvi uintptr
glTexEnviv uintptr
glTexGend uintptr
glTexGendv uintptr
glTexGenf uintptr
glTexGenfv uintptr
glTexGeni uintptr
glTexGeniv uintptr
glTexImage1D uintptr
glTexImage2D uintptr
glTexParameterf uintptr
glTexParameterfv uintptr
glTexParameteri uintptr
glTexParameteriv uintptr
glTexSubImage1D uintptr
glTexSubImage2D uintptr
glTranslated uintptr
glTranslatef uintptr
glVertex2d uintptr
glVertex2dv uintptr
glVertex2f uintptr
glVertex2fv uintptr
glVertex2i uintptr
glVertex2iv uintptr
glVertex2s uintptr
glVertex2sv uintptr
glVertex3d uintptr
glVertex3dv uintptr
glVertex3f uintptr
glVertex3fv uintptr
glVertex3i uintptr
glVertex3iv uintptr
glVertex3s uintptr
glVertex3sv uintptr
glVertex4d uintptr
glVertex4dv uintptr
glVertex4f uintptr
glVertex4fv uintptr
glVertex4i uintptr
glVertex4iv uintptr
glVertex4s uintptr
glVertex4sv uintptr
glVertexPointer uintptr
glViewport uintptr
wglCopyContext uintptr
wglCreateContext uintptr
wglCreateLayerContext uintptr
wglDeleteContext uintptr
wglDescribeLayerPlane uintptr
wglGetCurrentContext uintptr
wglGetCurrentDC uintptr
wglGetLayerPaletteEntries uintptr
wglGetProcAddress uintptr
wglMakeCurrent uintptr
wglRealizeLayerPalette uintptr
wglSetLayerPaletteEntries uintptr
wglShareLists uintptr
wglSwapLayerBuffers uintptr
wglSwapMultipleBuffers uintptr
wglUseFontBitmaps uintptr
wglUseFontOutlines uintptr
glDebugEntry uintptr
wglChoosePixelFormat uintptr
wglDescribePixelFormat uintptr
wglGetPixelFormat uintptr
wglSetPixelFormat uintptr
)
func init() {
// Library
libopengl32 = doLoadLibrary("opengl32.dll")
// Functions
glAccum = doGetProcAddress(libopengl32, "glAccum")
glAlphaFunc = doGetProcAddress(libopengl32, "glAlphaFunc")
glAreTexturesResident = doGetProcAddress(libopengl32, "glAreTexturesResident")
glArrayElement = doGetProcAddress(libopengl32, "glArrayElement")
glBegin = doGetProcAddress(libopengl32, "glBegin")
glBindTexture = doGetProcAddress(libopengl32, "glBindTexture")
glBitmap = doGetProcAddress(libopengl32, "glBitmap")
glBlendFunc = doGetProcAddress(libopengl32, "glBlendFunc")
glCallList = doGetProcAddress(libopengl32, "glCallList")
glCallLists = doGetProcAddress(libopengl32, "glCallLists")
glClear = doGetProcAddress(libopengl32, "glClear")
glClearAccum = doGetProcAddress(libopengl32, "glClearAccum")
glClearColor = doGetProcAddress(libopengl32, "glClearColor")
glClearDepth = doGetProcAddress(libopengl32, "glClearDepth")
glClearIndex = doGetProcAddress(libopengl32, "glClearIndex")
glClearStencil = doGetProcAddress(libopengl32, "glClearStencil")
glClipPlane = doGetProcAddress(libopengl32, "glClipPlane")
glColor3b = doGetProcAddress(libopengl32, "glColor3b")
glColor3bv = doGetProcAddress(libopengl32, "glColor3bv")
glColor3d = doGetProcAddress(libopengl32, "glColor3d")
glColor3dv = doGetProcAddress(libopengl32, "glColor3dv")
glColor3f = doGetProcAddress(libopengl32, "glColor3f")
glColor3fv = doGetProcAddress(libopengl32, "glColor3fv")
glColor3i = doGetProcAddress(libopengl32, "glColor3i")
glColor3iv = doGetProcAddress(libopengl32, "glColor3iv")
glColor3s = doGetProcAddress(libopengl32, "glColor3s")
glColor3sv = doGetProcAddress(libopengl32, "glColor3sv")
glColor3ub = doGetProcAddress(libopengl32, "glColor3ub")
glColor3ubv = doGetProcAddress(libopengl32, "glColor3ubv")
glColor3ui = doGetProcAddress(libopengl32, "glColor3ui")
glColor3uiv = doGetProcAddress(libopengl32, "glColor3uiv")
glColor3us = doGetProcAddress(libopengl32, "glColor3us")
glColor3usv = doGetProcAddress(libopengl32, "glColor3usv")
glColor4b = doGetProcAddress(libopengl32, "glColor4b")
glColor4bv = doGetProcAddress(libopengl32, "glColor4bv")
glColor4d = doGetProcAddress(libopengl32, "glColor4d")
glColor4dv = doGetProcAddress(libopengl32, "glColor4dv")
glColor4f = doGetProcAddress(libopengl32, "glColor4f")
glColor4fv = doGetProcAddress(libopengl32, "glColor4fv")
glColor4i = doGetProcAddress(libopengl32, "glColor4i")
glColor4iv = doGetProcAddress(libopengl32, "glColor4iv")
glColor4s = doGetProcAddress(libopengl32, "glColor4s")
glColor4sv = doGetProcAddress(libopengl32, "glColor4sv")
glColor4ub = doGetProcAddress(libopengl32, "glColor4ub")
glColor4ubv = doGetProcAddress(libopengl32, "glColor4ubv")
glColor4ui = doGetProcAddress(libopengl32, "glColor4ui")
glColor4uiv = doGetProcAddress(libopengl32, "glColor4uiv")
glColor4us = doGetProcAddress(libopengl32, "glColor4us")
glColor4usv = doGetProcAddress(libopengl32, "glColor4usv")
glColorMask = doGetProcAddress(libopengl32, "glColorMask")
glColorMaterial = doGetProcAddress(libopengl32, "glColorMaterial")
glColorPointer = doGetProcAddress(libopengl32, "glColorPointer")
glCopyPixels = doGetProcAddress(libopengl32, "glCopyPixels")
glCopyTexImage1D = doGetProcAddress(libopengl32, "glCopyTexImage1D")
glCopyTexImage2D = doGetProcAddress(libopengl32, "glCopyTexImage2D")
glCopyTexSubImage1D = doGetProcAddress(libopengl32, "glCopyTexSubImage1D")
glCopyTexSubImage2D = doGetProcAddress(libopengl32, "glCopyTexSubImage2D")
glCullFace = doGetProcAddress(libopengl32, "glCullFace")
glDeleteLists = doGetProcAddress(libopengl32, "glDeleteLists")
glDeleteTextures = doGetProcAddress(libopengl32, "glDeleteTextures")
glDepthFunc = doGetProcAddress(libopengl32, "glDepthFunc")
glDepthMask = doGetProcAddress(libopengl32, "glDepthMask")
glDepthRange = doGetProcAddress(libopengl32, "glDepthRange")
glDisable = doGetProcAddress(libopengl32, "glDisable")
glDisableClientState = doGetProcAddress(libopengl32, "glDisableClientState")
glDrawArrays = doGetProcAddress(libopengl32, "glDrawArrays")
glDrawBuffer = doGetProcAddress(libopengl32, "glDrawBuffer")
glDrawElements = doGetProcAddress(libopengl32, "glDrawElements")
glDrawPixels = doGetProcAddress(libopengl32, "glDrawPixels")
glEdgeFlag = doGetProcAddress(libopengl32, "glEdgeFlag")
glEdgeFlagPointer = doGetProcAddress(libopengl32, "glEdgeFlagPointer")
glEdgeFlagv = doGetProcAddress(libopengl32, "glEdgeFlagv")
glEnable = doGetProcAddress(libopengl32, "glEnable")
glEnableClientState = doGetProcAddress(libopengl32, "glEnableClientState")
glEnd = doGetProcAddress(libopengl32, "glEnd")
glEndList = doGetProcAddress(libopengl32, "glEndList")
glEvalCoord1d = doGetProcAddress(libopengl32, "glEvalCoord1d")
glEvalCoord1dv = doGetProcAddress(libopengl32, "glEvalCoord1dv")
glEvalCoord1f = doGetProcAddress(libopengl32, "glEvalCoord1f")
glEvalCoord1fv = doGetProcAddress(libopengl32, "glEvalCoord1fv")
glEvalCoord2d = doGetProcAddress(libopengl32, "glEvalCoord2d")
glEvalCoord2dv = doGetProcAddress(libopengl32, "glEvalCoord2dv")
glEvalCoord2f = doGetProcAddress(libopengl32, "glEvalCoord2f")
glEvalCoord2fv = doGetProcAddress(libopengl32, "glEvalCoord2fv")
glEvalMesh1 = doGetProcAddress(libopengl32, "glEvalMesh1")
glEvalMesh2 = doGetProcAddress(libopengl32, "glEvalMesh2")
glEvalPoint1 = doGetProcAddress(libopengl32, "glEvalPoint1")
glEvalPoint2 = doGetProcAddress(libopengl32, "glEvalPoint2")
glFeedbackBuffer = doGetProcAddress(libopengl32, "glFeedbackBuffer")
glFinish = doGetProcAddress(libopengl32, "glFinish")
glFlush = doGetProcAddress(libopengl32, "glFlush")
glFogf = doGetProcAddress(libopengl32, "glFogf")
glFogfv = doGetProcAddress(libopengl32, "glFogfv")
glFogi = doGetProcAddress(libopengl32, "glFogi")
glFogiv = doGetProcAddress(libopengl32, "glFogiv")
glFrontFace = doGetProcAddress(libopengl32, "glFrontFace")
glFrustum = doGetProcAddress(libopengl32, "glFrustum")
glGenLists = doGetProcAddress(libopengl32, "glGenLists")
glGenTextures = doGetProcAddress(libopengl32, "glGenTextures")
glGetBooleanv = doGetProcAddress(libopengl32, "glGetBooleanv")
glGetClipPlane = doGetProcAddress(libopengl32, "glGetClipPlane")
glGetDoublev = doGetProcAddress(libopengl32, "glGetDoublev")
glGetError = doGetProcAddress(libopengl32, "glGetError")
glGetFloatv = doGetProcAddress(libopengl32, "glGetFloatv")
glGetIntegerv = doGetProcAddress(libopengl32, "glGetIntegerv")
glGetLightfv = doGetProcAddress(libopengl32, "glGetLightfv")
glGetLightiv = doGetProcAddress(libopengl32, "glGetLightiv")
glGetMapdv = doGetProcAddress(libopengl32, "glGetMapdv")
glGetMapfv = doGetProcAddress(libopengl32, "glGetMapfv")
glGetMapiv = doGetProcAddress(libopengl32, "glGetMapiv")
glGetMaterialfv = doGetProcAddress(libopengl32, "glGetMaterialfv")
glGetMaterialiv = doGetProcAddress(libopengl32, "glGetMaterialiv")
glGetPixelMapfv = doGetProcAddress(libopengl32, "glGetPixelMapfv")
glGetPixelMapuiv = doGetProcAddress(libopengl32, "glGetPixelMapuiv")
glGetPixelMapusv = doGetProcAddress(libopengl32, "glGetPixelMapusv")
glGetPointerv = doGetProcAddress(libopengl32, "glGetPointerv")
glGetPolygonStipple = doGetProcAddress(libopengl32, "glGetPolygonStipple")
glGetTexEnvfv = doGetProcAddress(libopengl32, "glGetTexEnvfv")
glGetTexEnviv = doGetProcAddress(libopengl32, "glGetTexEnviv")
glGetTexGendv = doGetProcAddress(libopengl32, "glGetTexGendv")
glGetTexGenfv = doGetProcAddress(libopengl32, "glGetTexGenfv")
glGetTexGeniv = doGetProcAddress(libopengl32, "glGetTexGeniv")
glGetTexImage = doGetProcAddress(libopengl32, "glGetTexImage")
glGetTexLevelParameterfv = doGetProcAddress(libopengl32, "glGetTexLevelParameterfv")
glGetTexLevelParameteriv = doGetProcAddress(libopengl32, "glGetTexLevelParameteriv")
glGetTexParameterfv = doGetProcAddress(libopengl32, "glGetTexParameterfv")
glGetTexParameteriv = doGetProcAddress(libopengl32, "glGetTexParameteriv")
glHint = doGetProcAddress(libopengl32, "glHint")
glIndexMask = doGetProcAddress(libopengl32, "glIndexMask")
glIndexPointer = doGetProcAddress(libopengl32, "glIndexPointer")
glIndexd = doGetProcAddress(libopengl32, "glIndexd")
glIndexdv = doGetProcAddress(libopengl32, "glIndexdv")
glIndexf = doGetProcAddress(libopengl32, "glIndexf")
glIndexfv = doGetProcAddress(libopengl32, "glIndexfv")
glIndexi = doGetProcAddress(libopengl32, "glIndexi")
glIndexiv = doGetProcAddress(libopengl32, "glIndexiv")
glIndexs = doGetProcAddress(libopengl32, "glIndexs")
glIndexsv = doGetProcAddress(libopengl32, "glIndexsv")
glIndexub = doGetProcAddress(libopengl32, "glIndexub")
glIndexubv = doGetProcAddress(libopengl32, "glIndexubv")
glInitNames = doGetProcAddress(libopengl32, "glInitNames")
glInterleavedArrays = doGetProcAddress(libopengl32, "glInterleavedArrays")
glIsEnabled = doGetProcAddress(libopengl32, "glIsEnabled")
glIsList = doGetProcAddress(libopengl32, "glIsList")
glIsTexture = doGetProcAddress(libopengl32, "glIsTexture")
glLightModelf = doGetProcAddress(libopengl32, "glLightModelf")
glLightModelfv = doGetProcAddress(libopengl32, "glLightModelfv")
glLightModeli = doGetProcAddress(libopengl32, "glLightModeli")
glLightModeliv = doGetProcAddress(libopengl32, "glLightModeliv")
glLightf = doGetProcAddress(libopengl32, "glLightf")
glLightfv = doGetProcAddress(libopengl32, "glLightfv")
glLighti = doGetProcAddress(libopengl32, "glLighti")
glLightiv = doGetProcAddress(libopengl32, "glLightiv")
glLineStipple = doGetProcAddress(libopengl32, "glLineStipple")
glLineWidth = doGetProcAddress(libopengl32, "glLineWidth")
glListBase = doGetProcAddress(libopengl32, "glListBase")
glLoadIdentity = doGetProcAddress(libopengl32, "glLoadIdentity")
glLoadMatrixd = doGetProcAddress(libopengl32, "glLoadMatrixd")
glLoadMatrixf = doGetProcAddress(libopengl32, "glLoadMatrixf")
glLoadName = doGetProcAddress(libopengl32, "glLoadName")
glLogicOp = doGetProcAddress(libopengl32, "glLogicOp")
glMap1d = doGetProcAddress(libopengl32, "glMap1d")
glMap1f = doGetProcAddress(libopengl32, "glMap1f")
glMap2d = doGetProcAddress(libopengl32, "glMap2d")
glMap2f = doGetProcAddress(libopengl32, "glMap2f")
glMapGrid1d = doGetProcAddress(libopengl32, "glMapGrid1d")
glMapGrid1f = doGetProcAddress(libopengl32, "glMapGrid1f")
glMapGrid2d = doGetProcAddress(libopengl32, "glMapGrid2d")
glMapGrid2f = doGetProcAddress(libopengl32, "glMapGrid2f")
glMaterialf = doGetProcAddress(libopengl32, "glMaterialf")
glMaterialfv = doGetProcAddress(libopengl32, "glMaterialfv")
glMateriali = doGetProcAddress(libopengl32, "glMateriali")
glMaterialiv = doGetProcAddress(libopengl32, "glMaterialiv")
glMatrixMode = doGetProcAddress(libopengl32, "glMatrixMode")
glMultMatrixd = doGetProcAddress(libopengl32, "glMultMatrixd")
glMultMatrixf = doGetProcAddress(libopengl32, "glMultMatrixf")
glNewList = doGetProcAddress(libopengl32, "glNewList")
glNormal3b = doGetProcAddress(libopengl32, "glNormal3b")
glNormal3bv = doGetProcAddress(libopengl32, "glNormal3bv")
glNormal3d = doGetProcAddress(libopengl32, "glNormal3d")
glNormal3dv = doGetProcAddress(libopengl32, "glNormal3dv")
glNormal3f = doGetProcAddress(libopengl32, "glNormal3f")
glNormal3fv = doGetProcAddress(libopengl32, "glNormal3fv")
glNormal3i = doGetProcAddress(libopengl32, "glNormal3i")
glNormal3iv = doGetProcAddress(libopengl32, "glNormal3iv")
glNormal3s = doGetProcAddress(libopengl32, "glNormal3s")
glNormal3sv = doGetProcAddress(libopengl32, "glNormal3sv")
glNormalPointer = doGetProcAddress(libopengl32, "glNormalPointer")
glOrtho = doGetProcAddress(libopengl32, "glOrtho")
glPassThrough = doGetProcAddress(libopengl32, "glPassThrough")
glPixelMapfv = doGetProcAddress(libopengl32, "glPixelMapfv")
glPixelMapuiv = doGetProcAddress(libopengl32, "glPixelMapuiv")
glPixelMapusv = doGetProcAddress(libopengl32, "glPixelMapusv")
glPixelStoref = doGetProcAddress(libopengl32, "glPixelStoref")
glPixelStorei = doGetProcAddress(libopengl32, "glPixelStorei")
glPixelTransferf = doGetProcAddress(libopengl32, "glPixelTransferf")
glPixelTransferi = doGetProcAddress(libopengl32, "glPixelTransferi")
glPixelZoom = doGetProcAddress(libopengl32, "glPixelZoom")
glPointSize = doGetProcAddress(libopengl32, "glPointSize")
glPolygonMode = doGetProcAddress(libopengl32, "glPolygonMode")
glPolygonOffset = doGetProcAddress(libopengl32, "glPolygonOffset")
glPolygonStipple = doGetProcAddress(libopengl32, "glPolygonStipple")
glPopAttrib = doGetProcAddress(libopengl32, "glPopAttrib")
glPopClientAttrib = doGetProcAddress(libopengl32, "glPopClientAttrib")
glPopMatrix = doGetProcAddress(libopengl32, "glPopMatrix")
glPopName = doGetProcAddress(libopengl32, "glPopName")
glPrioritizeTextures = doGetProcAddress(libopengl32, "glPrioritizeTextures")
glPushAttrib = doGetProcAddress(libopengl32, "glPushAttrib")
glPushClientAttrib = doGetProcAddress(libopengl32, "glPushClientAttrib")
glPushMatrix = doGetProcAddress(libopengl32, "glPushMatrix")
glPushName = doGetProcAddress(libopengl32, "glPushName")
glRasterPos2d = doGetProcAddress(libopengl32, "glRasterPos2d")
glRasterPos2dv = doGetProcAddress(libopengl32, "glRasterPos2dv")
glRasterPos2f = doGetProcAddress(libopengl32, "glRasterPos2f")
glRasterPos2fv = doGetProcAddress(libopengl32, "glRasterPos2fv")
glRasterPos2i = doGetProcAddress(libopengl32, "glRasterPos2i")
glRasterPos2iv = doGetProcAddress(libopengl32, "glRasterPos2iv")
glRasterPos2s = doGetProcAddress(libopengl32, "glRasterPos2s")
glRasterPos2sv = doGetProcAddress(libopengl32, "glRasterPos2sv")
glRasterPos3d = doGetProcAddress(libopengl32, "glRasterPos3d")
glRasterPos3dv = doGetProcAddress(libopengl32, "glRasterPos3dv")
glRasterPos3f = doGetProcAddress(libopengl32, "glRasterPos3f")
glRasterPos3fv = doGetProcAddress(libopengl32, "glRasterPos3fv")
glRasterPos3i = doGetProcAddress(libopengl32, "glRasterPos3i")
glRasterPos3iv = doGetProcAddress(libopengl32, "glRasterPos3iv")
glRasterPos3s = doGetProcAddress(libopengl32, "glRasterPos3s")
glRasterPos3sv = doGetProcAddress(libopengl32, "glRasterPos3sv")
glRasterPos4d = doGetProcAddress(libopengl32, "glRasterPos4d")
glRasterPos4dv = doGetProcAddress(libopengl32, "glRasterPos4dv")
glRasterPos4f = doGetProcAddress(libopengl32, "glRasterPos4f")
glRasterPos4fv = doGetProcAddress(libopengl32, "glRasterPos4fv")
glRasterPos4i = doGetProcAddress(libopengl32, "glRasterPos4i")
glRasterPos4iv = doGetProcAddress(libopengl32, "glRasterPos4iv")
glRasterPos4s = doGetProcAddress(libopengl32, "glRasterPos4s")
glRasterPos4sv = doGetProcAddress(libopengl32, "glRasterPos4sv")
glReadBuffer = doGetProcAddress(libopengl32, "glReadBuffer")
glReadPixels = doGetProcAddress(libopengl32, "glReadPixels")
glRectd = doGetProcAddress(libopengl32, "glRectd")
glRectdv = doGetProcAddress(libopengl32, "glRectdv")
glRectf = doGetProcAddress(libopengl32, "glRectf")
glRectfv = doGetProcAddress(libopengl32, "glRectfv")
glRecti = doGetProcAddress(libopengl32, "glRecti")
glRectiv = doGetProcAddress(libopengl32, "glRectiv")
glRects = doGetProcAddress(libopengl32, "glRects")
glRectsv = doGetProcAddress(libopengl32, "glRectsv")
glRenderMode = doGetProcAddress(libopengl32, "glRenderMode")
glRotated = doGetProcAddress(libopengl32, "glRotated")
glRotatef = doGetProcAddress(libopengl32, "glRotatef")
glScaled = doGetProcAddress(libopengl32, "glScaled")
glScalef = doGetProcAddress(libopengl32, "glScalef")
glScissor = doGetProcAddress(libopengl32, "glScissor")
glSelectBuffer = doGetProcAddress(libopengl32, "glSelectBuffer")
glShadeModel = doGetProcAddress(libopengl32, "glShadeModel")
glStencilFunc = doGetProcAddress(libopengl32, "glStencilFunc")
glStencilMask = doGetProcAddress(libopengl32, "glStencilMask")
glStencilOp = doGetProcAddress(libopengl32, "glStencilOp")
glTexCoord1d = doGetProcAddress(libopengl32, "glTexCoord1d")
glTexCoord1dv = doGetProcAddress(libopengl32, "glTexCoord1dv")
glTexCoord1f = doGetProcAddress(libopengl32, "glTexCoord1f")
glTexCoord1fv = doGetProcAddress(libopengl32, "glTexCoord1fv")
glTexCoord1i = doGetProcAddress(libopengl32, "glTexCoord1i")
glTexCoord1iv = doGetProcAddress(libopengl32, "glTexCoord1iv")
glTexCoord1s = doGetProcAddress(libopengl32, "glTexCoord1s")
glTexCoord1sv = doGetProcAddress(libopengl32, "glTexCoord1sv")
glTexCoord2d = doGetProcAddress(libopengl32, "glTexCoord2d")
glTexCoord2dv = doGetProcAddress(libopengl32, "glTexCoord2dv")
glTexCoord2f = doGetProcAddress(libopengl32, "glTexCoord2f")
glTexCoord2fv = doGetProcAddress(libopengl32, "glTexCoord2fv")
glTexCoord2i = doGetProcAddress(libopengl32, "glTexCoord2i")
glTexCoord2iv = doGetProcAddress(libopengl32, "glTexCoord2iv")
glTexCoord2s = doGetProcAddress(libopengl32, "glTexCoord2s")
glTexCoord2sv = doGetProcAddress(libopengl32, "glTexCoord2sv")
glTexCoord3d = doGetProcAddress(libopengl32, "glTexCoord3d")
glTexCoord3dv = doGetProcAddress(libopengl32, "glTexCoord3dv")
glTexCoord3f = doGetProcAddress(libopengl32, "glTexCoord3f")
glTexCoord3fv = doGetProcAddress(libopengl32, "glTexCoord3fv")
glTexCoord3i = doGetProcAddress(libopengl32, "glTexCoord3i")
glTexCoord3iv = doGetProcAddress(libopengl32, "glTexCoord3iv")
glTexCoord3s = doGetProcAddress(libopengl32, "glTexCoord3s")
glTexCoord3sv = doGetProcAddress(libopengl32, "glTexCoord3sv")
glTexCoord4d = doGetProcAddress(libopengl32, "glTexCoord4d")
glTexCoord4dv = doGetProcAddress(libopengl32, "glTexCoord4dv")
glTexCoord4f = doGetProcAddress(libopengl32, "glTexCoord4f")
glTexCoord4fv = doGetProcAddress(libopengl32, "glTexCoord4fv")
glTexCoord4i = doGetProcAddress(libopengl32, "glTexCoord4i")
glTexCoord4iv = doGetProcAddress(libopengl32, "glTexCoord4iv")
glTexCoord4s = doGetProcAddress(libopengl32, "glTexCoord4s")
glTexCoord4sv = doGetProcAddress(libopengl32, "glTexCoord4sv")
glTexCoordPointer = doGetProcAddress(libopengl32, "glTexCoordPointer")
glTexEnvf = doGetProcAddress(libopengl32, "glTexEnvf")
glTexEnvfv = doGetProcAddress(libopengl32, "glTexEnvfv")
glTexEnvi = doGetProcAddress(libopengl32, "glTexEnvi")
glTexEnviv = doGetProcAddress(libopengl32, "glTexEnviv")
glTexGend = doGetProcAddress(libopengl32, "glTexGend")
glTexGendv = doGetProcAddress(libopengl32, "glTexGendv")
glTexGenf = doGetProcAddress(libopengl32, "glTexGenf")
glTexGenfv = doGetProcAddress(libopengl32, "glTexGenfv")
glTexGeni = doGetProcAddress(libopengl32, "glTexGeni")
glTexGeniv = doGetProcAddress(libopengl32, "glTexGeniv")
glTexImage1D = doGetProcAddress(libopengl32, "glTexImage1D")
glTexImage2D = doGetProcAddress(libopengl32, "glTexImage2D")
glTexParameterf = doGetProcAddress(libopengl32, "glTexParameterf")
glTexParameterfv = doGetProcAddress(libopengl32, "glTexParameterfv")
glTexParameteri = doGetProcAddress(libopengl32, "glTexParameteri")
glTexParameteriv = doGetProcAddress(libopengl32, "glTexParameteriv")
glTexSubImage1D = doGetProcAddress(libopengl32, "glTexSubImage1D")
glTexSubImage2D = doGetProcAddress(libopengl32, "glTexSubImage2D")
glTranslated = doGetProcAddress(libopengl32, "glTranslated")
glTranslatef = doGetProcAddress(libopengl32, "glTranslatef")
glVertex2d = doGetProcAddress(libopengl32, "glVertex2d")
glVertex2dv = doGetProcAddress(libopengl32, "glVertex2dv")
glVertex2f = doGetProcAddress(libopengl32, "glVertex2f")
glVertex2fv = doGetProcAddress(libopengl32, "glVertex2fv")
glVertex2i = doGetProcAddress(libopengl32, "glVertex2i")
glVertex2iv = doGetProcAddress(libopengl32, "glVertex2iv")
glVertex2s = doGetProcAddress(libopengl32, "glVertex2s")
glVertex2sv = doGetProcAddress(libopengl32, "glVertex2sv")
glVertex3d = doGetProcAddress(libopengl32, "glVertex3d")
glVertex3dv = doGetProcAddress(libopengl32, "glVertex3dv")
glVertex3f = doGetProcAddress(libopengl32, "glVertex3f")
glVertex3fv = doGetProcAddress(libopengl32, "glVertex3fv")
glVertex3i = doGetProcAddress(libopengl32, "glVertex3i")
glVertex3iv = doGetProcAddress(libopengl32, "glVertex3iv")
glVertex3s = doGetProcAddress(libopengl32, "glVertex3s")
glVertex3sv = doGetProcAddress(libopengl32, "glVertex3sv")
glVertex4d = doGetProcAddress(libopengl32, "glVertex4d")
glVertex4dv = doGetProcAddress(libopengl32, "glVertex4dv")
glVertex4f = doGetProcAddress(libopengl32, "glVertex4f")
glVertex4fv = doGetProcAddress(libopengl32, "glVertex4fv")
glVertex4i = doGetProcAddress(libopengl32, "glVertex4i")
glVertex4iv = doGetProcAddress(libopengl32, "glVertex4iv")
glVertex4s = doGetProcAddress(libopengl32, "glVertex4s")
glVertex4sv = doGetProcAddress(libopengl32, "glVertex4sv")
glVertexPointer = doGetProcAddress(libopengl32, "glVertexPointer")
glViewport = doGetProcAddress(libopengl32, "glViewport")
wglCopyContext = doGetProcAddress(libopengl32, "wglCopyContext")
wglCreateContext = doGetProcAddress(libopengl32, "wglCreateContext")
wglCreateLayerContext = doGetProcAddress(libopengl32, "wglCreateLayerContext")
wglDeleteContext = doGetProcAddress(libopengl32, "wglDeleteContext")
wglDescribeLayerPlane = doGetProcAddress(libopengl32, "wglDescribeLayerPlane")
wglGetCurrentContext = doGetProcAddress(libopengl32, "wglGetCurrentContext")
wglGetCurrentDC = doGetProcAddress(libopengl32, "wglGetCurrentDC")
wglGetLayerPaletteEntries = doGetProcAddress(libopengl32, "wglGetLayerPaletteEntries")
wglGetProcAddress = doGetProcAddress(libopengl32, "wglGetProcAddress")
wglMakeCurrent = doGetProcAddress(libopengl32, "wglMakeCurrent")
wglRealizeLayerPalette = doGetProcAddress(libopengl32, "wglRealizeLayerPalette")
wglSetLayerPaletteEntries = doGetProcAddress(libopengl32, "wglSetLayerPaletteEntries")
wglShareLists = doGetProcAddress(libopengl32, "wglShareLists")
wglSwapLayerBuffers = doGetProcAddress(libopengl32, "wglSwapLayerBuffers")
wglSwapMultipleBuffers = doGetProcAddress(libopengl32, "wglSwapMultipleBuffers")
wglUseFontBitmaps = doGetProcAddress(libopengl32, "wglUseFontBitmapsW")
wglUseFontOutlines = doGetProcAddress(libopengl32, "wglUseFontOutlinesW")
glDebugEntry = doGetProcAddress(libopengl32, "glDebugEntry")
wglChoosePixelFormat = doGetProcAddress(libopengl32, "wglChoosePixelFormat")
wglDescribePixelFormat = doGetProcAddress(libopengl32, "wglDescribePixelFormat")
wglGetPixelFormat = doGetProcAddress(libopengl32, "wglGetPixelFormat")
wglSetPixelFormat = doGetProcAddress(libopengl32, "wglSetPixelFormat")
}
func GlAccum(op GLenum, value GLfloat) {
syscall3(glAccum, 2,
uintptr(op),
uintptr(value),
0)
}
func GlAlphaFunc(aFunc GLenum, ref GLclampf) {
syscall3(glAlphaFunc, 2,
uintptr(aFunc),
uintptr(ref),
0)
}
func GlAreTexturesResident(n GLsizei, textures /*const*/ *GLuint, residences *GLboolean) GLboolean {
ret1 := syscall3(glAreTexturesResident, 3,
uintptr(n),
uintptr(unsafe.Pointer(textures)),
uintptr(unsafe.Pointer(residences)))
return GLboolean(ret1)
}
func GlArrayElement(i GLint) {
syscall3(glArrayElement, 1,
uintptr(i),
0,
0)
}
func GlBegin(mode GLenum) {
syscall3(glBegin, 1,
uintptr(mode),
0,
0)
}
func GlBindTexture(target GLenum, texture GLuint) {
syscall3(glBindTexture, 2,
uintptr(target),
uintptr(texture),
0)
}
func GlBitmap(width GLsizei, height GLsizei, xorig GLfloat, yorig GLfloat, xmove GLfloat, ymove GLfloat, bitmap /*const*/ *GLubyte) {
syscall9(glBitmap, 7,
uintptr(width),
uintptr(height),
uintptr(xorig),
uintptr(yorig),
uintptr(xmove),
uintptr(ymove),
uintptr(unsafe.Pointer(bitmap)),
0,
0)
}
func GlBlendFunc(sfactor GLenum, dfactor GLenum) {
syscall3(glBlendFunc, 2,
uintptr(sfactor),
uintptr(dfactor),
0)
}
func GlCallList(list GLuint) {
syscall3(glCallList, 1,
uintptr(list),
0,
0)
}
func GlCallLists(n GLsizei, aType GLenum, lists /*const*/ uintptr) {
syscall3(glCallLists, 3,
uintptr(n),
uintptr(aType),
lists)
}
func GlClear(mask GLbitfield) {
syscall3(glClear, 1,
uintptr(mask),
0,
0)
}
func GlClearAccum(red GLfloat, green GLfloat, blue GLfloat, alpha GLfloat) {
syscall6(glClearAccum, 4,
uintptr(red),
uintptr(green),
uintptr(blue),
uintptr(alpha),
0,
0)
}
func GlClearColor(red GLclampf, green GLclampf, blue GLclampf, alpha GLclampf) {
syscall6(glClearColor, 4,
uintptr(red),
uintptr(green),
uintptr(blue),
uintptr(alpha),
0,
0)
}
func GlClearDepth(depth GLclampd) {
syscall3(glClearDepth, 1,
uintptr(depth),
0,
0)
}
func GlClearIndex(c GLfloat) {
syscall3(glClearIndex, 1,
uintptr(c),
0,
0)
}
func GlClearStencil(s GLint) {
syscall3(glClearStencil, 1,
uintptr(s),
0,
0)
}
func GlClipPlane(plane GLenum, equation /*const*/ *GLdouble) {
syscall3(glClipPlane, 2,
uintptr(plane),
uintptr(unsafe.Pointer(equation)),
0)
}
func GlColor3b(red GLbyte, green GLbyte, blue GLbyte) {
syscall3(glColor3b, 3,
uintptr(red),
uintptr(green),
uintptr(blue))
}
func GlColor3bv(v /*const*/ *GLbyte) {
syscall3(glColor3bv, 1,
uintptr(unsafe.Pointer(v)),
0,
0)
}
func GlColor3d(red GLdouble, green GLdouble, blue GLdouble) {
syscall3(glColor3d, 3,
uintptr(red),
uintptr(green),
uintptr(blue))
}
func GlColor3dv(v /*const*/ *GLdouble) {
syscall3(glColor3dv, 1,
uintptr(unsafe.Pointer(v)),
0,
0)
}
func GlColor3f(red GLfloat, green GLfloat, blue GLfloat) {
syscall3(glColor3f, 3,
uintptr(red),
uintptr(green),
uintptr(blue))
}
func GlColor3fv(v /*const*/ *GLfloat) {
syscall3(glColor3fv, 1,
uintptr(unsafe.Pointer(v)),
0,
0)
}
func GlColor3i(red GLint, green GLint, blue GLint) {
syscall3(glColor3i, 3,
uintptr(red),
uintptr(green),
uintptr(blue))
}
func GlColor3iv(v /*const*/ *GLint) {
syscall3(glColor3iv, 1,
uintptr(unsafe.Pointer(v)),
0,
0)
}
func GlColor3s(red GLshort, green GLshort, blue GLshort) {
syscall3(glColor3s, 3,
uintptr(red),
uintptr(green),
uintptr(blue))
}
func GlColor3sv(v /*const*/ *GLshort) {
syscall3(glColor3sv, 1,
uintptr(unsafe.Pointer(v)),
0,
0)
}
func GlColor3ub(red GLubyte, green GLubyte, blue GLubyte) {
syscall3(glColor3ub, 3,
uintptr(red),
uintptr(green),
uintptr(blue))
}
func GlColor3ubv(v /*const*/ *GLubyte) {
syscall3(glColor3ubv, 1,
uintptr(unsafe.Pointer(v)),
0,
0)
}
func GlColor3ui(red GLuint, green GLuint, blue GLuint) {
syscall3(glColor3ui, 3,
uintptr(red),
uintptr(green),
uintptr(blue))
}
func GlColor3uiv(v /*const*/ *GLuint) {
syscall3(glColor3uiv, 1,
uintptr(unsafe.Pointer(v)),
0,
0)
}
func GlColor3us(red GLushort, green GLushort, blue GLushort) {
syscall3(glColor3us, 3,
uintptr(red),
uintptr(green),
uintptr(blue))
}
func GlColor3usv(v /*const*/ *GLushort) {
syscall3(glColor3usv, 1,
uintptr(unsafe.Pointer(v)),
0,
0)
}
func GlColor4b(red GLbyte, green GLbyte, blue GLbyte, alpha GLbyte) {
syscall6(glColor4b, 4,
uintptr(red),
uintptr(green),
uintptr(blue),
uintptr(alpha),
0,
0)
}
func GlColor4bv(v /*const*/ *GLbyte) {
syscall3(glColor4bv, 1,
uintptr(unsafe.Pointer(v)),
0,
0)
}