ruby-opengl 0.40.1 → 0.50.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (154) hide show
  1. data/Rakefile +2 -2
  2. data/doc/build_install.txt +48 -28
  3. data/doc/extensions.txt +361 -0
  4. data/doc/history.txt +8 -2
  5. data/doc/requirements_and_design.txt +0 -13
  6. data/doc/roadmap.txt +11 -13
  7. data/doc/supplies/page_template.html +11 -5
  8. data/doc/thanks.txt +2 -4
  9. data/doc/tutorial.txt +1 -4
  10. data/examples/{nehe_lesson02.rb → NeHe/nehe_lesson02.rb} +0 -0
  11. data/examples/{nehe_lesson03.rb → NeHe/nehe_lesson03.rb} +0 -0
  12. data/examples/{nehe_lesson04.rb → NeHe/nehe_lesson04.rb} +0 -0
  13. data/examples/{nehe_lesson05.rb → NeHe/nehe_lesson05.rb} +0 -0
  14. data/examples/NeHe/nehe_lesson36.rb +303 -0
  15. data/examples/OrangeBook/3Dlabs-License.txt +33 -0
  16. data/examples/OrangeBook/brick.frag +36 -0
  17. data/examples/OrangeBook/brick.rb +388 -0
  18. data/examples/OrangeBook/brick.vert +41 -0
  19. data/examples/OrangeBook/particle.frag +17 -0
  20. data/examples/OrangeBook/particle.rb +424 -0
  21. data/examples/OrangeBook/particle.vert +38 -0
  22. data/examples/README +13 -83
  23. data/examples/RedBook/aaindex.rb +97 -0
  24. data/examples/RedBook/aapoly.rb +142 -0
  25. data/examples/RedBook/aargb.rb +119 -0
  26. data/examples/RedBook/accanti.rb +162 -0
  27. data/examples/RedBook/accpersp.rb +215 -0
  28. data/examples/RedBook/alpha.rb +123 -0
  29. data/examples/RedBook/alpha3D.rb +158 -0
  30. data/examples/RedBook/bezcurve.rb +105 -0
  31. data/examples/RedBook/bezmesh.rb +137 -0
  32. data/examples/RedBook/checker.rb +124 -0
  33. data/examples/RedBook/clip.rb +95 -0
  34. data/examples/RedBook/colormat.rb +135 -0
  35. data/examples/RedBook/cube.rb +69 -0
  36. data/examples/RedBook/depthcue.rb +99 -0
  37. data/examples/RedBook/dof.rb +205 -0
  38. data/examples/{legacy → RedBook}/double.rb +59 -58
  39. data/examples/{legacy → RedBook}/drawf.rb +47 -54
  40. data/examples/RedBook/feedback.rb +145 -0
  41. data/examples/RedBook/fog.rb +167 -0
  42. data/examples/RedBook/font.rb +151 -0
  43. data/examples/RedBook/hello.rb +79 -0
  44. data/examples/RedBook/image.rb +137 -0
  45. data/examples/{legacy → RedBook}/jitter.rb +60 -62
  46. data/examples/RedBook/lines.rb +128 -0
  47. data/examples/RedBook/list.rb +111 -0
  48. data/examples/RedBook/material.rb +275 -0
  49. data/examples/RedBook/mipmap.rb +156 -0
  50. data/examples/{legacy → RedBook}/model.rb +66 -72
  51. data/examples/{legacy → RedBook}/movelight.rb +67 -75
  52. data/examples/RedBook/pickdepth.rb +179 -0
  53. data/examples/{legacy → RedBook}/planet.rb +62 -66
  54. data/examples/RedBook/quadric.rb +158 -0
  55. data/examples/RedBook/robot.rb +115 -0
  56. data/examples/RedBook/select.rb +196 -0
  57. data/examples/RedBook/smooth.rb +95 -0
  58. data/examples/RedBook/stencil.rb +163 -0
  59. data/examples/RedBook/stroke.rb +167 -0
  60. data/examples/RedBook/surface.rb +166 -0
  61. data/examples/RedBook/teaambient.rb +132 -0
  62. data/examples/RedBook/teapots.rb +182 -0
  63. data/examples/RedBook/tess.rb +183 -0
  64. data/examples/RedBook/texbind.rb +147 -0
  65. data/examples/RedBook/texgen.rb +169 -0
  66. data/examples/RedBook/texturesurf.rb +128 -0
  67. data/examples/RedBook/varray.rb +159 -0
  68. data/examples/RedBook/wrap.rb +148 -0
  69. data/examples/misc/anisotropic.rb +194 -0
  70. data/examples/misc/font-glut.rb +46 -0
  71. data/examples/{plane.rb → misc/plane.rb} +0 -0
  72. data/examples/misc/readpixel.rb +65 -0
  73. data/examples/{smooth.rb → misc/smooth.rb} +0 -0
  74. data/examples/{test.rb → misc/test.rb} +0 -0
  75. data/ext/common/common.h +252 -70
  76. data/ext/common/gl-enums.h +6102 -7334
  77. data/ext/common/gl-types.h +47 -0
  78. data/ext/common/glu-enums.h +469 -0
  79. data/ext/gl/gl-1.0-1.1.c +842 -2464
  80. data/ext/gl/gl-1.2.c +217 -281
  81. data/ext/gl/gl-1.3.c +113 -133
  82. data/ext/gl/gl-1.4.c +98 -334
  83. data/ext/gl/gl-1.5.c +28 -34
  84. data/ext/gl/gl-2.0.c +26 -235
  85. data/ext/gl/gl-2.1.c +31 -124
  86. data/ext/gl/gl-enums.c +786 -631
  87. data/ext/gl/gl-ext-arb.c +66 -0
  88. data/ext/gl/gl-ext-ext.c +218 -0
  89. data/ext/gl/gl.c +138 -31
  90. data/ext/gl/mkrf_conf.rb +1 -0
  91. data/ext/glu/glu-enums.c +163 -0
  92. data/ext/glu/glu.c +1003 -1205
  93. data/ext/glu/mkrf_conf.rb +1 -0
  94. data/ext/glut/glut.c +1056 -1175
  95. data/lib/opengl.rb +90 -3
  96. data/test/tc_common.rb +26 -13
  97. data/test/tc_ext_arb.rb +73 -0
  98. data/test/tc_ext_ext.rb +74 -0
  99. data/test/tc_func_12.rb +8 -8
  100. data/test/tc_func_13.rb +17 -11
  101. data/test/tc_func_14.rb +8 -8
  102. data/test/tc_func_15.rb +190 -2
  103. data/test/tc_func_20.rb +36 -10
  104. data/test/tc_func_21.rb +445 -2
  105. data/test/tc_glu.rb +305 -0
  106. data/test/tc_misc.rb +1 -0
  107. metadata +84 -68
  108. data/doc/screenshots.txt +0 -23
  109. data/examples/legacy/COPYRIGHT +0 -8
  110. data/examples/legacy/aaindex.rb +0 -98
  111. data/examples/legacy/aapoly.rb +0 -153
  112. data/examples/legacy/aargb.rb +0 -139
  113. data/examples/legacy/accanti.rb +0 -159
  114. data/examples/legacy/accpersp.rb +0 -216
  115. data/examples/legacy/alpha.rb +0 -133
  116. data/examples/legacy/alpha3D.rb +0 -165
  117. data/examples/legacy/bezcurve.rb +0 -107
  118. data/examples/legacy/bezmesh.rb +0 -131
  119. data/examples/legacy/checker.rb +0 -121
  120. data/examples/legacy/clip.rb +0 -104
  121. data/examples/legacy/colormat.rb +0 -145
  122. data/examples/legacy/cube.rb +0 -73
  123. data/examples/legacy/depthcue.rb +0 -101
  124. data/examples/legacy/dof.rb +0 -212
  125. data/examples/legacy/feedback.rb +0 -152
  126. data/examples/legacy/fog.rb +0 -172
  127. data/examples/legacy/font-glut.rb +0 -41
  128. data/examples/legacy/font.rb +0 -158
  129. data/examples/legacy/hello.rb +0 -75
  130. data/examples/legacy/image.rb +0 -145
  131. data/examples/legacy/lines.rb +0 -135
  132. data/examples/legacy/list.rb +0 -120
  133. data/examples/legacy/material.rb +0 -290
  134. data/examples/legacy/mipmap.rb +0 -159
  135. data/examples/legacy/pickdepth.rb +0 -180
  136. data/examples/legacy/quadric.rb +0 -180
  137. data/examples/legacy/readpixel.rb +0 -59
  138. data/examples/legacy/robot.rb +0 -120
  139. data/examples/legacy/select.rb +0 -207
  140. data/examples/legacy/smooth.rb +0 -41
  141. data/examples/legacy/stencil.rb +0 -154
  142. data/examples/legacy/stroke.rb +0 -170
  143. data/examples/legacy/surface.rb +0 -170
  144. data/examples/legacy/teaambient.rb +0 -132
  145. data/examples/legacy/teapots.rb +0 -188
  146. data/examples/legacy/tess.rb +0 -222
  147. data/examples/legacy/texbind.rb +0 -157
  148. data/examples/legacy/texgen.rb +0 -171
  149. data/examples/legacy/texturesurf.rb +0 -128
  150. data/examples/legacy/varray.rb +0 -167
  151. data/examples/legacy/wrap.rb +0 -158
  152. data/lib/gl_prev.rb +0 -46
  153. data/lib/glu_prev.rb +0 -46
  154. data/lib/glut_prev.rb +0 -45
data/ext/gl/gl-enums.c CHANGED
@@ -1,49 +1,28 @@
1
- /*
2
- * Copyright (C) 1999 - 2005 Yoshi <yoshi@giganet.net>
3
- * Copyright (C) 2006 John M. Gabriele <jmg3000@gmail.com>
4
- *
5
- * This program is distributed under the terms of the MIT license.
6
- * See the included MIT-LICENSE file for the terms of this license.
7
- *
8
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
9
- * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
10
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
11
- * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
12
- * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
13
- * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
14
- * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
15
- */
1
+ /* This file was genereated on Mon Jul 23 13:56:17 +0200 2007
2
+ source: http://www.opengl.org/registry/api/enum.spec
3
+ source: http://www.opengl.org/registry/api/enumext.spec
4
+ */
16
5
 
17
- #ifdef __APPLE__
18
- #include <OpenGL/gl.h>
19
- #elif defined WIN32
20
- #include <windows.h>
21
- #include <GL/gl.h>
22
- #else
23
- #include <GL/gl.h>
24
- #endif
25
6
  #include "../common/common.h"
26
-
27
7
  void gl_init_enums(VALUE module)
28
8
  {
29
9
  rb_define_const(module, "GL_1PASS_EXT", INT2NUM(GL_1PASS_EXT));
30
10
  rb_define_const(module, "GL_1PASS_SGIS", INT2NUM(GL_1PASS_SGIS));
31
- rb_define_const(module, "GL_2_BYTES", INT2NUM(GL_2_BYTES));
32
11
  rb_define_const(module, "GL_2D", INT2NUM(GL_2D));
33
12
  rb_define_const(module, "GL_2PASS_0_EXT", INT2NUM(GL_2PASS_0_EXT));
34
13
  rb_define_const(module, "GL_2PASS_0_SGIS", INT2NUM(GL_2PASS_0_SGIS));
35
14
  rb_define_const(module, "GL_2PASS_1_EXT", INT2NUM(GL_2PASS_1_EXT));
36
15
  rb_define_const(module, "GL_2PASS_1_SGIS", INT2NUM(GL_2PASS_1_SGIS));
37
16
  rb_define_const(module, "GL_2X_BIT_ATI", INT2NUM(GL_2X_BIT_ATI));
38
- rb_define_const(module, "GL_3_BYTES", INT2NUM(GL_3_BYTES));
17
+ rb_define_const(module, "GL_2_BYTES", INT2NUM(GL_2_BYTES));
18
+ rb_define_const(module, "GL_3D", INT2NUM(GL_3D));
39
19
  rb_define_const(module, "GL_3D_COLOR", INT2NUM(GL_3D_COLOR));
40
20
  rb_define_const(module, "GL_3D_COLOR_TEXTURE", INT2NUM(GL_3D_COLOR_TEXTURE));
41
- rb_define_const(module, "GL_3D", INT2NUM(GL_3D));
21
+ rb_define_const(module, "GL_3_BYTES", INT2NUM(GL_3_BYTES));
42
22
  rb_define_const(module, "GL_422_AVERAGE_EXT", INT2NUM(GL_422_AVERAGE_EXT));
43
23
  rb_define_const(module, "GL_422_EXT", INT2NUM(GL_422_EXT));
44
24
  rb_define_const(module, "GL_422_REV_AVERAGE_EXT", INT2NUM(GL_422_REV_AVERAGE_EXT));
45
25
  rb_define_const(module, "GL_422_REV_EXT", INT2NUM(GL_422_REV_EXT));
46
- rb_define_const(module, "GL_4_BYTES", INT2NUM(GL_4_BYTES));
47
26
  rb_define_const(module, "GL_4D_COLOR_TEXTURE", INT2NUM(GL_4D_COLOR_TEXTURE));
48
27
  rb_define_const(module, "GL_4PASS_0_EXT", INT2NUM(GL_4PASS_0_EXT));
49
28
  rb_define_const(module, "GL_4PASS_0_SGIS", INT2NUM(GL_4PASS_0_SGIS));
@@ -54,72 +33,82 @@ void gl_init_enums(VALUE module)
54
33
  rb_define_const(module, "GL_4PASS_3_EXT", INT2NUM(GL_4PASS_3_EXT));
55
34
  rb_define_const(module, "GL_4PASS_3_SGIS", INT2NUM(GL_4PASS_3_SGIS));
56
35
  rb_define_const(module, "GL_4X_BIT_ATI", INT2NUM(GL_4X_BIT_ATI));
36
+ rb_define_const(module, "GL_4_BYTES", INT2NUM(GL_4_BYTES));
57
37
  rb_define_const(module, "GL_8X_BIT_ATI", INT2NUM(GL_8X_BIT_ATI));
58
38
  rb_define_const(module, "GL_ABGR_EXT", INT2NUM(GL_ABGR_EXT));
39
+ rb_define_const(module, "GL_ACCUM", INT2NUM(GL_ACCUM));
59
40
  rb_define_const(module, "GL_ACCUM_ALPHA_BITS", INT2NUM(GL_ACCUM_ALPHA_BITS));
60
41
  rb_define_const(module, "GL_ACCUM_BLUE_BITS", INT2NUM(GL_ACCUM_BLUE_BITS));
61
42
  rb_define_const(module, "GL_ACCUM_BUFFER_BIT", INT2NUM(GL_ACCUM_BUFFER_BIT));
62
43
  rb_define_const(module, "GL_ACCUM_CLEAR_VALUE", INT2NUM(GL_ACCUM_CLEAR_VALUE));
63
44
  rb_define_const(module, "GL_ACCUM_GREEN_BITS", INT2NUM(GL_ACCUM_GREEN_BITS));
64
- rb_define_const(module, "GL_ACCUM", INT2NUM(GL_ACCUM));
65
45
  rb_define_const(module, "GL_ACCUM_RED_BITS", INT2NUM(GL_ACCUM_RED_BITS));
66
- rb_define_const(module, "GL_ACTIVE_ATTRIBUTE_MAX_LENGTH", INT2NUM(GL_ACTIVE_ATTRIBUTE_MAX_LENGTH));
67
46
  rb_define_const(module, "GL_ACTIVE_ATTRIBUTES", INT2NUM(GL_ACTIVE_ATTRIBUTES));
47
+ rb_define_const(module, "GL_ACTIVE_ATTRIBUTE_MAX_LENGTH", INT2NUM(GL_ACTIVE_ATTRIBUTE_MAX_LENGTH));
68
48
  rb_define_const(module, "GL_ACTIVE_STENCIL_FACE_EXT", INT2NUM(GL_ACTIVE_STENCIL_FACE_EXT));
69
- rb_define_const(module, "GL_ACTIVE_TEXTURE_ARB", INT2NUM(GL_ACTIVE_TEXTURE_ARB));
70
49
  rb_define_const(module, "GL_ACTIVE_TEXTURE", INT2NUM(GL_ACTIVE_TEXTURE));
71
- rb_define_const(module, "GL_ACTIVE_UNIFORM_MAX_LENGTH", INT2NUM(GL_ACTIVE_UNIFORM_MAX_LENGTH));
50
+ rb_define_const(module, "GL_ACTIVE_TEXTURE_ARB", INT2NUM(GL_ACTIVE_TEXTURE_ARB));
72
51
  rb_define_const(module, "GL_ACTIVE_UNIFORMS", INT2NUM(GL_ACTIVE_UNIFORMS));
52
+ rb_define_const(module, "GL_ACTIVE_UNIFORM_MAX_LENGTH", INT2NUM(GL_ACTIVE_UNIFORM_MAX_LENGTH));
53
+ rb_define_const(module, "GL_ACTIVE_VARYINGS_NV", INT2NUM(GL_ACTIVE_VARYINGS_NV));
54
+ rb_define_const(module, "GL_ACTIVE_VARYING_MAX_LENGTH_NV", INT2NUM(GL_ACTIVE_VARYING_MAX_LENGTH_NV));
73
55
  rb_define_const(module, "GL_ACTIVE_VERTEX_UNITS_ARB", INT2NUM(GL_ACTIVE_VERTEX_UNITS_ARB));
74
- rb_define_const(module, "GL_ADD_ATI", INT2NUM(GL_ADD_ATI));
75
56
  rb_define_const(module, "GL_ADD", INT2NUM(GL_ADD));
57
+ rb_define_const(module, "GL_ADD_ATI", INT2NUM(GL_ADD_ATI));
58
+ rb_define_const(module, "GL_ADD_SIGNED", INT2NUM(GL_ADD_SIGNED));
76
59
  rb_define_const(module, "GL_ADD_SIGNED_ARB", INT2NUM(GL_ADD_SIGNED_ARB));
77
60
  rb_define_const(module, "GL_ADD_SIGNED_EXT", INT2NUM(GL_ADD_SIGNED_EXT));
78
- rb_define_const(module, "GL_ADD_SIGNED", INT2NUM(GL_ADD_SIGNED));
79
61
  rb_define_const(module, "GL_ALIASED_LINE_WIDTH_RANGE", INT2NUM(GL_ALIASED_LINE_WIDTH_RANGE));
80
62
  rb_define_const(module, "GL_ALIASED_POINT_SIZE_RANGE", INT2NUM(GL_ALIASED_POINT_SIZE_RANGE));
81
- rb_define_const(module, "GL_ALL_ATTRIB_BITS", INT2NUM(GL_ALL_ATTRIB_BITS));
82
- rb_define_const(module, "GL_ALL_COMPLETED_NV", INT2NUM(GL_ALL_COMPLETED_NV));
83
63
  rb_define_const(module, "GL_ALLOW_DRAW_FRG_HINT_PGI", INT2NUM(GL_ALLOW_DRAW_FRG_HINT_PGI));
84
64
  rb_define_const(module, "GL_ALLOW_DRAW_MEM_HINT_PGI", INT2NUM(GL_ALLOW_DRAW_MEM_HINT_PGI));
85
65
  rb_define_const(module, "GL_ALLOW_DRAW_OBJ_HINT_PGI", INT2NUM(GL_ALLOW_DRAW_OBJ_HINT_PGI));
86
66
  rb_define_const(module, "GL_ALLOW_DRAW_WIN_HINT_PGI", INT2NUM(GL_ALLOW_DRAW_WIN_HINT_PGI));
87
- rb_define_const(module, "GL_ALPHA12_EXT", INT2NUM(GL_ALPHA12_EXT));
67
+ rb_define_const(module, "GL_ALL_ATTRIB_BITS", INT2NUM(GL_ALL_ATTRIB_BITS));
68
+ rb_define_const(module, "GL_ALL_COMPLETED_NV", INT2NUM(GL_ALL_COMPLETED_NV));
69
+ rb_define_const(module, "GL_ALPHA", INT2NUM(GL_ALPHA));
88
70
  rb_define_const(module, "GL_ALPHA12", INT2NUM(GL_ALPHA12));
89
- rb_define_const(module, "GL_ALPHA16_EXT", INT2NUM(GL_ALPHA16_EXT));
90
- rb_define_const(module, "GL_ALPHA16F_ARB", INT2NUM(GL_ALPHA16F_ARB));
71
+ rb_define_const(module, "GL_ALPHA12_EXT", INT2NUM(GL_ALPHA12_EXT));
91
72
  rb_define_const(module, "GL_ALPHA16", INT2NUM(GL_ALPHA16));
73
+ rb_define_const(module, "GL_ALPHA16F_ARB", INT2NUM(GL_ALPHA16F_ARB));
74
+ rb_define_const(module, "GL_ALPHA16I_EXT", INT2NUM(GL_ALPHA16I_EXT));
75
+ rb_define_const(module, "GL_ALPHA16UI_EXT", INT2NUM(GL_ALPHA16UI_EXT));
76
+ rb_define_const(module, "GL_ALPHA16_EXT", INT2NUM(GL_ALPHA16_EXT));
92
77
  rb_define_const(module, "GL_ALPHA32F_ARB", INT2NUM(GL_ALPHA32F_ARB));
93
- rb_define_const(module, "GL_ALPHA4_EXT", INT2NUM(GL_ALPHA4_EXT));
78
+ rb_define_const(module, "GL_ALPHA32I_EXT", INT2NUM(GL_ALPHA32I_EXT));
79
+ rb_define_const(module, "GL_ALPHA32UI_EXT", INT2NUM(GL_ALPHA32UI_EXT));
94
80
  rb_define_const(module, "GL_ALPHA4", INT2NUM(GL_ALPHA4));
95
- rb_define_const(module, "GL_ALPHA8_EXT", INT2NUM(GL_ALPHA8_EXT));
81
+ rb_define_const(module, "GL_ALPHA4_EXT", INT2NUM(GL_ALPHA4_EXT));
96
82
  rb_define_const(module, "GL_ALPHA8", INT2NUM(GL_ALPHA8));
83
+ rb_define_const(module, "GL_ALPHA8I_EXT", INT2NUM(GL_ALPHA8I_EXT));
84
+ rb_define_const(module, "GL_ALPHA8UI_EXT", INT2NUM(GL_ALPHA8UI_EXT));
85
+ rb_define_const(module, "GL_ALPHA8_EXT", INT2NUM(GL_ALPHA8_EXT));
97
86
  rb_define_const(module, "GL_ALPHA_BIAS", INT2NUM(GL_ALPHA_BIAS));
98
87
  rb_define_const(module, "GL_ALPHA_BITS", INT2NUM(GL_ALPHA_BITS));
99
88
  rb_define_const(module, "GL_ALPHA_FLOAT16_ATI", INT2NUM(GL_ALPHA_FLOAT16_ATI));
100
89
  rb_define_const(module, "GL_ALPHA_FLOAT32_ATI", INT2NUM(GL_ALPHA_FLOAT32_ATI));
101
- rb_define_const(module, "GL_ALPHA", INT2NUM(GL_ALPHA));
90
+ rb_define_const(module, "GL_ALPHA_INTEGER_EXT", INT2NUM(GL_ALPHA_INTEGER_EXT));
102
91
  rb_define_const(module, "GL_ALPHA_MAX_CLAMP_INGR", INT2NUM(GL_ALPHA_MAX_CLAMP_INGR));
103
92
  rb_define_const(module, "GL_ALPHA_MAX_SGIX", INT2NUM(GL_ALPHA_MAX_SGIX));
104
93
  rb_define_const(module, "GL_ALPHA_MIN_CLAMP_INGR", INT2NUM(GL_ALPHA_MIN_CLAMP_INGR));
105
94
  rb_define_const(module, "GL_ALPHA_MIN_SGIX", INT2NUM(GL_ALPHA_MIN_SGIX));
106
95
  rb_define_const(module, "GL_ALPHA_SCALE", INT2NUM(GL_ALPHA_SCALE));
107
- rb_define_const(module, "GL_ALPHA_TEST_FUNC", INT2NUM(GL_ALPHA_TEST_FUNC));
108
96
  rb_define_const(module, "GL_ALPHA_TEST", INT2NUM(GL_ALPHA_TEST));
97
+ rb_define_const(module, "GL_ALPHA_TEST_FUNC", INT2NUM(GL_ALPHA_TEST_FUNC));
109
98
  rb_define_const(module, "GL_ALPHA_TEST_REF", INT2NUM(GL_ALPHA_TEST_REF));
110
- rb_define_const(module, "GL_ALWAYS_FAST_HINT_PGI", INT2NUM(GL_ALWAYS_FAST_HINT_PGI));
111
99
  rb_define_const(module, "GL_ALWAYS", INT2NUM(GL_ALWAYS));
100
+ rb_define_const(module, "GL_ALWAYS_FAST_HINT_PGI", INT2NUM(GL_ALWAYS_FAST_HINT_PGI));
112
101
  rb_define_const(module, "GL_ALWAYS_SOFT_HINT_PGI", INT2NUM(GL_ALWAYS_SOFT_HINT_PGI));
113
- rb_define_const(module, "GL_AMBIENT_AND_DIFFUSE", INT2NUM(GL_AMBIENT_AND_DIFFUSE));
114
102
  rb_define_const(module, "GL_AMBIENT", INT2NUM(GL_AMBIENT));
103
+ rb_define_const(module, "GL_AMBIENT_AND_DIFFUSE", INT2NUM(GL_AMBIENT_AND_DIFFUSE));
115
104
  rb_define_const(module, "GL_AND", INT2NUM(GL_AND));
116
105
  rb_define_const(module, "GL_AND_INVERTED", INT2NUM(GL_AND_INVERTED));
117
106
  rb_define_const(module, "GL_AND_REVERSE", INT2NUM(GL_AND_REVERSE));
118
107
  rb_define_const(module, "GL_ARB_imaging", INT2NUM(GL_ARB_imaging));
108
+ rb_define_const(module, "GL_ARRAY_BUFFER", INT2NUM(GL_ARRAY_BUFFER));
119
109
  rb_define_const(module, "GL_ARRAY_BUFFER_ARB", INT2NUM(GL_ARRAY_BUFFER_ARB));
120
- rb_define_const(module, "GL_ARRAY_BUFFER_BINDING_ARB", INT2NUM(GL_ARRAY_BUFFER_BINDING_ARB));
121
110
  rb_define_const(module, "GL_ARRAY_BUFFER_BINDING", INT2NUM(GL_ARRAY_BUFFER_BINDING));
122
- rb_define_const(module, "GL_ARRAY_BUFFER", INT2NUM(GL_ARRAY_BUFFER));
111
+ rb_define_const(module, "GL_ARRAY_BUFFER_BINDING_ARB", INT2NUM(GL_ARRAY_BUFFER_BINDING_ARB));
123
112
  rb_define_const(module, "GL_ARRAY_ELEMENT_LOCK_COUNT_EXT", INT2NUM(GL_ARRAY_ELEMENT_LOCK_COUNT_EXT));
124
113
  rb_define_const(module, "GL_ARRAY_ELEMENT_LOCK_FIRST_EXT", INT2NUM(GL_ARRAY_ELEMENT_LOCK_FIRST_EXT));
125
114
  rb_define_const(module, "GL_ARRAY_OBJECT_BUFFER_ATI", INT2NUM(GL_ARRAY_OBJECT_BUFFER_ATI));
@@ -147,11 +136,15 @@ void gl_init_enums(VALUE module)
147
136
  rb_define_const(module, "GL_BACK", INT2NUM(GL_BACK));
148
137
  rb_define_const(module, "GL_BACK_LEFT", INT2NUM(GL_BACK_LEFT));
149
138
  rb_define_const(module, "GL_BACK_NORMALS_HINT_PGI", INT2NUM(GL_BACK_NORMALS_HINT_PGI));
139
+ rb_define_const(module, "GL_BACK_PRIMARY_COLOR_NV", INT2NUM(GL_BACK_PRIMARY_COLOR_NV));
150
140
  rb_define_const(module, "GL_BACK_RIGHT", INT2NUM(GL_BACK_RIGHT));
151
- rb_define_const(module, "GL_BGRA_EXT", INT2NUM(GL_BGRA_EXT));
141
+ rb_define_const(module, "GL_BACK_SECONDARY_COLOR_NV", INT2NUM(GL_BACK_SECONDARY_COLOR_NV));
142
+ rb_define_const(module, "GL_BGR", INT2NUM(GL_BGR));
152
143
  rb_define_const(module, "GL_BGRA", INT2NUM(GL_BGRA));
144
+ rb_define_const(module, "GL_BGRA_EXT", INT2NUM(GL_BGRA_EXT));
145
+ rb_define_const(module, "GL_BGRA_INTEGER_EXT", INT2NUM(GL_BGRA_INTEGER_EXT));
153
146
  rb_define_const(module, "GL_BGR_EXT", INT2NUM(GL_BGR_EXT));
154
- rb_define_const(module, "GL_BGR", INT2NUM(GL_BGR));
147
+ rb_define_const(module, "GL_BGR_INTEGER_EXT", INT2NUM(GL_BGR_INTEGER_EXT));
155
148
  rb_define_const(module, "GL_BIAS_BIT_ATI", INT2NUM(GL_BIAS_BIT_ATI));
156
149
  rb_define_const(module, "GL_BIAS_BY_NEGATIVE_ONE_HALF_NV", INT2NUM(GL_BIAS_BY_NEGATIVE_ONE_HALF_NV));
157
150
  rb_define_const(module, "GL_BINORMAL_ARRAY_EXT", INT2NUM(GL_BINORMAL_ARRAY_EXT));
@@ -160,52 +153,53 @@ void gl_init_enums(VALUE module)
160
153
  rb_define_const(module, "GL_BINORMAL_ARRAY_TYPE_EXT", INT2NUM(GL_BINORMAL_ARRAY_TYPE_EXT));
161
154
  rb_define_const(module, "GL_BITMAP", INT2NUM(GL_BITMAP));
162
155
  rb_define_const(module, "GL_BITMAP_TOKEN", INT2NUM(GL_BITMAP_TOKEN));
163
- rb_define_const(module, "GL_BLEND_COLOR_EXT", INT2NUM(GL_BLEND_COLOR_EXT));
156
+ rb_define_const(module, "GL_BLEND", INT2NUM(GL_BLEND));
164
157
  rb_define_const(module, "GL_BLEND_COLOR", INT2NUM(GL_BLEND_COLOR));
165
- rb_define_const(module, "GL_BLEND_DST_ALPHA_EXT", INT2NUM(GL_BLEND_DST_ALPHA_EXT));
166
- rb_define_const(module, "GL_BLEND_DST_ALPHA", INT2NUM(GL_BLEND_DST_ALPHA));
158
+ rb_define_const(module, "GL_BLEND_COLOR_EXT", INT2NUM(GL_BLEND_COLOR_EXT));
167
159
  rb_define_const(module, "GL_BLEND_DST", INT2NUM(GL_BLEND_DST));
168
- rb_define_const(module, "GL_BLEND_DST_RGB_EXT", INT2NUM(GL_BLEND_DST_RGB_EXT));
160
+ rb_define_const(module, "GL_BLEND_DST_ALPHA", INT2NUM(GL_BLEND_DST_ALPHA));
161
+ rb_define_const(module, "GL_BLEND_DST_ALPHA_EXT", INT2NUM(GL_BLEND_DST_ALPHA_EXT));
169
162
  rb_define_const(module, "GL_BLEND_DST_RGB", INT2NUM(GL_BLEND_DST_RGB));
170
- rb_define_const(module, "GL_BLEND_EQUATION_ALPHA_EXT", INT2NUM(GL_BLEND_EQUATION_ALPHA_EXT));
163
+ rb_define_const(module, "GL_BLEND_DST_RGB_EXT", INT2NUM(GL_BLEND_DST_RGB_EXT));
164
+ rb_define_const(module, "GL_BLEND_EQUATION", INT2NUM(GL_BLEND_EQUATION));
171
165
  rb_define_const(module, "GL_BLEND_EQUATION_ALPHA", INT2NUM(GL_BLEND_EQUATION_ALPHA));
166
+ rb_define_const(module, "GL_BLEND_EQUATION_ALPHA_EXT", INT2NUM(GL_BLEND_EQUATION_ALPHA_EXT));
172
167
  rb_define_const(module, "GL_BLEND_EQUATION_EXT", INT2NUM(GL_BLEND_EQUATION_EXT));
173
- rb_define_const(module, "GL_BLEND_EQUATION", INT2NUM(GL_BLEND_EQUATION));
174
- rb_define_const(module, "GL_BLEND_EQUATION_RGB_EXT", INT2NUM(GL_BLEND_EQUATION_RGB_EXT));
175
168
  rb_define_const(module, "GL_BLEND_EQUATION_RGB", INT2NUM(GL_BLEND_EQUATION_RGB));
176
- rb_define_const(module, "GL_BLEND", INT2NUM(GL_BLEND));
177
- rb_define_const(module, "GL_BLEND_SRC_ALPHA_EXT", INT2NUM(GL_BLEND_SRC_ALPHA_EXT));
178
- rb_define_const(module, "GL_BLEND_SRC_ALPHA", INT2NUM(GL_BLEND_SRC_ALPHA));
169
+ rb_define_const(module, "GL_BLEND_EQUATION_RGB_EXT", INT2NUM(GL_BLEND_EQUATION_RGB_EXT));
179
170
  rb_define_const(module, "GL_BLEND_SRC", INT2NUM(GL_BLEND_SRC));
180
- rb_define_const(module, "GL_BLEND_SRC_RGB_EXT", INT2NUM(GL_BLEND_SRC_RGB_EXT));
171
+ rb_define_const(module, "GL_BLEND_SRC_ALPHA", INT2NUM(GL_BLEND_SRC_ALPHA));
172
+ rb_define_const(module, "GL_BLEND_SRC_ALPHA_EXT", INT2NUM(GL_BLEND_SRC_ALPHA_EXT));
181
173
  rb_define_const(module, "GL_BLEND_SRC_RGB", INT2NUM(GL_BLEND_SRC_RGB));
174
+ rb_define_const(module, "GL_BLEND_SRC_RGB_EXT", INT2NUM(GL_BLEND_SRC_RGB_EXT));
175
+ rb_define_const(module, "GL_BLUE", INT2NUM(GL_BLUE));
182
176
  rb_define_const(module, "GL_BLUE_BIAS", INT2NUM(GL_BLUE_BIAS));
183
- rb_define_const(module, "GL_BLUE_BIT_ATI", INT2NUM(GL_BLUE_BIT_ATI));
184
177
  rb_define_const(module, "GL_BLUE_BITS", INT2NUM(GL_BLUE_BITS));
185
- rb_define_const(module, "GL_BLUE", INT2NUM(GL_BLUE));
178
+ rb_define_const(module, "GL_BLUE_BIT_ATI", INT2NUM(GL_BLUE_BIT_ATI));
179
+ rb_define_const(module, "GL_BLUE_INTEGER_EXT", INT2NUM(GL_BLUE_INTEGER_EXT));
186
180
  rb_define_const(module, "GL_BLUE_MAX_CLAMP_INGR", INT2NUM(GL_BLUE_MAX_CLAMP_INGR));
187
181
  rb_define_const(module, "GL_BLUE_MIN_CLAMP_INGR", INT2NUM(GL_BLUE_MIN_CLAMP_INGR));
188
182
  rb_define_const(module, "GL_BLUE_SCALE", INT2NUM(GL_BLUE_SCALE));
189
- rb_define_const(module, "GL_BOOL_ARB", INT2NUM(GL_BOOL_ARB));
190
183
  rb_define_const(module, "GL_BOOL", INT2NUM(GL_BOOL));
191
- rb_define_const(module, "GL_BOOL_VEC2_ARB", INT2NUM(GL_BOOL_VEC2_ARB));
184
+ rb_define_const(module, "GL_BOOL_ARB", INT2NUM(GL_BOOL_ARB));
192
185
  rb_define_const(module, "GL_BOOL_VEC2", INT2NUM(GL_BOOL_VEC2));
193
- rb_define_const(module, "GL_BOOL_VEC3_ARB", INT2NUM(GL_BOOL_VEC3_ARB));
186
+ rb_define_const(module, "GL_BOOL_VEC2_ARB", INT2NUM(GL_BOOL_VEC2_ARB));
194
187
  rb_define_const(module, "GL_BOOL_VEC3", INT2NUM(GL_BOOL_VEC3));
195
- rb_define_const(module, "GL_BOOL_VEC4_ARB", INT2NUM(GL_BOOL_VEC4_ARB));
188
+ rb_define_const(module, "GL_BOOL_VEC3_ARB", INT2NUM(GL_BOOL_VEC3_ARB));
196
189
  rb_define_const(module, "GL_BOOL_VEC4", INT2NUM(GL_BOOL_VEC4));
197
- rb_define_const(module, "GL_BUFFER_ACCESS_ARB", INT2NUM(GL_BUFFER_ACCESS_ARB));
190
+ rb_define_const(module, "GL_BOOL_VEC4_ARB", INT2NUM(GL_BOOL_VEC4_ARB));
198
191
  rb_define_const(module, "GL_BUFFER_ACCESS", INT2NUM(GL_BUFFER_ACCESS));
192
+ rb_define_const(module, "GL_BUFFER_ACCESS_ARB", INT2NUM(GL_BUFFER_ACCESS_ARB));
199
193
  rb_define_const(module, "GL_BUFFER_FLUSHING_UNMAP_APPLE", INT2NUM(GL_BUFFER_FLUSHING_UNMAP_APPLE));
200
- rb_define_const(module, "GL_BUFFER_MAPPED_ARB", INT2NUM(GL_BUFFER_MAPPED_ARB));
201
194
  rb_define_const(module, "GL_BUFFER_MAPPED", INT2NUM(GL_BUFFER_MAPPED));
202
- rb_define_const(module, "GL_BUFFER_MAP_POINTER_ARB", INT2NUM(GL_BUFFER_MAP_POINTER_ARB));
195
+ rb_define_const(module, "GL_BUFFER_MAPPED_ARB", INT2NUM(GL_BUFFER_MAPPED_ARB));
203
196
  rb_define_const(module, "GL_BUFFER_MAP_POINTER", INT2NUM(GL_BUFFER_MAP_POINTER));
197
+ rb_define_const(module, "GL_BUFFER_MAP_POINTER_ARB", INT2NUM(GL_BUFFER_MAP_POINTER_ARB));
204
198
  rb_define_const(module, "GL_BUFFER_SERIALIZED_MODIFY_APPLE", INT2NUM(GL_BUFFER_SERIALIZED_MODIFY_APPLE));
205
- rb_define_const(module, "GL_BUFFER_SIZE_ARB", INT2NUM(GL_BUFFER_SIZE_ARB));
206
199
  rb_define_const(module, "GL_BUFFER_SIZE", INT2NUM(GL_BUFFER_SIZE));
207
- rb_define_const(module, "GL_BUFFER_USAGE_ARB", INT2NUM(GL_BUFFER_USAGE_ARB));
200
+ rb_define_const(module, "GL_BUFFER_SIZE_ARB", INT2NUM(GL_BUFFER_SIZE_ARB));
208
201
  rb_define_const(module, "GL_BUFFER_USAGE", INT2NUM(GL_BUFFER_USAGE));
202
+ rb_define_const(module, "GL_BUFFER_USAGE_ARB", INT2NUM(GL_BUFFER_USAGE_ARB));
209
203
  rb_define_const(module, "GL_BUMP_ENVMAP_ATI", INT2NUM(GL_BUMP_ENVMAP_ATI));
210
204
  rb_define_const(module, "GL_BUMP_NUM_TEX_UNITS_ATI", INT2NUM(GL_BUMP_NUM_TEX_UNITS_ATI));
211
205
  rb_define_const(module, "GL_BUMP_ROT_MATRIX_ATI", INT2NUM(GL_BUMP_ROT_MATRIX_ATI));
@@ -219,22 +213,23 @@ void gl_init_enums(VALUE module)
219
213
  rb_define_const(module, "GL_C4UB_V3F", INT2NUM(GL_C4UB_V3F));
220
214
  rb_define_const(module, "GL_CALLIGRAPHIC_FRAGMENT_SGIX", INT2NUM(GL_CALLIGRAPHIC_FRAGMENT_SGIX));
221
215
  rb_define_const(module, "GL_CCW", INT2NUM(GL_CCW));
222
- rb_define_const(module, "GL_CLAMP_FRAGMENT_COLOR_ARB", INT2NUM(GL_CLAMP_FRAGMENT_COLOR_ARB));
223
216
  rb_define_const(module, "GL_CLAMP", INT2NUM(GL_CLAMP));
217
+ rb_define_const(module, "GL_CLAMP_FRAGMENT_COLOR_ARB", INT2NUM(GL_CLAMP_FRAGMENT_COLOR_ARB));
224
218
  rb_define_const(module, "GL_CLAMP_READ_COLOR_ARB", INT2NUM(GL_CLAMP_READ_COLOR_ARB));
225
- rb_define_const(module, "GL_CLAMP_TO_BORDER_ARB", INT2NUM(GL_CLAMP_TO_BORDER_ARB));
226
219
  rb_define_const(module, "GL_CLAMP_TO_BORDER", INT2NUM(GL_CLAMP_TO_BORDER));
220
+ rb_define_const(module, "GL_CLAMP_TO_BORDER_ARB", INT2NUM(GL_CLAMP_TO_BORDER_ARB));
227
221
  rb_define_const(module, "GL_CLAMP_TO_BORDER_SGIS", INT2NUM(GL_CLAMP_TO_BORDER_SGIS));
228
222
  rb_define_const(module, "GL_CLAMP_TO_EDGE", INT2NUM(GL_CLAMP_TO_EDGE));
229
223
  rb_define_const(module, "GL_CLAMP_TO_EDGE_SGIS", INT2NUM(GL_CLAMP_TO_EDGE_SGIS));
230
224
  rb_define_const(module, "GL_CLAMP_VERTEX_COLOR_ARB", INT2NUM(GL_CLAMP_VERTEX_COLOR_ARB));
231
225
  rb_define_const(module, "GL_CLEAR", INT2NUM(GL_CLEAR));
232
- rb_define_const(module, "GL_CLIENT_ACTIVE_TEXTURE_ARB", INT2NUM(GL_CLIENT_ACTIVE_TEXTURE_ARB));
233
226
  rb_define_const(module, "GL_CLIENT_ACTIVE_TEXTURE", INT2NUM(GL_CLIENT_ACTIVE_TEXTURE));
227
+ rb_define_const(module, "GL_CLIENT_ACTIVE_TEXTURE_ARB", INT2NUM(GL_CLIENT_ACTIVE_TEXTURE_ARB));
234
228
  rb_define_const(module, "GL_CLIENT_ALL_ATTRIB_BITS", INT2NUM(GL_CLIENT_ALL_ATTRIB_BITS));
235
229
  rb_define_const(module, "GL_CLIENT_ATTRIB_STACK_DEPTH", INT2NUM(GL_CLIENT_ATTRIB_STACK_DEPTH));
236
230
  rb_define_const(module, "GL_CLIENT_PIXEL_STORE_BIT", INT2NUM(GL_CLIENT_PIXEL_STORE_BIT));
237
231
  rb_define_const(module, "GL_CLIENT_VERTEX_ARRAY_BIT", INT2NUM(GL_CLIENT_VERTEX_ARRAY_BIT));
232
+ rb_define_const(module, "GL_CLIP_DISTANCE_NV", INT2NUM(GL_CLIP_DISTANCE_NV));
238
233
  rb_define_const(module, "GL_CLIP_FAR_HINT_PGI", INT2NUM(GL_CLIP_FAR_HINT_PGI));
239
234
  rb_define_const(module, "GL_CLIP_NEAR_HINT_PGI", INT2NUM(GL_CLIP_NEAR_HINT_PGI));
240
235
  rb_define_const(module, "GL_CLIP_PLANE0", INT2NUM(GL_CLIP_PLANE0));
@@ -249,25 +244,26 @@ void gl_init_enums(VALUE module)
249
244
  rb_define_const(module, "GL_CND0_ATI", INT2NUM(GL_CND0_ATI));
250
245
  rb_define_const(module, "GL_CND_ATI", INT2NUM(GL_CND_ATI));
251
246
  rb_define_const(module, "GL_COEFF", INT2NUM(GL_COEFF));
247
+ rb_define_const(module, "GL_COLOR", INT2NUM(GL_COLOR));
252
248
  rb_define_const(module, "GL_COLOR3_BIT_PGI", INT2NUM(GL_COLOR3_BIT_PGI));
253
249
  rb_define_const(module, "GL_COLOR4_BIT_PGI", INT2NUM(GL_COLOR4_BIT_PGI));
254
250
  rb_define_const(module, "GL_COLOR_ALPHA_PAIRING_ATI", INT2NUM(GL_COLOR_ALPHA_PAIRING_ATI));
255
- rb_define_const(module, "GL_COLOR_ARRAY_BUFFER_BINDING_ARB", INT2NUM(GL_COLOR_ARRAY_BUFFER_BINDING_ARB));
251
+ rb_define_const(module, "GL_COLOR_ARRAY", INT2NUM(GL_COLOR_ARRAY));
256
252
  rb_define_const(module, "GL_COLOR_ARRAY_BUFFER_BINDING", INT2NUM(GL_COLOR_ARRAY_BUFFER_BINDING));
253
+ rb_define_const(module, "GL_COLOR_ARRAY_BUFFER_BINDING_ARB", INT2NUM(GL_COLOR_ARRAY_BUFFER_BINDING_ARB));
257
254
  rb_define_const(module, "GL_COLOR_ARRAY_COUNT_EXT", INT2NUM(GL_COLOR_ARRAY_COUNT_EXT));
258
255
  rb_define_const(module, "GL_COLOR_ARRAY_EXT", INT2NUM(GL_COLOR_ARRAY_EXT));
259
- rb_define_const(module, "GL_COLOR_ARRAY", INT2NUM(GL_COLOR_ARRAY));
260
256
  rb_define_const(module, "GL_COLOR_ARRAY_LIST_IBM", INT2NUM(GL_COLOR_ARRAY_LIST_IBM));
261
257
  rb_define_const(module, "GL_COLOR_ARRAY_LIST_STRIDE_IBM", INT2NUM(GL_COLOR_ARRAY_LIST_STRIDE_IBM));
262
258
  rb_define_const(module, "GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL", INT2NUM(GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL));
263
- rb_define_const(module, "GL_COLOR_ARRAY_POINTER_EXT", INT2NUM(GL_COLOR_ARRAY_POINTER_EXT));
264
259
  rb_define_const(module, "GL_COLOR_ARRAY_POINTER", INT2NUM(GL_COLOR_ARRAY_POINTER));
265
- rb_define_const(module, "GL_COLOR_ARRAY_SIZE_EXT", INT2NUM(GL_COLOR_ARRAY_SIZE_EXT));
260
+ rb_define_const(module, "GL_COLOR_ARRAY_POINTER_EXT", INT2NUM(GL_COLOR_ARRAY_POINTER_EXT));
266
261
  rb_define_const(module, "GL_COLOR_ARRAY_SIZE", INT2NUM(GL_COLOR_ARRAY_SIZE));
267
- rb_define_const(module, "GL_COLOR_ARRAY_STRIDE_EXT", INT2NUM(GL_COLOR_ARRAY_STRIDE_EXT));
262
+ rb_define_const(module, "GL_COLOR_ARRAY_SIZE_EXT", INT2NUM(GL_COLOR_ARRAY_SIZE_EXT));
268
263
  rb_define_const(module, "GL_COLOR_ARRAY_STRIDE", INT2NUM(GL_COLOR_ARRAY_STRIDE));
269
- rb_define_const(module, "GL_COLOR_ARRAY_TYPE_EXT", INT2NUM(GL_COLOR_ARRAY_TYPE_EXT));
264
+ rb_define_const(module, "GL_COLOR_ARRAY_STRIDE_EXT", INT2NUM(GL_COLOR_ARRAY_STRIDE_EXT));
270
265
  rb_define_const(module, "GL_COLOR_ARRAY_TYPE", INT2NUM(GL_COLOR_ARRAY_TYPE));
266
+ rb_define_const(module, "GL_COLOR_ARRAY_TYPE_EXT", INT2NUM(GL_COLOR_ARRAY_TYPE_EXT));
271
267
  rb_define_const(module, "GL_COLOR_ATTACHMENT0_EXT", INT2NUM(GL_COLOR_ATTACHMENT0_EXT));
272
268
  rb_define_const(module, "GL_COLOR_ATTACHMENT10_EXT", INT2NUM(GL_COLOR_ATTACHMENT10_EXT));
273
269
  rb_define_const(module, "GL_COLOR_ATTACHMENT11_EXT", INT2NUM(GL_COLOR_ATTACHMENT11_EXT));
@@ -287,6 +283,7 @@ void gl_init_enums(VALUE module)
287
283
  rb_define_const(module, "GL_COLOR_BUFFER_BIT", INT2NUM(GL_COLOR_BUFFER_BIT));
288
284
  rb_define_const(module, "GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI", INT2NUM(GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI));
289
285
  rb_define_const(module, "GL_COLOR_CLEAR_VALUE", INT2NUM(GL_COLOR_CLEAR_VALUE));
286
+ rb_define_const(module, "GL_COLOR_INDEX", INT2NUM(GL_COLOR_INDEX));
290
287
  rb_define_const(module, "GL_COLOR_INDEX12_EXT", INT2NUM(GL_COLOR_INDEX12_EXT));
291
288
  rb_define_const(module, "GL_COLOR_INDEX16_EXT", INT2NUM(GL_COLOR_INDEX16_EXT));
292
289
  rb_define_const(module, "GL_COLOR_INDEX1_EXT", INT2NUM(GL_COLOR_INDEX1_EXT));
@@ -294,20 +291,19 @@ void gl_init_enums(VALUE module)
294
291
  rb_define_const(module, "GL_COLOR_INDEX4_EXT", INT2NUM(GL_COLOR_INDEX4_EXT));
295
292
  rb_define_const(module, "GL_COLOR_INDEX8_EXT", INT2NUM(GL_COLOR_INDEX8_EXT));
296
293
  rb_define_const(module, "GL_COLOR_INDEXES", INT2NUM(GL_COLOR_INDEXES));
297
- rb_define_const(module, "GL_COLOR_INDEX", INT2NUM(GL_COLOR_INDEX));
298
- rb_define_const(module, "GL_COLOR", INT2NUM(GL_COLOR));
299
294
  rb_define_const(module, "GL_COLOR_LOGIC_OP", INT2NUM(GL_COLOR_LOGIC_OP));
300
- rb_define_const(module, "GL_COLOR_MATERIAL_FACE", INT2NUM(GL_COLOR_MATERIAL_FACE));
301
295
  rb_define_const(module, "GL_COLOR_MATERIAL", INT2NUM(GL_COLOR_MATERIAL));
296
+ rb_define_const(module, "GL_COLOR_MATERIAL_FACE", INT2NUM(GL_COLOR_MATERIAL_FACE));
302
297
  rb_define_const(module, "GL_COLOR_MATERIAL_PARAMETER", INT2NUM(GL_COLOR_MATERIAL_PARAMETER));
303
298
  rb_define_const(module, "GL_COLOR_MATRIX", INT2NUM(GL_COLOR_MATRIX));
304
299
  rb_define_const(module, "GL_COLOR_MATRIX_SGI", INT2NUM(GL_COLOR_MATRIX_SGI));
305
300
  rb_define_const(module, "GL_COLOR_MATRIX_STACK_DEPTH", INT2NUM(GL_COLOR_MATRIX_STACK_DEPTH));
306
301
  rb_define_const(module, "GL_COLOR_MATRIX_STACK_DEPTH_SGI", INT2NUM(GL_COLOR_MATRIX_STACK_DEPTH_SGI));
302
+ rb_define_const(module, "GL_COLOR_SUM", INT2NUM(GL_COLOR_SUM));
307
303
  rb_define_const(module, "GL_COLOR_SUM_ARB", INT2NUM(GL_COLOR_SUM_ARB));
308
304
  rb_define_const(module, "GL_COLOR_SUM_CLAMP_NV", INT2NUM(GL_COLOR_SUM_CLAMP_NV));
309
305
  rb_define_const(module, "GL_COLOR_SUM_EXT", INT2NUM(GL_COLOR_SUM_EXT));
310
- rb_define_const(module, "GL_COLOR_SUM", INT2NUM(GL_COLOR_SUM));
306
+ rb_define_const(module, "GL_COLOR_TABLE", INT2NUM(GL_COLOR_TABLE));
311
307
  rb_define_const(module, "GL_COLOR_TABLE_ALPHA_SIZE", INT2NUM(GL_COLOR_TABLE_ALPHA_SIZE));
312
308
  rb_define_const(module, "GL_COLOR_TABLE_ALPHA_SIZE_SGI", INT2NUM(GL_COLOR_TABLE_ALPHA_SIZE_SGI));
313
309
  rb_define_const(module, "GL_COLOR_TABLE_BIAS", INT2NUM(GL_COLOR_TABLE_BIAS));
@@ -318,7 +314,6 @@ void gl_init_enums(VALUE module)
318
314
  rb_define_const(module, "GL_COLOR_TABLE_FORMAT_SGI", INT2NUM(GL_COLOR_TABLE_FORMAT_SGI));
319
315
  rb_define_const(module, "GL_COLOR_TABLE_GREEN_SIZE", INT2NUM(GL_COLOR_TABLE_GREEN_SIZE));
320
316
  rb_define_const(module, "GL_COLOR_TABLE_GREEN_SIZE_SGI", INT2NUM(GL_COLOR_TABLE_GREEN_SIZE_SGI));
321
- rb_define_const(module, "GL_COLOR_TABLE", INT2NUM(GL_COLOR_TABLE));
322
317
  rb_define_const(module, "GL_COLOR_TABLE_INTENSITY_SIZE", INT2NUM(GL_COLOR_TABLE_INTENSITY_SIZE));
323
318
  rb_define_const(module, "GL_COLOR_TABLE_INTENSITY_SIZE_SGI", INT2NUM(GL_COLOR_TABLE_INTENSITY_SIZE_SGI));
324
319
  rb_define_const(module, "GL_COLOR_TABLE_LUMINANCE_SIZE", INT2NUM(GL_COLOR_TABLE_LUMINANCE_SIZE));
@@ -331,13 +326,8 @@ void gl_init_enums(VALUE module)
331
326
  rb_define_const(module, "GL_COLOR_TABLE_WIDTH", INT2NUM(GL_COLOR_TABLE_WIDTH));
332
327
  rb_define_const(module, "GL_COLOR_TABLE_WIDTH_SGI", INT2NUM(GL_COLOR_TABLE_WIDTH_SGI));
333
328
  rb_define_const(module, "GL_COLOR_WRITEMASK", INT2NUM(GL_COLOR_WRITEMASK));
334
- rb_define_const(module, "GL_COMBINE4_NV", INT2NUM(GL_COMBINE4_NV));
335
- rb_define_const(module, "GL_COMBINE_ALPHA_ARB", INT2NUM(GL_COMBINE_ALPHA_ARB));
336
- rb_define_const(module, "GL_COMBINE_ALPHA_EXT", INT2NUM(GL_COMBINE_ALPHA_EXT));
337
- rb_define_const(module, "GL_COMBINE_ALPHA", INT2NUM(GL_COMBINE_ALPHA));
338
- rb_define_const(module, "GL_COMBINE_ARB", INT2NUM(GL_COMBINE_ARB));
339
- rb_define_const(module, "GL_COMBINE_EXT", INT2NUM(GL_COMBINE_EXT));
340
329
  rb_define_const(module, "GL_COMBINE", INT2NUM(GL_COMBINE));
330
+ rb_define_const(module, "GL_COMBINE4_NV", INT2NUM(GL_COMBINE4_NV));
341
331
  rb_define_const(module, "GL_COMBINER0_NV", INT2NUM(GL_COMBINER0_NV));
342
332
  rb_define_const(module, "GL_COMBINER1_NV", INT2NUM(GL_COMBINER1_NV));
343
333
  rb_define_const(module, "GL_COMBINER2_NV", INT2NUM(GL_COMBINER2_NV));
@@ -352,51 +342,98 @@ void gl_init_enums(VALUE module)
352
342
  rb_define_const(module, "GL_COMBINER_CD_DOT_PRODUCT_NV", INT2NUM(GL_COMBINER_CD_DOT_PRODUCT_NV));
353
343
  rb_define_const(module, "GL_COMBINER_CD_OUTPUT_NV", INT2NUM(GL_COMBINER_CD_OUTPUT_NV));
354
344
  rb_define_const(module, "GL_COMBINER_COMPONENT_USAGE_NV", INT2NUM(GL_COMBINER_COMPONENT_USAGE_NV));
355
- rb_define_const(module, "GL_COMBINE_RGB_ARB", INT2NUM(GL_COMBINE_RGB_ARB));
356
- rb_define_const(module, "GL_COMBINE_RGB_EXT", INT2NUM(GL_COMBINE_RGB_EXT));
357
- rb_define_const(module, "GL_COMBINE_RGB", INT2NUM(GL_COMBINE_RGB));
358
345
  rb_define_const(module, "GL_COMBINER_INPUT_NV", INT2NUM(GL_COMBINER_INPUT_NV));
359
346
  rb_define_const(module, "GL_COMBINER_MAPPING_NV", INT2NUM(GL_COMBINER_MAPPING_NV));
360
347
  rb_define_const(module, "GL_COMBINER_MUX_SUM_NV", INT2NUM(GL_COMBINER_MUX_SUM_NV));
361
348
  rb_define_const(module, "GL_COMBINER_SCALE_NV", INT2NUM(GL_COMBINER_SCALE_NV));
362
349
  rb_define_const(module, "GL_COMBINER_SUM_OUTPUT_NV", INT2NUM(GL_COMBINER_SUM_OUTPUT_NV));
350
+ rb_define_const(module, "GL_COMBINE_ALPHA", INT2NUM(GL_COMBINE_ALPHA));
351
+ rb_define_const(module, "GL_COMBINE_ALPHA_ARB", INT2NUM(GL_COMBINE_ALPHA_ARB));
352
+ rb_define_const(module, "GL_COMBINE_ALPHA_EXT", INT2NUM(GL_COMBINE_ALPHA_EXT));
353
+ rb_define_const(module, "GL_COMBINE_ARB", INT2NUM(GL_COMBINE_ARB));
354
+ rb_define_const(module, "GL_COMBINE_EXT", INT2NUM(GL_COMBINE_EXT));
355
+ rb_define_const(module, "GL_COMBINE_RGB", INT2NUM(GL_COMBINE_RGB));
356
+ rb_define_const(module, "GL_COMBINE_RGB_ARB", INT2NUM(GL_COMBINE_RGB_ARB));
357
+ rb_define_const(module, "GL_COMBINE_RGB_EXT", INT2NUM(GL_COMBINE_RGB_EXT));
358
+ rb_define_const(module, "GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT", INT2NUM(GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT));
363
359
  rb_define_const(module, "GL_COMPARE_R_TO_TEXTURE", INT2NUM(GL_COMPARE_R_TO_TEXTURE));
364
- rb_define_const(module, "GL_COMP_BIT_ATI", INT2NUM(GL_COMP_BIT_ATI));
365
- rb_define_const(module, "GL_COMPILE_AND_EXECUTE", INT2NUM(GL_COMPILE_AND_EXECUTE));
366
360
  rb_define_const(module, "GL_COMPILE", INT2NUM(GL_COMPILE));
361
+ rb_define_const(module, "GL_COMPILE_AND_EXECUTE", INT2NUM(GL_COMPILE_AND_EXECUTE));
367
362
  rb_define_const(module, "GL_COMPILE_STATUS", INT2NUM(GL_COMPILE_STATUS));
368
- rb_define_const(module, "GL_COMPRESSED_ALPHA_ARB", INT2NUM(GL_COMPRESSED_ALPHA_ARB));
369
363
  rb_define_const(module, "GL_COMPRESSED_ALPHA", INT2NUM(GL_COMPRESSED_ALPHA));
370
- rb_define_const(module, "GL_COMPRESSED_INTENSITY_ARB", INT2NUM(GL_COMPRESSED_INTENSITY_ARB));
364
+ rb_define_const(module, "GL_COMPRESSED_ALPHA_ARB", INT2NUM(GL_COMPRESSED_ALPHA_ARB));
371
365
  rb_define_const(module, "GL_COMPRESSED_INTENSITY", INT2NUM(GL_COMPRESSED_INTENSITY));
372
- rb_define_const(module, "GL_COMPRESSED_LUMINANCE_ALPHA_ARB", INT2NUM(GL_COMPRESSED_LUMINANCE_ALPHA_ARB));
366
+ rb_define_const(module, "GL_COMPRESSED_INTENSITY_ARB", INT2NUM(GL_COMPRESSED_INTENSITY_ARB));
367
+ rb_define_const(module, "GL_COMPRESSED_LUMINANCE", INT2NUM(GL_COMPRESSED_LUMINANCE));
373
368
  rb_define_const(module, "GL_COMPRESSED_LUMINANCE_ALPHA", INT2NUM(GL_COMPRESSED_LUMINANCE_ALPHA));
369
+ rb_define_const(module, "GL_COMPRESSED_LUMINANCE_ALPHA_ARB", INT2NUM(GL_COMPRESSED_LUMINANCE_ALPHA_ARB));
370
+ rb_define_const(module, "GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT", INT2NUM(GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT));
374
371
  rb_define_const(module, "GL_COMPRESSED_LUMINANCE_ARB", INT2NUM(GL_COMPRESSED_LUMINANCE_ARB));
375
- rb_define_const(module, "GL_COMPRESSED_LUMINANCE", INT2NUM(GL_COMPRESSED_LUMINANCE));
372
+ rb_define_const(module, "GL_COMPRESSED_LUMINANCE_LATC1_EXT", INT2NUM(GL_COMPRESSED_LUMINANCE_LATC1_EXT));
373
+ rb_define_const(module, "GL_COMPRESSED_RED_GREEN_RGTC2_EXT", INT2NUM(GL_COMPRESSED_RED_GREEN_RGTC2_EXT));
374
+ rb_define_const(module, "GL_COMPRESSED_RED_RGTC1_EXT", INT2NUM(GL_COMPRESSED_RED_RGTC1_EXT));
375
+ rb_define_const(module, "GL_COMPRESSED_RGB", INT2NUM(GL_COMPRESSED_RGB));
376
+ rb_define_const(module, "GL_COMPRESSED_RGBA", INT2NUM(GL_COMPRESSED_RGBA));
376
377
  rb_define_const(module, "GL_COMPRESSED_RGBA_ARB", INT2NUM(GL_COMPRESSED_RGBA_ARB));
377
378
  rb_define_const(module, "GL_COMPRESSED_RGBA_FXT1_3DFX", INT2NUM(GL_COMPRESSED_RGBA_FXT1_3DFX));
378
- rb_define_const(module, "GL_COMPRESSED_RGBA", INT2NUM(GL_COMPRESSED_RGBA));
379
- rb_define_const(module, "GL_COMPRESSED_RGB_ARB", INT2NUM(GL_COMPRESSED_RGB_ARB));
380
379
  rb_define_const(module, "GL_COMPRESSED_RGBA_S3TC_DXT1_EXT", INT2NUM(GL_COMPRESSED_RGBA_S3TC_DXT1_EXT));
381
380
  rb_define_const(module, "GL_COMPRESSED_RGBA_S3TC_DXT3_EXT", INT2NUM(GL_COMPRESSED_RGBA_S3TC_DXT3_EXT));
382
381
  rb_define_const(module, "GL_COMPRESSED_RGBA_S3TC_DXT5_EXT", INT2NUM(GL_COMPRESSED_RGBA_S3TC_DXT5_EXT));
382
+ rb_define_const(module, "GL_COMPRESSED_RGB_ARB", INT2NUM(GL_COMPRESSED_RGB_ARB));
383
383
  rb_define_const(module, "GL_COMPRESSED_RGB_FXT1_3DFX", INT2NUM(GL_COMPRESSED_RGB_FXT1_3DFX));
384
- rb_define_const(module, "GL_COMPRESSED_RGB", INT2NUM(GL_COMPRESSED_RGB));
385
384
  rb_define_const(module, "GL_COMPRESSED_RGB_S3TC_DXT1_EXT", INT2NUM(GL_COMPRESSED_RGB_S3TC_DXT1_EXT));
386
- rb_define_const(module, "GL_COMPRESSED_SLUMINANCE_ALPHA_EXT", INT2NUM(GL_COMPRESSED_SLUMINANCE_ALPHA_EXT));
385
+ rb_define_const(module, "GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT", INT2NUM(GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT));
386
+ rb_define_const(module, "GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT", INT2NUM(GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT));
387
+ rb_define_const(module, "GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT", INT2NUM(GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT));
388
+ rb_define_const(module, "GL_COMPRESSED_SIGNED_RED_RGTC1_EXT", INT2NUM(GL_COMPRESSED_SIGNED_RED_RGTC1_EXT));
389
+ rb_define_const(module, "GL_COMPRESSED_SLUMINANCE", INT2NUM(GL_COMPRESSED_SLUMINANCE));
387
390
  rb_define_const(module, "GL_COMPRESSED_SLUMINANCE_ALPHA", INT2NUM(GL_COMPRESSED_SLUMINANCE_ALPHA));
391
+ rb_define_const(module, "GL_COMPRESSED_SLUMINANCE_ALPHA_EXT", INT2NUM(GL_COMPRESSED_SLUMINANCE_ALPHA_EXT));
388
392
  rb_define_const(module, "GL_COMPRESSED_SLUMINANCE_EXT", INT2NUM(GL_COMPRESSED_SLUMINANCE_EXT));
389
- rb_define_const(module, "GL_COMPRESSED_SLUMINANCE", INT2NUM(GL_COMPRESSED_SLUMINANCE));
390
- rb_define_const(module, "GL_COMPRESSED_SRGB_ALPHA_EXT", INT2NUM(GL_COMPRESSED_SRGB_ALPHA_EXT));
393
+ rb_define_const(module, "GL_COMPRESSED_SRGB", INT2NUM(GL_COMPRESSED_SRGB));
391
394
  rb_define_const(module, "GL_COMPRESSED_SRGB_ALPHA", INT2NUM(GL_COMPRESSED_SRGB_ALPHA));
395
+ rb_define_const(module, "GL_COMPRESSED_SRGB_ALPHA_EXT", INT2NUM(GL_COMPRESSED_SRGB_ALPHA_EXT));
392
396
  rb_define_const(module, "GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT", INT2NUM(GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT));
393
397
  rb_define_const(module, "GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT", INT2NUM(GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT));
394
398
  rb_define_const(module, "GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT", INT2NUM(GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT));
395
399
  rb_define_const(module, "GL_COMPRESSED_SRGB_EXT", INT2NUM(GL_COMPRESSED_SRGB_EXT));
396
- rb_define_const(module, "GL_COMPRESSED_SRGB", INT2NUM(GL_COMPRESSED_SRGB));
397
400
  rb_define_const(module, "GL_COMPRESSED_SRGB_S3TC_DXT1_EXT", INT2NUM(GL_COMPRESSED_SRGB_S3TC_DXT1_EXT));
398
- rb_define_const(module, "GL_COMPRESSED_TEXTURE_FORMATS_ARB", INT2NUM(GL_COMPRESSED_TEXTURE_FORMATS_ARB));
399
401
  rb_define_const(module, "GL_COMPRESSED_TEXTURE_FORMATS", INT2NUM(GL_COMPRESSED_TEXTURE_FORMATS));
402
+ rb_define_const(module, "GL_COMPRESSED_TEXTURE_FORMATS_ARB", INT2NUM(GL_COMPRESSED_TEXTURE_FORMATS_ARB));
403
+ rb_define_const(module, "GL_COMP_BIT_ATI", INT2NUM(GL_COMP_BIT_ATI));
404
+ rb_define_const(module, "GL_CONSERVE_MEMORY_HINT_PGI", INT2NUM(GL_CONSERVE_MEMORY_HINT_PGI));
405
+ rb_define_const(module, "GL_CONSTANT", INT2NUM(GL_CONSTANT));
406
+ rb_define_const(module, "GL_CONSTANT_ALPHA", INT2NUM(GL_CONSTANT_ALPHA));
407
+ rb_define_const(module, "GL_CONSTANT_ALPHA_EXT", INT2NUM(GL_CONSTANT_ALPHA_EXT));
408
+ rb_define_const(module, "GL_CONSTANT_ARB", INT2NUM(GL_CONSTANT_ARB));
409
+ rb_define_const(module, "GL_CONSTANT_ATTENUATION", INT2NUM(GL_CONSTANT_ATTENUATION));
410
+ rb_define_const(module, "GL_CONSTANT_BORDER", INT2NUM(GL_CONSTANT_BORDER));
411
+ rb_define_const(module, "GL_CONSTANT_BORDER_HP", INT2NUM(GL_CONSTANT_BORDER_HP));
412
+ rb_define_const(module, "GL_CONSTANT_COLOR", INT2NUM(GL_CONSTANT_COLOR));
413
+ rb_define_const(module, "GL_CONSTANT_COLOR0_NV", INT2NUM(GL_CONSTANT_COLOR0_NV));
414
+ rb_define_const(module, "GL_CONSTANT_COLOR1_NV", INT2NUM(GL_CONSTANT_COLOR1_NV));
415
+ rb_define_const(module, "GL_CONSTANT_COLOR_EXT", INT2NUM(GL_CONSTANT_COLOR_EXT));
416
+ rb_define_const(module, "GL_CONSTANT_EXT", INT2NUM(GL_CONSTANT_EXT));
417
+ rb_define_const(module, "GL_CONST_EYE_NV", INT2NUM(GL_CONST_EYE_NV));
418
+ rb_define_const(module, "GL_CONVOLUTION_1D", INT2NUM(GL_CONVOLUTION_1D));
419
+ rb_define_const(module, "GL_CONVOLUTION_1D_EXT", INT2NUM(GL_CONVOLUTION_1D_EXT));
420
+ rb_define_const(module, "GL_CONVOLUTION_2D", INT2NUM(GL_CONVOLUTION_2D));
421
+ rb_define_const(module, "GL_CONVOLUTION_2D_EXT", INT2NUM(GL_CONVOLUTION_2D_EXT));
422
+ rb_define_const(module, "GL_CONVOLUTION_BORDER_COLOR", INT2NUM(GL_CONVOLUTION_BORDER_COLOR));
423
+ rb_define_const(module, "GL_CONVOLUTION_BORDER_COLOR_HP", INT2NUM(GL_CONVOLUTION_BORDER_COLOR_HP));
424
+ rb_define_const(module, "GL_CONVOLUTION_BORDER_MODE", INT2NUM(GL_CONVOLUTION_BORDER_MODE));
425
+ rb_define_const(module, "GL_CONVOLUTION_BORDER_MODE_EXT", INT2NUM(GL_CONVOLUTION_BORDER_MODE_EXT));
426
+ rb_define_const(module, "GL_CONVOLUTION_FILTER_BIAS", INT2NUM(GL_CONVOLUTION_FILTER_BIAS));
427
+ rb_define_const(module, "GL_CONVOLUTION_FILTER_BIAS_EXT", INT2NUM(GL_CONVOLUTION_FILTER_BIAS_EXT));
428
+ rb_define_const(module, "GL_CONVOLUTION_FILTER_SCALE", INT2NUM(GL_CONVOLUTION_FILTER_SCALE));
429
+ rb_define_const(module, "GL_CONVOLUTION_FILTER_SCALE_EXT", INT2NUM(GL_CONVOLUTION_FILTER_SCALE_EXT));
430
+ rb_define_const(module, "GL_CONVOLUTION_FORMAT", INT2NUM(GL_CONVOLUTION_FORMAT));
431
+ rb_define_const(module, "GL_CONVOLUTION_FORMAT_EXT", INT2NUM(GL_CONVOLUTION_FORMAT_EXT));
432
+ rb_define_const(module, "GL_CONVOLUTION_HEIGHT", INT2NUM(GL_CONVOLUTION_HEIGHT));
433
+ rb_define_const(module, "GL_CONVOLUTION_HEIGHT_EXT", INT2NUM(GL_CONVOLUTION_HEIGHT_EXT));
434
+ rb_define_const(module, "GL_CONVOLUTION_HINT_SGIX", INT2NUM(GL_CONVOLUTION_HINT_SGIX));
435
+ rb_define_const(module, "GL_CONVOLUTION_WIDTH", INT2NUM(GL_CONVOLUTION_WIDTH));
436
+ rb_define_const(module, "GL_CONVOLUTION_WIDTH_EXT", INT2NUM(GL_CONVOLUTION_WIDTH_EXT));
400
437
  rb_define_const(module, "GL_CON_0_ATI", INT2NUM(GL_CON_0_ATI));
401
438
  rb_define_const(module, "GL_CON_10_ATI", INT2NUM(GL_CON_10_ATI));
402
439
  rb_define_const(module, "GL_CON_11_ATI", INT2NUM(GL_CON_11_ATI));
@@ -429,41 +466,8 @@ void gl_init_enums(VALUE module)
429
466
  rb_define_const(module, "GL_CON_7_ATI", INT2NUM(GL_CON_7_ATI));
430
467
  rb_define_const(module, "GL_CON_8_ATI", INT2NUM(GL_CON_8_ATI));
431
468
  rb_define_const(module, "GL_CON_9_ATI", INT2NUM(GL_CON_9_ATI));
432
- rb_define_const(module, "GL_CONSERVE_MEMORY_HINT_PGI", INT2NUM(GL_CONSERVE_MEMORY_HINT_PGI));
433
- rb_define_const(module, "GL_CONSTANT_ALPHA_EXT", INT2NUM(GL_CONSTANT_ALPHA_EXT));
434
- rb_define_const(module, "GL_CONSTANT_ALPHA", INT2NUM(GL_CONSTANT_ALPHA));
435
- rb_define_const(module, "GL_CONSTANT_ARB", INT2NUM(GL_CONSTANT_ARB));
436
- rb_define_const(module, "GL_CONSTANT_ATTENUATION", INT2NUM(GL_CONSTANT_ATTENUATION));
437
- rb_define_const(module, "GL_CONSTANT_BORDER_HP", INT2NUM(GL_CONSTANT_BORDER_HP));
438
- rb_define_const(module, "GL_CONSTANT_BORDER", INT2NUM(GL_CONSTANT_BORDER));
439
- rb_define_const(module, "GL_CONSTANT_COLOR0_NV", INT2NUM(GL_CONSTANT_COLOR0_NV));
440
- rb_define_const(module, "GL_CONSTANT_COLOR1_NV", INT2NUM(GL_CONSTANT_COLOR1_NV));
441
- rb_define_const(module, "GL_CONSTANT_COLOR_EXT", INT2NUM(GL_CONSTANT_COLOR_EXT));
442
- rb_define_const(module, "GL_CONSTANT_COLOR", INT2NUM(GL_CONSTANT_COLOR));
443
- rb_define_const(module, "GL_CONSTANT_EXT", INT2NUM(GL_CONSTANT_EXT));
444
- rb_define_const(module, "GL_CONSTANT", INT2NUM(GL_CONSTANT));
445
- rb_define_const(module, "GL_CONST_EYE_NV", INT2NUM(GL_CONST_EYE_NV));
446
- rb_define_const(module, "GL_CONVOLUTION_1D_EXT", INT2NUM(GL_CONVOLUTION_1D_EXT));
447
- rb_define_const(module, "GL_CONVOLUTION_1D", INT2NUM(GL_CONVOLUTION_1D));
448
- rb_define_const(module, "GL_CONVOLUTION_2D_EXT", INT2NUM(GL_CONVOLUTION_2D_EXT));
449
- rb_define_const(module, "GL_CONVOLUTION_2D", INT2NUM(GL_CONVOLUTION_2D));
450
- rb_define_const(module, "GL_CONVOLUTION_BORDER_COLOR_HP", INT2NUM(GL_CONVOLUTION_BORDER_COLOR_HP));
451
- rb_define_const(module, "GL_CONVOLUTION_BORDER_COLOR", INT2NUM(GL_CONVOLUTION_BORDER_COLOR));
452
- rb_define_const(module, "GL_CONVOLUTION_BORDER_MODE_EXT", INT2NUM(GL_CONVOLUTION_BORDER_MODE_EXT));
453
- rb_define_const(module, "GL_CONVOLUTION_BORDER_MODE", INT2NUM(GL_CONVOLUTION_BORDER_MODE));
454
- rb_define_const(module, "GL_CONVOLUTION_FILTER_BIAS_EXT", INT2NUM(GL_CONVOLUTION_FILTER_BIAS_EXT));
455
- rb_define_const(module, "GL_CONVOLUTION_FILTER_BIAS", INT2NUM(GL_CONVOLUTION_FILTER_BIAS));
456
- rb_define_const(module, "GL_CONVOLUTION_FILTER_SCALE_EXT", INT2NUM(GL_CONVOLUTION_FILTER_SCALE_EXT));
457
- rb_define_const(module, "GL_CONVOLUTION_FILTER_SCALE", INT2NUM(GL_CONVOLUTION_FILTER_SCALE));
458
- rb_define_const(module, "GL_CONVOLUTION_FORMAT_EXT", INT2NUM(GL_CONVOLUTION_FORMAT_EXT));
459
- rb_define_const(module, "GL_CONVOLUTION_FORMAT", INT2NUM(GL_CONVOLUTION_FORMAT));
460
- rb_define_const(module, "GL_CONVOLUTION_HEIGHT_EXT", INT2NUM(GL_CONVOLUTION_HEIGHT_EXT));
461
- rb_define_const(module, "GL_CONVOLUTION_HEIGHT", INT2NUM(GL_CONVOLUTION_HEIGHT));
462
- rb_define_const(module, "GL_CONVOLUTION_HINT_SGIX", INT2NUM(GL_CONVOLUTION_HINT_SGIX));
463
- rb_define_const(module, "GL_CONVOLUTION_WIDTH_EXT", INT2NUM(GL_CONVOLUTION_WIDTH_EXT));
464
- rb_define_const(module, "GL_CONVOLUTION_WIDTH", INT2NUM(GL_CONVOLUTION_WIDTH));
465
- rb_define_const(module, "GL_COORD_REPLACE_ARB", INT2NUM(GL_COORD_REPLACE_ARB));
466
469
  rb_define_const(module, "GL_COORD_REPLACE", INT2NUM(GL_COORD_REPLACE));
470
+ rb_define_const(module, "GL_COORD_REPLACE_ARB", INT2NUM(GL_COORD_REPLACE_ARB));
467
471
  rb_define_const(module, "GL_COORD_REPLACE_NV", INT2NUM(GL_COORD_REPLACE_NV));
468
472
  rb_define_const(module, "GL_COPY", INT2NUM(GL_COPY));
469
473
  rb_define_const(module, "GL_COPY_INVERTED", INT2NUM(GL_COPY_INVERTED));
@@ -482,9 +486,9 @@ void gl_init_enums(VALUE module)
482
486
  rb_define_const(module, "GL_CURRENT_BINORMAL_EXT", INT2NUM(GL_CURRENT_BINORMAL_EXT));
483
487
  rb_define_const(module, "GL_CURRENT_BIT", INT2NUM(GL_CURRENT_BIT));
484
488
  rb_define_const(module, "GL_CURRENT_COLOR", INT2NUM(GL_CURRENT_COLOR));
485
- rb_define_const(module, "GL_CURRENT_FOG_COORDINATE_EXT", INT2NUM(GL_CURRENT_FOG_COORDINATE_EXT));
486
- rb_define_const(module, "GL_CURRENT_FOG_COORDINATE", INT2NUM(GL_CURRENT_FOG_COORDINATE));
487
489
  rb_define_const(module, "GL_CURRENT_FOG_COORD", INT2NUM(GL_CURRENT_FOG_COORD));
490
+ rb_define_const(module, "GL_CURRENT_FOG_COORDINATE", INT2NUM(GL_CURRENT_FOG_COORDINATE));
491
+ rb_define_const(module, "GL_CURRENT_FOG_COORDINATE_EXT", INT2NUM(GL_CURRENT_FOG_COORDINATE_EXT));
488
492
  rb_define_const(module, "GL_CURRENT_INDEX", INT2NUM(GL_CURRENT_INDEX));
489
493
  rb_define_const(module, "GL_CURRENT_MATRIX_ARB", INT2NUM(GL_CURRENT_MATRIX_ARB));
490
494
  rb_define_const(module, "GL_CURRENT_MATRIX_INDEX_ARB", INT2NUM(GL_CURRENT_MATRIX_INDEX_ARB));
@@ -495,8 +499,8 @@ void gl_init_enums(VALUE module)
495
499
  rb_define_const(module, "GL_CURRENT_OCCLUSION_QUERY_ID_NV", INT2NUM(GL_CURRENT_OCCLUSION_QUERY_ID_NV));
496
500
  rb_define_const(module, "GL_CURRENT_PALETTE_MATRIX_ARB", INT2NUM(GL_CURRENT_PALETTE_MATRIX_ARB));
497
501
  rb_define_const(module, "GL_CURRENT_PROGRAM", INT2NUM(GL_CURRENT_PROGRAM));
498
- rb_define_const(module, "GL_CURRENT_QUERY_ARB", INT2NUM(GL_CURRENT_QUERY_ARB));
499
502
  rb_define_const(module, "GL_CURRENT_QUERY", INT2NUM(GL_CURRENT_QUERY));
503
+ rb_define_const(module, "GL_CURRENT_QUERY_ARB", INT2NUM(GL_CURRENT_QUERY_ARB));
500
504
  rb_define_const(module, "GL_CURRENT_RASTER_COLOR", INT2NUM(GL_CURRENT_RASTER_COLOR));
501
505
  rb_define_const(module, "GL_CURRENT_RASTER_DISTANCE", INT2NUM(GL_CURRENT_RASTER_DISTANCE));
502
506
  rb_define_const(module, "GL_CURRENT_RASTER_INDEX", INT2NUM(GL_CURRENT_RASTER_INDEX));
@@ -505,20 +509,20 @@ void gl_init_enums(VALUE module)
505
509
  rb_define_const(module, "GL_CURRENT_RASTER_POSITION_VALID", INT2NUM(GL_CURRENT_RASTER_POSITION_VALID));
506
510
  rb_define_const(module, "GL_CURRENT_RASTER_SECONDARY_COLOR", INT2NUM(GL_CURRENT_RASTER_SECONDARY_COLOR));
507
511
  rb_define_const(module, "GL_CURRENT_RASTER_TEXTURE_COORDS", INT2NUM(GL_CURRENT_RASTER_TEXTURE_COORDS));
508
- rb_define_const(module, "GL_CURRENT_SECONDARY_COLOR_EXT", INT2NUM(GL_CURRENT_SECONDARY_COLOR_EXT));
509
512
  rb_define_const(module, "GL_CURRENT_SECONDARY_COLOR", INT2NUM(GL_CURRENT_SECONDARY_COLOR));
513
+ rb_define_const(module, "GL_CURRENT_SECONDARY_COLOR_EXT", INT2NUM(GL_CURRENT_SECONDARY_COLOR_EXT));
510
514
  rb_define_const(module, "GL_CURRENT_TANGENT_EXT", INT2NUM(GL_CURRENT_TANGENT_EXT));
511
515
  rb_define_const(module, "GL_CURRENT_TEXTURE_COORDS", INT2NUM(GL_CURRENT_TEXTURE_COORDS));
512
- rb_define_const(module, "GL_CURRENT_VERTEX_ATTRIB_ARB", INT2NUM(GL_CURRENT_VERTEX_ATTRIB_ARB));
513
516
  rb_define_const(module, "GL_CURRENT_VERTEX_ATTRIB", INT2NUM(GL_CURRENT_VERTEX_ATTRIB));
517
+ rb_define_const(module, "GL_CURRENT_VERTEX_ATTRIB_ARB", INT2NUM(GL_CURRENT_VERTEX_ATTRIB_ARB));
514
518
  rb_define_const(module, "GL_CURRENT_VERTEX_EXT", INT2NUM(GL_CURRENT_VERTEX_EXT));
515
519
  rb_define_const(module, "GL_CURRENT_VERTEX_WEIGHT_EXT", INT2NUM(GL_CURRENT_VERTEX_WEIGHT_EXT));
516
520
  rb_define_const(module, "GL_CURRENT_WEIGHT_ARB", INT2NUM(GL_CURRENT_WEIGHT_ARB));
517
521
  rb_define_const(module, "GL_CW", INT2NUM(GL_CW));
518
522
  rb_define_const(module, "GL_DECAL", INT2NUM(GL_DECAL));
519
523
  rb_define_const(module, "GL_DECR", INT2NUM(GL_DECR));
520
- rb_define_const(module, "GL_DECR_WRAP_EXT", INT2NUM(GL_DECR_WRAP_EXT));
521
524
  rb_define_const(module, "GL_DECR_WRAP", INT2NUM(GL_DECR_WRAP));
525
+ rb_define_const(module, "GL_DECR_WRAP_EXT", INT2NUM(GL_DECR_WRAP_EXT));
522
526
  rb_define_const(module, "GL_DEFORMATIONS_MASK_SGIX", INT2NUM(GL_DEFORMATIONS_MASK_SGIX));
523
527
  rb_define_const(module, "GL_DELETE_STATUS", INT2NUM(GL_DELETE_STATUS));
524
528
  rb_define_const(module, "GL_DEPENDENT_AR_TEXTURE_2D_NV", INT2NUM(GL_DEPENDENT_AR_TEXTURE_2D_NV));
@@ -526,27 +530,30 @@ void gl_init_enums(VALUE module)
526
530
  rb_define_const(module, "GL_DEPENDENT_HILO_TEXTURE_2D_NV", INT2NUM(GL_DEPENDENT_HILO_TEXTURE_2D_NV));
527
531
  rb_define_const(module, "GL_DEPENDENT_RGB_TEXTURE_3D_NV", INT2NUM(GL_DEPENDENT_RGB_TEXTURE_3D_NV));
528
532
  rb_define_const(module, "GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV", INT2NUM(GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV));
533
+ rb_define_const(module, "GL_DEPTH", INT2NUM(GL_DEPTH));
529
534
  rb_define_const(module, "GL_DEPTH24_STENCIL8_EXT", INT2NUM(GL_DEPTH24_STENCIL8_EXT));
535
+ rb_define_const(module, "GL_DEPTH32F_STENCIL8_NV", INT2NUM(GL_DEPTH32F_STENCIL8_NV));
530
536
  rb_define_const(module, "GL_DEPTH_ATTACHMENT_EXT", INT2NUM(GL_DEPTH_ATTACHMENT_EXT));
531
537
  rb_define_const(module, "GL_DEPTH_BIAS", INT2NUM(GL_DEPTH_BIAS));
532
538
  rb_define_const(module, "GL_DEPTH_BITS", INT2NUM(GL_DEPTH_BITS));
533
539
  rb_define_const(module, "GL_DEPTH_BOUNDS_EXT", INT2NUM(GL_DEPTH_BOUNDS_EXT));
534
540
  rb_define_const(module, "GL_DEPTH_BOUNDS_TEST_EXT", INT2NUM(GL_DEPTH_BOUNDS_TEST_EXT));
535
541
  rb_define_const(module, "GL_DEPTH_BUFFER_BIT", INT2NUM(GL_DEPTH_BUFFER_BIT));
542
+ rb_define_const(module, "GL_DEPTH_BUFFER_FLOAT_MODE_NV", INT2NUM(GL_DEPTH_BUFFER_FLOAT_MODE_NV));
536
543
  rb_define_const(module, "GL_DEPTH_CLAMP_NV", INT2NUM(GL_DEPTH_CLAMP_NV));
537
544
  rb_define_const(module, "GL_DEPTH_CLEAR_VALUE", INT2NUM(GL_DEPTH_CLEAR_VALUE));
538
- rb_define_const(module, "GL_DEPTH_COMPONENT16_ARB", INT2NUM(GL_DEPTH_COMPONENT16_ARB));
545
+ rb_define_const(module, "GL_DEPTH_COMPONENT", INT2NUM(GL_DEPTH_COMPONENT));
539
546
  rb_define_const(module, "GL_DEPTH_COMPONENT16", INT2NUM(GL_DEPTH_COMPONENT16));
547
+ rb_define_const(module, "GL_DEPTH_COMPONENT16_ARB", INT2NUM(GL_DEPTH_COMPONENT16_ARB));
540
548
  rb_define_const(module, "GL_DEPTH_COMPONENT16_SGIX", INT2NUM(GL_DEPTH_COMPONENT16_SGIX));
541
- rb_define_const(module, "GL_DEPTH_COMPONENT24_ARB", INT2NUM(GL_DEPTH_COMPONENT24_ARB));
542
549
  rb_define_const(module, "GL_DEPTH_COMPONENT24", INT2NUM(GL_DEPTH_COMPONENT24));
550
+ rb_define_const(module, "GL_DEPTH_COMPONENT24_ARB", INT2NUM(GL_DEPTH_COMPONENT24_ARB));
543
551
  rb_define_const(module, "GL_DEPTH_COMPONENT24_SGIX", INT2NUM(GL_DEPTH_COMPONENT24_SGIX));
544
- rb_define_const(module, "GL_DEPTH_COMPONENT32_ARB", INT2NUM(GL_DEPTH_COMPONENT32_ARB));
545
552
  rb_define_const(module, "GL_DEPTH_COMPONENT32", INT2NUM(GL_DEPTH_COMPONENT32));
553
+ rb_define_const(module, "GL_DEPTH_COMPONENT32F_NV", INT2NUM(GL_DEPTH_COMPONENT32F_NV));
554
+ rb_define_const(module, "GL_DEPTH_COMPONENT32_ARB", INT2NUM(GL_DEPTH_COMPONENT32_ARB));
546
555
  rb_define_const(module, "GL_DEPTH_COMPONENT32_SGIX", INT2NUM(GL_DEPTH_COMPONENT32_SGIX));
547
- rb_define_const(module, "GL_DEPTH_COMPONENT", INT2NUM(GL_DEPTH_COMPONENT));
548
556
  rb_define_const(module, "GL_DEPTH_FUNC", INT2NUM(GL_DEPTH_FUNC));
549
- rb_define_const(module, "GL_DEPTH", INT2NUM(GL_DEPTH));
550
557
  rb_define_const(module, "GL_DEPTH_PASS_INSTRUMENT_COUNTERS_SGIX", INT2NUM(GL_DEPTH_PASS_INSTRUMENT_COUNTERS_SGIX));
551
558
  rb_define_const(module, "GL_DEPTH_PASS_INSTRUMENT_MAX_SGIX", INT2NUM(GL_DEPTH_PASS_INSTRUMENT_MAX_SGIX));
552
559
  rb_define_const(module, "GL_DEPTH_PASS_INSTRUMENT_SGIX", INT2NUM(GL_DEPTH_PASS_INSTRUMENT_SGIX));
@@ -557,8 +564,8 @@ void gl_init_enums(VALUE module)
557
564
  rb_define_const(module, "GL_DEPTH_STENCIL_TO_BGRA_NV", INT2NUM(GL_DEPTH_STENCIL_TO_BGRA_NV));
558
565
  rb_define_const(module, "GL_DEPTH_STENCIL_TO_RGBA_NV", INT2NUM(GL_DEPTH_STENCIL_TO_RGBA_NV));
559
566
  rb_define_const(module, "GL_DEPTH_TEST", INT2NUM(GL_DEPTH_TEST));
560
- rb_define_const(module, "GL_DEPTH_TEXTURE_MODE_ARB", INT2NUM(GL_DEPTH_TEXTURE_MODE_ARB));
561
567
  rb_define_const(module, "GL_DEPTH_TEXTURE_MODE", INT2NUM(GL_DEPTH_TEXTURE_MODE));
568
+ rb_define_const(module, "GL_DEPTH_TEXTURE_MODE_ARB", INT2NUM(GL_DEPTH_TEXTURE_MODE_ARB));
562
569
  rb_define_const(module, "GL_DEPTH_WRITEMASK", INT2NUM(GL_DEPTH_WRITEMASK));
563
570
  rb_define_const(module, "GL_DETAIL_TEXTURE_2D_BINDING_SGIS", INT2NUM(GL_DETAIL_TEXTURE_2D_BINDING_SGIS));
564
571
  rb_define_const(module, "GL_DETAIL_TEXTURE_2D_SGIS", INT2NUM(GL_DETAIL_TEXTURE_2D_SGIS));
@@ -575,12 +582,12 @@ void gl_init_enums(VALUE module)
575
582
  rb_define_const(module, "GL_DONT_CARE", INT2NUM(GL_DONT_CARE));
576
583
  rb_define_const(module, "GL_DOT2_ADD_ATI", INT2NUM(GL_DOT2_ADD_ATI));
577
584
  rb_define_const(module, "GL_DOT3_ATI", INT2NUM(GL_DOT3_ATI));
585
+ rb_define_const(module, "GL_DOT3_RGB", INT2NUM(GL_DOT3_RGB));
586
+ rb_define_const(module, "GL_DOT3_RGBA", INT2NUM(GL_DOT3_RGBA));
578
587
  rb_define_const(module, "GL_DOT3_RGBA_ARB", INT2NUM(GL_DOT3_RGBA_ARB));
579
588
  rb_define_const(module, "GL_DOT3_RGBA_EXT", INT2NUM(GL_DOT3_RGBA_EXT));
580
- rb_define_const(module, "GL_DOT3_RGBA", INT2NUM(GL_DOT3_RGBA));
581
589
  rb_define_const(module, "GL_DOT3_RGB_ARB", INT2NUM(GL_DOT3_RGB_ARB));
582
590
  rb_define_const(module, "GL_DOT3_RGB_EXT", INT2NUM(GL_DOT3_RGB_EXT));
583
- rb_define_const(module, "GL_DOT3_RGB", INT2NUM(GL_DOT3_RGB));
584
591
  rb_define_const(module, "GL_DOT4_ATI", INT2NUM(GL_DOT4_ATI));
585
592
  rb_define_const(module, "GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV", INT2NUM(GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV));
586
593
  rb_define_const(module, "GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV", INT2NUM(GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV));
@@ -594,63 +601,62 @@ void gl_init_enums(VALUE module)
594
601
  rb_define_const(module, "GL_DOT_PRODUCT_TEXTURE_3D_NV", INT2NUM(GL_DOT_PRODUCT_TEXTURE_3D_NV));
595
602
  rb_define_const(module, "GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV", INT2NUM(GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV));
596
603
  rb_define_const(module, "GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV", INT2NUM(GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV));
604
+ rb_define_const(module, "GL_DOUBLE", INT2NUM(GL_DOUBLE));
597
605
  rb_define_const(module, "GL_DOUBLEBUFFER", INT2NUM(GL_DOUBLEBUFFER));
598
606
  rb_define_const(module, "GL_DOUBLE_EXT", INT2NUM(GL_DOUBLE_EXT));
599
- rb_define_const(module, "GL_DOUBLE", INT2NUM(GL_DOUBLE));
607
+ rb_define_const(module, "GL_DRAW_BUFFER", INT2NUM(GL_DRAW_BUFFER));
608
+ rb_define_const(module, "GL_DRAW_BUFFER0", INT2NUM(GL_DRAW_BUFFER0));
600
609
  rb_define_const(module, "GL_DRAW_BUFFER0_ARB", INT2NUM(GL_DRAW_BUFFER0_ARB));
601
610
  rb_define_const(module, "GL_DRAW_BUFFER0_ATI", INT2NUM(GL_DRAW_BUFFER0_ATI));
602
- rb_define_const(module, "GL_DRAW_BUFFER0", INT2NUM(GL_DRAW_BUFFER0));
611
+ rb_define_const(module, "GL_DRAW_BUFFER1", INT2NUM(GL_DRAW_BUFFER1));
612
+ rb_define_const(module, "GL_DRAW_BUFFER10", INT2NUM(GL_DRAW_BUFFER10));
603
613
  rb_define_const(module, "GL_DRAW_BUFFER10_ARB", INT2NUM(GL_DRAW_BUFFER10_ARB));
604
614
  rb_define_const(module, "GL_DRAW_BUFFER10_ATI", INT2NUM(GL_DRAW_BUFFER10_ATI));
605
- rb_define_const(module, "GL_DRAW_BUFFER10", INT2NUM(GL_DRAW_BUFFER10));
615
+ rb_define_const(module, "GL_DRAW_BUFFER11", INT2NUM(GL_DRAW_BUFFER11));
606
616
  rb_define_const(module, "GL_DRAW_BUFFER11_ARB", INT2NUM(GL_DRAW_BUFFER11_ARB));
607
617
  rb_define_const(module, "GL_DRAW_BUFFER11_ATI", INT2NUM(GL_DRAW_BUFFER11_ATI));
608
- rb_define_const(module, "GL_DRAW_BUFFER11", INT2NUM(GL_DRAW_BUFFER11));
618
+ rb_define_const(module, "GL_DRAW_BUFFER12", INT2NUM(GL_DRAW_BUFFER12));
609
619
  rb_define_const(module, "GL_DRAW_BUFFER12_ARB", INT2NUM(GL_DRAW_BUFFER12_ARB));
610
620
  rb_define_const(module, "GL_DRAW_BUFFER12_ATI", INT2NUM(GL_DRAW_BUFFER12_ATI));
611
- rb_define_const(module, "GL_DRAW_BUFFER12", INT2NUM(GL_DRAW_BUFFER12));
621
+ rb_define_const(module, "GL_DRAW_BUFFER13", INT2NUM(GL_DRAW_BUFFER13));
612
622
  rb_define_const(module, "GL_DRAW_BUFFER13_ARB", INT2NUM(GL_DRAW_BUFFER13_ARB));
613
623
  rb_define_const(module, "GL_DRAW_BUFFER13_ATI", INT2NUM(GL_DRAW_BUFFER13_ATI));
614
- rb_define_const(module, "GL_DRAW_BUFFER13", INT2NUM(GL_DRAW_BUFFER13));
624
+ rb_define_const(module, "GL_DRAW_BUFFER14", INT2NUM(GL_DRAW_BUFFER14));
615
625
  rb_define_const(module, "GL_DRAW_BUFFER14_ARB", INT2NUM(GL_DRAW_BUFFER14_ARB));
616
626
  rb_define_const(module, "GL_DRAW_BUFFER14_ATI", INT2NUM(GL_DRAW_BUFFER14_ATI));
617
- rb_define_const(module, "GL_DRAW_BUFFER14", INT2NUM(GL_DRAW_BUFFER14));
627
+ rb_define_const(module, "GL_DRAW_BUFFER15", INT2NUM(GL_DRAW_BUFFER15));
618
628
  rb_define_const(module, "GL_DRAW_BUFFER15_ARB", INT2NUM(GL_DRAW_BUFFER15_ARB));
619
629
  rb_define_const(module, "GL_DRAW_BUFFER15_ATI", INT2NUM(GL_DRAW_BUFFER15_ATI));
620
- rb_define_const(module, "GL_DRAW_BUFFER15", INT2NUM(GL_DRAW_BUFFER15));
621
630
  rb_define_const(module, "GL_DRAW_BUFFER1_ARB", INT2NUM(GL_DRAW_BUFFER1_ARB));
622
631
  rb_define_const(module, "GL_DRAW_BUFFER1_ATI", INT2NUM(GL_DRAW_BUFFER1_ATI));
623
- rb_define_const(module, "GL_DRAW_BUFFER1", INT2NUM(GL_DRAW_BUFFER1));
632
+ rb_define_const(module, "GL_DRAW_BUFFER2", INT2NUM(GL_DRAW_BUFFER2));
624
633
  rb_define_const(module, "GL_DRAW_BUFFER2_ARB", INT2NUM(GL_DRAW_BUFFER2_ARB));
625
634
  rb_define_const(module, "GL_DRAW_BUFFER2_ATI", INT2NUM(GL_DRAW_BUFFER2_ATI));
626
- rb_define_const(module, "GL_DRAW_BUFFER2", INT2NUM(GL_DRAW_BUFFER2));
635
+ rb_define_const(module, "GL_DRAW_BUFFER3", INT2NUM(GL_DRAW_BUFFER3));
627
636
  rb_define_const(module, "GL_DRAW_BUFFER3_ARB", INT2NUM(GL_DRAW_BUFFER3_ARB));
628
637
  rb_define_const(module, "GL_DRAW_BUFFER3_ATI", INT2NUM(GL_DRAW_BUFFER3_ATI));
629
- rb_define_const(module, "GL_DRAW_BUFFER3", INT2NUM(GL_DRAW_BUFFER3));
638
+ rb_define_const(module, "GL_DRAW_BUFFER4", INT2NUM(GL_DRAW_BUFFER4));
630
639
  rb_define_const(module, "GL_DRAW_BUFFER4_ARB", INT2NUM(GL_DRAW_BUFFER4_ARB));
631
640
  rb_define_const(module, "GL_DRAW_BUFFER4_ATI", INT2NUM(GL_DRAW_BUFFER4_ATI));
632
- rb_define_const(module, "GL_DRAW_BUFFER4", INT2NUM(GL_DRAW_BUFFER4));
641
+ rb_define_const(module, "GL_DRAW_BUFFER5", INT2NUM(GL_DRAW_BUFFER5));
633
642
  rb_define_const(module, "GL_DRAW_BUFFER5_ARB", INT2NUM(GL_DRAW_BUFFER5_ARB));
634
643
  rb_define_const(module, "GL_DRAW_BUFFER5_ATI", INT2NUM(GL_DRAW_BUFFER5_ATI));
635
- rb_define_const(module, "GL_DRAW_BUFFER5", INT2NUM(GL_DRAW_BUFFER5));
644
+ rb_define_const(module, "GL_DRAW_BUFFER6", INT2NUM(GL_DRAW_BUFFER6));
636
645
  rb_define_const(module, "GL_DRAW_BUFFER6_ARB", INT2NUM(GL_DRAW_BUFFER6_ARB));
637
646
  rb_define_const(module, "GL_DRAW_BUFFER6_ATI", INT2NUM(GL_DRAW_BUFFER6_ATI));
638
- rb_define_const(module, "GL_DRAW_BUFFER6", INT2NUM(GL_DRAW_BUFFER6));
647
+ rb_define_const(module, "GL_DRAW_BUFFER7", INT2NUM(GL_DRAW_BUFFER7));
639
648
  rb_define_const(module, "GL_DRAW_BUFFER7_ARB", INT2NUM(GL_DRAW_BUFFER7_ARB));
640
649
  rb_define_const(module, "GL_DRAW_BUFFER7_ATI", INT2NUM(GL_DRAW_BUFFER7_ATI));
641
- rb_define_const(module, "GL_DRAW_BUFFER7", INT2NUM(GL_DRAW_BUFFER7));
650
+ rb_define_const(module, "GL_DRAW_BUFFER8", INT2NUM(GL_DRAW_BUFFER8));
642
651
  rb_define_const(module, "GL_DRAW_BUFFER8_ARB", INT2NUM(GL_DRAW_BUFFER8_ARB));
643
652
  rb_define_const(module, "GL_DRAW_BUFFER8_ATI", INT2NUM(GL_DRAW_BUFFER8_ATI));
644
- rb_define_const(module, "GL_DRAW_BUFFER8", INT2NUM(GL_DRAW_BUFFER8));
653
+ rb_define_const(module, "GL_DRAW_BUFFER9", INT2NUM(GL_DRAW_BUFFER9));
645
654
  rb_define_const(module, "GL_DRAW_BUFFER9_ARB", INT2NUM(GL_DRAW_BUFFER9_ARB));
646
655
  rb_define_const(module, "GL_DRAW_BUFFER9_ATI", INT2NUM(GL_DRAW_BUFFER9_ATI));
647
- rb_define_const(module, "GL_DRAW_BUFFER9", INT2NUM(GL_DRAW_BUFFER9));
648
- rb_define_const(module, "GL_DRAW_BUFFER", INT2NUM(GL_DRAW_BUFFER));
649
656
  rb_define_const(module, "GL_DRAW_FRAMEBUFFER_BINDING_EXT", INT2NUM(GL_DRAW_FRAMEBUFFER_BINDING_EXT));
650
657
  rb_define_const(module, "GL_DRAW_FRAMEBUFFER_EXT", INT2NUM(GL_DRAW_FRAMEBUFFER_EXT));
651
658
  rb_define_const(module, "GL_DRAW_PIXELS_APPLE", INT2NUM(GL_DRAW_PIXELS_APPLE));
652
659
  rb_define_const(module, "GL_DRAW_PIXEL_TOKEN", INT2NUM(GL_DRAW_PIXEL_TOKEN));
653
- rb_define_const(module, "GL_DS_BIAS_NV", INT2NUM(GL_DS_BIAS_NV));
654
660
  rb_define_const(module, "GL_DSDT8_MAG8_INTENSITY8_NV", INT2NUM(GL_DSDT8_MAG8_INTENSITY8_NV));
655
661
  rb_define_const(module, "GL_DSDT8_MAG8_NV", INT2NUM(GL_DSDT8_MAG8_NV));
656
662
  rb_define_const(module, "GL_DSDT8_NV", INT2NUM(GL_DSDT8_NV));
@@ -658,9 +664,10 @@ void gl_init_enums(VALUE module)
658
664
  rb_define_const(module, "GL_DSDT_MAG_NV", INT2NUM(GL_DSDT_MAG_NV));
659
665
  rb_define_const(module, "GL_DSDT_MAG_VIB_NV", INT2NUM(GL_DSDT_MAG_VIB_NV));
660
666
  rb_define_const(module, "GL_DSDT_NV", INT2NUM(GL_DSDT_NV));
661
- rb_define_const(module, "GL_DS_SCALE_NV", INT2NUM(GL_DS_SCALE_NV));
662
667
  rb_define_const(module, "GL_DST_ALPHA", INT2NUM(GL_DST_ALPHA));
663
668
  rb_define_const(module, "GL_DST_COLOR", INT2NUM(GL_DST_COLOR));
669
+ rb_define_const(module, "GL_DS_BIAS_NV", INT2NUM(GL_DS_BIAS_NV));
670
+ rb_define_const(module, "GL_DS_SCALE_NV", INT2NUM(GL_DS_SCALE_NV));
664
671
  rb_define_const(module, "GL_DT_BIAS_NV", INT2NUM(GL_DT_BIAS_NV));
665
672
  rb_define_const(module, "GL_DT_SCALE_NV", INT2NUM(GL_DT_SCALE_NV));
666
673
  rb_define_const(module, "GL_DU8DV8_ATI", INT2NUM(GL_DU8DV8_ATI));
@@ -681,32 +688,32 @@ void gl_init_enums(VALUE module)
681
688
  rb_define_const(module, "GL_DUAL_TEXTURE_SELECT_SGIS", INT2NUM(GL_DUAL_TEXTURE_SELECT_SGIS));
682
689
  rb_define_const(module, "GL_DUDV_ATI", INT2NUM(GL_DUDV_ATI));
683
690
  rb_define_const(module, "GL_DYNAMIC_ATI", INT2NUM(GL_DYNAMIC_ATI));
684
- rb_define_const(module, "GL_DYNAMIC_COPY_ARB", INT2NUM(GL_DYNAMIC_COPY_ARB));
685
691
  rb_define_const(module, "GL_DYNAMIC_COPY", INT2NUM(GL_DYNAMIC_COPY));
686
- rb_define_const(module, "GL_DYNAMIC_DRAW_ARB", INT2NUM(GL_DYNAMIC_DRAW_ARB));
692
+ rb_define_const(module, "GL_DYNAMIC_COPY_ARB", INT2NUM(GL_DYNAMIC_COPY_ARB));
687
693
  rb_define_const(module, "GL_DYNAMIC_DRAW", INT2NUM(GL_DYNAMIC_DRAW));
688
- rb_define_const(module, "GL_DYNAMIC_READ_ARB", INT2NUM(GL_DYNAMIC_READ_ARB));
694
+ rb_define_const(module, "GL_DYNAMIC_DRAW_ARB", INT2NUM(GL_DYNAMIC_DRAW_ARB));
689
695
  rb_define_const(module, "GL_DYNAMIC_READ", INT2NUM(GL_DYNAMIC_READ));
690
- rb_define_const(module, "GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB", INT2NUM(GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB));
696
+ rb_define_const(module, "GL_DYNAMIC_READ_ARB", INT2NUM(GL_DYNAMIC_READ_ARB));
697
+ rb_define_const(module, "GL_EDGEFLAG_BIT_PGI", INT2NUM(GL_EDGEFLAG_BIT_PGI));
698
+ rb_define_const(module, "GL_EDGE_FLAG", INT2NUM(GL_EDGE_FLAG));
699
+ rb_define_const(module, "GL_EDGE_FLAG_ARRAY", INT2NUM(GL_EDGE_FLAG_ARRAY));
691
700
  rb_define_const(module, "GL_EDGE_FLAG_ARRAY_BUFFER_BINDING", INT2NUM(GL_EDGE_FLAG_ARRAY_BUFFER_BINDING));
701
+ rb_define_const(module, "GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB", INT2NUM(GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB));
692
702
  rb_define_const(module, "GL_EDGE_FLAG_ARRAY_COUNT_EXT", INT2NUM(GL_EDGE_FLAG_ARRAY_COUNT_EXT));
693
703
  rb_define_const(module, "GL_EDGE_FLAG_ARRAY_EXT", INT2NUM(GL_EDGE_FLAG_ARRAY_EXT));
694
- rb_define_const(module, "GL_EDGE_FLAG_ARRAY", INT2NUM(GL_EDGE_FLAG_ARRAY));
695
704
  rb_define_const(module, "GL_EDGE_FLAG_ARRAY_LIST_IBM", INT2NUM(GL_EDGE_FLAG_ARRAY_LIST_IBM));
696
705
  rb_define_const(module, "GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM", INT2NUM(GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM));
697
- rb_define_const(module, "GL_EDGE_FLAG_ARRAY_POINTER_EXT", INT2NUM(GL_EDGE_FLAG_ARRAY_POINTER_EXT));
698
706
  rb_define_const(module, "GL_EDGE_FLAG_ARRAY_POINTER", INT2NUM(GL_EDGE_FLAG_ARRAY_POINTER));
699
- rb_define_const(module, "GL_EDGE_FLAG_ARRAY_STRIDE_EXT", INT2NUM(GL_EDGE_FLAG_ARRAY_STRIDE_EXT));
707
+ rb_define_const(module, "GL_EDGE_FLAG_ARRAY_POINTER_EXT", INT2NUM(GL_EDGE_FLAG_ARRAY_POINTER_EXT));
700
708
  rb_define_const(module, "GL_EDGE_FLAG_ARRAY_STRIDE", INT2NUM(GL_EDGE_FLAG_ARRAY_STRIDE));
701
- rb_define_const(module, "GL_EDGEFLAG_BIT_PGI", INT2NUM(GL_EDGEFLAG_BIT_PGI));
702
- rb_define_const(module, "GL_EDGE_FLAG", INT2NUM(GL_EDGE_FLAG));
709
+ rb_define_const(module, "GL_EDGE_FLAG_ARRAY_STRIDE_EXT", INT2NUM(GL_EDGE_FLAG_ARRAY_STRIDE_EXT));
703
710
  rb_define_const(module, "GL_EIGHTH_BIT_ATI", INT2NUM(GL_EIGHTH_BIT_ATI));
704
711
  rb_define_const(module, "GL_ELEMENT_ARRAY_APPLE", INT2NUM(GL_ELEMENT_ARRAY_APPLE));
705
712
  rb_define_const(module, "GL_ELEMENT_ARRAY_ATI", INT2NUM(GL_ELEMENT_ARRAY_ATI));
713
+ rb_define_const(module, "GL_ELEMENT_ARRAY_BUFFER", INT2NUM(GL_ELEMENT_ARRAY_BUFFER));
706
714
  rb_define_const(module, "GL_ELEMENT_ARRAY_BUFFER_ARB", INT2NUM(GL_ELEMENT_ARRAY_BUFFER_ARB));
707
- rb_define_const(module, "GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB", INT2NUM(GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB));
708
715
  rb_define_const(module, "GL_ELEMENT_ARRAY_BUFFER_BINDING", INT2NUM(GL_ELEMENT_ARRAY_BUFFER_BINDING));
709
- rb_define_const(module, "GL_ELEMENT_ARRAY_BUFFER", INT2NUM(GL_ELEMENT_ARRAY_BUFFER));
716
+ rb_define_const(module, "GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB", INT2NUM(GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB));
710
717
  rb_define_const(module, "GL_ELEMENT_ARRAY_POINTER_APPLE", INT2NUM(GL_ELEMENT_ARRAY_POINTER_APPLE));
711
718
  rb_define_const(module, "GL_ELEMENT_ARRAY_POINTER_ATI", INT2NUM(GL_ELEMENT_ARRAY_POINTER_ATI));
712
719
  rb_define_const(module, "GL_ELEMENT_ARRAY_TYPE_APPLE", INT2NUM(GL_ELEMENT_ARRAY_TYPE_APPLE));
@@ -718,7 +725,6 @@ void gl_init_enums(VALUE module)
718
725
  rb_define_const(module, "GL_ENABLE_BIT", INT2NUM(GL_ENABLE_BIT));
719
726
  rb_define_const(module, "GL_EQUAL", INT2NUM(GL_EQUAL));
720
727
  rb_define_const(module, "GL_EQUIV", INT2NUM(GL_EQUIV));
721
- rb_define_const(module, "GL_E_TIMES_F_NV", INT2NUM(GL_E_TIMES_F_NV));
722
728
  rb_define_const(module, "GL_EVAL_2D_NV", INT2NUM(GL_EVAL_2D_NV));
723
729
  rb_define_const(module, "GL_EVAL_BIT", INT2NUM(GL_EVAL_BIT));
724
730
  rb_define_const(module, "GL_EVAL_FRACTIONAL_TESSELLATION_NV", INT2NUM(GL_EVAL_FRACTIONAL_TESSELLATION_NV));
@@ -739,10 +745,11 @@ void gl_init_enums(VALUE module)
739
745
  rb_define_const(module, "GL_EVAL_VERTEX_ATTRIB7_NV", INT2NUM(GL_EVAL_VERTEX_ATTRIB7_NV));
740
746
  rb_define_const(module, "GL_EVAL_VERTEX_ATTRIB8_NV", INT2NUM(GL_EVAL_VERTEX_ATTRIB8_NV));
741
747
  rb_define_const(module, "GL_EVAL_VERTEX_ATTRIB9_NV", INT2NUM(GL_EVAL_VERTEX_ATTRIB9_NV));
748
+ rb_define_const(module, "GL_EXP", INT2NUM(GL_EXP));
742
749
  rb_define_const(module, "GL_EXP2", INT2NUM(GL_EXP2));
743
750
  rb_define_const(module, "GL_EXPAND_NEGATE_NV", INT2NUM(GL_EXPAND_NEGATE_NV));
744
751
  rb_define_const(module, "GL_EXPAND_NORMAL_NV", INT2NUM(GL_EXPAND_NORMAL_NV));
745
- rb_define_const(module, "GL_EXP", INT2NUM(GL_EXP));
752
+ rb_define_const(module, "GL_EXTENSIONS", INT2NUM(GL_EXTENSIONS));
746
753
  rb_define_const(module, "GL_EXT_abgr", INT2NUM(GL_EXT_abgr));
747
754
  rb_define_const(module, "GL_EXT_blend_color", INT2NUM(GL_EXT_blend_color));
748
755
  rb_define_const(module, "GL_EXT_blend_logic_op", INT2NUM(GL_EXT_blend_logic_op));
@@ -751,7 +758,6 @@ void gl_init_enums(VALUE module)
751
758
  rb_define_const(module, "GL_EXT_cmyka", INT2NUM(GL_EXT_cmyka));
752
759
  rb_define_const(module, "GL_EXT_convolution", INT2NUM(GL_EXT_convolution));
753
760
  rb_define_const(module, "GL_EXT_copy_texture", INT2NUM(GL_EXT_copy_texture));
754
- rb_define_const(module, "GL_EXTENSIONS", INT2NUM(GL_EXTENSIONS));
755
761
  rb_define_const(module, "GL_EXT_histogram", INT2NUM(GL_EXT_histogram));
756
762
  rb_define_const(module, "GL_EXT_packed_pixels", INT2NUM(GL_EXT_packed_pixels));
757
763
  rb_define_const(module, "GL_EXT_point_parameters", INT2NUM(GL_EXT_point_parameters));
@@ -759,24 +765,25 @@ void gl_init_enums(VALUE module)
759
765
  rb_define_const(module, "GL_EXT_rescale_normal", INT2NUM(GL_EXT_rescale_normal));
760
766
  rb_define_const(module, "GL_EXT_shared_texture_palette", INT2NUM(GL_EXT_shared_texture_palette));
761
767
  rb_define_const(module, "GL_EXT_subtexture", INT2NUM(GL_EXT_subtexture));
762
- rb_define_const(module, "GL_EXT_texture3D", INT2NUM(GL_EXT_texture3D));
763
768
  rb_define_const(module, "GL_EXT_texture", INT2NUM(GL_EXT_texture));
769
+ rb_define_const(module, "GL_EXT_texture3D", INT2NUM(GL_EXT_texture3D));
764
770
  rb_define_const(module, "GL_EXT_texture_object", INT2NUM(GL_EXT_texture_object));
765
771
  rb_define_const(module, "GL_EXT_vertex_array", INT2NUM(GL_EXT_vertex_array));
766
772
  rb_define_const(module, "GL_EYE_DISTANCE_TO_LINE_SGIS", INT2NUM(GL_EYE_DISTANCE_TO_LINE_SGIS));
767
773
  rb_define_const(module, "GL_EYE_DISTANCE_TO_POINT_SGIS", INT2NUM(GL_EYE_DISTANCE_TO_POINT_SGIS));
768
774
  rb_define_const(module, "GL_EYE_LINEAR", INT2NUM(GL_EYE_LINEAR));
769
775
  rb_define_const(module, "GL_EYE_LINE_SGIS", INT2NUM(GL_EYE_LINE_SGIS));
770
- rb_define_const(module, "GL_EYE_PLANE_ABSOLUTE_NV", INT2NUM(GL_EYE_PLANE_ABSOLUTE_NV));
771
776
  rb_define_const(module, "GL_EYE_PLANE", INT2NUM(GL_EYE_PLANE));
777
+ rb_define_const(module, "GL_EYE_PLANE_ABSOLUTE_NV", INT2NUM(GL_EYE_PLANE_ABSOLUTE_NV));
772
778
  rb_define_const(module, "GL_EYE_POINT_SGIS", INT2NUM(GL_EYE_POINT_SGIS));
773
779
  rb_define_const(module, "GL_EYE_RADIAL_NV", INT2NUM(GL_EYE_RADIAL_NV));
780
+ rb_define_const(module, "GL_E_TIMES_F_NV", INT2NUM(GL_E_TIMES_F_NV));
774
781
  rb_define_const(module, "GL_FALSE", INT2NUM(GL_FALSE));
775
782
  rb_define_const(module, "GL_FASTEST", INT2NUM(GL_FASTEST));
783
+ rb_define_const(module, "GL_FEEDBACK", INT2NUM(GL_FEEDBACK));
776
784
  rb_define_const(module, "GL_FEEDBACK_BUFFER_POINTER", INT2NUM(GL_FEEDBACK_BUFFER_POINTER));
777
785
  rb_define_const(module, "GL_FEEDBACK_BUFFER_SIZE", INT2NUM(GL_FEEDBACK_BUFFER_SIZE));
778
786
  rb_define_const(module, "GL_FEEDBACK_BUFFER_TYPE", INT2NUM(GL_FEEDBACK_BUFFER_TYPE));
779
- rb_define_const(module, "GL_FEEDBACK", INT2NUM(GL_FEEDBACK));
780
787
  rb_define_const(module, "GL_FENCE_APPLE", INT2NUM(GL_FENCE_APPLE));
781
788
  rb_define_const(module, "GL_FENCE_CONDITION_NV", INT2NUM(GL_FENCE_CONDITION_NV));
782
789
  rb_define_const(module, "GL_FENCE_STATUS_NV", INT2NUM(GL_FENCE_STATUS_NV));
@@ -784,18 +791,19 @@ void gl_init_enums(VALUE module)
784
791
  rb_define_const(module, "GL_FILTER4_SGIS", INT2NUM(GL_FILTER4_SGIS));
785
792
  rb_define_const(module, "GL_FIXED_ONLY_ARB", INT2NUM(GL_FIXED_ONLY_ARB));
786
793
  rb_define_const(module, "GL_FLAT", INT2NUM(GL_FLAT));
787
- rb_define_const(module, "GL_FLOAT_CLEAR_COLOR_VALUE_NV", INT2NUM(GL_FLOAT_CLEAR_COLOR_VALUE_NV));
788
794
  rb_define_const(module, "GL_FLOAT", INT2NUM(GL_FLOAT));
789
- rb_define_const(module, "GL_FLOAT_MAT2_ARB", INT2NUM(GL_FLOAT_MAT2_ARB));
795
+ rb_define_const(module, "GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV", INT2NUM(GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV));
796
+ rb_define_const(module, "GL_FLOAT_CLEAR_COLOR_VALUE_NV", INT2NUM(GL_FLOAT_CLEAR_COLOR_VALUE_NV));
790
797
  rb_define_const(module, "GL_FLOAT_MAT2", INT2NUM(GL_FLOAT_MAT2));
798
+ rb_define_const(module, "GL_FLOAT_MAT2_ARB", INT2NUM(GL_FLOAT_MAT2_ARB));
791
799
  rb_define_const(module, "GL_FLOAT_MAT2x3", INT2NUM(GL_FLOAT_MAT2x3));
792
800
  rb_define_const(module, "GL_FLOAT_MAT2x4", INT2NUM(GL_FLOAT_MAT2x4));
793
- rb_define_const(module, "GL_FLOAT_MAT3_ARB", INT2NUM(GL_FLOAT_MAT3_ARB));
794
801
  rb_define_const(module, "GL_FLOAT_MAT3", INT2NUM(GL_FLOAT_MAT3));
802
+ rb_define_const(module, "GL_FLOAT_MAT3_ARB", INT2NUM(GL_FLOAT_MAT3_ARB));
795
803
  rb_define_const(module, "GL_FLOAT_MAT3x2", INT2NUM(GL_FLOAT_MAT3x2));
796
804
  rb_define_const(module, "GL_FLOAT_MAT3x4", INT2NUM(GL_FLOAT_MAT3x4));
797
- rb_define_const(module, "GL_FLOAT_MAT4_ARB", INT2NUM(GL_FLOAT_MAT4_ARB));
798
805
  rb_define_const(module, "GL_FLOAT_MAT4", INT2NUM(GL_FLOAT_MAT4));
806
+ rb_define_const(module, "GL_FLOAT_MAT4_ARB", INT2NUM(GL_FLOAT_MAT4_ARB));
799
807
  rb_define_const(module, "GL_FLOAT_MAT4x2", INT2NUM(GL_FLOAT_MAT4x2));
800
808
  rb_define_const(module, "GL_FLOAT_MAT4x3", INT2NUM(GL_FLOAT_MAT4x3));
801
809
  rb_define_const(module, "GL_FLOAT_R16_NV", INT2NUM(GL_FLOAT_R16_NV));
@@ -811,36 +819,37 @@ void gl_init_enums(VALUE module)
811
819
  rb_define_const(module, "GL_FLOAT_RGB_NV", INT2NUM(GL_FLOAT_RGB_NV));
812
820
  rb_define_const(module, "GL_FLOAT_RG_NV", INT2NUM(GL_FLOAT_RG_NV));
813
821
  rb_define_const(module, "GL_FLOAT_R_NV", INT2NUM(GL_FLOAT_R_NV));
814
- rb_define_const(module, "GL_FLOAT_VEC2_ARB", INT2NUM(GL_FLOAT_VEC2_ARB));
815
822
  rb_define_const(module, "GL_FLOAT_VEC2", INT2NUM(GL_FLOAT_VEC2));
816
- rb_define_const(module, "GL_FLOAT_VEC3_ARB", INT2NUM(GL_FLOAT_VEC3_ARB));
823
+ rb_define_const(module, "GL_FLOAT_VEC2_ARB", INT2NUM(GL_FLOAT_VEC2_ARB));
817
824
  rb_define_const(module, "GL_FLOAT_VEC3", INT2NUM(GL_FLOAT_VEC3));
818
- rb_define_const(module, "GL_FLOAT_VEC4_ARB", INT2NUM(GL_FLOAT_VEC4_ARB));
825
+ rb_define_const(module, "GL_FLOAT_VEC3_ARB", INT2NUM(GL_FLOAT_VEC3_ARB));
819
826
  rb_define_const(module, "GL_FLOAT_VEC4", INT2NUM(GL_FLOAT_VEC4));
827
+ rb_define_const(module, "GL_FLOAT_VEC4_ARB", INT2NUM(GL_FLOAT_VEC4_ARB));
828
+ rb_define_const(module, "GL_FOG", INT2NUM(GL_FOG));
820
829
  rb_define_const(module, "GL_FOG_BIT", INT2NUM(GL_FOG_BIT));
821
830
  rb_define_const(module, "GL_FOG_COLOR", INT2NUM(GL_FOG_COLOR));
822
- rb_define_const(module, "GL_FOG_COORD_ARRAY_BUFFER_BINDING", INT2NUM(GL_FOG_COORD_ARRAY_BUFFER_BINDING));
823
- rb_define_const(module, "GL_FOG_COORD_ARRAY", INT2NUM(GL_FOG_COORD_ARRAY));
824
- rb_define_const(module, "GL_FOG_COORD_ARRAY_POINTER", INT2NUM(GL_FOG_COORD_ARRAY_POINTER));
825
- rb_define_const(module, "GL_FOG_COORD_ARRAY_STRIDE", INT2NUM(GL_FOG_COORD_ARRAY_STRIDE));
826
- rb_define_const(module, "GL_FOG_COORD_ARRAY_TYPE", INT2NUM(GL_FOG_COORD_ARRAY_TYPE));
827
- rb_define_const(module, "GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB", INT2NUM(GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB));
831
+ rb_define_const(module, "GL_FOG_COORD", INT2NUM(GL_FOG_COORD));
832
+ rb_define_const(module, "GL_FOG_COORDINATE", INT2NUM(GL_FOG_COORDINATE));
833
+ rb_define_const(module, "GL_FOG_COORDINATE_ARRAY", INT2NUM(GL_FOG_COORDINATE_ARRAY));
828
834
  rb_define_const(module, "GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING", INT2NUM(GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING));
835
+ rb_define_const(module, "GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB", INT2NUM(GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB));
829
836
  rb_define_const(module, "GL_FOG_COORDINATE_ARRAY_EXT", INT2NUM(GL_FOG_COORDINATE_ARRAY_EXT));
830
- rb_define_const(module, "GL_FOG_COORDINATE_ARRAY", INT2NUM(GL_FOG_COORDINATE_ARRAY));
831
837
  rb_define_const(module, "GL_FOG_COORDINATE_ARRAY_LIST_IBM", INT2NUM(GL_FOG_COORDINATE_ARRAY_LIST_IBM));
832
838
  rb_define_const(module, "GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM", INT2NUM(GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM));
833
- rb_define_const(module, "GL_FOG_COORDINATE_ARRAY_POINTER_EXT", INT2NUM(GL_FOG_COORDINATE_ARRAY_POINTER_EXT));
834
839
  rb_define_const(module, "GL_FOG_COORDINATE_ARRAY_POINTER", INT2NUM(GL_FOG_COORDINATE_ARRAY_POINTER));
835
- rb_define_const(module, "GL_FOG_COORDINATE_ARRAY_STRIDE_EXT", INT2NUM(GL_FOG_COORDINATE_ARRAY_STRIDE_EXT));
840
+ rb_define_const(module, "GL_FOG_COORDINATE_ARRAY_POINTER_EXT", INT2NUM(GL_FOG_COORDINATE_ARRAY_POINTER_EXT));
836
841
  rb_define_const(module, "GL_FOG_COORDINATE_ARRAY_STRIDE", INT2NUM(GL_FOG_COORDINATE_ARRAY_STRIDE));
837
- rb_define_const(module, "GL_FOG_COORDINATE_ARRAY_TYPE_EXT", INT2NUM(GL_FOG_COORDINATE_ARRAY_TYPE_EXT));
842
+ rb_define_const(module, "GL_FOG_COORDINATE_ARRAY_STRIDE_EXT", INT2NUM(GL_FOG_COORDINATE_ARRAY_STRIDE_EXT));
838
843
  rb_define_const(module, "GL_FOG_COORDINATE_ARRAY_TYPE", INT2NUM(GL_FOG_COORDINATE_ARRAY_TYPE));
844
+ rb_define_const(module, "GL_FOG_COORDINATE_ARRAY_TYPE_EXT", INT2NUM(GL_FOG_COORDINATE_ARRAY_TYPE_EXT));
839
845
  rb_define_const(module, "GL_FOG_COORDINATE_EXT", INT2NUM(GL_FOG_COORDINATE_EXT));
840
- rb_define_const(module, "GL_FOG_COORDINATE", INT2NUM(GL_FOG_COORDINATE));
841
- rb_define_const(module, "GL_FOG_COORDINATE_SOURCE_EXT", INT2NUM(GL_FOG_COORDINATE_SOURCE_EXT));
842
846
  rb_define_const(module, "GL_FOG_COORDINATE_SOURCE", INT2NUM(GL_FOG_COORDINATE_SOURCE));
843
- rb_define_const(module, "GL_FOG_COORD", INT2NUM(GL_FOG_COORD));
847
+ rb_define_const(module, "GL_FOG_COORDINATE_SOURCE_EXT", INT2NUM(GL_FOG_COORDINATE_SOURCE_EXT));
848
+ rb_define_const(module, "GL_FOG_COORD_ARRAY", INT2NUM(GL_FOG_COORD_ARRAY));
849
+ rb_define_const(module, "GL_FOG_COORD_ARRAY_BUFFER_BINDING", INT2NUM(GL_FOG_COORD_ARRAY_BUFFER_BINDING));
850
+ rb_define_const(module, "GL_FOG_COORD_ARRAY_POINTER", INT2NUM(GL_FOG_COORD_ARRAY_POINTER));
851
+ rb_define_const(module, "GL_FOG_COORD_ARRAY_STRIDE", INT2NUM(GL_FOG_COORD_ARRAY_STRIDE));
852
+ rb_define_const(module, "GL_FOG_COORD_ARRAY_TYPE", INT2NUM(GL_FOG_COORD_ARRAY_TYPE));
844
853
  rb_define_const(module, "GL_FOG_COORD_SRC", INT2NUM(GL_FOG_COORD_SRC));
845
854
  rb_define_const(module, "GL_FOG_DENSITY", INT2NUM(GL_FOG_DENSITY));
846
855
  rb_define_const(module, "GL_FOG_DISTANCE_MODE_NV", INT2NUM(GL_FOG_DISTANCE_MODE_NV));
@@ -850,7 +859,6 @@ void gl_init_enums(VALUE module)
850
859
  rb_define_const(module, "GL_FOG_FUNC_SGIS", INT2NUM(GL_FOG_FUNC_SGIS));
851
860
  rb_define_const(module, "GL_FOG_HINT", INT2NUM(GL_FOG_HINT));
852
861
  rb_define_const(module, "GL_FOG_INDEX", INT2NUM(GL_FOG_INDEX));
853
- rb_define_const(module, "GL_FOG", INT2NUM(GL_FOG));
854
862
  rb_define_const(module, "GL_FOG_MODE", INT2NUM(GL_FOG_MODE));
855
863
  rb_define_const(module, "GL_FOG_OFFSET_SGIX", INT2NUM(GL_FOG_OFFSET_SGIX));
856
864
  rb_define_const(module, "GL_FOG_OFFSET_VALUE_SGIX", INT2NUM(GL_FOG_OFFSET_VALUE_SGIX));
@@ -859,14 +867,14 @@ void gl_init_enums(VALUE module)
859
867
  rb_define_const(module, "GL_FOG_SPECULAR_TEXTURE_WIN", INT2NUM(GL_FOG_SPECULAR_TEXTURE_WIN));
860
868
  rb_define_const(module, "GL_FOG_START", INT2NUM(GL_FOG_START));
861
869
  rb_define_const(module, "GL_FORCE_BLUE_TO_ONE_NV", INT2NUM(GL_FORCE_BLUE_TO_ONE_NV));
862
- rb_define_const(module, "GL_FORMAT_SUBSAMPLE_24_24_OML", INT2NUM(GL_FORMAT_SUBSAMPLE_24_24_OML));
863
870
  rb_define_const(module, "GL_FORMAT_SUBSAMPLE_244_244_OML", INT2NUM(GL_FORMAT_SUBSAMPLE_244_244_OML));
871
+ rb_define_const(module, "GL_FORMAT_SUBSAMPLE_24_24_OML", INT2NUM(GL_FORMAT_SUBSAMPLE_24_24_OML));
864
872
  rb_define_const(module, "GL_FRAGMENT_COLOR_EXT", INT2NUM(GL_FRAGMENT_COLOR_EXT));
865
873
  rb_define_const(module, "GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX", INT2NUM(GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX));
866
874
  rb_define_const(module, "GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX", INT2NUM(GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX));
867
875
  rb_define_const(module, "GL_FRAGMENT_COLOR_MATERIAL_SGIX", INT2NUM(GL_FRAGMENT_COLOR_MATERIAL_SGIX));
868
- rb_define_const(module, "GL_FRAGMENT_DEPTH_EXT", INT2NUM(GL_FRAGMENT_DEPTH_EXT));
869
876
  rb_define_const(module, "GL_FRAGMENT_DEPTH", INT2NUM(GL_FRAGMENT_DEPTH));
877
+ rb_define_const(module, "GL_FRAGMENT_DEPTH_EXT", INT2NUM(GL_FRAGMENT_DEPTH_EXT));
870
878
  rb_define_const(module, "GL_FRAGMENT_LIGHT0_SGIX", INT2NUM(GL_FRAGMENT_LIGHT0_SGIX));
871
879
  rb_define_const(module, "GL_FRAGMENT_LIGHT1_SGIX", INT2NUM(GL_FRAGMENT_LIGHT1_SGIX));
872
880
  rb_define_const(module, "GL_FRAGMENT_LIGHT2_SGIX", INT2NUM(GL_FRAGMENT_LIGHT2_SGIX));
@@ -885,15 +893,18 @@ void gl_init_enums(VALUE module)
885
893
  rb_define_const(module, "GL_FRAGMENT_PROGRAM_ARB", INT2NUM(GL_FRAGMENT_PROGRAM_ARB));
886
894
  rb_define_const(module, "GL_FRAGMENT_PROGRAM_BINDING_NV", INT2NUM(GL_FRAGMENT_PROGRAM_BINDING_NV));
887
895
  rb_define_const(module, "GL_FRAGMENT_PROGRAM_NV", INT2NUM(GL_FRAGMENT_PROGRAM_NV));
896
+ rb_define_const(module, "GL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV", INT2NUM(GL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV));
897
+ rb_define_const(module, "GL_FRAGMENT_SHADER", INT2NUM(GL_FRAGMENT_SHADER));
888
898
  rb_define_const(module, "GL_FRAGMENT_SHADER_ARB", INT2NUM(GL_FRAGMENT_SHADER_ARB));
889
899
  rb_define_const(module, "GL_FRAGMENT_SHADER_ATI", INT2NUM(GL_FRAGMENT_SHADER_ATI));
890
- rb_define_const(module, "GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB", INT2NUM(GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB));
891
900
  rb_define_const(module, "GL_FRAGMENT_SHADER_DERIVATIVE_HINT", INT2NUM(GL_FRAGMENT_SHADER_DERIVATIVE_HINT));
892
- rb_define_const(module, "GL_FRAGMENT_SHADER", INT2NUM(GL_FRAGMENT_SHADER));
901
+ rb_define_const(module, "GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB", INT2NUM(GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB));
902
+ rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT));
893
903
  rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT));
894
904
  rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT));
895
905
  rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT));
896
906
  rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT));
907
+ rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT));
897
908
  rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT));
898
909
  rb_define_const(module, "GL_FRAMEBUFFER_BINDING_EXT", INT2NUM(GL_FRAMEBUFFER_BINDING_EXT));
899
910
  rb_define_const(module, "GL_FRAMEBUFFER_COMPLETE_EXT", INT2NUM(GL_FRAMEBUFFER_COMPLETE_EXT));
@@ -902,39 +913,51 @@ void gl_init_enums(VALUE module)
902
913
  rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT));
903
914
  rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT));
904
915
  rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT));
916
+ rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT));
917
+ rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT));
905
918
  rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT));
906
919
  rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT));
907
920
  rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT));
921
+ rb_define_const(module, "GL_FRAMEBUFFER_SRGB_CAPABLE_EXT", INT2NUM(GL_FRAMEBUFFER_SRGB_CAPABLE_EXT));
922
+ rb_define_const(module, "GL_FRAMEBUFFER_SRGB_EXT", INT2NUM(GL_FRAMEBUFFER_SRGB_EXT));
908
923
  rb_define_const(module, "GL_FRAMEBUFFER_UNSUPPORTED_EXT", INT2NUM(GL_FRAMEBUFFER_UNSUPPORTED_EXT));
909
924
  rb_define_const(module, "GL_FRAMEZOOM_FACTOR_SGIX", INT2NUM(GL_FRAMEZOOM_FACTOR_SGIX));
910
925
  rb_define_const(module, "GL_FRAMEZOOM_SGIX", INT2NUM(GL_FRAMEZOOM_SGIX));
926
+ rb_define_const(module, "GL_FRONT", INT2NUM(GL_FRONT));
911
927
  rb_define_const(module, "GL_FRONT_AND_BACK", INT2NUM(GL_FRONT_AND_BACK));
912
928
  rb_define_const(module, "GL_FRONT_FACE", INT2NUM(GL_FRONT_FACE));
913
- rb_define_const(module, "GL_FRONT", INT2NUM(GL_FRONT));
914
929
  rb_define_const(module, "GL_FRONT_LEFT", INT2NUM(GL_FRONT_LEFT));
915
930
  rb_define_const(module, "GL_FRONT_RIGHT", INT2NUM(GL_FRONT_RIGHT));
916
931
  rb_define_const(module, "GL_FULL_RANGE_EXT", INT2NUM(GL_FULL_RANGE_EXT));
917
932
  rb_define_const(module, "GL_FULL_STIPPLE_HINT_PGI", INT2NUM(GL_FULL_STIPPLE_HINT_PGI));
918
- rb_define_const(module, "GL_FUNC_ADD_EXT", INT2NUM(GL_FUNC_ADD_EXT));
919
933
  rb_define_const(module, "GL_FUNC_ADD", INT2NUM(GL_FUNC_ADD));
920
- rb_define_const(module, "GL_FUNC_REVERSE_SUBTRACT_EXT", INT2NUM(GL_FUNC_REVERSE_SUBTRACT_EXT));
934
+ rb_define_const(module, "GL_FUNC_ADD_EXT", INT2NUM(GL_FUNC_ADD_EXT));
921
935
  rb_define_const(module, "GL_FUNC_REVERSE_SUBTRACT", INT2NUM(GL_FUNC_REVERSE_SUBTRACT));
922
- rb_define_const(module, "GL_FUNC_SUBTRACT_EXT", INT2NUM(GL_FUNC_SUBTRACT_EXT));
936
+ rb_define_const(module, "GL_FUNC_REVERSE_SUBTRACT_EXT", INT2NUM(GL_FUNC_REVERSE_SUBTRACT_EXT));
923
937
  rb_define_const(module, "GL_FUNC_SUBTRACT", INT2NUM(GL_FUNC_SUBTRACT));
938
+ rb_define_const(module, "GL_FUNC_SUBTRACT_EXT", INT2NUM(GL_FUNC_SUBTRACT_EXT));
939
+ rb_define_const(module, "GL_GENERATE_MIPMAP", INT2NUM(GL_GENERATE_MIPMAP));
924
940
  rb_define_const(module, "GL_GENERATE_MIPMAP_HINT", INT2NUM(GL_GENERATE_MIPMAP_HINT));
925
941
  rb_define_const(module, "GL_GENERATE_MIPMAP_HINT_SGIS", INT2NUM(GL_GENERATE_MIPMAP_HINT_SGIS));
926
- rb_define_const(module, "GL_GENERATE_MIPMAP", INT2NUM(GL_GENERATE_MIPMAP));
927
942
  rb_define_const(module, "GL_GENERATE_MIPMAP_SGIS", INT2NUM(GL_GENERATE_MIPMAP_SGIS));
943
+ rb_define_const(module, "GL_GENERIC_ATTRIB_NV", INT2NUM(GL_GENERIC_ATTRIB_NV));
928
944
  rb_define_const(module, "GL_GEOMETRY_DEFORMATION_BIT_SGIX", INT2NUM(GL_GEOMETRY_DEFORMATION_BIT_SGIX));
929
945
  rb_define_const(module, "GL_GEOMETRY_DEFORMATION_SGIX", INT2NUM(GL_GEOMETRY_DEFORMATION_SGIX));
946
+ rb_define_const(module, "GL_GEOMETRY_INPUT_TYPE_EXT", INT2NUM(GL_GEOMETRY_INPUT_TYPE_EXT));
947
+ rb_define_const(module, "GL_GEOMETRY_OUTPUT_TYPE_EXT", INT2NUM(GL_GEOMETRY_OUTPUT_TYPE_EXT));
948
+ rb_define_const(module, "GL_GEOMETRY_PROGRAM_NV", INT2NUM(GL_GEOMETRY_PROGRAM_NV));
949
+ rb_define_const(module, "GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV", INT2NUM(GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV));
950
+ rb_define_const(module, "GL_GEOMETRY_SHADER_EXT", INT2NUM(GL_GEOMETRY_SHADER_EXT));
951
+ rb_define_const(module, "GL_GEOMETRY_VERTICES_OUT_EXT", INT2NUM(GL_GEOMETRY_VERTICES_OUT_EXT));
930
952
  rb_define_const(module, "GL_GEQUAL", INT2NUM(GL_GEQUAL));
931
953
  rb_define_const(module, "GL_GLOBAL_ALPHA_FACTOR_SUN", INT2NUM(GL_GLOBAL_ALPHA_FACTOR_SUN));
932
954
  rb_define_const(module, "GL_GLOBAL_ALPHA_SUN", INT2NUM(GL_GLOBAL_ALPHA_SUN));
933
955
  rb_define_const(module, "GL_GREATER", INT2NUM(GL_GREATER));
956
+ rb_define_const(module, "GL_GREEN", INT2NUM(GL_GREEN));
934
957
  rb_define_const(module, "GL_GREEN_BIAS", INT2NUM(GL_GREEN_BIAS));
935
- rb_define_const(module, "GL_GREEN_BIT_ATI", INT2NUM(GL_GREEN_BIT_ATI));
936
958
  rb_define_const(module, "GL_GREEN_BITS", INT2NUM(GL_GREEN_BITS));
937
- rb_define_const(module, "GL_GREEN", INT2NUM(GL_GREEN));
959
+ rb_define_const(module, "GL_GREEN_BIT_ATI", INT2NUM(GL_GREEN_BIT_ATI));
960
+ rb_define_const(module, "GL_GREEN_INTEGER_EXT", INT2NUM(GL_GREEN_INTEGER_EXT));
938
961
  rb_define_const(module, "GL_GREEN_MAX_CLAMP_INGR", INT2NUM(GL_GREEN_MAX_CLAMP_INGR));
939
962
  rb_define_const(module, "GL_GREEN_MIN_CLAMP_INGR", INT2NUM(GL_GREEN_MIN_CLAMP_INGR));
940
963
  rb_define_const(module, "GL_GREEN_SCALE", INT2NUM(GL_GREEN_SCALE));
@@ -943,30 +966,30 @@ void gl_init_enums(VALUE module)
943
966
  rb_define_const(module, "GL_HALF_BIT_ATI", INT2NUM(GL_HALF_BIT_ATI));
944
967
  rb_define_const(module, "GL_HALF_FLOAT_ARB", INT2NUM(GL_HALF_FLOAT_ARB));
945
968
  rb_define_const(module, "GL_HALF_FLOAT_NV", INT2NUM(GL_HALF_FLOAT_NV));
946
- rb_define_const(module, "GL_HI_BIAS_NV", INT2NUM(GL_HI_BIAS_NV));
947
969
  rb_define_const(module, "GL_HILO16_NV", INT2NUM(GL_HILO16_NV));
948
970
  rb_define_const(module, "GL_HILO8_NV", INT2NUM(GL_HILO8_NV));
949
971
  rb_define_const(module, "GL_HILO_NV", INT2NUM(GL_HILO_NV));
950
972
  rb_define_const(module, "GL_HINT_BIT", INT2NUM(GL_HINT_BIT));
951
- rb_define_const(module, "GL_HI_SCALE_NV", INT2NUM(GL_HI_SCALE_NV));
952
- rb_define_const(module, "GL_HISTOGRAM_ALPHA_SIZE_EXT", INT2NUM(GL_HISTOGRAM_ALPHA_SIZE_EXT));
973
+ rb_define_const(module, "GL_HISTOGRAM", INT2NUM(GL_HISTOGRAM));
953
974
  rb_define_const(module, "GL_HISTOGRAM_ALPHA_SIZE", INT2NUM(GL_HISTOGRAM_ALPHA_SIZE));
954
- rb_define_const(module, "GL_HISTOGRAM_BLUE_SIZE_EXT", INT2NUM(GL_HISTOGRAM_BLUE_SIZE_EXT));
975
+ rb_define_const(module, "GL_HISTOGRAM_ALPHA_SIZE_EXT", INT2NUM(GL_HISTOGRAM_ALPHA_SIZE_EXT));
955
976
  rb_define_const(module, "GL_HISTOGRAM_BLUE_SIZE", INT2NUM(GL_HISTOGRAM_BLUE_SIZE));
977
+ rb_define_const(module, "GL_HISTOGRAM_BLUE_SIZE_EXT", INT2NUM(GL_HISTOGRAM_BLUE_SIZE_EXT));
956
978
  rb_define_const(module, "GL_HISTOGRAM_EXT", INT2NUM(GL_HISTOGRAM_EXT));
957
- rb_define_const(module, "GL_HISTOGRAM_FORMAT_EXT", INT2NUM(GL_HISTOGRAM_FORMAT_EXT));
958
979
  rb_define_const(module, "GL_HISTOGRAM_FORMAT", INT2NUM(GL_HISTOGRAM_FORMAT));
959
- rb_define_const(module, "GL_HISTOGRAM_GREEN_SIZE_EXT", INT2NUM(GL_HISTOGRAM_GREEN_SIZE_EXT));
980
+ rb_define_const(module, "GL_HISTOGRAM_FORMAT_EXT", INT2NUM(GL_HISTOGRAM_FORMAT_EXT));
960
981
  rb_define_const(module, "GL_HISTOGRAM_GREEN_SIZE", INT2NUM(GL_HISTOGRAM_GREEN_SIZE));
961
- rb_define_const(module, "GL_HISTOGRAM", INT2NUM(GL_HISTOGRAM));
962
- rb_define_const(module, "GL_HISTOGRAM_LUMINANCE_SIZE_EXT", INT2NUM(GL_HISTOGRAM_LUMINANCE_SIZE_EXT));
982
+ rb_define_const(module, "GL_HISTOGRAM_GREEN_SIZE_EXT", INT2NUM(GL_HISTOGRAM_GREEN_SIZE_EXT));
963
983
  rb_define_const(module, "GL_HISTOGRAM_LUMINANCE_SIZE", INT2NUM(GL_HISTOGRAM_LUMINANCE_SIZE));
964
- rb_define_const(module, "GL_HISTOGRAM_RED_SIZE_EXT", INT2NUM(GL_HISTOGRAM_RED_SIZE_EXT));
984
+ rb_define_const(module, "GL_HISTOGRAM_LUMINANCE_SIZE_EXT", INT2NUM(GL_HISTOGRAM_LUMINANCE_SIZE_EXT));
965
985
  rb_define_const(module, "GL_HISTOGRAM_RED_SIZE", INT2NUM(GL_HISTOGRAM_RED_SIZE));
966
- rb_define_const(module, "GL_HISTOGRAM_SINK_EXT", INT2NUM(GL_HISTOGRAM_SINK_EXT));
986
+ rb_define_const(module, "GL_HISTOGRAM_RED_SIZE_EXT", INT2NUM(GL_HISTOGRAM_RED_SIZE_EXT));
967
987
  rb_define_const(module, "GL_HISTOGRAM_SINK", INT2NUM(GL_HISTOGRAM_SINK));
968
- rb_define_const(module, "GL_HISTOGRAM_WIDTH_EXT", INT2NUM(GL_HISTOGRAM_WIDTH_EXT));
988
+ rb_define_const(module, "GL_HISTOGRAM_SINK_EXT", INT2NUM(GL_HISTOGRAM_SINK_EXT));
969
989
  rb_define_const(module, "GL_HISTOGRAM_WIDTH", INT2NUM(GL_HISTOGRAM_WIDTH));
990
+ rb_define_const(module, "GL_HISTOGRAM_WIDTH_EXT", INT2NUM(GL_HISTOGRAM_WIDTH_EXT));
991
+ rb_define_const(module, "GL_HI_BIAS_NV", INT2NUM(GL_HI_BIAS_NV));
992
+ rb_define_const(module, "GL_HI_SCALE_NV", INT2NUM(GL_HI_SCALE_NV));
970
993
  rb_define_const(module, "GL_IDENTITY_NV", INT2NUM(GL_IDENTITY_NV));
971
994
  rb_define_const(module, "GL_IGNORE_BORDER_HP", INT2NUM(GL_IGNORE_BORDER_HP));
972
995
  rb_define_const(module, "GL_IMAGE_CUBIC_WEIGHT_HP", INT2NUM(GL_IMAGE_CUBIC_WEIGHT_HP));
@@ -983,23 +1006,23 @@ void gl_init_enums(VALUE module)
983
1006
  rb_define_const(module, "GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES", INT2NUM(GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES));
984
1007
  rb_define_const(module, "GL_IMPLEMENTATION_COLOR_READ_TYPE_OES", INT2NUM(GL_IMPLEMENTATION_COLOR_READ_TYPE_OES));
985
1008
  rb_define_const(module, "GL_INCR", INT2NUM(GL_INCR));
986
- rb_define_const(module, "GL_INCR_WRAP_EXT", INT2NUM(GL_INCR_WRAP_EXT));
987
1009
  rb_define_const(module, "GL_INCR_WRAP", INT2NUM(GL_INCR_WRAP));
988
- rb_define_const(module, "GL_INDEX_ARRAY_BUFFER_BINDING_ARB", INT2NUM(GL_INDEX_ARRAY_BUFFER_BINDING_ARB));
1010
+ rb_define_const(module, "GL_INCR_WRAP_EXT", INT2NUM(GL_INCR_WRAP_EXT));
1011
+ rb_define_const(module, "GL_INDEX_ARRAY", INT2NUM(GL_INDEX_ARRAY));
989
1012
  rb_define_const(module, "GL_INDEX_ARRAY_BUFFER_BINDING", INT2NUM(GL_INDEX_ARRAY_BUFFER_BINDING));
1013
+ rb_define_const(module, "GL_INDEX_ARRAY_BUFFER_BINDING_ARB", INT2NUM(GL_INDEX_ARRAY_BUFFER_BINDING_ARB));
990
1014
  rb_define_const(module, "GL_INDEX_ARRAY_COUNT_EXT", INT2NUM(GL_INDEX_ARRAY_COUNT_EXT));
991
1015
  rb_define_const(module, "GL_INDEX_ARRAY_EXT", INT2NUM(GL_INDEX_ARRAY_EXT));
992
- rb_define_const(module, "GL_INDEX_ARRAY", INT2NUM(GL_INDEX_ARRAY));
993
1016
  rb_define_const(module, "GL_INDEX_ARRAY_LIST_IBM", INT2NUM(GL_INDEX_ARRAY_LIST_IBM));
994
1017
  rb_define_const(module, "GL_INDEX_ARRAY_LIST_STRIDE_IBM", INT2NUM(GL_INDEX_ARRAY_LIST_STRIDE_IBM));
995
- rb_define_const(module, "GL_INDEX_ARRAY_POINTER_EXT", INT2NUM(GL_INDEX_ARRAY_POINTER_EXT));
996
1018
  rb_define_const(module, "GL_INDEX_ARRAY_POINTER", INT2NUM(GL_INDEX_ARRAY_POINTER));
997
- rb_define_const(module, "GL_INDEX_ARRAY_STRIDE_EXT", INT2NUM(GL_INDEX_ARRAY_STRIDE_EXT));
1019
+ rb_define_const(module, "GL_INDEX_ARRAY_POINTER_EXT", INT2NUM(GL_INDEX_ARRAY_POINTER_EXT));
998
1020
  rb_define_const(module, "GL_INDEX_ARRAY_STRIDE", INT2NUM(GL_INDEX_ARRAY_STRIDE));
999
- rb_define_const(module, "GL_INDEX_ARRAY_TYPE_EXT", INT2NUM(GL_INDEX_ARRAY_TYPE_EXT));
1021
+ rb_define_const(module, "GL_INDEX_ARRAY_STRIDE_EXT", INT2NUM(GL_INDEX_ARRAY_STRIDE_EXT));
1000
1022
  rb_define_const(module, "GL_INDEX_ARRAY_TYPE", INT2NUM(GL_INDEX_ARRAY_TYPE));
1001
- rb_define_const(module, "GL_INDEX_BIT_PGI", INT2NUM(GL_INDEX_BIT_PGI));
1023
+ rb_define_const(module, "GL_INDEX_ARRAY_TYPE_EXT", INT2NUM(GL_INDEX_ARRAY_TYPE_EXT));
1002
1024
  rb_define_const(module, "GL_INDEX_BITS", INT2NUM(GL_INDEX_BITS));
1025
+ rb_define_const(module, "GL_INDEX_BIT_PGI", INT2NUM(GL_INDEX_BIT_PGI));
1003
1026
  rb_define_const(module, "GL_INDEX_CLEAR_VALUE", INT2NUM(GL_INDEX_CLEAR_VALUE));
1004
1027
  rb_define_const(module, "GL_INDEX_LOGIC_OP", INT2NUM(GL_INDEX_LOGIC_OP));
1005
1028
  rb_define_const(module, "GL_INDEX_MATERIAL_EXT", INT2NUM(GL_INDEX_MATERIAL_EXT));
@@ -1015,34 +1038,49 @@ void gl_init_enums(VALUE module)
1015
1038
  rb_define_const(module, "GL_INFO_LOG_LENGTH", INT2NUM(GL_INFO_LOG_LENGTH));
1016
1039
  rb_define_const(module, "GL_INSTRUMENT_BUFFER_POINTER_SGIX", INT2NUM(GL_INSTRUMENT_BUFFER_POINTER_SGIX));
1017
1040
  rb_define_const(module, "GL_INSTRUMENT_MEASUREMENTS_SGIX", INT2NUM(GL_INSTRUMENT_MEASUREMENTS_SGIX));
1018
- rb_define_const(module, "GL_INTENSITY12_EXT", INT2NUM(GL_INTENSITY12_EXT));
1041
+ rb_define_const(module, "GL_INT", INT2NUM(GL_INT));
1042
+ rb_define_const(module, "GL_INTENSITY", INT2NUM(GL_INTENSITY));
1019
1043
  rb_define_const(module, "GL_INTENSITY12", INT2NUM(GL_INTENSITY12));
1020
- rb_define_const(module, "GL_INTENSITY16_EXT", INT2NUM(GL_INTENSITY16_EXT));
1021
- rb_define_const(module, "GL_INTENSITY16F_ARB", INT2NUM(GL_INTENSITY16F_ARB));
1044
+ rb_define_const(module, "GL_INTENSITY12_EXT", INT2NUM(GL_INTENSITY12_EXT));
1022
1045
  rb_define_const(module, "GL_INTENSITY16", INT2NUM(GL_INTENSITY16));
1046
+ rb_define_const(module, "GL_INTENSITY16F_ARB", INT2NUM(GL_INTENSITY16F_ARB));
1047
+ rb_define_const(module, "GL_INTENSITY16I_EXT", INT2NUM(GL_INTENSITY16I_EXT));
1048
+ rb_define_const(module, "GL_INTENSITY16UI_EXT", INT2NUM(GL_INTENSITY16UI_EXT));
1049
+ rb_define_const(module, "GL_INTENSITY16_EXT", INT2NUM(GL_INTENSITY16_EXT));
1023
1050
  rb_define_const(module, "GL_INTENSITY32F_ARB", INT2NUM(GL_INTENSITY32F_ARB));
1024
- rb_define_const(module, "GL_INTENSITY4_EXT", INT2NUM(GL_INTENSITY4_EXT));
1051
+ rb_define_const(module, "GL_INTENSITY32I_EXT", INT2NUM(GL_INTENSITY32I_EXT));
1052
+ rb_define_const(module, "GL_INTENSITY32UI_EXT", INT2NUM(GL_INTENSITY32UI_EXT));
1025
1053
  rb_define_const(module, "GL_INTENSITY4", INT2NUM(GL_INTENSITY4));
1026
- rb_define_const(module, "GL_INTENSITY8_EXT", INT2NUM(GL_INTENSITY8_EXT));
1054
+ rb_define_const(module, "GL_INTENSITY4_EXT", INT2NUM(GL_INTENSITY4_EXT));
1027
1055
  rb_define_const(module, "GL_INTENSITY8", INT2NUM(GL_INTENSITY8));
1056
+ rb_define_const(module, "GL_INTENSITY8I_EXT", INT2NUM(GL_INTENSITY8I_EXT));
1057
+ rb_define_const(module, "GL_INTENSITY8UI_EXT", INT2NUM(GL_INTENSITY8UI_EXT));
1058
+ rb_define_const(module, "GL_INTENSITY8_EXT", INT2NUM(GL_INTENSITY8_EXT));
1028
1059
  rb_define_const(module, "GL_INTENSITY_EXT", INT2NUM(GL_INTENSITY_EXT));
1029
1060
  rb_define_const(module, "GL_INTENSITY_FLOAT16_ATI", INT2NUM(GL_INTENSITY_FLOAT16_ATI));
1030
1061
  rb_define_const(module, "GL_INTENSITY_FLOAT32_ATI", INT2NUM(GL_INTENSITY_FLOAT32_ATI));
1031
- rb_define_const(module, "GL_INTENSITY", INT2NUM(GL_INTENSITY));
1032
1062
  rb_define_const(module, "GL_INTERLACE_OML", INT2NUM(GL_INTERLACE_OML));
1033
1063
  rb_define_const(module, "GL_INTERLACE_READ_INGR", INT2NUM(GL_INTERLACE_READ_INGR));
1034
1064
  rb_define_const(module, "GL_INTERLACE_READ_OML", INT2NUM(GL_INTERLACE_READ_OML));
1035
1065
  rb_define_const(module, "GL_INTERLACE_SGIX", INT2NUM(GL_INTERLACE_SGIX));
1066
+ rb_define_const(module, "GL_INTERLEAVED_ATTRIBS_NV", INT2NUM(GL_INTERLEAVED_ATTRIBS_NV));
1067
+ rb_define_const(module, "GL_INTERPOLATE", INT2NUM(GL_INTERPOLATE));
1036
1068
  rb_define_const(module, "GL_INTERPOLATE_ARB", INT2NUM(GL_INTERPOLATE_ARB));
1037
1069
  rb_define_const(module, "GL_INTERPOLATE_EXT", INT2NUM(GL_INTERPOLATE_EXT));
1038
- rb_define_const(module, "GL_INTERPOLATE", INT2NUM(GL_INTERPOLATE));
1039
- rb_define_const(module, "GL_INT", INT2NUM(GL_INT));
1040
- rb_define_const(module, "GL_INT_VEC2_ARB", INT2NUM(GL_INT_VEC2_ARB));
1070
+ rb_define_const(module, "GL_INT_SAMPLER_1D_ARRAY_EXT", INT2NUM(GL_INT_SAMPLER_1D_ARRAY_EXT));
1071
+ rb_define_const(module, "GL_INT_SAMPLER_1D_EXT", INT2NUM(GL_INT_SAMPLER_1D_EXT));
1072
+ rb_define_const(module, "GL_INT_SAMPLER_2D_ARRAY_EXT", INT2NUM(GL_INT_SAMPLER_2D_ARRAY_EXT));
1073
+ rb_define_const(module, "GL_INT_SAMPLER_2D_EXT", INT2NUM(GL_INT_SAMPLER_2D_EXT));
1074
+ rb_define_const(module, "GL_INT_SAMPLER_2D_RECT_EXT", INT2NUM(GL_INT_SAMPLER_2D_RECT_EXT));
1075
+ rb_define_const(module, "GL_INT_SAMPLER_3D_EXT", INT2NUM(GL_INT_SAMPLER_3D_EXT));
1076
+ rb_define_const(module, "GL_INT_SAMPLER_BUFFER_EXT", INT2NUM(GL_INT_SAMPLER_BUFFER_EXT));
1077
+ rb_define_const(module, "GL_INT_SAMPLER_CUBE_EXT", INT2NUM(GL_INT_SAMPLER_CUBE_EXT));
1041
1078
  rb_define_const(module, "GL_INT_VEC2", INT2NUM(GL_INT_VEC2));
1042
- rb_define_const(module, "GL_INT_VEC3_ARB", INT2NUM(GL_INT_VEC3_ARB));
1079
+ rb_define_const(module, "GL_INT_VEC2_ARB", INT2NUM(GL_INT_VEC2_ARB));
1043
1080
  rb_define_const(module, "GL_INT_VEC3", INT2NUM(GL_INT_VEC3));
1044
- rb_define_const(module, "GL_INT_VEC4_ARB", INT2NUM(GL_INT_VEC4_ARB));
1081
+ rb_define_const(module, "GL_INT_VEC3_ARB", INT2NUM(GL_INT_VEC3_ARB));
1045
1082
  rb_define_const(module, "GL_INT_VEC4", INT2NUM(GL_INT_VEC4));
1083
+ rb_define_const(module, "GL_INT_VEC4_ARB", INT2NUM(GL_INT_VEC4_ARB));
1046
1084
  rb_define_const(module, "GL_INVALID_ENUM", INT2NUM(GL_INVALID_ENUM));
1047
1085
  rb_define_const(module, "GL_INVALID_FRAMEBUFFER_OPERATION_EXT", INT2NUM(GL_INVALID_FRAMEBUFFER_OPERATION_EXT));
1048
1086
  rb_define_const(module, "GL_INVALID_OPERATION", INT2NUM(GL_INVALID_OPERATION));
@@ -1052,8 +1090,8 @@ void gl_init_enums(VALUE module)
1052
1090
  rb_define_const(module, "GL_INVARIANT_VALUE_EXT", INT2NUM(GL_INVARIANT_VALUE_EXT));
1053
1091
  rb_define_const(module, "GL_INVERSE_NV", INT2NUM(GL_INVERSE_NV));
1054
1092
  rb_define_const(module, "GL_INVERSE_TRANSPOSE_NV", INT2NUM(GL_INVERSE_TRANSPOSE_NV));
1055
- rb_define_const(module, "GL_INVERTED_SCREEN_W_REND", INT2NUM(GL_INVERTED_SCREEN_W_REND));
1056
1093
  rb_define_const(module, "GL_INVERT", INT2NUM(GL_INVERT));
1094
+ rb_define_const(module, "GL_INVERTED_SCREEN_W_REND", INT2NUM(GL_INVERTED_SCREEN_W_REND));
1057
1095
  rb_define_const(module, "GL_IR_INSTRUMENT1_SGIX", INT2NUM(GL_IR_INSTRUMENT1_SGIX));
1058
1096
  rb_define_const(module, "GL_IUI_N3F_V2F_EXT", INT2NUM(GL_IUI_N3F_V2F_EXT));
1059
1097
  rb_define_const(module, "GL_IUI_N3F_V3F_EXT", INT2NUM(GL_IUI_N3F_V3F_EXT));
@@ -1072,41 +1110,43 @@ void gl_init_enums(VALUE module)
1072
1110
  rb_define_const(module, "GL_LIGHT5", INT2NUM(GL_LIGHT5));
1073
1111
  rb_define_const(module, "GL_LIGHT6", INT2NUM(GL_LIGHT6));
1074
1112
  rb_define_const(module, "GL_LIGHT7", INT2NUM(GL_LIGHT7));
1075
- rb_define_const(module, "GL_LIGHT_ENV_MODE_SGIX", INT2NUM(GL_LIGHT_ENV_MODE_SGIX));
1076
- rb_define_const(module, "GL_LIGHTING_BIT", INT2NUM(GL_LIGHTING_BIT));
1077
1113
  rb_define_const(module, "GL_LIGHTING", INT2NUM(GL_LIGHTING));
1114
+ rb_define_const(module, "GL_LIGHTING_BIT", INT2NUM(GL_LIGHTING_BIT));
1115
+ rb_define_const(module, "GL_LIGHT_ENV_MODE_SGIX", INT2NUM(GL_LIGHT_ENV_MODE_SGIX));
1078
1116
  rb_define_const(module, "GL_LIGHT_MODEL_AMBIENT", INT2NUM(GL_LIGHT_MODEL_AMBIENT));
1079
- rb_define_const(module, "GL_LIGHT_MODEL_COLOR_CONTROL_EXT", INT2NUM(GL_LIGHT_MODEL_COLOR_CONTROL_EXT));
1080
1117
  rb_define_const(module, "GL_LIGHT_MODEL_COLOR_CONTROL", INT2NUM(GL_LIGHT_MODEL_COLOR_CONTROL));
1118
+ rb_define_const(module, "GL_LIGHT_MODEL_COLOR_CONTROL_EXT", INT2NUM(GL_LIGHT_MODEL_COLOR_CONTROL_EXT));
1081
1119
  rb_define_const(module, "GL_LIGHT_MODEL_LOCAL_VIEWER", INT2NUM(GL_LIGHT_MODEL_LOCAL_VIEWER));
1082
1120
  rb_define_const(module, "GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE", INT2NUM(GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE));
1083
1121
  rb_define_const(module, "GL_LIGHT_MODEL_TWO_SIDE", INT2NUM(GL_LIGHT_MODEL_TWO_SIDE));
1122
+ rb_define_const(module, "GL_LINE", INT2NUM(GL_LINE));
1123
+ rb_define_const(module, "GL_LINEAR", INT2NUM(GL_LINEAR));
1084
1124
  rb_define_const(module, "GL_LINEAR_ATTENUATION", INT2NUM(GL_LINEAR_ATTENUATION));
1085
1125
  rb_define_const(module, "GL_LINEAR_CLIPMAP_LINEAR_SGIX", INT2NUM(GL_LINEAR_CLIPMAP_LINEAR_SGIX));
1086
1126
  rb_define_const(module, "GL_LINEAR_CLIPMAP_NEAREST_SGIX", INT2NUM(GL_LINEAR_CLIPMAP_NEAREST_SGIX));
1087
1127
  rb_define_const(module, "GL_LINEAR_DETAIL_ALPHA_SGIS", INT2NUM(GL_LINEAR_DETAIL_ALPHA_SGIS));
1088
1128
  rb_define_const(module, "GL_LINEAR_DETAIL_COLOR_SGIS", INT2NUM(GL_LINEAR_DETAIL_COLOR_SGIS));
1089
1129
  rb_define_const(module, "GL_LINEAR_DETAIL_SGIS", INT2NUM(GL_LINEAR_DETAIL_SGIS));
1090
- rb_define_const(module, "GL_LINEAR", INT2NUM(GL_LINEAR));
1091
1130
  rb_define_const(module, "GL_LINEAR_MIPMAP_LINEAR", INT2NUM(GL_LINEAR_MIPMAP_LINEAR));
1092
1131
  rb_define_const(module, "GL_LINEAR_MIPMAP_NEAREST", INT2NUM(GL_LINEAR_MIPMAP_NEAREST));
1093
1132
  rb_define_const(module, "GL_LINEAR_SHARPEN_ALPHA_SGIS", INT2NUM(GL_LINEAR_SHARPEN_ALPHA_SGIS));
1094
1133
  rb_define_const(module, "GL_LINEAR_SHARPEN_COLOR_SGIS", INT2NUM(GL_LINEAR_SHARPEN_COLOR_SGIS));
1095
1134
  rb_define_const(module, "GL_LINEAR_SHARPEN_SGIS", INT2NUM(GL_LINEAR_SHARPEN_SGIS));
1135
+ rb_define_const(module, "GL_LINES", INT2NUM(GL_LINES));
1136
+ rb_define_const(module, "GL_LINES_ADJACENCY_EXT", INT2NUM(GL_LINES_ADJACENCY_EXT));
1096
1137
  rb_define_const(module, "GL_LINE_BIT", INT2NUM(GL_LINE_BIT));
1097
- rb_define_const(module, "GL_LINE", INT2NUM(GL_LINE));
1098
1138
  rb_define_const(module, "GL_LINE_LOOP", INT2NUM(GL_LINE_LOOP));
1099
1139
  rb_define_const(module, "GL_LINE_RESET_TOKEN", INT2NUM(GL_LINE_RESET_TOKEN));
1100
- rb_define_const(module, "GL_LINES", INT2NUM(GL_LINES));
1101
- rb_define_const(module, "GL_LINE_SMOOTH_HINT", INT2NUM(GL_LINE_SMOOTH_HINT));
1102
1140
  rb_define_const(module, "GL_LINE_SMOOTH", INT2NUM(GL_LINE_SMOOTH));
1141
+ rb_define_const(module, "GL_LINE_SMOOTH_HINT", INT2NUM(GL_LINE_SMOOTH_HINT));
1103
1142
  rb_define_const(module, "GL_LINE_STIPPLE", INT2NUM(GL_LINE_STIPPLE));
1104
1143
  rb_define_const(module, "GL_LINE_STIPPLE_PATTERN", INT2NUM(GL_LINE_STIPPLE_PATTERN));
1105
1144
  rb_define_const(module, "GL_LINE_STIPPLE_REPEAT", INT2NUM(GL_LINE_STIPPLE_REPEAT));
1106
1145
  rb_define_const(module, "GL_LINE_STRIP", INT2NUM(GL_LINE_STRIP));
1146
+ rb_define_const(module, "GL_LINE_STRIP_ADJACENCY_EXT", INT2NUM(GL_LINE_STRIP_ADJACENCY_EXT));
1107
1147
  rb_define_const(module, "GL_LINE_TOKEN", INT2NUM(GL_LINE_TOKEN));
1108
- rb_define_const(module, "GL_LINE_WIDTH_GRANULARITY", INT2NUM(GL_LINE_WIDTH_GRANULARITY));
1109
1148
  rb_define_const(module, "GL_LINE_WIDTH", INT2NUM(GL_LINE_WIDTH));
1149
+ rb_define_const(module, "GL_LINE_WIDTH_GRANULARITY", INT2NUM(GL_LINE_WIDTH_GRANULARITY));
1110
1150
  rb_define_const(module, "GL_LINE_WIDTH_RANGE", INT2NUM(GL_LINE_WIDTH_RANGE));
1111
1151
  rb_define_const(module, "GL_LINK_STATUS", INT2NUM(GL_LINK_STATUS));
1112
1152
  rb_define_const(module, "GL_LIST_BASE", INT2NUM(GL_LIST_BASE));
@@ -1115,45 +1155,59 @@ void gl_init_enums(VALUE module)
1115
1155
  rb_define_const(module, "GL_LIST_MODE", INT2NUM(GL_LIST_MODE));
1116
1156
  rb_define_const(module, "GL_LIST_PRIORITY_SGIX", INT2NUM(GL_LIST_PRIORITY_SGIX));
1117
1157
  rb_define_const(module, "GL_LOAD", INT2NUM(GL_LOAD));
1118
- rb_define_const(module, "GL_LO_BIAS_NV", INT2NUM(GL_LO_BIAS_NV));
1119
1158
  rb_define_const(module, "GL_LOCAL_CONSTANT_DATATYPE_EXT", INT2NUM(GL_LOCAL_CONSTANT_DATATYPE_EXT));
1120
1159
  rb_define_const(module, "GL_LOCAL_CONSTANT_EXT", INT2NUM(GL_LOCAL_CONSTANT_EXT));
1121
1160
  rb_define_const(module, "GL_LOCAL_CONSTANT_VALUE_EXT", INT2NUM(GL_LOCAL_CONSTANT_VALUE_EXT));
1122
1161
  rb_define_const(module, "GL_LOCAL_EXT", INT2NUM(GL_LOCAL_EXT));
1123
1162
  rb_define_const(module, "GL_LOGIC_OP", INT2NUM(GL_LOGIC_OP));
1124
1163
  rb_define_const(module, "GL_LOGIC_OP_MODE", INT2NUM(GL_LOGIC_OP_MODE));
1125
- rb_define_const(module, "GL_LO_SCALE_NV", INT2NUM(GL_LO_SCALE_NV));
1126
1164
  rb_define_const(module, "GL_LOWER_LEFT", INT2NUM(GL_LOWER_LEFT));
1127
- rb_define_const(module, "GL_LUMINANCE12_ALPHA12_EXT", INT2NUM(GL_LUMINANCE12_ALPHA12_EXT));
1165
+ rb_define_const(module, "GL_LO_BIAS_NV", INT2NUM(GL_LO_BIAS_NV));
1166
+ rb_define_const(module, "GL_LO_SCALE_NV", INT2NUM(GL_LO_SCALE_NV));
1167
+ rb_define_const(module, "GL_LUMINANCE", INT2NUM(GL_LUMINANCE));
1168
+ rb_define_const(module, "GL_LUMINANCE12", INT2NUM(GL_LUMINANCE12));
1128
1169
  rb_define_const(module, "GL_LUMINANCE12_ALPHA12", INT2NUM(GL_LUMINANCE12_ALPHA12));
1129
- rb_define_const(module, "GL_LUMINANCE12_ALPHA4_EXT", INT2NUM(GL_LUMINANCE12_ALPHA4_EXT));
1170
+ rb_define_const(module, "GL_LUMINANCE12_ALPHA12_EXT", INT2NUM(GL_LUMINANCE12_ALPHA12_EXT));
1130
1171
  rb_define_const(module, "GL_LUMINANCE12_ALPHA4", INT2NUM(GL_LUMINANCE12_ALPHA4));
1172
+ rb_define_const(module, "GL_LUMINANCE12_ALPHA4_EXT", INT2NUM(GL_LUMINANCE12_ALPHA4_EXT));
1131
1173
  rb_define_const(module, "GL_LUMINANCE12_EXT", INT2NUM(GL_LUMINANCE12_EXT));
1132
- rb_define_const(module, "GL_LUMINANCE12", INT2NUM(GL_LUMINANCE12));
1133
- rb_define_const(module, "GL_LUMINANCE16_ALPHA16_EXT", INT2NUM(GL_LUMINANCE16_ALPHA16_EXT));
1174
+ rb_define_const(module, "GL_LUMINANCE16", INT2NUM(GL_LUMINANCE16));
1175
+ rb_define_const(module, "GL_LUMINANCE16F_ARB", INT2NUM(GL_LUMINANCE16F_ARB));
1176
+ rb_define_const(module, "GL_LUMINANCE16I_EXT", INT2NUM(GL_LUMINANCE16I_EXT));
1177
+ rb_define_const(module, "GL_LUMINANCE16UI_EXT", INT2NUM(GL_LUMINANCE16UI_EXT));
1134
1178
  rb_define_const(module, "GL_LUMINANCE16_ALPHA16", INT2NUM(GL_LUMINANCE16_ALPHA16));
1179
+ rb_define_const(module, "GL_LUMINANCE16_ALPHA16_EXT", INT2NUM(GL_LUMINANCE16_ALPHA16_EXT));
1135
1180
  rb_define_const(module, "GL_LUMINANCE16_EXT", INT2NUM(GL_LUMINANCE16_EXT));
1136
- rb_define_const(module, "GL_LUMINANCE16F_ARB", INT2NUM(GL_LUMINANCE16F_ARB));
1137
- rb_define_const(module, "GL_LUMINANCE16", INT2NUM(GL_LUMINANCE16));
1138
1181
  rb_define_const(module, "GL_LUMINANCE32F_ARB", INT2NUM(GL_LUMINANCE32F_ARB));
1139
- rb_define_const(module, "GL_LUMINANCE4_ALPHA4_EXT", INT2NUM(GL_LUMINANCE4_ALPHA4_EXT));
1182
+ rb_define_const(module, "GL_LUMINANCE32I_EXT", INT2NUM(GL_LUMINANCE32I_EXT));
1183
+ rb_define_const(module, "GL_LUMINANCE32UI_EXT", INT2NUM(GL_LUMINANCE32UI_EXT));
1184
+ rb_define_const(module, "GL_LUMINANCE4", INT2NUM(GL_LUMINANCE4));
1140
1185
  rb_define_const(module, "GL_LUMINANCE4_ALPHA4", INT2NUM(GL_LUMINANCE4_ALPHA4));
1186
+ rb_define_const(module, "GL_LUMINANCE4_ALPHA4_EXT", INT2NUM(GL_LUMINANCE4_ALPHA4_EXT));
1141
1187
  rb_define_const(module, "GL_LUMINANCE4_EXT", INT2NUM(GL_LUMINANCE4_EXT));
1142
- rb_define_const(module, "GL_LUMINANCE4", INT2NUM(GL_LUMINANCE4));
1143
- rb_define_const(module, "GL_LUMINANCE6_ALPHA2_EXT", INT2NUM(GL_LUMINANCE6_ALPHA2_EXT));
1144
1188
  rb_define_const(module, "GL_LUMINANCE6_ALPHA2", INT2NUM(GL_LUMINANCE6_ALPHA2));
1145
- rb_define_const(module, "GL_LUMINANCE8_ALPHA8_EXT", INT2NUM(GL_LUMINANCE8_ALPHA8_EXT));
1189
+ rb_define_const(module, "GL_LUMINANCE6_ALPHA2_EXT", INT2NUM(GL_LUMINANCE6_ALPHA2_EXT));
1190
+ rb_define_const(module, "GL_LUMINANCE8", INT2NUM(GL_LUMINANCE8));
1191
+ rb_define_const(module, "GL_LUMINANCE8I_EXT", INT2NUM(GL_LUMINANCE8I_EXT));
1192
+ rb_define_const(module, "GL_LUMINANCE8UI_EXT", INT2NUM(GL_LUMINANCE8UI_EXT));
1146
1193
  rb_define_const(module, "GL_LUMINANCE8_ALPHA8", INT2NUM(GL_LUMINANCE8_ALPHA8));
1194
+ rb_define_const(module, "GL_LUMINANCE8_ALPHA8_EXT", INT2NUM(GL_LUMINANCE8_ALPHA8_EXT));
1147
1195
  rb_define_const(module, "GL_LUMINANCE8_EXT", INT2NUM(GL_LUMINANCE8_EXT));
1148
- rb_define_const(module, "GL_LUMINANCE8", INT2NUM(GL_LUMINANCE8));
1196
+ rb_define_const(module, "GL_LUMINANCE_ALPHA", INT2NUM(GL_LUMINANCE_ALPHA));
1149
1197
  rb_define_const(module, "GL_LUMINANCE_ALPHA16F_ARB", INT2NUM(GL_LUMINANCE_ALPHA16F_ARB));
1198
+ rb_define_const(module, "GL_LUMINANCE_ALPHA16I_EXT", INT2NUM(GL_LUMINANCE_ALPHA16I_EXT));
1199
+ rb_define_const(module, "GL_LUMINANCE_ALPHA16UI_EXT", INT2NUM(GL_LUMINANCE_ALPHA16UI_EXT));
1150
1200
  rb_define_const(module, "GL_LUMINANCE_ALPHA32F_ARB", INT2NUM(GL_LUMINANCE_ALPHA32F_ARB));
1201
+ rb_define_const(module, "GL_LUMINANCE_ALPHA32I_EXT", INT2NUM(GL_LUMINANCE_ALPHA32I_EXT));
1202
+ rb_define_const(module, "GL_LUMINANCE_ALPHA32UI_EXT", INT2NUM(GL_LUMINANCE_ALPHA32UI_EXT));
1203
+ rb_define_const(module, "GL_LUMINANCE_ALPHA8I_EXT", INT2NUM(GL_LUMINANCE_ALPHA8I_EXT));
1204
+ rb_define_const(module, "GL_LUMINANCE_ALPHA8UI_EXT", INT2NUM(GL_LUMINANCE_ALPHA8UI_EXT));
1151
1205
  rb_define_const(module, "GL_LUMINANCE_ALPHA_FLOAT16_ATI", INT2NUM(GL_LUMINANCE_ALPHA_FLOAT16_ATI));
1152
1206
  rb_define_const(module, "GL_LUMINANCE_ALPHA_FLOAT32_ATI", INT2NUM(GL_LUMINANCE_ALPHA_FLOAT32_ATI));
1153
- rb_define_const(module, "GL_LUMINANCE_ALPHA", INT2NUM(GL_LUMINANCE_ALPHA));
1207
+ rb_define_const(module, "GL_LUMINANCE_ALPHA_INTEGER_EXT", INT2NUM(GL_LUMINANCE_ALPHA_INTEGER_EXT));
1154
1208
  rb_define_const(module, "GL_LUMINANCE_FLOAT16_ATI", INT2NUM(GL_LUMINANCE_FLOAT16_ATI));
1155
1209
  rb_define_const(module, "GL_LUMINANCE_FLOAT32_ATI", INT2NUM(GL_LUMINANCE_FLOAT32_ATI));
1156
- rb_define_const(module, "GL_LUMINANCE", INT2NUM(GL_LUMINANCE));
1210
+ rb_define_const(module, "GL_LUMINANCE_INTEGER_EXT", INT2NUM(GL_LUMINANCE_INTEGER_EXT));
1157
1211
  rb_define_const(module, "GL_MAD_ATI", INT2NUM(GL_MAD_ATI));
1158
1212
  rb_define_const(module, "GL_MAGNITUDE_BIAS_NV", INT2NUM(GL_MAGNITUDE_BIAS_NV));
1159
1213
  rb_define_const(module, "GL_MAGNITUDE_SCALE_NV", INT2NUM(GL_MAGNITUDE_SCALE_NV));
@@ -1176,8 +1230,8 @@ void gl_init_enums(VALUE module)
1176
1230
  rb_define_const(module, "GL_MAP1_VERTEX_ATTRIB12_4_NV", INT2NUM(GL_MAP1_VERTEX_ATTRIB12_4_NV));
1177
1231
  rb_define_const(module, "GL_MAP1_VERTEX_ATTRIB13_4_NV", INT2NUM(GL_MAP1_VERTEX_ATTRIB13_4_NV));
1178
1232
  rb_define_const(module, "GL_MAP1_VERTEX_ATTRIB14_4_NV", INT2NUM(GL_MAP1_VERTEX_ATTRIB14_4_NV));
1179
- rb_define_const(module, "GL_MAP1_VERTEX_ATTRIB1_4_NV", INT2NUM(GL_MAP1_VERTEX_ATTRIB1_4_NV));
1180
1233
  rb_define_const(module, "GL_MAP1_VERTEX_ATTRIB15_4_NV", INT2NUM(GL_MAP1_VERTEX_ATTRIB15_4_NV));
1234
+ rb_define_const(module, "GL_MAP1_VERTEX_ATTRIB1_4_NV", INT2NUM(GL_MAP1_VERTEX_ATTRIB1_4_NV));
1181
1235
  rb_define_const(module, "GL_MAP1_VERTEX_ATTRIB2_4_NV", INT2NUM(GL_MAP1_VERTEX_ATTRIB2_4_NV));
1182
1236
  rb_define_const(module, "GL_MAP1_VERTEX_ATTRIB3_4_NV", INT2NUM(GL_MAP1_VERTEX_ATTRIB3_4_NV));
1183
1237
  rb_define_const(module, "GL_MAP1_VERTEX_ATTRIB4_4_NV", INT2NUM(GL_MAP1_VERTEX_ATTRIB4_4_NV));
@@ -1205,8 +1259,8 @@ void gl_init_enums(VALUE module)
1205
1259
  rb_define_const(module, "GL_MAP2_VERTEX_ATTRIB12_4_NV", INT2NUM(GL_MAP2_VERTEX_ATTRIB12_4_NV));
1206
1260
  rb_define_const(module, "GL_MAP2_VERTEX_ATTRIB13_4_NV", INT2NUM(GL_MAP2_VERTEX_ATTRIB13_4_NV));
1207
1261
  rb_define_const(module, "GL_MAP2_VERTEX_ATTRIB14_4_NV", INT2NUM(GL_MAP2_VERTEX_ATTRIB14_4_NV));
1208
- rb_define_const(module, "GL_MAP2_VERTEX_ATTRIB1_4_NV", INT2NUM(GL_MAP2_VERTEX_ATTRIB1_4_NV));
1209
1262
  rb_define_const(module, "GL_MAP2_VERTEX_ATTRIB15_4_NV", INT2NUM(GL_MAP2_VERTEX_ATTRIB15_4_NV));
1263
+ rb_define_const(module, "GL_MAP2_VERTEX_ATTRIB1_4_NV", INT2NUM(GL_MAP2_VERTEX_ATTRIB1_4_NV));
1210
1264
  rb_define_const(module, "GL_MAP2_VERTEX_ATTRIB2_4_NV", INT2NUM(GL_MAP2_VERTEX_ATTRIB2_4_NV));
1211
1265
  rb_define_const(module, "GL_MAP2_VERTEX_ATTRIB3_4_NV", INT2NUM(GL_MAP2_VERTEX_ATTRIB3_4_NV));
1212
1266
  rb_define_const(module, "GL_MAP2_VERTEX_ATTRIB4_4_NV", INT2NUM(GL_MAP2_VERTEX_ATTRIB4_4_NV));
@@ -1220,11 +1274,6 @@ void gl_init_enums(VALUE module)
1220
1274
  rb_define_const(module, "GL_MAP_COLOR", INT2NUM(GL_MAP_COLOR));
1221
1275
  rb_define_const(module, "GL_MAP_STENCIL", INT2NUM(GL_MAP_STENCIL));
1222
1276
  rb_define_const(module, "GL_MAP_TESSELLATION_NV", INT2NUM(GL_MAP_TESSELLATION_NV));
1223
- rb_define_const(module, "GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI", INT2NUM(GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI));
1224
- rb_define_const(module, "GL_MAT_AMBIENT_BIT_PGI", INT2NUM(GL_MAT_AMBIENT_BIT_PGI));
1225
- rb_define_const(module, "GL_MAT_COLOR_INDEXES_BIT_PGI", INT2NUM(GL_MAT_COLOR_INDEXES_BIT_PGI));
1226
- rb_define_const(module, "GL_MAT_DIFFUSE_BIT_PGI", INT2NUM(GL_MAT_DIFFUSE_BIT_PGI));
1227
- rb_define_const(module, "GL_MAT_EMISSION_BIT_PGI", INT2NUM(GL_MAT_EMISSION_BIT_PGI));
1228
1277
  rb_define_const(module, "GL_MATERIAL_SIDE_HINT_PGI", INT2NUM(GL_MATERIAL_SIDE_HINT_PGI));
1229
1278
  rb_define_const(module, "GL_MATRIX0_ARB", INT2NUM(GL_MATRIX0_ARB));
1230
1279
  rb_define_const(module, "GL_MATRIX0_NV", INT2NUM(GL_MATRIX0_NV));
@@ -1274,17 +1323,25 @@ void gl_init_enums(VALUE module)
1274
1323
  rb_define_const(module, "GL_MATRIX_INDEX_ARRAY_TYPE_ARB", INT2NUM(GL_MATRIX_INDEX_ARRAY_TYPE_ARB));
1275
1324
  rb_define_const(module, "GL_MATRIX_MODE", INT2NUM(GL_MATRIX_MODE));
1276
1325
  rb_define_const(module, "GL_MATRIX_PALETTE_ARB", INT2NUM(GL_MATRIX_PALETTE_ARB));
1326
+ rb_define_const(module, "GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI", INT2NUM(GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI));
1327
+ rb_define_const(module, "GL_MAT_AMBIENT_BIT_PGI", INT2NUM(GL_MAT_AMBIENT_BIT_PGI));
1328
+ rb_define_const(module, "GL_MAT_COLOR_INDEXES_BIT_PGI", INT2NUM(GL_MAT_COLOR_INDEXES_BIT_PGI));
1329
+ rb_define_const(module, "GL_MAT_DIFFUSE_BIT_PGI", INT2NUM(GL_MAT_DIFFUSE_BIT_PGI));
1330
+ rb_define_const(module, "GL_MAT_EMISSION_BIT_PGI", INT2NUM(GL_MAT_EMISSION_BIT_PGI));
1277
1331
  rb_define_const(module, "GL_MAT_SHININESS_BIT_PGI", INT2NUM(GL_MAT_SHININESS_BIT_PGI));
1278
1332
  rb_define_const(module, "GL_MAT_SPECULAR_BIT_PGI", INT2NUM(GL_MAT_SPECULAR_BIT_PGI));
1279
- rb_define_const(module, "GL_MAX_3D_TEXTURE_SIZE_EXT", INT2NUM(GL_MAX_3D_TEXTURE_SIZE_EXT));
1333
+ rb_define_const(module, "GL_MAX", INT2NUM(GL_MAX));
1280
1334
  rb_define_const(module, "GL_MAX_3D_TEXTURE_SIZE", INT2NUM(GL_MAX_3D_TEXTURE_SIZE));
1335
+ rb_define_const(module, "GL_MAX_3D_TEXTURE_SIZE_EXT", INT2NUM(GL_MAX_3D_TEXTURE_SIZE_EXT));
1281
1336
  rb_define_const(module, "GL_MAX_4D_TEXTURE_SIZE_SGIS", INT2NUM(GL_MAX_4D_TEXTURE_SIZE_SGIS));
1282
1337
  rb_define_const(module, "GL_MAX_ACTIVE_LIGHTS_SGIX", INT2NUM(GL_MAX_ACTIVE_LIGHTS_SGIX));
1338
+ rb_define_const(module, "GL_MAX_ARRAY_TEXTURE_LAYERS_EXT", INT2NUM(GL_MAX_ARRAY_TEXTURE_LAYERS_EXT));
1283
1339
  rb_define_const(module, "GL_MAX_ASYNC_DRAW_PIXELS_SGIX", INT2NUM(GL_MAX_ASYNC_DRAW_PIXELS_SGIX));
1284
1340
  rb_define_const(module, "GL_MAX_ASYNC_HISTOGRAM_SGIX", INT2NUM(GL_MAX_ASYNC_HISTOGRAM_SGIX));
1285
1341
  rb_define_const(module, "GL_MAX_ASYNC_READ_PIXELS_SGIX", INT2NUM(GL_MAX_ASYNC_READ_PIXELS_SGIX));
1286
1342
  rb_define_const(module, "GL_MAX_ASYNC_TEX_IMAGE_SGIX", INT2NUM(GL_MAX_ASYNC_TEX_IMAGE_SGIX));
1287
1343
  rb_define_const(module, "GL_MAX_ATTRIB_STACK_DEPTH", INT2NUM(GL_MAX_ATTRIB_STACK_DEPTH));
1344
+ rb_define_const(module, "GL_MAX_BINDABLE_UNIFORM_SIZE_EXT", INT2NUM(GL_MAX_BINDABLE_UNIFORM_SIZE_EXT));
1288
1345
  rb_define_const(module, "GL_MAX_CLIENT_ATTRIB_STACK_DEPTH", INT2NUM(GL_MAX_CLIENT_ATTRIB_STACK_DEPTH));
1289
1346
  rb_define_const(module, "GL_MAX_CLIPMAP_DEPTH_SGIX", INT2NUM(GL_MAX_CLIPMAP_DEPTH_SGIX));
1290
1347
  rb_define_const(module, "GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX", INT2NUM(GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX));
@@ -1292,43 +1349,50 @@ void gl_init_enums(VALUE module)
1292
1349
  rb_define_const(module, "GL_MAX_COLOR_ATTACHMENTS_EXT", INT2NUM(GL_MAX_COLOR_ATTACHMENTS_EXT));
1293
1350
  rb_define_const(module, "GL_MAX_COLOR_MATRIX_STACK_DEPTH", INT2NUM(GL_MAX_COLOR_MATRIX_STACK_DEPTH));
1294
1351
  rb_define_const(module, "GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI", INT2NUM(GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI));
1295
- rb_define_const(module, "GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB", INT2NUM(GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB));
1296
1352
  rb_define_const(module, "GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS", INT2NUM(GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS));
1297
- rb_define_const(module, "GL_MAX_CONVOLUTION_HEIGHT_EXT", INT2NUM(GL_MAX_CONVOLUTION_HEIGHT_EXT));
1353
+ rb_define_const(module, "GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB", INT2NUM(GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB));
1298
1354
  rb_define_const(module, "GL_MAX_CONVOLUTION_HEIGHT", INT2NUM(GL_MAX_CONVOLUTION_HEIGHT));
1299
- rb_define_const(module, "GL_MAX_CONVOLUTION_WIDTH_EXT", INT2NUM(GL_MAX_CONVOLUTION_WIDTH_EXT));
1355
+ rb_define_const(module, "GL_MAX_CONVOLUTION_HEIGHT_EXT", INT2NUM(GL_MAX_CONVOLUTION_HEIGHT_EXT));
1300
1356
  rb_define_const(module, "GL_MAX_CONVOLUTION_WIDTH", INT2NUM(GL_MAX_CONVOLUTION_WIDTH));
1357
+ rb_define_const(module, "GL_MAX_CONVOLUTION_WIDTH_EXT", INT2NUM(GL_MAX_CONVOLUTION_WIDTH_EXT));
1358
+ rb_define_const(module, "GL_MAX_CUBE_MAP_TEXTURE_SIZE", INT2NUM(GL_MAX_CUBE_MAP_TEXTURE_SIZE));
1301
1359
  rb_define_const(module, "GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB", INT2NUM(GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB));
1302
1360
  rb_define_const(module, "GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT", INT2NUM(GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT));
1303
- rb_define_const(module, "GL_MAX_CUBE_MAP_TEXTURE_SIZE", INT2NUM(GL_MAX_CUBE_MAP_TEXTURE_SIZE));
1304
1361
  rb_define_const(module, "GL_MAX_DEFORMATION_ORDER_SGIX", INT2NUM(GL_MAX_DEFORMATION_ORDER_SGIX));
1362
+ rb_define_const(module, "GL_MAX_DRAW_BUFFERS", INT2NUM(GL_MAX_DRAW_BUFFERS));
1305
1363
  rb_define_const(module, "GL_MAX_DRAW_BUFFERS_ARB", INT2NUM(GL_MAX_DRAW_BUFFERS_ARB));
1306
1364
  rb_define_const(module, "GL_MAX_DRAW_BUFFERS_ATI", INT2NUM(GL_MAX_DRAW_BUFFERS_ATI));
1307
- rb_define_const(module, "GL_MAX_DRAW_BUFFERS", INT2NUM(GL_MAX_DRAW_BUFFERS));
1308
- rb_define_const(module, "GL_MAX_ELEMENTS_INDICES_EXT", INT2NUM(GL_MAX_ELEMENTS_INDICES_EXT));
1309
1365
  rb_define_const(module, "GL_MAX_ELEMENTS_INDICES", INT2NUM(GL_MAX_ELEMENTS_INDICES));
1310
- rb_define_const(module, "GL_MAX_ELEMENTS_VERTICES_EXT", INT2NUM(GL_MAX_ELEMENTS_VERTICES_EXT));
1366
+ rb_define_const(module, "GL_MAX_ELEMENTS_INDICES_EXT", INT2NUM(GL_MAX_ELEMENTS_INDICES_EXT));
1311
1367
  rb_define_const(module, "GL_MAX_ELEMENTS_VERTICES", INT2NUM(GL_MAX_ELEMENTS_VERTICES));
1368
+ rb_define_const(module, "GL_MAX_ELEMENTS_VERTICES_EXT", INT2NUM(GL_MAX_ELEMENTS_VERTICES_EXT));
1312
1369
  rb_define_const(module, "GL_MAX_EVAL_ORDER", INT2NUM(GL_MAX_EVAL_ORDER));
1313
1370
  rb_define_const(module, "GL_MAX_EXT", INT2NUM(GL_MAX_EXT));
1314
1371
  rb_define_const(module, "GL_MAX_FOG_FUNC_POINTS_SGIS", INT2NUM(GL_MAX_FOG_FUNC_POINTS_SGIS));
1372
+ rb_define_const(module, "GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT", INT2NUM(GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT));
1315
1373
  rb_define_const(module, "GL_MAX_FRAGMENT_LIGHTS_SGIX", INT2NUM(GL_MAX_FRAGMENT_LIGHTS_SGIX));
1316
1374
  rb_define_const(module, "GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV", INT2NUM(GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV));
1317
- rb_define_const(module, "GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB", INT2NUM(GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB));
1318
1375
  rb_define_const(module, "GL_MAX_FRAGMENT_UNIFORM_COMPONENTS", INT2NUM(GL_MAX_FRAGMENT_UNIFORM_COMPONENTS));
1376
+ rb_define_const(module, "GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB", INT2NUM(GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB));
1319
1377
  rb_define_const(module, "GL_MAX_FRAMEZOOM_FACTOR_SGIX", INT2NUM(GL_MAX_FRAMEZOOM_FACTOR_SGIX));
1320
1378
  rb_define_const(module, "GL_MAX_GENERAL_COMBINERS_NV", INT2NUM(GL_MAX_GENERAL_COMBINERS_NV));
1321
- rb_define_const(module, "GL_MAX", INT2NUM(GL_MAX));
1379
+ rb_define_const(module, "GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT", INT2NUM(GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT));
1380
+ rb_define_const(module, "GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT", INT2NUM(GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT));
1381
+ rb_define_const(module, "GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT", INT2NUM(GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT));
1382
+ rb_define_const(module, "GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT", INT2NUM(GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT));
1383
+ rb_define_const(module, "GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT", INT2NUM(GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT));
1384
+ rb_define_const(module, "GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT", INT2NUM(GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT));
1322
1385
  rb_define_const(module, "GL_MAX_LIGHTS", INT2NUM(GL_MAX_LIGHTS));
1323
1386
  rb_define_const(module, "GL_MAX_LIST_NESTING", INT2NUM(GL_MAX_LIST_NESTING));
1324
1387
  rb_define_const(module, "GL_MAX_MAP_TESSELLATION_NV", INT2NUM(GL_MAX_MAP_TESSELLATION_NV));
1325
1388
  rb_define_const(module, "GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB", INT2NUM(GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB));
1326
1389
  rb_define_const(module, "GL_MAX_MODELVIEW_STACK_DEPTH", INT2NUM(GL_MAX_MODELVIEW_STACK_DEPTH));
1390
+ rb_define_const(module, "GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV", INT2NUM(GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV));
1327
1391
  rb_define_const(module, "GL_MAX_NAME_STACK_DEPTH", INT2NUM(GL_MAX_NAME_STACK_DEPTH));
1328
1392
  rb_define_const(module, "GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT", INT2NUM(GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT));
1329
1393
  rb_define_const(module, "GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT", INT2NUM(GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT));
1330
- rb_define_const(module, "GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT", INT2NUM(GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT));
1331
1394
  rb_define_const(module, "GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT", INT2NUM(GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT));
1395
+ rb_define_const(module, "GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT", INT2NUM(GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT));
1332
1396
  rb_define_const(module, "GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT", INT2NUM(GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT));
1333
1397
  rb_define_const(module, "GL_MAX_PALETTE_MATRICES_ARB", INT2NUM(GL_MAX_PALETTE_MATRICES_ARB));
1334
1398
  rb_define_const(module, "GL_MAX_PIXEL_MAP_TABLE", INT2NUM(GL_MAX_PIXEL_MAP_TABLE));
@@ -1337,9 +1401,12 @@ void gl_init_enums(VALUE module)
1337
1401
  rb_define_const(module, "GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB", INT2NUM(GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB));
1338
1402
  rb_define_const(module, "GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB", INT2NUM(GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB));
1339
1403
  rb_define_const(module, "GL_MAX_PROGRAM_ATTRIBS_ARB", INT2NUM(GL_MAX_PROGRAM_ATTRIBS_ARB));
1404
+ rb_define_const(module, "GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV", INT2NUM(GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV));
1340
1405
  rb_define_const(module, "GL_MAX_PROGRAM_CALL_DEPTH_NV", INT2NUM(GL_MAX_PROGRAM_CALL_DEPTH_NV));
1341
1406
  rb_define_const(module, "GL_MAX_PROGRAM_ENV_PARAMETERS_ARB", INT2NUM(GL_MAX_PROGRAM_ENV_PARAMETERS_ARB));
1342
1407
  rb_define_const(module, "GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV", INT2NUM(GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV));
1408
+ rb_define_const(module, "GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV", INT2NUM(GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV));
1409
+ rb_define_const(module, "GL_MAX_PROGRAM_GENERIC_RESULTS_NV", INT2NUM(GL_MAX_PROGRAM_GENERIC_RESULTS_NV));
1343
1410
  rb_define_const(module, "GL_MAX_PROGRAM_IF_DEPTH_NV", INT2NUM(GL_MAX_PROGRAM_IF_DEPTH_NV));
1344
1411
  rb_define_const(module, "GL_MAX_PROGRAM_INSTRUCTIONS_ARB", INT2NUM(GL_MAX_PROGRAM_INSTRUCTIONS_ARB));
1345
1412
  rb_define_const(module, "GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB", INT2NUM(GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB));
@@ -1355,10 +1422,16 @@ void gl_init_enums(VALUE module)
1355
1422
  rb_define_const(module, "GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB", INT2NUM(GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB));
1356
1423
  rb_define_const(module, "GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB", INT2NUM(GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB));
1357
1424
  rb_define_const(module, "GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB", INT2NUM(GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB));
1425
+ rb_define_const(module, "GL_MAX_PROGRAM_OUTPUT_VERTICES_NV", INT2NUM(GL_MAX_PROGRAM_OUTPUT_VERTICES_NV));
1358
1426
  rb_define_const(module, "GL_MAX_PROGRAM_PARAMETERS_ARB", INT2NUM(GL_MAX_PROGRAM_PARAMETERS_ARB));
1427
+ rb_define_const(module, "GL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV", INT2NUM(GL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV));
1428
+ rb_define_const(module, "GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV", INT2NUM(GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV));
1429
+ rb_define_const(module, "GL_MAX_PROGRAM_RESULT_COMPONENTS_NV", INT2NUM(GL_MAX_PROGRAM_RESULT_COMPONENTS_NV));
1359
1430
  rb_define_const(module, "GL_MAX_PROGRAM_TEMPORARIES_ARB", INT2NUM(GL_MAX_PROGRAM_TEMPORARIES_ARB));
1431
+ rb_define_const(module, "GL_MAX_PROGRAM_TEXEL_OFFSET_NV", INT2NUM(GL_MAX_PROGRAM_TEXEL_OFFSET_NV));
1360
1432
  rb_define_const(module, "GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB", INT2NUM(GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB));
1361
1433
  rb_define_const(module, "GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB", INT2NUM(GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB));
1434
+ rb_define_const(module, "GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV", INT2NUM(GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV));
1362
1435
  rb_define_const(module, "GL_MAX_PROJECTION_STACK_DEPTH", INT2NUM(GL_MAX_PROJECTION_STACK_DEPTH));
1363
1436
  rb_define_const(module, "GL_MAX_RATIONAL_EVAL_ORDER_NV", INT2NUM(GL_MAX_RATIONAL_EVAL_ORDER_NV));
1364
1437
  rb_define_const(module, "GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB", INT2NUM(GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB));
@@ -1367,55 +1440,64 @@ void gl_init_enums(VALUE module)
1367
1440
  rb_define_const(module, "GL_MAX_SAMPLES_EXT", INT2NUM(GL_MAX_SAMPLES_EXT));
1368
1441
  rb_define_const(module, "GL_MAX_SHININESS_NV", INT2NUM(GL_MAX_SHININESS_NV));
1369
1442
  rb_define_const(module, "GL_MAX_SPOT_EXPONENT_NV", INT2NUM(GL_MAX_SPOT_EXPONENT_NV));
1370
- rb_define_const(module, "GL_MAX_TEXTURE_COORDS_ARB", INT2NUM(GL_MAX_TEXTURE_COORDS_ARB));
1443
+ rb_define_const(module, "GL_MAX_TEXTURE_BUFFER_SIZE_EXT", INT2NUM(GL_MAX_TEXTURE_BUFFER_SIZE_EXT));
1371
1444
  rb_define_const(module, "GL_MAX_TEXTURE_COORDS", INT2NUM(GL_MAX_TEXTURE_COORDS));
1445
+ rb_define_const(module, "GL_MAX_TEXTURE_COORDS_ARB", INT2NUM(GL_MAX_TEXTURE_COORDS_ARB));
1372
1446
  rb_define_const(module, "GL_MAX_TEXTURE_COORDS_NV", INT2NUM(GL_MAX_TEXTURE_COORDS_NV));
1373
- rb_define_const(module, "GL_MAX_TEXTURE_IMAGE_UNITS_ARB", INT2NUM(GL_MAX_TEXTURE_IMAGE_UNITS_ARB));
1374
1447
  rb_define_const(module, "GL_MAX_TEXTURE_IMAGE_UNITS", INT2NUM(GL_MAX_TEXTURE_IMAGE_UNITS));
1448
+ rb_define_const(module, "GL_MAX_TEXTURE_IMAGE_UNITS_ARB", INT2NUM(GL_MAX_TEXTURE_IMAGE_UNITS_ARB));
1375
1449
  rb_define_const(module, "GL_MAX_TEXTURE_IMAGE_UNITS_NV", INT2NUM(GL_MAX_TEXTURE_IMAGE_UNITS_NV));
1376
- rb_define_const(module, "GL_MAX_TEXTURE_LOD_BIAS_EXT", INT2NUM(GL_MAX_TEXTURE_LOD_BIAS_EXT));
1377
1450
  rb_define_const(module, "GL_MAX_TEXTURE_LOD_BIAS", INT2NUM(GL_MAX_TEXTURE_LOD_BIAS));
1451
+ rb_define_const(module, "GL_MAX_TEXTURE_LOD_BIAS_EXT", INT2NUM(GL_MAX_TEXTURE_LOD_BIAS_EXT));
1378
1452
  rb_define_const(module, "GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT", INT2NUM(GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT));
1379
1453
  rb_define_const(module, "GL_MAX_TEXTURE_SIZE", INT2NUM(GL_MAX_TEXTURE_SIZE));
1380
1454
  rb_define_const(module, "GL_MAX_TEXTURE_STACK_DEPTH", INT2NUM(GL_MAX_TEXTURE_STACK_DEPTH));
1381
- rb_define_const(module, "GL_MAX_TEXTURE_UNITS_ARB", INT2NUM(GL_MAX_TEXTURE_UNITS_ARB));
1382
1455
  rb_define_const(module, "GL_MAX_TEXTURE_UNITS", INT2NUM(GL_MAX_TEXTURE_UNITS));
1456
+ rb_define_const(module, "GL_MAX_TEXTURE_UNITS_ARB", INT2NUM(GL_MAX_TEXTURE_UNITS_ARB));
1383
1457
  rb_define_const(module, "GL_MAX_TRACK_MATRICES_NV", INT2NUM(GL_MAX_TRACK_MATRICES_NV));
1384
1458
  rb_define_const(module, "GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV", INT2NUM(GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV));
1385
- rb_define_const(module, "GL_MAX_VARYING_FLOATS_ARB", INT2NUM(GL_MAX_VARYING_FLOATS_ARB));
1459
+ rb_define_const(module, "GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_ATTRIBS_NV", INT2NUM(GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_ATTRIBS_NV));
1460
+ rb_define_const(module, "GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV", INT2NUM(GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV));
1461
+ rb_define_const(module, "GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV", INT2NUM(GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV));
1462
+ rb_define_const(module, "GL_MAX_VARYING_COMPONENTS_EXT", INT2NUM(GL_MAX_VARYING_COMPONENTS_EXT));
1386
1463
  rb_define_const(module, "GL_MAX_VARYING_FLOATS", INT2NUM(GL_MAX_VARYING_FLOATS));
1464
+ rb_define_const(module, "GL_MAX_VARYING_FLOATS_ARB", INT2NUM(GL_MAX_VARYING_FLOATS_ARB));
1387
1465
  rb_define_const(module, "GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV", INT2NUM(GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV));
1388
- rb_define_const(module, "GL_MAX_VERTEX_ATTRIBS_ARB", INT2NUM(GL_MAX_VERTEX_ATTRIBS_ARB));
1389
1466
  rb_define_const(module, "GL_MAX_VERTEX_ATTRIBS", INT2NUM(GL_MAX_VERTEX_ATTRIBS));
1467
+ rb_define_const(module, "GL_MAX_VERTEX_ATTRIBS_ARB", INT2NUM(GL_MAX_VERTEX_ATTRIBS_ARB));
1468
+ rb_define_const(module, "GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT", INT2NUM(GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT));
1390
1469
  rb_define_const(module, "GL_MAX_VERTEX_HINT_PGI", INT2NUM(GL_MAX_VERTEX_HINT_PGI));
1391
1470
  rb_define_const(module, "GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT", INT2NUM(GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT));
1392
1471
  rb_define_const(module, "GL_MAX_VERTEX_SHADER_INVARIANTS_EXT", INT2NUM(GL_MAX_VERTEX_SHADER_INVARIANTS_EXT));
1393
- rb_define_const(module, "GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT", INT2NUM(GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT));
1394
1472
  rb_define_const(module, "GL_MAX_VERTEX_SHADER_LOCALS_EXT", INT2NUM(GL_MAX_VERTEX_SHADER_LOCALS_EXT));
1473
+ rb_define_const(module, "GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT", INT2NUM(GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT));
1395
1474
  rb_define_const(module, "GL_MAX_VERTEX_SHADER_VARIANTS_EXT", INT2NUM(GL_MAX_VERTEX_SHADER_VARIANTS_EXT));
1396
1475
  rb_define_const(module, "GL_MAX_VERTEX_STREAMS_ATI", INT2NUM(GL_MAX_VERTEX_STREAMS_ATI));
1397
- rb_define_const(module, "GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB", INT2NUM(GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB));
1398
1476
  rb_define_const(module, "GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS", INT2NUM(GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS));
1399
- rb_define_const(module, "GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB", INT2NUM(GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB));
1477
+ rb_define_const(module, "GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB", INT2NUM(GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB));
1400
1478
  rb_define_const(module, "GL_MAX_VERTEX_UNIFORM_COMPONENTS", INT2NUM(GL_MAX_VERTEX_UNIFORM_COMPONENTS));
1479
+ rb_define_const(module, "GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB", INT2NUM(GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB));
1401
1480
  rb_define_const(module, "GL_MAX_VERTEX_UNITS_ARB", INT2NUM(GL_MAX_VERTEX_UNITS_ARB));
1481
+ rb_define_const(module, "GL_MAX_VERTEX_VARYING_COMPONENTS_EXT", INT2NUM(GL_MAX_VERTEX_VARYING_COMPONENTS_EXT));
1402
1482
  rb_define_const(module, "GL_MAX_VIEWPORT_DIMS", INT2NUM(GL_MAX_VIEWPORT_DIMS));
1403
- rb_define_const(module, "GL_MIN_EXT", INT2NUM(GL_MIN_EXT));
1404
1483
  rb_define_const(module, "GL_MIN", INT2NUM(GL_MIN));
1484
+ rb_define_const(module, "GL_MINMAX", INT2NUM(GL_MINMAX));
1405
1485
  rb_define_const(module, "GL_MINMAX_EXT", INT2NUM(GL_MINMAX_EXT));
1406
- rb_define_const(module, "GL_MINMAX_FORMAT_EXT", INT2NUM(GL_MINMAX_FORMAT_EXT));
1407
1486
  rb_define_const(module, "GL_MINMAX_FORMAT", INT2NUM(GL_MINMAX_FORMAT));
1408
- rb_define_const(module, "GL_MINMAX", INT2NUM(GL_MINMAX));
1409
- rb_define_const(module, "GL_MINMAX_SINK_EXT", INT2NUM(GL_MINMAX_SINK_EXT));
1487
+ rb_define_const(module, "GL_MINMAX_FORMAT_EXT", INT2NUM(GL_MINMAX_FORMAT_EXT));
1410
1488
  rb_define_const(module, "GL_MINMAX_SINK", INT2NUM(GL_MINMAX_SINK));
1489
+ rb_define_const(module, "GL_MINMAX_SINK_EXT", INT2NUM(GL_MINMAX_SINK_EXT));
1490
+ rb_define_const(module, "GL_MIN_EXT", INT2NUM(GL_MIN_EXT));
1491
+ rb_define_const(module, "GL_MIN_PROGRAM_TEXEL_OFFSET_NV", INT2NUM(GL_MIN_PROGRAM_TEXEL_OFFSET_NV));
1492
+ rb_define_const(module, "GL_MIRRORED_REPEAT", INT2NUM(GL_MIRRORED_REPEAT));
1493
+ rb_define_const(module, "GL_MIRRORED_REPEAT_ARB", INT2NUM(GL_MIRRORED_REPEAT_ARB));
1494
+ rb_define_const(module, "GL_MIRRORED_REPEAT_IBM", INT2NUM(GL_MIRRORED_REPEAT_IBM));
1411
1495
  rb_define_const(module, "GL_MIRROR_CLAMP_ATI", INT2NUM(GL_MIRROR_CLAMP_ATI));
1412
1496
  rb_define_const(module, "GL_MIRROR_CLAMP_EXT", INT2NUM(GL_MIRROR_CLAMP_EXT));
1413
1497
  rb_define_const(module, "GL_MIRROR_CLAMP_TO_BORDER_EXT", INT2NUM(GL_MIRROR_CLAMP_TO_BORDER_EXT));
1414
1498
  rb_define_const(module, "GL_MIRROR_CLAMP_TO_EDGE_ATI", INT2NUM(GL_MIRROR_CLAMP_TO_EDGE_ATI));
1415
1499
  rb_define_const(module, "GL_MIRROR_CLAMP_TO_EDGE_EXT", INT2NUM(GL_MIRROR_CLAMP_TO_EDGE_EXT));
1416
- rb_define_const(module, "GL_MIRRORED_REPEAT_ARB", INT2NUM(GL_MIRRORED_REPEAT_ARB));
1417
- rb_define_const(module, "GL_MIRRORED_REPEAT_IBM", INT2NUM(GL_MIRRORED_REPEAT_IBM));
1418
- rb_define_const(module, "GL_MIRRORED_REPEAT", INT2NUM(GL_MIRRORED_REPEAT));
1500
+ rb_define_const(module, "GL_MODELVIEW", INT2NUM(GL_MODELVIEW));
1419
1501
  rb_define_const(module, "GL_MODELVIEW0_ARB", INT2NUM(GL_MODELVIEW0_ARB));
1420
1502
  rb_define_const(module, "GL_MODELVIEW0_EXT", INT2NUM(GL_MODELVIEW0_EXT));
1421
1503
  rb_define_const(module, "GL_MODELVIEW0_MATRIX_EXT", INT2NUM(GL_MODELVIEW0_MATRIX_EXT));
@@ -1454,27 +1536,27 @@ void gl_init_enums(VALUE module)
1454
1536
  rb_define_const(module, "GL_MODELVIEW7_ARB", INT2NUM(GL_MODELVIEW7_ARB));
1455
1537
  rb_define_const(module, "GL_MODELVIEW8_ARB", INT2NUM(GL_MODELVIEW8_ARB));
1456
1538
  rb_define_const(module, "GL_MODELVIEW9_ARB", INT2NUM(GL_MODELVIEW9_ARB));
1457
- rb_define_const(module, "GL_MODELVIEW", INT2NUM(GL_MODELVIEW));
1458
1539
  rb_define_const(module, "GL_MODELVIEW_MATRIX", INT2NUM(GL_MODELVIEW_MATRIX));
1459
1540
  rb_define_const(module, "GL_MODELVIEW_PROJECTION_NV", INT2NUM(GL_MODELVIEW_PROJECTION_NV));
1460
1541
  rb_define_const(module, "GL_MODELVIEW_STACK_DEPTH", INT2NUM(GL_MODELVIEW_STACK_DEPTH));
1461
- rb_define_const(module, "GL_MODULATE_ADD_ATI", INT2NUM(GL_MODULATE_ADD_ATI));
1462
1542
  rb_define_const(module, "GL_MODULATE", INT2NUM(GL_MODULATE));
1543
+ rb_define_const(module, "GL_MODULATE_ADD_ATI", INT2NUM(GL_MODULATE_ADD_ATI));
1463
1544
  rb_define_const(module, "GL_MODULATE_SIGNED_ADD_ATI", INT2NUM(GL_MODULATE_SIGNED_ADD_ATI));
1464
1545
  rb_define_const(module, "GL_MODULATE_SUBTRACT_ATI", INT2NUM(GL_MODULATE_SUBTRACT_ATI));
1465
1546
  rb_define_const(module, "GL_MOV_ATI", INT2NUM(GL_MOV_ATI));
1466
- rb_define_const(module, "GL_MUL_ATI", INT2NUM(GL_MUL_ATI));
1467
1547
  rb_define_const(module, "GL_MULT", INT2NUM(GL_MULT));
1548
+ rb_define_const(module, "GL_MULTISAMPLE", INT2NUM(GL_MULTISAMPLE));
1468
1549
  rb_define_const(module, "GL_MULTISAMPLE_3DFX", INT2NUM(GL_MULTISAMPLE_3DFX));
1469
1550
  rb_define_const(module, "GL_MULTISAMPLE_ARB", INT2NUM(GL_MULTISAMPLE_ARB));
1551
+ rb_define_const(module, "GL_MULTISAMPLE_BIT", INT2NUM(GL_MULTISAMPLE_BIT));
1470
1552
  rb_define_const(module, "GL_MULTISAMPLE_BIT_3DFX", INT2NUM(GL_MULTISAMPLE_BIT_3DFX));
1471
1553
  rb_define_const(module, "GL_MULTISAMPLE_BIT_ARB", INT2NUM(GL_MULTISAMPLE_BIT_ARB));
1472
1554
  rb_define_const(module, "GL_MULTISAMPLE_BIT_EXT", INT2NUM(GL_MULTISAMPLE_BIT_EXT));
1473
- rb_define_const(module, "GL_MULTISAMPLE_BIT", INT2NUM(GL_MULTISAMPLE_BIT));
1555
+ rb_define_const(module, "GL_MULTISAMPLE_COVERAGE_MODES_NV", INT2NUM(GL_MULTISAMPLE_COVERAGE_MODES_NV));
1474
1556
  rb_define_const(module, "GL_MULTISAMPLE_EXT", INT2NUM(GL_MULTISAMPLE_EXT));
1475
1557
  rb_define_const(module, "GL_MULTISAMPLE_FILTER_HINT_NV", INT2NUM(GL_MULTISAMPLE_FILTER_HINT_NV));
1476
- rb_define_const(module, "GL_MULTISAMPLE", INT2NUM(GL_MULTISAMPLE));
1477
1558
  rb_define_const(module, "GL_MULTISAMPLE_SGIS", INT2NUM(GL_MULTISAMPLE_SGIS));
1559
+ rb_define_const(module, "GL_MUL_ATI", INT2NUM(GL_MUL_ATI));
1478
1560
  rb_define_const(module, "GL_MVP_MATRIX_EXT", INT2NUM(GL_MVP_MATRIX_EXT));
1479
1561
  rb_define_const(module, "GL_N3F_V3F", INT2NUM(GL_N3F_V3F));
1480
1562
  rb_define_const(module, "GL_NAME_STACK_DEPTH", INT2NUM(GL_NAME_STACK_DEPTH));
@@ -1482,9 +1564,9 @@ void gl_init_enums(VALUE module)
1482
1564
  rb_define_const(module, "GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI", INT2NUM(GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI));
1483
1565
  rb_define_const(module, "GL_NATIVE_GRAPHICS_END_HINT_PGI", INT2NUM(GL_NATIVE_GRAPHICS_END_HINT_PGI));
1484
1566
  rb_define_const(module, "GL_NATIVE_GRAPHICS_HANDLE_PGI", INT2NUM(GL_NATIVE_GRAPHICS_HANDLE_PGI));
1567
+ rb_define_const(module, "GL_NEAREST", INT2NUM(GL_NEAREST));
1485
1568
  rb_define_const(module, "GL_NEAREST_CLIPMAP_LINEAR_SGIX", INT2NUM(GL_NEAREST_CLIPMAP_LINEAR_SGIX));
1486
1569
  rb_define_const(module, "GL_NEAREST_CLIPMAP_NEAREST_SGIX", INT2NUM(GL_NEAREST_CLIPMAP_NEAREST_SGIX));
1487
- rb_define_const(module, "GL_NEAREST", INT2NUM(GL_NEAREST));
1488
1570
  rb_define_const(module, "GL_NEAREST_MIPMAP_LINEAR", INT2NUM(GL_NEAREST_MIPMAP_LINEAR));
1489
1571
  rb_define_const(module, "GL_NEAREST_MIPMAP_NEAREST", INT2NUM(GL_NEAREST_MIPMAP_NEAREST));
1490
1572
  rb_define_const(module, "GL_NEGATE_BIT_ATI", INT2NUM(GL_NEGATE_BIT_ATI));
@@ -1495,34 +1577,34 @@ void gl_init_enums(VALUE module)
1495
1577
  rb_define_const(module, "GL_NEGATIVE_Z_EXT", INT2NUM(GL_NEGATIVE_Z_EXT));
1496
1578
  rb_define_const(module, "GL_NEVER", INT2NUM(GL_NEVER));
1497
1579
  rb_define_const(module, "GL_NICEST", INT2NUM(GL_NICEST));
1498
- rb_define_const(module, "GL_NO_ERROR", INT2NUM(GL_NO_ERROR));
1499
1580
  rb_define_const(module, "GL_NONE", INT2NUM(GL_NONE));
1500
1581
  rb_define_const(module, "GL_NOOP", INT2NUM(GL_NOOP));
1501
1582
  rb_define_const(module, "GL_NOR", INT2NUM(GL_NOR));
1502
- rb_define_const(module, "GL_NORMAL_ARRAY_BUFFER_BINDING_ARB", INT2NUM(GL_NORMAL_ARRAY_BUFFER_BINDING_ARB));
1583
+ rb_define_const(module, "GL_NORMALIZE", INT2NUM(GL_NORMALIZE));
1584
+ rb_define_const(module, "GL_NORMALIZED_RANGE_EXT", INT2NUM(GL_NORMALIZED_RANGE_EXT));
1585
+ rb_define_const(module, "GL_NORMAL_ARRAY", INT2NUM(GL_NORMAL_ARRAY));
1503
1586
  rb_define_const(module, "GL_NORMAL_ARRAY_BUFFER_BINDING", INT2NUM(GL_NORMAL_ARRAY_BUFFER_BINDING));
1587
+ rb_define_const(module, "GL_NORMAL_ARRAY_BUFFER_BINDING_ARB", INT2NUM(GL_NORMAL_ARRAY_BUFFER_BINDING_ARB));
1504
1588
  rb_define_const(module, "GL_NORMAL_ARRAY_COUNT_EXT", INT2NUM(GL_NORMAL_ARRAY_COUNT_EXT));
1505
1589
  rb_define_const(module, "GL_NORMAL_ARRAY_EXT", INT2NUM(GL_NORMAL_ARRAY_EXT));
1506
- rb_define_const(module, "GL_NORMAL_ARRAY", INT2NUM(GL_NORMAL_ARRAY));
1507
1590
  rb_define_const(module, "GL_NORMAL_ARRAY_LIST_IBM", INT2NUM(GL_NORMAL_ARRAY_LIST_IBM));
1508
1591
  rb_define_const(module, "GL_NORMAL_ARRAY_LIST_STRIDE_IBM", INT2NUM(GL_NORMAL_ARRAY_LIST_STRIDE_IBM));
1509
1592
  rb_define_const(module, "GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL", INT2NUM(GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL));
1510
- rb_define_const(module, "GL_NORMAL_ARRAY_POINTER_EXT", INT2NUM(GL_NORMAL_ARRAY_POINTER_EXT));
1511
1593
  rb_define_const(module, "GL_NORMAL_ARRAY_POINTER", INT2NUM(GL_NORMAL_ARRAY_POINTER));
1512
- rb_define_const(module, "GL_NORMAL_ARRAY_STRIDE_EXT", INT2NUM(GL_NORMAL_ARRAY_STRIDE_EXT));
1594
+ rb_define_const(module, "GL_NORMAL_ARRAY_POINTER_EXT", INT2NUM(GL_NORMAL_ARRAY_POINTER_EXT));
1513
1595
  rb_define_const(module, "GL_NORMAL_ARRAY_STRIDE", INT2NUM(GL_NORMAL_ARRAY_STRIDE));
1514
- rb_define_const(module, "GL_NORMAL_ARRAY_TYPE_EXT", INT2NUM(GL_NORMAL_ARRAY_TYPE_EXT));
1596
+ rb_define_const(module, "GL_NORMAL_ARRAY_STRIDE_EXT", INT2NUM(GL_NORMAL_ARRAY_STRIDE_EXT));
1515
1597
  rb_define_const(module, "GL_NORMAL_ARRAY_TYPE", INT2NUM(GL_NORMAL_ARRAY_TYPE));
1598
+ rb_define_const(module, "GL_NORMAL_ARRAY_TYPE_EXT", INT2NUM(GL_NORMAL_ARRAY_TYPE_EXT));
1516
1599
  rb_define_const(module, "GL_NORMAL_BIT_PGI", INT2NUM(GL_NORMAL_BIT_PGI));
1517
- rb_define_const(module, "GL_NORMALIZED_RANGE_EXT", INT2NUM(GL_NORMALIZED_RANGE_EXT));
1518
- rb_define_const(module, "GL_NORMALIZE", INT2NUM(GL_NORMALIZE));
1600
+ rb_define_const(module, "GL_NORMAL_MAP", INT2NUM(GL_NORMAL_MAP));
1519
1601
  rb_define_const(module, "GL_NORMAL_MAP_ARB", INT2NUM(GL_NORMAL_MAP_ARB));
1520
1602
  rb_define_const(module, "GL_NORMAL_MAP_EXT", INT2NUM(GL_NORMAL_MAP_EXT));
1521
- rb_define_const(module, "GL_NORMAL_MAP", INT2NUM(GL_NORMAL_MAP));
1522
1603
  rb_define_const(module, "GL_NORMAL_MAP_NV", INT2NUM(GL_NORMAL_MAP_NV));
1523
1604
  rb_define_const(module, "GL_NOTEQUAL", INT2NUM(GL_NOTEQUAL));
1524
- rb_define_const(module, "GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB", INT2NUM(GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB));
1605
+ rb_define_const(module, "GL_NO_ERROR", INT2NUM(GL_NO_ERROR));
1525
1606
  rb_define_const(module, "GL_NUM_COMPRESSED_TEXTURE_FORMATS", INT2NUM(GL_NUM_COMPRESSED_TEXTURE_FORMATS));
1607
+ rb_define_const(module, "GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB", INT2NUM(GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB));
1526
1608
  rb_define_const(module, "GL_NUM_FRAGMENT_CONSTANTS_ATI", INT2NUM(GL_NUM_FRAGMENT_CONSTANTS_ATI));
1527
1609
  rb_define_const(module, "GL_NUM_FRAGMENT_REGISTERS_ATI", INT2NUM(GL_NUM_FRAGMENT_REGISTERS_ATI));
1528
1610
  rb_define_const(module, "GL_NUM_GENERAL_COMBINERS_NV", INT2NUM(GL_NUM_GENERAL_COMBINERS_NV));
@@ -1531,10 +1613,10 @@ void gl_init_enums(VALUE module)
1531
1613
  rb_define_const(module, "GL_NUM_INSTRUCTIONS_TOTAL_ATI", INT2NUM(GL_NUM_INSTRUCTIONS_TOTAL_ATI));
1532
1614
  rb_define_const(module, "GL_NUM_LOOPBACK_COMPONENTS_ATI", INT2NUM(GL_NUM_LOOPBACK_COMPONENTS_ATI));
1533
1615
  rb_define_const(module, "GL_NUM_PASSES_ATI", INT2NUM(GL_NUM_PASSES_ATI));
1534
- rb_define_const(module, "GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB", INT2NUM(GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB));
1535
1616
  rb_define_const(module, "GL_OBJECT_ACTIVE_ATTRIBUTES_ARB", INT2NUM(GL_OBJECT_ACTIVE_ATTRIBUTES_ARB));
1536
- rb_define_const(module, "GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB", INT2NUM(GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB));
1617
+ rb_define_const(module, "GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB", INT2NUM(GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB));
1537
1618
  rb_define_const(module, "GL_OBJECT_ACTIVE_UNIFORMS_ARB", INT2NUM(GL_OBJECT_ACTIVE_UNIFORMS_ARB));
1619
+ rb_define_const(module, "GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB", INT2NUM(GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB));
1538
1620
  rb_define_const(module, "GL_OBJECT_ATTACHED_OBJECTS_ARB", INT2NUM(GL_OBJECT_ATTACHED_OBJECTS_ARB));
1539
1621
  rb_define_const(module, "GL_OBJECT_BUFFER_SIZE_ATI", INT2NUM(GL_OBJECT_BUFFER_SIZE_ATI));
1540
1622
  rb_define_const(module, "GL_OBJECT_BUFFER_USAGE_ATI", INT2NUM(GL_OBJECT_BUFFER_USAGE_ATI));
@@ -1571,41 +1653,41 @@ void gl_init_enums(VALUE module)
1571
1653
  rb_define_const(module, "GL_OFFSET_TEXTURE_RECTANGLE_NV", INT2NUM(GL_OFFSET_TEXTURE_RECTANGLE_NV));
1572
1654
  rb_define_const(module, "GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV", INT2NUM(GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV));
1573
1655
  rb_define_const(module, "GL_OFFSET_TEXTURE_SCALE_NV", INT2NUM(GL_OFFSET_TEXTURE_SCALE_NV));
1574
- rb_define_const(module, "GL_ONE_EXT", INT2NUM(GL_ONE_EXT));
1575
1656
  rb_define_const(module, "GL_ONE", INT2NUM(GL_ONE));
1576
- rb_define_const(module, "GL_ONE_MINUS_CONSTANT_ALPHA_EXT", INT2NUM(GL_ONE_MINUS_CONSTANT_ALPHA_EXT));
1657
+ rb_define_const(module, "GL_ONE_EXT", INT2NUM(GL_ONE_EXT));
1577
1658
  rb_define_const(module, "GL_ONE_MINUS_CONSTANT_ALPHA", INT2NUM(GL_ONE_MINUS_CONSTANT_ALPHA));
1578
- rb_define_const(module, "GL_ONE_MINUS_CONSTANT_COLOR_EXT", INT2NUM(GL_ONE_MINUS_CONSTANT_COLOR_EXT));
1659
+ rb_define_const(module, "GL_ONE_MINUS_CONSTANT_ALPHA_EXT", INT2NUM(GL_ONE_MINUS_CONSTANT_ALPHA_EXT));
1579
1660
  rb_define_const(module, "GL_ONE_MINUS_CONSTANT_COLOR", INT2NUM(GL_ONE_MINUS_CONSTANT_COLOR));
1661
+ rb_define_const(module, "GL_ONE_MINUS_CONSTANT_COLOR_EXT", INT2NUM(GL_ONE_MINUS_CONSTANT_COLOR_EXT));
1580
1662
  rb_define_const(module, "GL_ONE_MINUS_DST_ALPHA", INT2NUM(GL_ONE_MINUS_DST_ALPHA));
1581
1663
  rb_define_const(module, "GL_ONE_MINUS_DST_COLOR", INT2NUM(GL_ONE_MINUS_DST_COLOR));
1582
1664
  rb_define_const(module, "GL_ONE_MINUS_SRC_ALPHA", INT2NUM(GL_ONE_MINUS_SRC_ALPHA));
1583
1665
  rb_define_const(module, "GL_ONE_MINUS_SRC_COLOR", INT2NUM(GL_ONE_MINUS_SRC_COLOR));
1584
- rb_define_const(module, "GL_OP_ADD_EXT", INT2NUM(GL_OP_ADD_EXT));
1585
- rb_define_const(module, "GL_OP_CLAMP_EXT", INT2NUM(GL_OP_CLAMP_EXT));
1586
- rb_define_const(module, "GL_OP_CROSS_PRODUCT_EXT", INT2NUM(GL_OP_CROSS_PRODUCT_EXT));
1587
- rb_define_const(module, "GL_OP_DOT3_EXT", INT2NUM(GL_OP_DOT3_EXT));
1588
- rb_define_const(module, "GL_OP_DOT4_EXT", INT2NUM(GL_OP_DOT4_EXT));
1666
+ rb_define_const(module, "GL_OPERAND0_ALPHA", INT2NUM(GL_OPERAND0_ALPHA));
1589
1667
  rb_define_const(module, "GL_OPERAND0_ALPHA_ARB", INT2NUM(GL_OPERAND0_ALPHA_ARB));
1590
1668
  rb_define_const(module, "GL_OPERAND0_ALPHA_EXT", INT2NUM(GL_OPERAND0_ALPHA_EXT));
1591
- rb_define_const(module, "GL_OPERAND0_ALPHA", INT2NUM(GL_OPERAND0_ALPHA));
1669
+ rb_define_const(module, "GL_OPERAND0_RGB", INT2NUM(GL_OPERAND0_RGB));
1592
1670
  rb_define_const(module, "GL_OPERAND0_RGB_ARB", INT2NUM(GL_OPERAND0_RGB_ARB));
1593
1671
  rb_define_const(module, "GL_OPERAND0_RGB_EXT", INT2NUM(GL_OPERAND0_RGB_EXT));
1594
- rb_define_const(module, "GL_OPERAND0_RGB", INT2NUM(GL_OPERAND0_RGB));
1672
+ rb_define_const(module, "GL_OPERAND1_ALPHA", INT2NUM(GL_OPERAND1_ALPHA));
1595
1673
  rb_define_const(module, "GL_OPERAND1_ALPHA_ARB", INT2NUM(GL_OPERAND1_ALPHA_ARB));
1596
1674
  rb_define_const(module, "GL_OPERAND1_ALPHA_EXT", INT2NUM(GL_OPERAND1_ALPHA_EXT));
1597
- rb_define_const(module, "GL_OPERAND1_ALPHA", INT2NUM(GL_OPERAND1_ALPHA));
1675
+ rb_define_const(module, "GL_OPERAND1_RGB", INT2NUM(GL_OPERAND1_RGB));
1598
1676
  rb_define_const(module, "GL_OPERAND1_RGB_ARB", INT2NUM(GL_OPERAND1_RGB_ARB));
1599
1677
  rb_define_const(module, "GL_OPERAND1_RGB_EXT", INT2NUM(GL_OPERAND1_RGB_EXT));
1600
- rb_define_const(module, "GL_OPERAND1_RGB", INT2NUM(GL_OPERAND1_RGB));
1678
+ rb_define_const(module, "GL_OPERAND2_ALPHA", INT2NUM(GL_OPERAND2_ALPHA));
1601
1679
  rb_define_const(module, "GL_OPERAND2_ALPHA_ARB", INT2NUM(GL_OPERAND2_ALPHA_ARB));
1602
1680
  rb_define_const(module, "GL_OPERAND2_ALPHA_EXT", INT2NUM(GL_OPERAND2_ALPHA_EXT));
1603
- rb_define_const(module, "GL_OPERAND2_ALPHA", INT2NUM(GL_OPERAND2_ALPHA));
1681
+ rb_define_const(module, "GL_OPERAND2_RGB", INT2NUM(GL_OPERAND2_RGB));
1604
1682
  rb_define_const(module, "GL_OPERAND2_RGB_ARB", INT2NUM(GL_OPERAND2_RGB_ARB));
1605
1683
  rb_define_const(module, "GL_OPERAND2_RGB_EXT", INT2NUM(GL_OPERAND2_RGB_EXT));
1606
- rb_define_const(module, "GL_OPERAND2_RGB", INT2NUM(GL_OPERAND2_RGB));
1607
1684
  rb_define_const(module, "GL_OPERAND3_ALPHA_NV", INT2NUM(GL_OPERAND3_ALPHA_NV));
1608
1685
  rb_define_const(module, "GL_OPERAND3_RGB_NV", INT2NUM(GL_OPERAND3_RGB_NV));
1686
+ rb_define_const(module, "GL_OP_ADD_EXT", INT2NUM(GL_OP_ADD_EXT));
1687
+ rb_define_const(module, "GL_OP_CLAMP_EXT", INT2NUM(GL_OP_CLAMP_EXT));
1688
+ rb_define_const(module, "GL_OP_CROSS_PRODUCT_EXT", INT2NUM(GL_OP_CROSS_PRODUCT_EXT));
1689
+ rb_define_const(module, "GL_OP_DOT3_EXT", INT2NUM(GL_OP_DOT3_EXT));
1690
+ rb_define_const(module, "GL_OP_DOT4_EXT", INT2NUM(GL_OP_DOT4_EXT));
1609
1691
  rb_define_const(module, "GL_OP_EXP_BASE_2_EXT", INT2NUM(GL_OP_EXP_BASE_2_EXT));
1610
1692
  rb_define_const(module, "GL_OP_FLOOR_EXT", INT2NUM(GL_OP_FLOOR_EXT));
1611
1693
  rb_define_const(module, "GL_OP_FRAC_EXT", INT2NUM(GL_OP_FRAC_EXT));
@@ -1615,8 +1697,8 @@ void gl_init_enums(VALUE module)
1615
1697
  rb_define_const(module, "GL_OP_MAX_EXT", INT2NUM(GL_OP_MAX_EXT));
1616
1698
  rb_define_const(module, "GL_OP_MIN_EXT", INT2NUM(GL_OP_MIN_EXT));
1617
1699
  rb_define_const(module, "GL_OP_MOV_EXT", INT2NUM(GL_OP_MOV_EXT));
1618
- rb_define_const(module, "GL_OP_MUL_EXT", INT2NUM(GL_OP_MUL_EXT));
1619
1700
  rb_define_const(module, "GL_OP_MULTIPLY_MATRIX_EXT", INT2NUM(GL_OP_MULTIPLY_MATRIX_EXT));
1701
+ rb_define_const(module, "GL_OP_MUL_EXT", INT2NUM(GL_OP_MUL_EXT));
1620
1702
  rb_define_const(module, "GL_OP_NEGATE_EXT", INT2NUM(GL_OP_NEGATE_EXT));
1621
1703
  rb_define_const(module, "GL_OP_POWER_EXT", INT2NUM(GL_OP_POWER_EXT));
1622
1704
  rb_define_const(module, "GL_OP_RECIP_EXT", INT2NUM(GL_OP_RECIP_EXT));
@@ -1625,11 +1707,10 @@ void gl_init_enums(VALUE module)
1625
1707
  rb_define_const(module, "GL_OP_SET_GE_EXT", INT2NUM(GL_OP_SET_GE_EXT));
1626
1708
  rb_define_const(module, "GL_OP_SET_LT_EXT", INT2NUM(GL_OP_SET_LT_EXT));
1627
1709
  rb_define_const(module, "GL_OP_SUB_EXT", INT2NUM(GL_OP_SUB_EXT));
1628
- rb_define_const(module, "GL_ORDER", INT2NUM(GL_ORDER));
1629
1710
  rb_define_const(module, "GL_OR", INT2NUM(GL_OR));
1711
+ rb_define_const(module, "GL_ORDER", INT2NUM(GL_ORDER));
1630
1712
  rb_define_const(module, "GL_OR_INVERTED", INT2NUM(GL_OR_INVERTED));
1631
1713
  rb_define_const(module, "GL_OR_REVERSE", INT2NUM(GL_OR_REVERSE));
1632
- rb_define_const(module, "GL_OUT_OF_MEMORY", INT2NUM(GL_OUT_OF_MEMORY));
1633
1714
  rb_define_const(module, "GL_OUTPUT_COLOR0_EXT", INT2NUM(GL_OUTPUT_COLOR0_EXT));
1634
1715
  rb_define_const(module, "GL_OUTPUT_COLOR1_EXT", INT2NUM(GL_OUTPUT_COLOR1_EXT));
1635
1716
  rb_define_const(module, "GL_OUTPUT_FOG_EXT", INT2NUM(GL_OUTPUT_FOG_EXT));
@@ -1666,18 +1747,19 @@ void gl_init_enums(VALUE module)
1666
1747
  rb_define_const(module, "GL_OUTPUT_TEXTURE_COORD8_EXT", INT2NUM(GL_OUTPUT_TEXTURE_COORD8_EXT));
1667
1748
  rb_define_const(module, "GL_OUTPUT_TEXTURE_COORD9_EXT", INT2NUM(GL_OUTPUT_TEXTURE_COORD9_EXT));
1668
1749
  rb_define_const(module, "GL_OUTPUT_VERTEX_EXT", INT2NUM(GL_OUTPUT_VERTEX_EXT));
1750
+ rb_define_const(module, "GL_OUT_OF_MEMORY", INT2NUM(GL_OUT_OF_MEMORY));
1669
1751
  rb_define_const(module, "GL_PACK_ALIGNMENT", INT2NUM(GL_PACK_ALIGNMENT));
1670
1752
  rb_define_const(module, "GL_PACK_CMYK_HINT_EXT", INT2NUM(GL_PACK_CMYK_HINT_EXT));
1671
1753
  rb_define_const(module, "GL_PACK_IMAGE_DEPTH_SGIS", INT2NUM(GL_PACK_IMAGE_DEPTH_SGIS));
1672
- rb_define_const(module, "GL_PACK_IMAGE_HEIGHT_EXT", INT2NUM(GL_PACK_IMAGE_HEIGHT_EXT));
1673
1754
  rb_define_const(module, "GL_PACK_IMAGE_HEIGHT", INT2NUM(GL_PACK_IMAGE_HEIGHT));
1755
+ rb_define_const(module, "GL_PACK_IMAGE_HEIGHT_EXT", INT2NUM(GL_PACK_IMAGE_HEIGHT_EXT));
1674
1756
  rb_define_const(module, "GL_PACK_INVERT_MESA", INT2NUM(GL_PACK_INVERT_MESA));
1675
1757
  rb_define_const(module, "GL_PACK_LSB_FIRST", INT2NUM(GL_PACK_LSB_FIRST));
1676
1758
  rb_define_const(module, "GL_PACK_RESAMPLE_OML", INT2NUM(GL_PACK_RESAMPLE_OML));
1677
1759
  rb_define_const(module, "GL_PACK_RESAMPLE_SGIX", INT2NUM(GL_PACK_RESAMPLE_SGIX));
1678
1760
  rb_define_const(module, "GL_PACK_ROW_LENGTH", INT2NUM(GL_PACK_ROW_LENGTH));
1679
- rb_define_const(module, "GL_PACK_SKIP_IMAGES_EXT", INT2NUM(GL_PACK_SKIP_IMAGES_EXT));
1680
1761
  rb_define_const(module, "GL_PACK_SKIP_IMAGES", INT2NUM(GL_PACK_SKIP_IMAGES));
1762
+ rb_define_const(module, "GL_PACK_SKIP_IMAGES_EXT", INT2NUM(GL_PACK_SKIP_IMAGES_EXT));
1681
1763
  rb_define_const(module, "GL_PACK_SKIP_PIXELS", INT2NUM(GL_PACK_SKIP_PIXELS));
1682
1764
  rb_define_const(module, "GL_PACK_SKIP_ROWS", INT2NUM(GL_PACK_SKIP_ROWS));
1683
1765
  rb_define_const(module, "GL_PACK_SKIP_VOLUMES_SGIS", INT2NUM(GL_PACK_SKIP_VOLUMES_SGIS));
@@ -1687,12 +1769,12 @@ void gl_init_enums(VALUE module)
1687
1769
  rb_define_const(module, "GL_PASS_THROUGH_NV", INT2NUM(GL_PASS_THROUGH_NV));
1688
1770
  rb_define_const(module, "GL_PASS_THROUGH_TOKEN", INT2NUM(GL_PASS_THROUGH_TOKEN));
1689
1771
  rb_define_const(module, "GL_PERSPECTIVE_CORRECTION_HINT", INT2NUM(GL_PERSPECTIVE_CORRECTION_HINT));
1690
- rb_define_const(module, "GL_PER_STAGE_CONSTANTS_NV", INT2NUM(GL_PER_STAGE_CONSTANTS_NV));
1691
1772
  rb_define_const(module, "GL_PERTURB_EXT", INT2NUM(GL_PERTURB_EXT));
1773
+ rb_define_const(module, "GL_PER_STAGE_CONSTANTS_NV", INT2NUM(GL_PER_STAGE_CONSTANTS_NV));
1692
1774
  rb_define_const(module, "GL_PHONG_HINT_WIN", INT2NUM(GL_PHONG_HINT_WIN));
1693
1775
  rb_define_const(module, "GL_PHONG_WIN", INT2NUM(GL_PHONG_WIN));
1694
- rb_define_const(module, "GL_PIXEL_COUNT_AVAILABLE_NV", INT2NUM(GL_PIXEL_COUNT_AVAILABLE_NV));
1695
1776
  rb_define_const(module, "GL_PIXEL_COUNTER_BITS_NV", INT2NUM(GL_PIXEL_COUNTER_BITS_NV));
1777
+ rb_define_const(module, "GL_PIXEL_COUNT_AVAILABLE_NV", INT2NUM(GL_PIXEL_COUNT_AVAILABLE_NV));
1696
1778
  rb_define_const(module, "GL_PIXEL_COUNT_NV", INT2NUM(GL_PIXEL_COUNT_NV));
1697
1779
  rb_define_const(module, "GL_PIXEL_CUBIC_WEIGHT_EXT", INT2NUM(GL_PIXEL_CUBIC_WEIGHT_EXT));
1698
1780
  rb_define_const(module, "GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS", INT2NUM(GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS));
@@ -1721,15 +1803,16 @@ void gl_init_enums(VALUE module)
1721
1803
  rb_define_const(module, "GL_PIXEL_MAP_S_TO_S_SIZE", INT2NUM(GL_PIXEL_MAP_S_TO_S_SIZE));
1722
1804
  rb_define_const(module, "GL_PIXEL_MIN_FILTER_EXT", INT2NUM(GL_PIXEL_MIN_FILTER_EXT));
1723
1805
  rb_define_const(module, "GL_PIXEL_MODE_BIT", INT2NUM(GL_PIXEL_MODE_BIT));
1806
+ rb_define_const(module, "GL_PIXEL_PACK_BUFFER", INT2NUM(GL_PIXEL_PACK_BUFFER));
1724
1807
  rb_define_const(module, "GL_PIXEL_PACK_BUFFER_ARB", INT2NUM(GL_PIXEL_PACK_BUFFER_ARB));
1808
+ rb_define_const(module, "GL_PIXEL_PACK_BUFFER_BINDING", INT2NUM(GL_PIXEL_PACK_BUFFER_BINDING));
1725
1809
  rb_define_const(module, "GL_PIXEL_PACK_BUFFER_BINDING_ARB", INT2NUM(GL_PIXEL_PACK_BUFFER_BINDING_ARB));
1726
1810
  rb_define_const(module, "GL_PIXEL_PACK_BUFFER_BINDING_EXT", INT2NUM(GL_PIXEL_PACK_BUFFER_BINDING_EXT));
1727
- rb_define_const(module, "GL_PIXEL_PACK_BUFFER_BINDING", INT2NUM(GL_PIXEL_PACK_BUFFER_BINDING));
1728
1811
  rb_define_const(module, "GL_PIXEL_PACK_BUFFER_EXT", INT2NUM(GL_PIXEL_PACK_BUFFER_EXT));
1729
- rb_define_const(module, "GL_PIXEL_PACK_BUFFER", INT2NUM(GL_PIXEL_PACK_BUFFER));
1730
1812
  rb_define_const(module, "GL_PIXEL_SUBSAMPLE_2424_SGIX", INT2NUM(GL_PIXEL_SUBSAMPLE_2424_SGIX));
1731
1813
  rb_define_const(module, "GL_PIXEL_SUBSAMPLE_4242_SGIX", INT2NUM(GL_PIXEL_SUBSAMPLE_4242_SGIX));
1732
1814
  rb_define_const(module, "GL_PIXEL_SUBSAMPLE_4444_SGIX", INT2NUM(GL_PIXEL_SUBSAMPLE_4444_SGIX));
1815
+ rb_define_const(module, "GL_PIXEL_TEXTURE_SGIS", INT2NUM(GL_PIXEL_TEXTURE_SGIS));
1733
1816
  rb_define_const(module, "GL_PIXEL_TEX_GEN_ALPHA_LS_SGIX", INT2NUM(GL_PIXEL_TEX_GEN_ALPHA_LS_SGIX));
1734
1817
  rb_define_const(module, "GL_PIXEL_TEX_GEN_ALPHA_MS_SGIX", INT2NUM(GL_PIXEL_TEX_GEN_ALPHA_MS_SGIX));
1735
1818
  rb_define_const(module, "GL_PIXEL_TEX_GEN_ALPHA_NO_REPLACE_SGIX", INT2NUM(GL_PIXEL_TEX_GEN_ALPHA_NO_REPLACE_SGIX));
@@ -1739,7 +1822,6 @@ void gl_init_enums(VALUE module)
1739
1822
  rb_define_const(module, "GL_PIXEL_TEX_GEN_Q_FLOOR_SGIX", INT2NUM(GL_PIXEL_TEX_GEN_Q_FLOOR_SGIX));
1740
1823
  rb_define_const(module, "GL_PIXEL_TEX_GEN_Q_ROUND_SGIX", INT2NUM(GL_PIXEL_TEX_GEN_Q_ROUND_SGIX));
1741
1824
  rb_define_const(module, "GL_PIXEL_TEX_GEN_SGIX", INT2NUM(GL_PIXEL_TEX_GEN_SGIX));
1742
- rb_define_const(module, "GL_PIXEL_TEXTURE_SGIS", INT2NUM(GL_PIXEL_TEXTURE_SGIS));
1743
1825
  rb_define_const(module, "GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX", INT2NUM(GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX));
1744
1826
  rb_define_const(module, "GL_PIXEL_TILE_CACHE_INCREMENT_SGIX", INT2NUM(GL_PIXEL_TILE_CACHE_INCREMENT_SGIX));
1745
1827
  rb_define_const(module, "GL_PIXEL_TILE_CACHE_SIZE_SGIX", INT2NUM(GL_PIXEL_TILE_CACHE_SIZE_SGIX));
@@ -1751,12 +1833,12 @@ void gl_init_enums(VALUE module)
1751
1833
  rb_define_const(module, "GL_PIXEL_TRANSFORM_2D_EXT", INT2NUM(GL_PIXEL_TRANSFORM_2D_EXT));
1752
1834
  rb_define_const(module, "GL_PIXEL_TRANSFORM_2D_MATRIX_EXT", INT2NUM(GL_PIXEL_TRANSFORM_2D_MATRIX_EXT));
1753
1835
  rb_define_const(module, "GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT", INT2NUM(GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT));
1836
+ rb_define_const(module, "GL_PIXEL_UNPACK_BUFFER", INT2NUM(GL_PIXEL_UNPACK_BUFFER));
1754
1837
  rb_define_const(module, "GL_PIXEL_UNPACK_BUFFER_ARB", INT2NUM(GL_PIXEL_UNPACK_BUFFER_ARB));
1838
+ rb_define_const(module, "GL_PIXEL_UNPACK_BUFFER_BINDING", INT2NUM(GL_PIXEL_UNPACK_BUFFER_BINDING));
1755
1839
  rb_define_const(module, "GL_PIXEL_UNPACK_BUFFER_BINDING_ARB", INT2NUM(GL_PIXEL_UNPACK_BUFFER_BINDING_ARB));
1756
1840
  rb_define_const(module, "GL_PIXEL_UNPACK_BUFFER_BINDING_EXT", INT2NUM(GL_PIXEL_UNPACK_BUFFER_BINDING_EXT));
1757
- rb_define_const(module, "GL_PIXEL_UNPACK_BUFFER_BINDING", INT2NUM(GL_PIXEL_UNPACK_BUFFER_BINDING));
1758
1841
  rb_define_const(module, "GL_PIXEL_UNPACK_BUFFER_EXT", INT2NUM(GL_PIXEL_UNPACK_BUFFER_EXT));
1759
- rb_define_const(module, "GL_PIXEL_UNPACK_BUFFER", INT2NUM(GL_PIXEL_UNPACK_BUFFER));
1760
1842
  rb_define_const(module, "GL_PN_TRIANGLES_ATI", INT2NUM(GL_PN_TRIANGLES_ATI));
1761
1843
  rb_define_const(module, "GL_PN_TRIANGLES_NORMAL_MODE_ATI", INT2NUM(GL_PN_TRIANGLES_NORMAL_MODE_ATI));
1762
1844
  rb_define_const(module, "GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI", INT2NUM(GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI));
@@ -1765,49 +1847,49 @@ void gl_init_enums(VALUE module)
1765
1847
  rb_define_const(module, "GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI", INT2NUM(GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI));
1766
1848
  rb_define_const(module, "GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI", INT2NUM(GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI));
1767
1849
  rb_define_const(module, "GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI", INT2NUM(GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI));
1850
+ rb_define_const(module, "GL_POINT", INT2NUM(GL_POINT));
1851
+ rb_define_const(module, "GL_POINTS", INT2NUM(GL_POINTS));
1768
1852
  rb_define_const(module, "GL_POINT_BIT", INT2NUM(GL_POINT_BIT));
1769
- rb_define_const(module, "GL_POINT_DISTANCE_ATTENUATION_ARB", INT2NUM(GL_POINT_DISTANCE_ATTENUATION_ARB));
1770
1853
  rb_define_const(module, "GL_POINT_DISTANCE_ATTENUATION", INT2NUM(GL_POINT_DISTANCE_ATTENUATION));
1854
+ rb_define_const(module, "GL_POINT_DISTANCE_ATTENUATION_ARB", INT2NUM(GL_POINT_DISTANCE_ATTENUATION_ARB));
1855
+ rb_define_const(module, "GL_POINT_FADE_THRESHOLD_SIZE", INT2NUM(GL_POINT_FADE_THRESHOLD_SIZE));
1771
1856
  rb_define_const(module, "GL_POINT_FADE_THRESHOLD_SIZE_ARB", INT2NUM(GL_POINT_FADE_THRESHOLD_SIZE_ARB));
1772
1857
  rb_define_const(module, "GL_POINT_FADE_THRESHOLD_SIZE_EXT", INT2NUM(GL_POINT_FADE_THRESHOLD_SIZE_EXT));
1773
- rb_define_const(module, "GL_POINT_FADE_THRESHOLD_SIZE", INT2NUM(GL_POINT_FADE_THRESHOLD_SIZE));
1774
1858
  rb_define_const(module, "GL_POINT_FADE_THRESHOLD_SIZE_SGIS", INT2NUM(GL_POINT_FADE_THRESHOLD_SIZE_SGIS));
1775
- rb_define_const(module, "GL_POINT", INT2NUM(GL_POINT));
1776
- rb_define_const(module, "GL_POINTS", INT2NUM(GL_POINTS));
1777
- rb_define_const(module, "GL_POINT_SIZE_GRANULARITY", INT2NUM(GL_POINT_SIZE_GRANULARITY));
1778
1859
  rb_define_const(module, "GL_POINT_SIZE", INT2NUM(GL_POINT_SIZE));
1860
+ rb_define_const(module, "GL_POINT_SIZE_GRANULARITY", INT2NUM(GL_POINT_SIZE_GRANULARITY));
1861
+ rb_define_const(module, "GL_POINT_SIZE_MAX", INT2NUM(GL_POINT_SIZE_MAX));
1779
1862
  rb_define_const(module, "GL_POINT_SIZE_MAX_ARB", INT2NUM(GL_POINT_SIZE_MAX_ARB));
1780
1863
  rb_define_const(module, "GL_POINT_SIZE_MAX_EXT", INT2NUM(GL_POINT_SIZE_MAX_EXT));
1781
- rb_define_const(module, "GL_POINT_SIZE_MAX", INT2NUM(GL_POINT_SIZE_MAX));
1782
1864
  rb_define_const(module, "GL_POINT_SIZE_MAX_SGIS", INT2NUM(GL_POINT_SIZE_MAX_SGIS));
1865
+ rb_define_const(module, "GL_POINT_SIZE_MIN", INT2NUM(GL_POINT_SIZE_MIN));
1783
1866
  rb_define_const(module, "GL_POINT_SIZE_MIN_ARB", INT2NUM(GL_POINT_SIZE_MIN_ARB));
1784
1867
  rb_define_const(module, "GL_POINT_SIZE_MIN_EXT", INT2NUM(GL_POINT_SIZE_MIN_EXT));
1785
- rb_define_const(module, "GL_POINT_SIZE_MIN", INT2NUM(GL_POINT_SIZE_MIN));
1786
1868
  rb_define_const(module, "GL_POINT_SIZE_MIN_SGIS", INT2NUM(GL_POINT_SIZE_MIN_SGIS));
1787
1869
  rb_define_const(module, "GL_POINT_SIZE_RANGE", INT2NUM(GL_POINT_SIZE_RANGE));
1788
- rb_define_const(module, "GL_POINT_SMOOTH_HINT", INT2NUM(GL_POINT_SMOOTH_HINT));
1789
1870
  rb_define_const(module, "GL_POINT_SMOOTH", INT2NUM(GL_POINT_SMOOTH));
1871
+ rb_define_const(module, "GL_POINT_SMOOTH_HINT", INT2NUM(GL_POINT_SMOOTH_HINT));
1872
+ rb_define_const(module, "GL_POINT_SPRITE", INT2NUM(GL_POINT_SPRITE));
1790
1873
  rb_define_const(module, "GL_POINT_SPRITE_ARB", INT2NUM(GL_POINT_SPRITE_ARB));
1791
1874
  rb_define_const(module, "GL_POINT_SPRITE_COORD_ORIGIN", INT2NUM(GL_POINT_SPRITE_COORD_ORIGIN));
1792
- rb_define_const(module, "GL_POINT_SPRITE", INT2NUM(GL_POINT_SPRITE));
1793
1875
  rb_define_const(module, "GL_POINT_SPRITE_NV", INT2NUM(GL_POINT_SPRITE_NV));
1794
1876
  rb_define_const(module, "GL_POINT_SPRITE_R_MODE_NV", INT2NUM(GL_POINT_SPRITE_R_MODE_NV));
1795
1877
  rb_define_const(module, "GL_POINT_TOKEN", INT2NUM(GL_POINT_TOKEN));
1796
- rb_define_const(module, "GL_POLYGON_BIT", INT2NUM(GL_POLYGON_BIT));
1797
1878
  rb_define_const(module, "GL_POLYGON", INT2NUM(GL_POLYGON));
1879
+ rb_define_const(module, "GL_POLYGON_BIT", INT2NUM(GL_POLYGON_BIT));
1798
1880
  rb_define_const(module, "GL_POLYGON_MODE", INT2NUM(GL_POLYGON_MODE));
1799
1881
  rb_define_const(module, "GL_POLYGON_OFFSET_BIAS_EXT", INT2NUM(GL_POLYGON_OFFSET_BIAS_EXT));
1800
1882
  rb_define_const(module, "GL_POLYGON_OFFSET_EXT", INT2NUM(GL_POLYGON_OFFSET_EXT));
1801
- rb_define_const(module, "GL_POLYGON_OFFSET_FACTOR_EXT", INT2NUM(GL_POLYGON_OFFSET_FACTOR_EXT));
1802
1883
  rb_define_const(module, "GL_POLYGON_OFFSET_FACTOR", INT2NUM(GL_POLYGON_OFFSET_FACTOR));
1884
+ rb_define_const(module, "GL_POLYGON_OFFSET_FACTOR_EXT", INT2NUM(GL_POLYGON_OFFSET_FACTOR_EXT));
1803
1885
  rb_define_const(module, "GL_POLYGON_OFFSET_FILL", INT2NUM(GL_POLYGON_OFFSET_FILL));
1804
1886
  rb_define_const(module, "GL_POLYGON_OFFSET_LINE", INT2NUM(GL_POLYGON_OFFSET_LINE));
1805
1887
  rb_define_const(module, "GL_POLYGON_OFFSET_POINT", INT2NUM(GL_POLYGON_OFFSET_POINT));
1806
1888
  rb_define_const(module, "GL_POLYGON_OFFSET_UNITS", INT2NUM(GL_POLYGON_OFFSET_UNITS));
1807
- rb_define_const(module, "GL_POLYGON_SMOOTH_HINT", INT2NUM(GL_POLYGON_SMOOTH_HINT));
1808
1889
  rb_define_const(module, "GL_POLYGON_SMOOTH", INT2NUM(GL_POLYGON_SMOOTH));
1809
- rb_define_const(module, "GL_POLYGON_STIPPLE_BIT", INT2NUM(GL_POLYGON_STIPPLE_BIT));
1890
+ rb_define_const(module, "GL_POLYGON_SMOOTH_HINT", INT2NUM(GL_POLYGON_SMOOTH_HINT));
1810
1891
  rb_define_const(module, "GL_POLYGON_STIPPLE", INT2NUM(GL_POLYGON_STIPPLE));
1892
+ rb_define_const(module, "GL_POLYGON_STIPPLE_BIT", INT2NUM(GL_POLYGON_STIPPLE_BIT));
1811
1893
  rb_define_const(module, "GL_POLYGON_TOKEN", INT2NUM(GL_POLYGON_TOKEN));
1812
1894
  rb_define_const(module, "GL_POSITION", INT2NUM(GL_POSITION));
1813
1895
  rb_define_const(module, "GL_POST_COLOR_MATRIX_ALPHA_BIAS", INT2NUM(GL_POST_COLOR_MATRIX_ALPHA_BIAS));
@@ -1828,24 +1910,24 @@ void gl_init_enums(VALUE module)
1828
1910
  rb_define_const(module, "GL_POST_COLOR_MATRIX_RED_BIAS_SGI", INT2NUM(GL_POST_COLOR_MATRIX_RED_BIAS_SGI));
1829
1911
  rb_define_const(module, "GL_POST_COLOR_MATRIX_RED_SCALE", INT2NUM(GL_POST_COLOR_MATRIX_RED_SCALE));
1830
1912
  rb_define_const(module, "GL_POST_COLOR_MATRIX_RED_SCALE_SGI", INT2NUM(GL_POST_COLOR_MATRIX_RED_SCALE_SGI));
1831
- rb_define_const(module, "GL_POST_CONVOLUTION_ALPHA_BIAS_EXT", INT2NUM(GL_POST_CONVOLUTION_ALPHA_BIAS_EXT));
1832
1913
  rb_define_const(module, "GL_POST_CONVOLUTION_ALPHA_BIAS", INT2NUM(GL_POST_CONVOLUTION_ALPHA_BIAS));
1833
- rb_define_const(module, "GL_POST_CONVOLUTION_ALPHA_SCALE_EXT", INT2NUM(GL_POST_CONVOLUTION_ALPHA_SCALE_EXT));
1914
+ rb_define_const(module, "GL_POST_CONVOLUTION_ALPHA_BIAS_EXT", INT2NUM(GL_POST_CONVOLUTION_ALPHA_BIAS_EXT));
1834
1915
  rb_define_const(module, "GL_POST_CONVOLUTION_ALPHA_SCALE", INT2NUM(GL_POST_CONVOLUTION_ALPHA_SCALE));
1835
- rb_define_const(module, "GL_POST_CONVOLUTION_BLUE_BIAS_EXT", INT2NUM(GL_POST_CONVOLUTION_BLUE_BIAS_EXT));
1916
+ rb_define_const(module, "GL_POST_CONVOLUTION_ALPHA_SCALE_EXT", INT2NUM(GL_POST_CONVOLUTION_ALPHA_SCALE_EXT));
1836
1917
  rb_define_const(module, "GL_POST_CONVOLUTION_BLUE_BIAS", INT2NUM(GL_POST_CONVOLUTION_BLUE_BIAS));
1837
- rb_define_const(module, "GL_POST_CONVOLUTION_BLUE_SCALE_EXT", INT2NUM(GL_POST_CONVOLUTION_BLUE_SCALE_EXT));
1918
+ rb_define_const(module, "GL_POST_CONVOLUTION_BLUE_BIAS_EXT", INT2NUM(GL_POST_CONVOLUTION_BLUE_BIAS_EXT));
1838
1919
  rb_define_const(module, "GL_POST_CONVOLUTION_BLUE_SCALE", INT2NUM(GL_POST_CONVOLUTION_BLUE_SCALE));
1920
+ rb_define_const(module, "GL_POST_CONVOLUTION_BLUE_SCALE_EXT", INT2NUM(GL_POST_CONVOLUTION_BLUE_SCALE_EXT));
1839
1921
  rb_define_const(module, "GL_POST_CONVOLUTION_COLOR_TABLE", INT2NUM(GL_POST_CONVOLUTION_COLOR_TABLE));
1840
1922
  rb_define_const(module, "GL_POST_CONVOLUTION_COLOR_TABLE_SGI", INT2NUM(GL_POST_CONVOLUTION_COLOR_TABLE_SGI));
1841
- rb_define_const(module, "GL_POST_CONVOLUTION_GREEN_BIAS_EXT", INT2NUM(GL_POST_CONVOLUTION_GREEN_BIAS_EXT));
1842
1923
  rb_define_const(module, "GL_POST_CONVOLUTION_GREEN_BIAS", INT2NUM(GL_POST_CONVOLUTION_GREEN_BIAS));
1843
- rb_define_const(module, "GL_POST_CONVOLUTION_GREEN_SCALE_EXT", INT2NUM(GL_POST_CONVOLUTION_GREEN_SCALE_EXT));
1924
+ rb_define_const(module, "GL_POST_CONVOLUTION_GREEN_BIAS_EXT", INT2NUM(GL_POST_CONVOLUTION_GREEN_BIAS_EXT));
1844
1925
  rb_define_const(module, "GL_POST_CONVOLUTION_GREEN_SCALE", INT2NUM(GL_POST_CONVOLUTION_GREEN_SCALE));
1845
- rb_define_const(module, "GL_POST_CONVOLUTION_RED_BIAS_EXT", INT2NUM(GL_POST_CONVOLUTION_RED_BIAS_EXT));
1926
+ rb_define_const(module, "GL_POST_CONVOLUTION_GREEN_SCALE_EXT", INT2NUM(GL_POST_CONVOLUTION_GREEN_SCALE_EXT));
1846
1927
  rb_define_const(module, "GL_POST_CONVOLUTION_RED_BIAS", INT2NUM(GL_POST_CONVOLUTION_RED_BIAS));
1847
- rb_define_const(module, "GL_POST_CONVOLUTION_RED_SCALE_EXT", INT2NUM(GL_POST_CONVOLUTION_RED_SCALE_EXT));
1928
+ rb_define_const(module, "GL_POST_CONVOLUTION_RED_BIAS_EXT", INT2NUM(GL_POST_CONVOLUTION_RED_BIAS_EXT));
1848
1929
  rb_define_const(module, "GL_POST_CONVOLUTION_RED_SCALE", INT2NUM(GL_POST_CONVOLUTION_RED_SCALE));
1930
+ rb_define_const(module, "GL_POST_CONVOLUTION_RED_SCALE_EXT", INT2NUM(GL_POST_CONVOLUTION_RED_SCALE_EXT));
1849
1931
  rb_define_const(module, "GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP", INT2NUM(GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP));
1850
1932
  rb_define_const(module, "GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX", INT2NUM(GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX));
1851
1933
  rb_define_const(module, "GL_POST_TEXTURE_FILTER_BIAS_SGIX", INT2NUM(GL_POST_TEXTURE_FILTER_BIAS_SGIX));
@@ -1853,19 +1935,22 @@ void gl_init_enums(VALUE module)
1853
1935
  rb_define_const(module, "GL_POST_TEXTURE_FILTER_SCALE_SGIX", INT2NUM(GL_POST_TEXTURE_FILTER_SCALE_SGIX));
1854
1936
  rb_define_const(module, "GL_PREFER_DOUBLEBUFFER_HINT_PGI", INT2NUM(GL_PREFER_DOUBLEBUFFER_HINT_PGI));
1855
1937
  rb_define_const(module, "GL_PRESERVE_ATI", INT2NUM(GL_PRESERVE_ATI));
1938
+ rb_define_const(module, "GL_PREVIOUS", INT2NUM(GL_PREVIOUS));
1856
1939
  rb_define_const(module, "GL_PREVIOUS_ARB", INT2NUM(GL_PREVIOUS_ARB));
1857
1940
  rb_define_const(module, "GL_PREVIOUS_EXT", INT2NUM(GL_PREVIOUS_EXT));
1858
- rb_define_const(module, "GL_PREVIOUS", INT2NUM(GL_PREVIOUS));
1859
1941
  rb_define_const(module, "GL_PREVIOUS_TEXTURE_INPUT_NV", INT2NUM(GL_PREVIOUS_TEXTURE_INPUT_NV));
1942
+ rb_define_const(module, "GL_PRIMARY_COLOR", INT2NUM(GL_PRIMARY_COLOR));
1860
1943
  rb_define_const(module, "GL_PRIMARY_COLOR_ARB", INT2NUM(GL_PRIMARY_COLOR_ARB));
1861
1944
  rb_define_const(module, "GL_PRIMARY_COLOR_EXT", INT2NUM(GL_PRIMARY_COLOR_EXT));
1862
- rb_define_const(module, "GL_PRIMARY_COLOR", INT2NUM(GL_PRIMARY_COLOR));
1863
1945
  rb_define_const(module, "GL_PRIMARY_COLOR_NV", INT2NUM(GL_PRIMARY_COLOR_NV));
1946
+ rb_define_const(module, "GL_PRIMITIVES_GENERATED_NV", INT2NUM(GL_PRIMITIVES_GENERATED_NV));
1947
+ rb_define_const(module, "GL_PRIMITIVE_ID_NV", INT2NUM(GL_PRIMITIVE_ID_NV));
1864
1948
  rb_define_const(module, "GL_PRIMITIVE_RESTART_INDEX_NV", INT2NUM(GL_PRIMITIVE_RESTART_INDEX_NV));
1865
1949
  rb_define_const(module, "GL_PRIMITIVE_RESTART_NV", INT2NUM(GL_PRIMITIVE_RESTART_NV));
1866
1950
  rb_define_const(module, "GL_PROGRAM_ADDRESS_REGISTERS_ARB", INT2NUM(GL_PROGRAM_ADDRESS_REGISTERS_ARB));
1867
1951
  rb_define_const(module, "GL_PROGRAM_ALU_INSTRUCTIONS_ARB", INT2NUM(GL_PROGRAM_ALU_INSTRUCTIONS_ARB));
1868
1952
  rb_define_const(module, "GL_PROGRAM_ATTRIBS_ARB", INT2NUM(GL_PROGRAM_ATTRIBS_ARB));
1953
+ rb_define_const(module, "GL_PROGRAM_ATTRIB_COMPONENTS_NV", INT2NUM(GL_PROGRAM_ATTRIB_COMPONENTS_NV));
1869
1954
  rb_define_const(module, "GL_PROGRAM_BINDING_ARB", INT2NUM(GL_PROGRAM_BINDING_ARB));
1870
1955
  rb_define_const(module, "GL_PROGRAM_ERROR_POSITION_ARB", INT2NUM(GL_PROGRAM_ERROR_POSITION_ARB));
1871
1956
  rb_define_const(module, "GL_PROGRAM_ERROR_POSITION_NV", INT2NUM(GL_PROGRAM_ERROR_POSITION_NV));
@@ -1885,9 +1970,11 @@ void gl_init_enums(VALUE module)
1885
1970
  rb_define_const(module, "GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB", INT2NUM(GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB));
1886
1971
  rb_define_const(module, "GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB", INT2NUM(GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB));
1887
1972
  rb_define_const(module, "GL_PROGRAM_OBJECT_ARB", INT2NUM(GL_PROGRAM_OBJECT_ARB));
1888
- rb_define_const(module, "GL_PROGRAM_PARAMETER_NV", INT2NUM(GL_PROGRAM_PARAMETER_NV));
1889
1973
  rb_define_const(module, "GL_PROGRAM_PARAMETERS_ARB", INT2NUM(GL_PROGRAM_PARAMETERS_ARB));
1974
+ rb_define_const(module, "GL_PROGRAM_PARAMETER_NV", INT2NUM(GL_PROGRAM_PARAMETER_NV));
1975
+ rb_define_const(module, "GL_PROGRAM_POINT_SIZE_EXT", INT2NUM(GL_PROGRAM_POINT_SIZE_EXT));
1890
1976
  rb_define_const(module, "GL_PROGRAM_RESIDENT_NV", INT2NUM(GL_PROGRAM_RESIDENT_NV));
1977
+ rb_define_const(module, "GL_PROGRAM_RESULT_COMPONENTS_NV", INT2NUM(GL_PROGRAM_RESULT_COMPONENTS_NV));
1891
1978
  rb_define_const(module, "GL_PROGRAM_STRING_ARB", INT2NUM(GL_PROGRAM_STRING_ARB));
1892
1979
  rb_define_const(module, "GL_PROGRAM_STRING_NV", INT2NUM(GL_PROGRAM_STRING_NV));
1893
1980
  rb_define_const(module, "GL_PROGRAM_TARGET_NV", INT2NUM(GL_PROGRAM_TARGET_NV));
@@ -1900,29 +1987,33 @@ void gl_init_enums(VALUE module)
1900
1987
  rb_define_const(module, "GL_PROJECTION_STACK_DEPTH", INT2NUM(GL_PROJECTION_STACK_DEPTH));
1901
1988
  rb_define_const(module, "GL_PROXY_COLOR_TABLE", INT2NUM(GL_PROXY_COLOR_TABLE));
1902
1989
  rb_define_const(module, "GL_PROXY_COLOR_TABLE_SGI", INT2NUM(GL_PROXY_COLOR_TABLE_SGI));
1903
- rb_define_const(module, "GL_PROXY_HISTOGRAM_EXT", INT2NUM(GL_PROXY_HISTOGRAM_EXT));
1904
1990
  rb_define_const(module, "GL_PROXY_HISTOGRAM", INT2NUM(GL_PROXY_HISTOGRAM));
1991
+ rb_define_const(module, "GL_PROXY_HISTOGRAM_EXT", INT2NUM(GL_PROXY_HISTOGRAM_EXT));
1905
1992
  rb_define_const(module, "GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE", INT2NUM(GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE));
1906
1993
  rb_define_const(module, "GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI", INT2NUM(GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI));
1907
1994
  rb_define_const(module, "GL_PROXY_POST_CONVOLUTION_COLOR_TABLE", INT2NUM(GL_PROXY_POST_CONVOLUTION_COLOR_TABLE));
1908
1995
  rb_define_const(module, "GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI", INT2NUM(GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI));
1909
1996
  rb_define_const(module, "GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP", INT2NUM(GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP));
1910
- rb_define_const(module, "GL_PROXY_TEXTURE_1D_EXT", INT2NUM(GL_PROXY_TEXTURE_1D_EXT));
1911
1997
  rb_define_const(module, "GL_PROXY_TEXTURE_1D", INT2NUM(GL_PROXY_TEXTURE_1D));
1998
+ rb_define_const(module, "GL_PROXY_TEXTURE_1D_ARRAY_EXT", INT2NUM(GL_PROXY_TEXTURE_1D_ARRAY_EXT));
1999
+ rb_define_const(module, "GL_PROXY_TEXTURE_1D_EXT", INT2NUM(GL_PROXY_TEXTURE_1D_EXT));
1912
2000
  rb_define_const(module, "GL_PROXY_TEXTURE_1D_STACK_MESAX", INT2NUM(GL_PROXY_TEXTURE_1D_STACK_MESAX));
1913
- rb_define_const(module, "GL_PROXY_TEXTURE_2D_EXT", INT2NUM(GL_PROXY_TEXTURE_2D_EXT));
1914
2001
  rb_define_const(module, "GL_PROXY_TEXTURE_2D", INT2NUM(GL_PROXY_TEXTURE_2D));
2002
+ rb_define_const(module, "GL_PROXY_TEXTURE_2D_ARRAY_EXT", INT2NUM(GL_PROXY_TEXTURE_2D_ARRAY_EXT));
2003
+ rb_define_const(module, "GL_PROXY_TEXTURE_2D_EXT", INT2NUM(GL_PROXY_TEXTURE_2D_EXT));
1915
2004
  rb_define_const(module, "GL_PROXY_TEXTURE_2D_STACK_MESAX", INT2NUM(GL_PROXY_TEXTURE_2D_STACK_MESAX));
1916
- rb_define_const(module, "GL_PROXY_TEXTURE_3D_EXT", INT2NUM(GL_PROXY_TEXTURE_3D_EXT));
1917
2005
  rb_define_const(module, "GL_PROXY_TEXTURE_3D", INT2NUM(GL_PROXY_TEXTURE_3D));
2006
+ rb_define_const(module, "GL_PROXY_TEXTURE_3D_EXT", INT2NUM(GL_PROXY_TEXTURE_3D_EXT));
1918
2007
  rb_define_const(module, "GL_PROXY_TEXTURE_4D_SGIS", INT2NUM(GL_PROXY_TEXTURE_4D_SGIS));
1919
2008
  rb_define_const(module, "GL_PROXY_TEXTURE_COLOR_TABLE_SGI", INT2NUM(GL_PROXY_TEXTURE_COLOR_TABLE_SGI));
2009
+ rb_define_const(module, "GL_PROXY_TEXTURE_CUBE_MAP", INT2NUM(GL_PROXY_TEXTURE_CUBE_MAP));
1920
2010
  rb_define_const(module, "GL_PROXY_TEXTURE_CUBE_MAP_ARB", INT2NUM(GL_PROXY_TEXTURE_CUBE_MAP_ARB));
1921
2011
  rb_define_const(module, "GL_PROXY_TEXTURE_CUBE_MAP_EXT", INT2NUM(GL_PROXY_TEXTURE_CUBE_MAP_EXT));
1922
- rb_define_const(module, "GL_PROXY_TEXTURE_CUBE_MAP", INT2NUM(GL_PROXY_TEXTURE_CUBE_MAP));
1923
2012
  rb_define_const(module, "GL_PROXY_TEXTURE_RECTANGLE_ARB", INT2NUM(GL_PROXY_TEXTURE_RECTANGLE_ARB));
1924
2013
  rb_define_const(module, "GL_PROXY_TEXTURE_RECTANGLE_NV", INT2NUM(GL_PROXY_TEXTURE_RECTANGLE_NV));
1925
2014
  rb_define_const(module, "GL_Q", INT2NUM(GL_Q));
2015
+ rb_define_const(module, "GL_QUADRATIC_ATTENUATION", INT2NUM(GL_QUADRATIC_ATTENUATION));
2016
+ rb_define_const(module, "GL_QUADS", INT2NUM(GL_QUADS));
1926
2017
  rb_define_const(module, "GL_QUAD_ALPHA4_SGIS", INT2NUM(GL_QUAD_ALPHA4_SGIS));
1927
2018
  rb_define_const(module, "GL_QUAD_ALPHA8_SGIS", INT2NUM(GL_QUAD_ALPHA8_SGIS));
1928
2019
  rb_define_const(module, "GL_QUAD_INTENSITY4_SGIS", INT2NUM(GL_QUAD_INTENSITY4_SGIS));
@@ -1930,17 +2021,17 @@ void gl_init_enums(VALUE module)
1930
2021
  rb_define_const(module, "GL_QUAD_LUMINANCE4_SGIS", INT2NUM(GL_QUAD_LUMINANCE4_SGIS));
1931
2022
  rb_define_const(module, "GL_QUAD_LUMINANCE8_SGIS", INT2NUM(GL_QUAD_LUMINANCE8_SGIS));
1932
2023
  rb_define_const(module, "GL_QUAD_MESH_SUN", INT2NUM(GL_QUAD_MESH_SUN));
1933
- rb_define_const(module, "GL_QUADRATIC_ATTENUATION", INT2NUM(GL_QUADRATIC_ATTENUATION));
1934
- rb_define_const(module, "GL_QUADS", INT2NUM(GL_QUADS));
1935
2024
  rb_define_const(module, "GL_QUAD_STRIP", INT2NUM(GL_QUAD_STRIP));
1936
2025
  rb_define_const(module, "GL_QUAD_TEXTURE_SELECT_SGIS", INT2NUM(GL_QUAD_TEXTURE_SELECT_SGIS));
1937
2026
  rb_define_const(module, "GL_QUARTER_BIT_ATI", INT2NUM(GL_QUARTER_BIT_ATI));
1938
- rb_define_const(module, "GL_QUERY_COUNTER_BITS_ARB", INT2NUM(GL_QUERY_COUNTER_BITS_ARB));
1939
2027
  rb_define_const(module, "GL_QUERY_COUNTER_BITS", INT2NUM(GL_QUERY_COUNTER_BITS));
2028
+ rb_define_const(module, "GL_QUERY_COUNTER_BITS_ARB", INT2NUM(GL_QUERY_COUNTER_BITS_ARB));
2029
+ rb_define_const(module, "GL_QUERY_RESULT", INT2NUM(GL_QUERY_RESULT));
1940
2030
  rb_define_const(module, "GL_QUERY_RESULT_ARB", INT2NUM(GL_QUERY_RESULT_ARB));
1941
- rb_define_const(module, "GL_QUERY_RESULT_AVAILABLE_ARB", INT2NUM(GL_QUERY_RESULT_AVAILABLE_ARB));
1942
2031
  rb_define_const(module, "GL_QUERY_RESULT_AVAILABLE", INT2NUM(GL_QUERY_RESULT_AVAILABLE));
1943
- rb_define_const(module, "GL_QUERY_RESULT", INT2NUM(GL_QUERY_RESULT));
2032
+ rb_define_const(module, "GL_QUERY_RESULT_AVAILABLE_ARB", INT2NUM(GL_QUERY_RESULT_AVAILABLE_ARB));
2033
+ rb_define_const(module, "GL_R", INT2NUM(GL_R));
2034
+ rb_define_const(module, "GL_R11F_G11F_B10F_EXT", INT2NUM(GL_R11F_G11F_B10F_EXT));
1944
2035
  rb_define_const(module, "GL_R1UI_C3F_V3F_SUN", INT2NUM(GL_R1UI_C3F_V3F_SUN));
1945
2036
  rb_define_const(module, "GL_R1UI_C4F_N3F_V3F_SUN", INT2NUM(GL_R1UI_C4F_N3F_V3F_SUN));
1946
2037
  rb_define_const(module, "GL_R1UI_C4UB_V3F_SUN", INT2NUM(GL_R1UI_C4UB_V3F_SUN));
@@ -1950,33 +2041,36 @@ void gl_init_enums(VALUE module)
1950
2041
  rb_define_const(module, "GL_R1UI_T2F_V3F_SUN", INT2NUM(GL_R1UI_T2F_V3F_SUN));
1951
2042
  rb_define_const(module, "GL_R1UI_V3F_SUN", INT2NUM(GL_R1UI_V3F_SUN));
1952
2043
  rb_define_const(module, "GL_R3_G3_B2", INT2NUM(GL_R3_G3_B2));
2044
+ rb_define_const(module, "GL_RASTERIZER_DISCARD_NV", INT2NUM(GL_RASTERIZER_DISCARD_NV));
1953
2045
  rb_define_const(module, "GL_RASTER_POSITION_UNCLIPPED_IBM", INT2NUM(GL_RASTER_POSITION_UNCLIPPED_IBM));
1954
2046
  rb_define_const(module, "GL_READ_BUFFER", INT2NUM(GL_READ_BUFFER));
1955
2047
  rb_define_const(module, "GL_READ_FRAMEBUFFER_BINDING_EXT", INT2NUM(GL_READ_FRAMEBUFFER_BINDING_EXT));
1956
2048
  rb_define_const(module, "GL_READ_FRAMEBUFFER_EXT", INT2NUM(GL_READ_FRAMEBUFFER_EXT));
1957
- rb_define_const(module, "GL_READ_ONLY_ARB", INT2NUM(GL_READ_ONLY_ARB));
1958
2049
  rb_define_const(module, "GL_READ_ONLY", INT2NUM(GL_READ_ONLY));
2050
+ rb_define_const(module, "GL_READ_ONLY_ARB", INT2NUM(GL_READ_ONLY_ARB));
1959
2051
  rb_define_const(module, "GL_READ_PIXEL_DATA_RANGE_LENGTH_NV", INT2NUM(GL_READ_PIXEL_DATA_RANGE_LENGTH_NV));
1960
2052
  rb_define_const(module, "GL_READ_PIXEL_DATA_RANGE_NV", INT2NUM(GL_READ_PIXEL_DATA_RANGE_NV));
1961
2053
  rb_define_const(module, "GL_READ_PIXEL_DATA_RANGE_POINTER_NV", INT2NUM(GL_READ_PIXEL_DATA_RANGE_POINTER_NV));
1962
- rb_define_const(module, "GL_READ_WRITE_ARB", INT2NUM(GL_READ_WRITE_ARB));
1963
2054
  rb_define_const(module, "GL_READ_WRITE", INT2NUM(GL_READ_WRITE));
2055
+ rb_define_const(module, "GL_READ_WRITE_ARB", INT2NUM(GL_READ_WRITE_ARB));
1964
2056
  rb_define_const(module, "GL_RECLAIM_MEMORY_HINT_PGI", INT2NUM(GL_RECLAIM_MEMORY_HINT_PGI));
2057
+ rb_define_const(module, "GL_RED", INT2NUM(GL_RED));
2058
+ rb_define_const(module, "GL_REDUCE", INT2NUM(GL_REDUCE));
2059
+ rb_define_const(module, "GL_REDUCE_EXT", INT2NUM(GL_REDUCE_EXT));
1965
2060
  rb_define_const(module, "GL_RED_BIAS", INT2NUM(GL_RED_BIAS));
1966
- rb_define_const(module, "GL_RED_BIT_ATI", INT2NUM(GL_RED_BIT_ATI));
1967
2061
  rb_define_const(module, "GL_RED_BITS", INT2NUM(GL_RED_BITS));
1968
- rb_define_const(module, "GL_RED", INT2NUM(GL_RED));
2062
+ rb_define_const(module, "GL_RED_BIT_ATI", INT2NUM(GL_RED_BIT_ATI));
2063
+ rb_define_const(module, "GL_RED_INTEGER_EXT", INT2NUM(GL_RED_INTEGER_EXT));
1969
2064
  rb_define_const(module, "GL_RED_MAX_CLAMP_INGR", INT2NUM(GL_RED_MAX_CLAMP_INGR));
1970
2065
  rb_define_const(module, "GL_RED_MIN_CLAMP_INGR", INT2NUM(GL_RED_MIN_CLAMP_INGR));
1971
2066
  rb_define_const(module, "GL_RED_SCALE", INT2NUM(GL_RED_SCALE));
1972
- rb_define_const(module, "GL_REDUCE_EXT", INT2NUM(GL_REDUCE_EXT));
1973
- rb_define_const(module, "GL_REDUCE", INT2NUM(GL_REDUCE));
1974
2067
  rb_define_const(module, "GL_REFERENCE_PLANE_EQUATION_SGIX", INT2NUM(GL_REFERENCE_PLANE_EQUATION_SGIX));
1975
2068
  rb_define_const(module, "GL_REFERENCE_PLANE_SGIX", INT2NUM(GL_REFERENCE_PLANE_SGIX));
2069
+ rb_define_const(module, "GL_REFLECTION_MAP", INT2NUM(GL_REFLECTION_MAP));
1976
2070
  rb_define_const(module, "GL_REFLECTION_MAP_ARB", INT2NUM(GL_REFLECTION_MAP_ARB));
1977
2071
  rb_define_const(module, "GL_REFLECTION_MAP_EXT", INT2NUM(GL_REFLECTION_MAP_EXT));
1978
- rb_define_const(module, "GL_REFLECTION_MAP", INT2NUM(GL_REFLECTION_MAP));
1979
2072
  rb_define_const(module, "GL_REFLECTION_MAP_NV", INT2NUM(GL_REFLECTION_MAP_NV));
2073
+ rb_define_const(module, "GL_REGISTER_COMBINERS_NV", INT2NUM(GL_REGISTER_COMBINERS_NV));
1980
2074
  rb_define_const(module, "GL_REG_0_ATI", INT2NUM(GL_REG_0_ATI));
1981
2075
  rb_define_const(module, "GL_REG_10_ATI", INT2NUM(GL_REG_10_ATI));
1982
2076
  rb_define_const(module, "GL_REG_11_ATI", INT2NUM(GL_REG_11_ATI));
@@ -2009,10 +2103,12 @@ void gl_init_enums(VALUE module)
2009
2103
  rb_define_const(module, "GL_REG_7_ATI", INT2NUM(GL_REG_7_ATI));
2010
2104
  rb_define_const(module, "GL_REG_8_ATI", INT2NUM(GL_REG_8_ATI));
2011
2105
  rb_define_const(module, "GL_REG_9_ATI", INT2NUM(GL_REG_9_ATI));
2012
- rb_define_const(module, "GL_REGISTER_COMBINERS_NV", INT2NUM(GL_REGISTER_COMBINERS_NV));
2106
+ rb_define_const(module, "GL_RENDER", INT2NUM(GL_RENDER));
2013
2107
  rb_define_const(module, "GL_RENDERBUFFER_ALPHA_SIZE_EXT", INT2NUM(GL_RENDERBUFFER_ALPHA_SIZE_EXT));
2014
2108
  rb_define_const(module, "GL_RENDERBUFFER_BINDING_EXT", INT2NUM(GL_RENDERBUFFER_BINDING_EXT));
2015
2109
  rb_define_const(module, "GL_RENDERBUFFER_BLUE_SIZE_EXT", INT2NUM(GL_RENDERBUFFER_BLUE_SIZE_EXT));
2110
+ rb_define_const(module, "GL_RENDERBUFFER_COLOR_SAMPLES_NV", INT2NUM(GL_RENDERBUFFER_COLOR_SAMPLES_NV));
2111
+ rb_define_const(module, "GL_RENDERBUFFER_COVERAGE_SAMPLES_NV", INT2NUM(GL_RENDERBUFFER_COVERAGE_SAMPLES_NV));
2016
2112
  rb_define_const(module, "GL_RENDERBUFFER_DEPTH_SIZE_EXT", INT2NUM(GL_RENDERBUFFER_DEPTH_SIZE_EXT));
2017
2113
  rb_define_const(module, "GL_RENDERBUFFER_EXT", INT2NUM(GL_RENDERBUFFER_EXT));
2018
2114
  rb_define_const(module, "GL_RENDERBUFFER_GREEN_SIZE_EXT", INT2NUM(GL_RENDERBUFFER_GREEN_SIZE_EXT));
@@ -2023,20 +2119,19 @@ void gl_init_enums(VALUE module)
2023
2119
  rb_define_const(module, "GL_RENDERBUFFER_STENCIL_SIZE_EXT", INT2NUM(GL_RENDERBUFFER_STENCIL_SIZE_EXT));
2024
2120
  rb_define_const(module, "GL_RENDERBUFFER_WIDTH_EXT", INT2NUM(GL_RENDERBUFFER_WIDTH_EXT));
2025
2121
  rb_define_const(module, "GL_RENDERER", INT2NUM(GL_RENDERER));
2026
- rb_define_const(module, "GL_RENDER", INT2NUM(GL_RENDER));
2027
2122
  rb_define_const(module, "GL_RENDER_MODE", INT2NUM(GL_RENDER_MODE));
2028
2123
  rb_define_const(module, "GL_REPEAT", INT2NUM(GL_REPEAT));
2029
- rb_define_const(module, "GL_REPLACE_EXT", INT2NUM(GL_REPLACE_EXT));
2030
2124
  rb_define_const(module, "GL_REPLACE", INT2NUM(GL_REPLACE));
2031
2125
  rb_define_const(module, "GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN", INT2NUM(GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN));
2032
2126
  rb_define_const(module, "GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN", INT2NUM(GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN));
2033
2127
  rb_define_const(module, "GL_REPLACEMENT_CODE_ARRAY_SUN", INT2NUM(GL_REPLACEMENT_CODE_ARRAY_SUN));
2034
2128
  rb_define_const(module, "GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN", INT2NUM(GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN));
2035
2129
  rb_define_const(module, "GL_REPLACEMENT_CODE_SUN", INT2NUM(GL_REPLACEMENT_CODE_SUN));
2130
+ rb_define_const(module, "GL_REPLACE_EXT", INT2NUM(GL_REPLACE_EXT));
2036
2131
  rb_define_const(module, "GL_REPLACE_MIDDLE_SUN", INT2NUM(GL_REPLACE_MIDDLE_SUN));
2037
2132
  rb_define_const(module, "GL_REPLACE_OLDEST_SUN", INT2NUM(GL_REPLACE_OLDEST_SUN));
2038
- rb_define_const(module, "GL_REPLICATE_BORDER_HP", INT2NUM(GL_REPLICATE_BORDER_HP));
2039
2133
  rb_define_const(module, "GL_REPLICATE_BORDER", INT2NUM(GL_REPLICATE_BORDER));
2134
+ rb_define_const(module, "GL_REPLICATE_BORDER_HP", INT2NUM(GL_REPLICATE_BORDER_HP));
2040
2135
  rb_define_const(module, "GL_RESAMPLE_AVERAGE_OML", INT2NUM(GL_RESAMPLE_AVERAGE_OML));
2041
2136
  rb_define_const(module, "GL_RESAMPLE_DECIMATE_OML", INT2NUM(GL_RESAMPLE_DECIMATE_OML));
2042
2137
  rb_define_const(module, "GL_RESAMPLE_DECIMATE_SGIX", INT2NUM(GL_RESAMPLE_DECIMATE_SGIX));
@@ -2044,78 +2139,122 @@ void gl_init_enums(VALUE module)
2044
2139
  rb_define_const(module, "GL_RESAMPLE_REPLICATE_SGIX", INT2NUM(GL_RESAMPLE_REPLICATE_SGIX));
2045
2140
  rb_define_const(module, "GL_RESAMPLE_ZERO_FILL_OML", INT2NUM(GL_RESAMPLE_ZERO_FILL_OML));
2046
2141
  rb_define_const(module, "GL_RESAMPLE_ZERO_FILL_SGIX", INT2NUM(GL_RESAMPLE_ZERO_FILL_SGIX));
2047
- rb_define_const(module, "GL_RESCALE_NORMAL_EXT", INT2NUM(GL_RESCALE_NORMAL_EXT));
2048
2142
  rb_define_const(module, "GL_RESCALE_NORMAL", INT2NUM(GL_RESCALE_NORMAL));
2143
+ rb_define_const(module, "GL_RESCALE_NORMAL_EXT", INT2NUM(GL_RESCALE_NORMAL_EXT));
2049
2144
  rb_define_const(module, "GL_RESTART_SUN", INT2NUM(GL_RESTART_SUN));
2050
2145
  rb_define_const(module, "GL_RETURN", INT2NUM(GL_RETURN));
2051
- rb_define_const(module, "GL_RGB10_A2_EXT", INT2NUM(GL_RGB10_A2_EXT));
2146
+ rb_define_const(module, "GL_RGB", INT2NUM(GL_RGB));
2147
+ rb_define_const(module, "GL_RGB10", INT2NUM(GL_RGB10));
2052
2148
  rb_define_const(module, "GL_RGB10_A2", INT2NUM(GL_RGB10_A2));
2149
+ rb_define_const(module, "GL_RGB10_A2_EXT", INT2NUM(GL_RGB10_A2_EXT));
2053
2150
  rb_define_const(module, "GL_RGB10_EXT", INT2NUM(GL_RGB10_EXT));
2054
- rb_define_const(module, "GL_RGB10", INT2NUM(GL_RGB10));
2055
- rb_define_const(module, "GL_RGB12_EXT", INT2NUM(GL_RGB12_EXT));
2056
2151
  rb_define_const(module, "GL_RGB12", INT2NUM(GL_RGB12));
2057
- rb_define_const(module, "GL_RGB16_EXT", INT2NUM(GL_RGB16_EXT));
2058
- rb_define_const(module, "GL_RGB16F_ARB", INT2NUM(GL_RGB16F_ARB));
2152
+ rb_define_const(module, "GL_RGB12_EXT", INT2NUM(GL_RGB12_EXT));
2059
2153
  rb_define_const(module, "GL_RGB16", INT2NUM(GL_RGB16));
2060
- rb_define_const(module, "GL_RGB2_EXT", INT2NUM(GL_RGB2_EXT));
2154
+ rb_define_const(module, "GL_RGB16F_ARB", INT2NUM(GL_RGB16F_ARB));
2155
+ rb_define_const(module, "GL_RGB16I_EXT", INT2NUM(GL_RGB16I_EXT));
2156
+ rb_define_const(module, "GL_RGB16UI_EXT", INT2NUM(GL_RGB16UI_EXT));
2157
+ rb_define_const(module, "GL_RGB16_EXT", INT2NUM(GL_RGB16_EXT));
2158
+ rb_define_const(module, "GL_RGB2_EXT", INT2NUM(GL_RGB2_EXT));
2061
2159
  rb_define_const(module, "GL_RGB32F_ARB", INT2NUM(GL_RGB32F_ARB));
2062
- rb_define_const(module, "GL_RGB4_EXT", INT2NUM(GL_RGB4_EXT));
2160
+ rb_define_const(module, "GL_RGB32I_EXT", INT2NUM(GL_RGB32I_EXT));
2161
+ rb_define_const(module, "GL_RGB32UI_EXT", INT2NUM(GL_RGB32UI_EXT));
2063
2162
  rb_define_const(module, "GL_RGB4", INT2NUM(GL_RGB4));
2163
+ rb_define_const(module, "GL_RGB4_EXT", INT2NUM(GL_RGB4_EXT));
2064
2164
  rb_define_const(module, "GL_RGB4_S3TC", INT2NUM(GL_RGB4_S3TC));
2065
- rb_define_const(module, "GL_RGB5_A1_EXT", INT2NUM(GL_RGB5_A1_EXT));
2165
+ rb_define_const(module, "GL_RGB5", INT2NUM(GL_RGB5));
2066
2166
  rb_define_const(module, "GL_RGB5_A1", INT2NUM(GL_RGB5_A1));
2167
+ rb_define_const(module, "GL_RGB5_A1_EXT", INT2NUM(GL_RGB5_A1_EXT));
2067
2168
  rb_define_const(module, "GL_RGB5_EXT", INT2NUM(GL_RGB5_EXT));
2068
- rb_define_const(module, "GL_RGB5", INT2NUM(GL_RGB5));
2069
- rb_define_const(module, "GL_RGB8_EXT", INT2NUM(GL_RGB8_EXT));
2070
2169
  rb_define_const(module, "GL_RGB8", INT2NUM(GL_RGB8));
2071
- rb_define_const(module, "GL_RGBA12_EXT", INT2NUM(GL_RGBA12_EXT));
2170
+ rb_define_const(module, "GL_RGB8I_EXT", INT2NUM(GL_RGB8I_EXT));
2171
+ rb_define_const(module, "GL_RGB8UI_EXT", INT2NUM(GL_RGB8UI_EXT));
2172
+ rb_define_const(module, "GL_RGB8_EXT", INT2NUM(GL_RGB8_EXT));
2173
+ rb_define_const(module, "GL_RGB9_E5_EXT", INT2NUM(GL_RGB9_E5_EXT));
2174
+ rb_define_const(module, "GL_RGBA", INT2NUM(GL_RGBA));
2072
2175
  rb_define_const(module, "GL_RGBA12", INT2NUM(GL_RGBA12));
2073
- rb_define_const(module, "GL_RGBA16_EXT", INT2NUM(GL_RGBA16_EXT));
2074
- rb_define_const(module, "GL_RGBA16F_ARB", INT2NUM(GL_RGBA16F_ARB));
2176
+ rb_define_const(module, "GL_RGBA12_EXT", INT2NUM(GL_RGBA12_EXT));
2075
2177
  rb_define_const(module, "GL_RGBA16", INT2NUM(GL_RGBA16));
2076
- rb_define_const(module, "GL_RGBA2_EXT", INT2NUM(GL_RGBA2_EXT));
2178
+ rb_define_const(module, "GL_RGBA16F_ARB", INT2NUM(GL_RGBA16F_ARB));
2179
+ rb_define_const(module, "GL_RGBA16I_EXT", INT2NUM(GL_RGBA16I_EXT));
2180
+ rb_define_const(module, "GL_RGBA16UI_EXT", INT2NUM(GL_RGBA16UI_EXT));
2181
+ rb_define_const(module, "GL_RGBA16_EXT", INT2NUM(GL_RGBA16_EXT));
2077
2182
  rb_define_const(module, "GL_RGBA2", INT2NUM(GL_RGBA2));
2183
+ rb_define_const(module, "GL_RGBA2_EXT", INT2NUM(GL_RGBA2_EXT));
2078
2184
  rb_define_const(module, "GL_RGBA32F_ARB", INT2NUM(GL_RGBA32F_ARB));
2079
- rb_define_const(module, "GL_RGBA4_EXT", INT2NUM(GL_RGBA4_EXT));
2185
+ rb_define_const(module, "GL_RGBA32I_EXT", INT2NUM(GL_RGBA32I_EXT));
2186
+ rb_define_const(module, "GL_RGBA32UI_EXT", INT2NUM(GL_RGBA32UI_EXT));
2080
2187
  rb_define_const(module, "GL_RGBA4", INT2NUM(GL_RGBA4));
2188
+ rb_define_const(module, "GL_RGBA4_EXT", INT2NUM(GL_RGBA4_EXT));
2081
2189
  rb_define_const(module, "GL_RGBA4_S3TC", INT2NUM(GL_RGBA4_S3TC));
2082
- rb_define_const(module, "GL_RGBA8_EXT", INT2NUM(GL_RGBA8_EXT));
2083
2190
  rb_define_const(module, "GL_RGBA8", INT2NUM(GL_RGBA8));
2191
+ rb_define_const(module, "GL_RGBA8I_EXT", INT2NUM(GL_RGBA8I_EXT));
2192
+ rb_define_const(module, "GL_RGBA8UI_EXT", INT2NUM(GL_RGBA8UI_EXT));
2193
+ rb_define_const(module, "GL_RGBA8_EXT", INT2NUM(GL_RGBA8_EXT));
2084
2194
  rb_define_const(module, "GL_RGBA_FLOAT16_ATI", INT2NUM(GL_RGBA_FLOAT16_ATI));
2085
2195
  rb_define_const(module, "GL_RGBA_FLOAT32_ATI", INT2NUM(GL_RGBA_FLOAT32_ATI));
2086
2196
  rb_define_const(module, "GL_RGBA_FLOAT_MODE_ARB", INT2NUM(GL_RGBA_FLOAT_MODE_ARB));
2087
- rb_define_const(module, "GL_RGBA", INT2NUM(GL_RGBA));
2197
+ rb_define_const(module, "GL_RGBA_INTEGER_EXT", INT2NUM(GL_RGBA_INTEGER_EXT));
2198
+ rb_define_const(module, "GL_RGBA_INTEGER_MODE_EXT", INT2NUM(GL_RGBA_INTEGER_MODE_EXT));
2088
2199
  rb_define_const(module, "GL_RGBA_MODE", INT2NUM(GL_RGBA_MODE));
2089
2200
  rb_define_const(module, "GL_RGBA_S3TC", INT2NUM(GL_RGBA_S3TC));
2201
+ rb_define_const(module, "GL_RGBA_SIGNED_COMPONENTS_EXT", INT2NUM(GL_RGBA_SIGNED_COMPONENTS_EXT));
2090
2202
  rb_define_const(module, "GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV", INT2NUM(GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV));
2091
2203
  rb_define_const(module, "GL_RGB_FLOAT16_ATI", INT2NUM(GL_RGB_FLOAT16_ATI));
2092
2204
  rb_define_const(module, "GL_RGB_FLOAT32_ATI", INT2NUM(GL_RGB_FLOAT32_ATI));
2093
- rb_define_const(module, "GL_RGB", INT2NUM(GL_RGB));
2205
+ rb_define_const(module, "GL_RGB_INTEGER_EXT", INT2NUM(GL_RGB_INTEGER_EXT));
2094
2206
  rb_define_const(module, "GL_RGB_S3TC", INT2NUM(GL_RGB_S3TC));
2207
+ rb_define_const(module, "GL_RGB_SCALE", INT2NUM(GL_RGB_SCALE));
2095
2208
  rb_define_const(module, "GL_RGB_SCALE_ARB", INT2NUM(GL_RGB_SCALE_ARB));
2096
2209
  rb_define_const(module, "GL_RGB_SCALE_EXT", INT2NUM(GL_RGB_SCALE_EXT));
2097
- rb_define_const(module, "GL_RGB_SCALE", INT2NUM(GL_RGB_SCALE));
2098
2210
  rb_define_const(module, "GL_RIGHT", INT2NUM(GL_RIGHT));
2099
- rb_define_const(module, "GL_R", INT2NUM(GL_R));
2100
- rb_define_const(module, "GL_SAMPLE_ALPHA_TO_COVERAGE_ARB", INT2NUM(GL_SAMPLE_ALPHA_TO_COVERAGE_ARB));
2211
+ rb_define_const(module, "GL_S", INT2NUM(GL_S));
2212
+ rb_define_const(module, "GL_SAMPLER_1D", INT2NUM(GL_SAMPLER_1D));
2213
+ rb_define_const(module, "GL_SAMPLER_1D_ARB", INT2NUM(GL_SAMPLER_1D_ARB));
2214
+ rb_define_const(module, "GL_SAMPLER_1D_ARRAY_EXT", INT2NUM(GL_SAMPLER_1D_ARRAY_EXT));
2215
+ rb_define_const(module, "GL_SAMPLER_1D_ARRAY_SHADOW_EXT", INT2NUM(GL_SAMPLER_1D_ARRAY_SHADOW_EXT));
2216
+ rb_define_const(module, "GL_SAMPLER_1D_SHADOW", INT2NUM(GL_SAMPLER_1D_SHADOW));
2217
+ rb_define_const(module, "GL_SAMPLER_1D_SHADOW_ARB", INT2NUM(GL_SAMPLER_1D_SHADOW_ARB));
2218
+ rb_define_const(module, "GL_SAMPLER_2D", INT2NUM(GL_SAMPLER_2D));
2219
+ rb_define_const(module, "GL_SAMPLER_2D_ARB", INT2NUM(GL_SAMPLER_2D_ARB));
2220
+ rb_define_const(module, "GL_SAMPLER_2D_ARRAY_EXT", INT2NUM(GL_SAMPLER_2D_ARRAY_EXT));
2221
+ rb_define_const(module, "GL_SAMPLER_2D_ARRAY_SHADOW_EXT", INT2NUM(GL_SAMPLER_2D_ARRAY_SHADOW_EXT));
2222
+ rb_define_const(module, "GL_SAMPLER_2D_RECT_ARB", INT2NUM(GL_SAMPLER_2D_RECT_ARB));
2223
+ rb_define_const(module, "GL_SAMPLER_2D_RECT_SHADOW_ARB", INT2NUM(GL_SAMPLER_2D_RECT_SHADOW_ARB));
2224
+ rb_define_const(module, "GL_SAMPLER_2D_SHADOW", INT2NUM(GL_SAMPLER_2D_SHADOW));
2225
+ rb_define_const(module, "GL_SAMPLER_2D_SHADOW_ARB", INT2NUM(GL_SAMPLER_2D_SHADOW_ARB));
2226
+ rb_define_const(module, "GL_SAMPLER_3D", INT2NUM(GL_SAMPLER_3D));
2227
+ rb_define_const(module, "GL_SAMPLER_3D_ARB", INT2NUM(GL_SAMPLER_3D_ARB));
2228
+ rb_define_const(module, "GL_SAMPLER_BUFFER_EXT", INT2NUM(GL_SAMPLER_BUFFER_EXT));
2229
+ rb_define_const(module, "GL_SAMPLER_CUBE", INT2NUM(GL_SAMPLER_CUBE));
2230
+ rb_define_const(module, "GL_SAMPLER_CUBE_ARB", INT2NUM(GL_SAMPLER_CUBE_ARB));
2231
+ rb_define_const(module, "GL_SAMPLER_CUBE_SHADOW_EXT", INT2NUM(GL_SAMPLER_CUBE_SHADOW_EXT));
2232
+ rb_define_const(module, "GL_SAMPLES", INT2NUM(GL_SAMPLES));
2233
+ rb_define_const(module, "GL_SAMPLES_3DFX", INT2NUM(GL_SAMPLES_3DFX));
2234
+ rb_define_const(module, "GL_SAMPLES_ARB", INT2NUM(GL_SAMPLES_ARB));
2235
+ rb_define_const(module, "GL_SAMPLES_EXT", INT2NUM(GL_SAMPLES_EXT));
2236
+ rb_define_const(module, "GL_SAMPLES_PASSED", INT2NUM(GL_SAMPLES_PASSED));
2237
+ rb_define_const(module, "GL_SAMPLES_PASSED_ARB", INT2NUM(GL_SAMPLES_PASSED_ARB));
2238
+ rb_define_const(module, "GL_SAMPLES_SGIS", INT2NUM(GL_SAMPLES_SGIS));
2101
2239
  rb_define_const(module, "GL_SAMPLE_ALPHA_TO_COVERAGE", INT2NUM(GL_SAMPLE_ALPHA_TO_COVERAGE));
2240
+ rb_define_const(module, "GL_SAMPLE_ALPHA_TO_COVERAGE_ARB", INT2NUM(GL_SAMPLE_ALPHA_TO_COVERAGE_ARB));
2102
2241
  rb_define_const(module, "GL_SAMPLE_ALPHA_TO_MASK_EXT", INT2NUM(GL_SAMPLE_ALPHA_TO_MASK_EXT));
2103
2242
  rb_define_const(module, "GL_SAMPLE_ALPHA_TO_MASK_SGIS", INT2NUM(GL_SAMPLE_ALPHA_TO_MASK_SGIS));
2243
+ rb_define_const(module, "GL_SAMPLE_ALPHA_TO_ONE", INT2NUM(GL_SAMPLE_ALPHA_TO_ONE));
2104
2244
  rb_define_const(module, "GL_SAMPLE_ALPHA_TO_ONE_ARB", INT2NUM(GL_SAMPLE_ALPHA_TO_ONE_ARB));
2105
2245
  rb_define_const(module, "GL_SAMPLE_ALPHA_TO_ONE_EXT", INT2NUM(GL_SAMPLE_ALPHA_TO_ONE_EXT));
2106
- rb_define_const(module, "GL_SAMPLE_ALPHA_TO_ONE", INT2NUM(GL_SAMPLE_ALPHA_TO_ONE));
2107
2246
  rb_define_const(module, "GL_SAMPLE_ALPHA_TO_ONE_SGIS", INT2NUM(GL_SAMPLE_ALPHA_TO_ONE_SGIS));
2247
+ rb_define_const(module, "GL_SAMPLE_BUFFERS", INT2NUM(GL_SAMPLE_BUFFERS));
2108
2248
  rb_define_const(module, "GL_SAMPLE_BUFFERS_3DFX", INT2NUM(GL_SAMPLE_BUFFERS_3DFX));
2109
2249
  rb_define_const(module, "GL_SAMPLE_BUFFERS_ARB", INT2NUM(GL_SAMPLE_BUFFERS_ARB));
2110
2250
  rb_define_const(module, "GL_SAMPLE_BUFFERS_EXT", INT2NUM(GL_SAMPLE_BUFFERS_EXT));
2111
- rb_define_const(module, "GL_SAMPLE_BUFFERS", INT2NUM(GL_SAMPLE_BUFFERS));
2112
2251
  rb_define_const(module, "GL_SAMPLE_BUFFERS_SGIS", INT2NUM(GL_SAMPLE_BUFFERS_SGIS));
2113
- rb_define_const(module, "GL_SAMPLE_COVERAGE_ARB", INT2NUM(GL_SAMPLE_COVERAGE_ARB));
2114
2252
  rb_define_const(module, "GL_SAMPLE_COVERAGE", INT2NUM(GL_SAMPLE_COVERAGE));
2115
- rb_define_const(module, "GL_SAMPLE_COVERAGE_INVERT_ARB", INT2NUM(GL_SAMPLE_COVERAGE_INVERT_ARB));
2253
+ rb_define_const(module, "GL_SAMPLE_COVERAGE_ARB", INT2NUM(GL_SAMPLE_COVERAGE_ARB));
2116
2254
  rb_define_const(module, "GL_SAMPLE_COVERAGE_INVERT", INT2NUM(GL_SAMPLE_COVERAGE_INVERT));
2117
- rb_define_const(module, "GL_SAMPLE_COVERAGE_VALUE_ARB", INT2NUM(GL_SAMPLE_COVERAGE_VALUE_ARB));
2255
+ rb_define_const(module, "GL_SAMPLE_COVERAGE_INVERT_ARB", INT2NUM(GL_SAMPLE_COVERAGE_INVERT_ARB));
2118
2256
  rb_define_const(module, "GL_SAMPLE_COVERAGE_VALUE", INT2NUM(GL_SAMPLE_COVERAGE_VALUE));
2257
+ rb_define_const(module, "GL_SAMPLE_COVERAGE_VALUE_ARB", INT2NUM(GL_SAMPLE_COVERAGE_VALUE_ARB));
2119
2258
  rb_define_const(module, "GL_SAMPLE_MASK_EXT", INT2NUM(GL_SAMPLE_MASK_EXT));
2120
2259
  rb_define_const(module, "GL_SAMPLE_MASK_INVERT_EXT", INT2NUM(GL_SAMPLE_MASK_INVERT_EXT));
2121
2260
  rb_define_const(module, "GL_SAMPLE_MASK_INVERT_SGIS", INT2NUM(GL_SAMPLE_MASK_INVERT_SGIS));
@@ -2124,27 +2263,6 @@ void gl_init_enums(VALUE module)
2124
2263
  rb_define_const(module, "GL_SAMPLE_MASK_VALUE_SGIS", INT2NUM(GL_SAMPLE_MASK_VALUE_SGIS));
2125
2264
  rb_define_const(module, "GL_SAMPLE_PATTERN_EXT", INT2NUM(GL_SAMPLE_PATTERN_EXT));
2126
2265
  rb_define_const(module, "GL_SAMPLE_PATTERN_SGIS", INT2NUM(GL_SAMPLE_PATTERN_SGIS));
2127
- rb_define_const(module, "GL_SAMPLER_1D_ARB", INT2NUM(GL_SAMPLER_1D_ARB));
2128
- rb_define_const(module, "GL_SAMPLER_1D", INT2NUM(GL_SAMPLER_1D));
2129
- rb_define_const(module, "GL_SAMPLER_1D_SHADOW_ARB", INT2NUM(GL_SAMPLER_1D_SHADOW_ARB));
2130
- rb_define_const(module, "GL_SAMPLER_1D_SHADOW", INT2NUM(GL_SAMPLER_1D_SHADOW));
2131
- rb_define_const(module, "GL_SAMPLER_2D_ARB", INT2NUM(GL_SAMPLER_2D_ARB));
2132
- rb_define_const(module, "GL_SAMPLER_2D", INT2NUM(GL_SAMPLER_2D));
2133
- rb_define_const(module, "GL_SAMPLER_2D_RECT_ARB", INT2NUM(GL_SAMPLER_2D_RECT_ARB));
2134
- rb_define_const(module, "GL_SAMPLER_2D_RECT_SHADOW_ARB", INT2NUM(GL_SAMPLER_2D_RECT_SHADOW_ARB));
2135
- rb_define_const(module, "GL_SAMPLER_2D_SHADOW_ARB", INT2NUM(GL_SAMPLER_2D_SHADOW_ARB));
2136
- rb_define_const(module, "GL_SAMPLER_2D_SHADOW", INT2NUM(GL_SAMPLER_2D_SHADOW));
2137
- rb_define_const(module, "GL_SAMPLER_3D_ARB", INT2NUM(GL_SAMPLER_3D_ARB));
2138
- rb_define_const(module, "GL_SAMPLER_3D", INT2NUM(GL_SAMPLER_3D));
2139
- rb_define_const(module, "GL_SAMPLER_CUBE_ARB", INT2NUM(GL_SAMPLER_CUBE_ARB));
2140
- rb_define_const(module, "GL_SAMPLER_CUBE", INT2NUM(GL_SAMPLER_CUBE));
2141
- rb_define_const(module, "GL_SAMPLES_3DFX", INT2NUM(GL_SAMPLES_3DFX));
2142
- rb_define_const(module, "GL_SAMPLES_ARB", INT2NUM(GL_SAMPLES_ARB));
2143
- rb_define_const(module, "GL_SAMPLES_EXT", INT2NUM(GL_SAMPLES_EXT));
2144
- rb_define_const(module, "GL_SAMPLES", INT2NUM(GL_SAMPLES));
2145
- rb_define_const(module, "GL_SAMPLES_PASSED_ARB", INT2NUM(GL_SAMPLES_PASSED_ARB));
2146
- rb_define_const(module, "GL_SAMPLES_PASSED", INT2NUM(GL_SAMPLES_PASSED));
2147
- rb_define_const(module, "GL_SAMPLES_SGIS", INT2NUM(GL_SAMPLES_SGIS));
2148
2266
  rb_define_const(module, "GL_SATURATE_BIT_ATI", INT2NUM(GL_SATURATE_BIT_ATI));
2149
2267
  rb_define_const(module, "GL_SCALAR_EXT", INT2NUM(GL_SCALAR_EXT));
2150
2268
  rb_define_const(module, "GL_SCALEBIAS_HINT_SGIX", INT2NUM(GL_SCALEBIAS_HINT_SGIX));
@@ -2155,32 +2273,31 @@ void gl_init_enums(VALUE module)
2155
2273
  rb_define_const(module, "GL_SCISSOR_BOX", INT2NUM(GL_SCISSOR_BOX));
2156
2274
  rb_define_const(module, "GL_SCISSOR_TEST", INT2NUM(GL_SCISSOR_TEST));
2157
2275
  rb_define_const(module, "GL_SCREEN_COORDINATES_REND", INT2NUM(GL_SCREEN_COORDINATES_REND));
2158
- rb_define_const(module, "GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB", INT2NUM(GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB));
2276
+ rb_define_const(module, "GL_SECONDARY_COLOR_ARRAY", INT2NUM(GL_SECONDARY_COLOR_ARRAY));
2159
2277
  rb_define_const(module, "GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING", INT2NUM(GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING));
2278
+ rb_define_const(module, "GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB", INT2NUM(GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB));
2160
2279
  rb_define_const(module, "GL_SECONDARY_COLOR_ARRAY_EXT", INT2NUM(GL_SECONDARY_COLOR_ARRAY_EXT));
2161
- rb_define_const(module, "GL_SECONDARY_COLOR_ARRAY", INT2NUM(GL_SECONDARY_COLOR_ARRAY));
2162
2280
  rb_define_const(module, "GL_SECONDARY_COLOR_ARRAY_LIST_IBM", INT2NUM(GL_SECONDARY_COLOR_ARRAY_LIST_IBM));
2163
2281
  rb_define_const(module, "GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM", INT2NUM(GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM));
2164
- rb_define_const(module, "GL_SECONDARY_COLOR_ARRAY_POINTER_EXT", INT2NUM(GL_SECONDARY_COLOR_ARRAY_POINTER_EXT));
2165
2282
  rb_define_const(module, "GL_SECONDARY_COLOR_ARRAY_POINTER", INT2NUM(GL_SECONDARY_COLOR_ARRAY_POINTER));
2166
- rb_define_const(module, "GL_SECONDARY_COLOR_ARRAY_SIZE_EXT", INT2NUM(GL_SECONDARY_COLOR_ARRAY_SIZE_EXT));
2283
+ rb_define_const(module, "GL_SECONDARY_COLOR_ARRAY_POINTER_EXT", INT2NUM(GL_SECONDARY_COLOR_ARRAY_POINTER_EXT));
2167
2284
  rb_define_const(module, "GL_SECONDARY_COLOR_ARRAY_SIZE", INT2NUM(GL_SECONDARY_COLOR_ARRAY_SIZE));
2168
- rb_define_const(module, "GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT", INT2NUM(GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT));
2285
+ rb_define_const(module, "GL_SECONDARY_COLOR_ARRAY_SIZE_EXT", INT2NUM(GL_SECONDARY_COLOR_ARRAY_SIZE_EXT));
2169
2286
  rb_define_const(module, "GL_SECONDARY_COLOR_ARRAY_STRIDE", INT2NUM(GL_SECONDARY_COLOR_ARRAY_STRIDE));
2170
- rb_define_const(module, "GL_SECONDARY_COLOR_ARRAY_TYPE_EXT", INT2NUM(GL_SECONDARY_COLOR_ARRAY_TYPE_EXT));
2287
+ rb_define_const(module, "GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT", INT2NUM(GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT));
2171
2288
  rb_define_const(module, "GL_SECONDARY_COLOR_ARRAY_TYPE", INT2NUM(GL_SECONDARY_COLOR_ARRAY_TYPE));
2289
+ rb_define_const(module, "GL_SECONDARY_COLOR_ARRAY_TYPE_EXT", INT2NUM(GL_SECONDARY_COLOR_ARRAY_TYPE_EXT));
2172
2290
  rb_define_const(module, "GL_SECONDARY_COLOR_NV", INT2NUM(GL_SECONDARY_COLOR_NV));
2173
2291
  rb_define_const(module, "GL_SECONDARY_INTERPOLATOR_ATI", INT2NUM(GL_SECONDARY_INTERPOLATOR_ATI));
2174
2292
  rb_define_const(module, "GL_SELECT", INT2NUM(GL_SELECT));
2175
2293
  rb_define_const(module, "GL_SELECTION_BUFFER_POINTER", INT2NUM(GL_SELECTION_BUFFER_POINTER));
2176
2294
  rb_define_const(module, "GL_SELECTION_BUFFER_SIZE", INT2NUM(GL_SELECTION_BUFFER_SIZE));
2177
- rb_define_const(module, "GL_SEPARABLE_2D_EXT", INT2NUM(GL_SEPARABLE_2D_EXT));
2178
2295
  rb_define_const(module, "GL_SEPARABLE_2D", INT2NUM(GL_SEPARABLE_2D));
2179
- rb_define_const(module, "GL_SEPARATE_SPECULAR_COLOR_EXT", INT2NUM(GL_SEPARATE_SPECULAR_COLOR_EXT));
2296
+ rb_define_const(module, "GL_SEPARABLE_2D_EXT", INT2NUM(GL_SEPARABLE_2D_EXT));
2297
+ rb_define_const(module, "GL_SEPARATE_ATTRIBS_NV", INT2NUM(GL_SEPARATE_ATTRIBS_NV));
2180
2298
  rb_define_const(module, "GL_SEPARATE_SPECULAR_COLOR", INT2NUM(GL_SEPARATE_SPECULAR_COLOR));
2299
+ rb_define_const(module, "GL_SEPARATE_SPECULAR_COLOR_EXT", INT2NUM(GL_SEPARATE_SPECULAR_COLOR_EXT));
2181
2300
  rb_define_const(module, "GL_SET", INT2NUM(GL_SET));
2182
- rb_define_const(module, "GL_SGI_color_matrix", INT2NUM(GL_SGI_color_matrix));
2183
- rb_define_const(module, "GL_SGI_color_table", INT2NUM(GL_SGI_color_table));
2184
2301
  rb_define_const(module, "GL_SGIS_detail_texture", INT2NUM(GL_SGIS_detail_texture));
2185
2302
  rb_define_const(module, "GL_SGIS_fog_function", INT2NUM(GL_SGIS_fog_function));
2186
2303
  rb_define_const(module, "GL_SGIS_generate_mipmap", INT2NUM(GL_SGIS_generate_mipmap));
@@ -2195,9 +2312,8 @@ void gl_init_enums(VALUE module)
2195
2312
  rb_define_const(module, "GL_SGIS_texture_filter4", INT2NUM(GL_SGIS_texture_filter4));
2196
2313
  rb_define_const(module, "GL_SGIS_texture_lod", INT2NUM(GL_SGIS_texture_lod));
2197
2314
  rb_define_const(module, "GL_SGIS_texture_select", INT2NUM(GL_SGIS_texture_select));
2198
- rb_define_const(module, "GL_SGI_texture_color_table", INT2NUM(GL_SGI_texture_color_table));
2199
- rb_define_const(module, "GL_SGIX_async_histogram", INT2NUM(GL_SGIX_async_histogram));
2200
2315
  rb_define_const(module, "GL_SGIX_async", INT2NUM(GL_SGIX_async));
2316
+ rb_define_const(module, "GL_SGIX_async_histogram", INT2NUM(GL_SGIX_async_histogram));
2201
2317
  rb_define_const(module, "GL_SGIX_async_pixel", INT2NUM(GL_SGIX_async_pixel));
2202
2318
  rb_define_const(module, "GL_SGIX_blend_alpha_minmax", INT2NUM(GL_SGIX_blend_alpha_minmax));
2203
2319
  rb_define_const(module, "GL_SGIX_calligraphic_fragment", INT2NUM(GL_SGIX_calligraphic_fragment));
@@ -2220,8 +2336,8 @@ void gl_init_enums(VALUE module)
2220
2336
  rb_define_const(module, "GL_SGIX_reference_plane", INT2NUM(GL_SGIX_reference_plane));
2221
2337
  rb_define_const(module, "GL_SGIX_resample", INT2NUM(GL_SGIX_resample));
2222
2338
  rb_define_const(module, "GL_SGIX_scalebias_hint", INT2NUM(GL_SGIX_scalebias_hint));
2223
- rb_define_const(module, "GL_SGIX_shadow_ambient", INT2NUM(GL_SGIX_shadow_ambient));
2224
2339
  rb_define_const(module, "GL_SGIX_shadow", INT2NUM(GL_SGIX_shadow));
2340
+ rb_define_const(module, "GL_SGIX_shadow_ambient", INT2NUM(GL_SGIX_shadow_ambient));
2225
2341
  rb_define_const(module, "GL_SGIX_sprite", INT2NUM(GL_SGIX_sprite));
2226
2342
  rb_define_const(module, "GL_SGIX_subsample", INT2NUM(GL_SGIX_subsample));
2227
2343
  rb_define_const(module, "GL_SGIX_tag_sample_buffer", INT2NUM(GL_SGIX_tag_sample_buffer));
@@ -2232,14 +2348,17 @@ void gl_init_enums(VALUE module)
2232
2348
  rb_define_const(module, "GL_SGIX_texture_scale_bias", INT2NUM(GL_SGIX_texture_scale_bias));
2233
2349
  rb_define_const(module, "GL_SGIX_vertex_preclip", INT2NUM(GL_SGIX_vertex_preclip));
2234
2350
  rb_define_const(module, "GL_SGIX_ycrcb", INT2NUM(GL_SGIX_ycrcb));
2235
- rb_define_const(module, "GL_SHADE_MODEL", INT2NUM(GL_SHADE_MODEL));
2351
+ rb_define_const(module, "GL_SGI_color_matrix", INT2NUM(GL_SGI_color_matrix));
2352
+ rb_define_const(module, "GL_SGI_color_table", INT2NUM(GL_SGI_color_table));
2353
+ rb_define_const(module, "GL_SGI_texture_color_table", INT2NUM(GL_SGI_texture_color_table));
2236
2354
  rb_define_const(module, "GL_SHADER_CONSISTENT_NV", INT2NUM(GL_SHADER_CONSISTENT_NV));
2237
2355
  rb_define_const(module, "GL_SHADER_OBJECT_ARB", INT2NUM(GL_SHADER_OBJECT_ARB));
2238
2356
  rb_define_const(module, "GL_SHADER_OPERATION_NV", INT2NUM(GL_SHADER_OPERATION_NV));
2239
2357
  rb_define_const(module, "GL_SHADER_SOURCE_LENGTH", INT2NUM(GL_SHADER_SOURCE_LENGTH));
2240
2358
  rb_define_const(module, "GL_SHADER_TYPE", INT2NUM(GL_SHADER_TYPE));
2241
- rb_define_const(module, "GL_SHADING_LANGUAGE_VERSION_ARB", INT2NUM(GL_SHADING_LANGUAGE_VERSION_ARB));
2359
+ rb_define_const(module, "GL_SHADE_MODEL", INT2NUM(GL_SHADE_MODEL));
2242
2360
  rb_define_const(module, "GL_SHADING_LANGUAGE_VERSION", INT2NUM(GL_SHADING_LANGUAGE_VERSION));
2361
+ rb_define_const(module, "GL_SHADING_LANGUAGE_VERSION_ARB", INT2NUM(GL_SHADING_LANGUAGE_VERSION_ARB));
2243
2362
  rb_define_const(module, "GL_SHADOW_AMBIENT_SGIX", INT2NUM(GL_SHADOW_AMBIENT_SGIX));
2244
2363
  rb_define_const(module, "GL_SHADOW_ATTENUATION_EXT", INT2NUM(GL_SHADOW_ATTENUATION_EXT));
2245
2364
  rb_define_const(module, "GL_SHARED_TEXTURE_PALETTE_EXT", INT2NUM(GL_SHARED_TEXTURE_PALETTE_EXT));
@@ -2265,41 +2384,40 @@ void gl_init_enums(VALUE module)
2265
2384
  rb_define_const(module, "GL_SIGNED_RGBA_NV", INT2NUM(GL_SIGNED_RGBA_NV));
2266
2385
  rb_define_const(module, "GL_SIGNED_RGB_NV", INT2NUM(GL_SIGNED_RGB_NV));
2267
2386
  rb_define_const(module, "GL_SIGNED_RGB_UNSIGNED_ALPHA_NV", INT2NUM(GL_SIGNED_RGB_UNSIGNED_ALPHA_NV));
2268
- rb_define_const(module, "GL_SINGLE_COLOR_EXT", INT2NUM(GL_SINGLE_COLOR_EXT));
2269
2387
  rb_define_const(module, "GL_SINGLE_COLOR", INT2NUM(GL_SINGLE_COLOR));
2270
- rb_define_const(module, "GL_S", INT2NUM(GL_S));
2388
+ rb_define_const(module, "GL_SINGLE_COLOR_EXT", INT2NUM(GL_SINGLE_COLOR_EXT));
2271
2389
  rb_define_const(module, "GL_SLICE_ACCUM_SUN", INT2NUM(GL_SLICE_ACCUM_SUN));
2272
- rb_define_const(module, "GL_SLUMINANCE8_ALPHA8_EXT", INT2NUM(GL_SLUMINANCE8_ALPHA8_EXT));
2390
+ rb_define_const(module, "GL_SLUMINANCE", INT2NUM(GL_SLUMINANCE));
2391
+ rb_define_const(module, "GL_SLUMINANCE8", INT2NUM(GL_SLUMINANCE8));
2273
2392
  rb_define_const(module, "GL_SLUMINANCE8_ALPHA8", INT2NUM(GL_SLUMINANCE8_ALPHA8));
2393
+ rb_define_const(module, "GL_SLUMINANCE8_ALPHA8_EXT", INT2NUM(GL_SLUMINANCE8_ALPHA8_EXT));
2274
2394
  rb_define_const(module, "GL_SLUMINANCE8_EXT", INT2NUM(GL_SLUMINANCE8_EXT));
2275
- rb_define_const(module, "GL_SLUMINANCE8", INT2NUM(GL_SLUMINANCE8));
2276
- rb_define_const(module, "GL_SLUMINANCE_ALPHA_EXT", INT2NUM(GL_SLUMINANCE_ALPHA_EXT));
2277
2395
  rb_define_const(module, "GL_SLUMINANCE_ALPHA", INT2NUM(GL_SLUMINANCE_ALPHA));
2396
+ rb_define_const(module, "GL_SLUMINANCE_ALPHA_EXT", INT2NUM(GL_SLUMINANCE_ALPHA_EXT));
2278
2397
  rb_define_const(module, "GL_SLUMINANCE_EXT", INT2NUM(GL_SLUMINANCE_EXT));
2279
- rb_define_const(module, "GL_SLUMINANCE", INT2NUM(GL_SLUMINANCE));
2280
2398
  rb_define_const(module, "GL_SMOOTH", INT2NUM(GL_SMOOTH));
2281
2399
  rb_define_const(module, "GL_SMOOTH_LINE_WIDTH_GRANULARITY", INT2NUM(GL_SMOOTH_LINE_WIDTH_GRANULARITY));
2282
2400
  rb_define_const(module, "GL_SMOOTH_LINE_WIDTH_RANGE", INT2NUM(GL_SMOOTH_LINE_WIDTH_RANGE));
2283
2401
  rb_define_const(module, "GL_SMOOTH_POINT_SIZE_GRANULARITY", INT2NUM(GL_SMOOTH_POINT_SIZE_GRANULARITY));
2284
2402
  rb_define_const(module, "GL_SMOOTH_POINT_SIZE_RANGE", INT2NUM(GL_SMOOTH_POINT_SIZE_RANGE));
2403
+ rb_define_const(module, "GL_SOURCE0_ALPHA", INT2NUM(GL_SOURCE0_ALPHA));
2285
2404
  rb_define_const(module, "GL_SOURCE0_ALPHA_ARB", INT2NUM(GL_SOURCE0_ALPHA_ARB));
2286
2405
  rb_define_const(module, "GL_SOURCE0_ALPHA_EXT", INT2NUM(GL_SOURCE0_ALPHA_EXT));
2287
- rb_define_const(module, "GL_SOURCE0_ALPHA", INT2NUM(GL_SOURCE0_ALPHA));
2406
+ rb_define_const(module, "GL_SOURCE0_RGB", INT2NUM(GL_SOURCE0_RGB));
2288
2407
  rb_define_const(module, "GL_SOURCE0_RGB_ARB", INT2NUM(GL_SOURCE0_RGB_ARB));
2289
2408
  rb_define_const(module, "GL_SOURCE0_RGB_EXT", INT2NUM(GL_SOURCE0_RGB_EXT));
2290
- rb_define_const(module, "GL_SOURCE0_RGB", INT2NUM(GL_SOURCE0_RGB));
2409
+ rb_define_const(module, "GL_SOURCE1_ALPHA", INT2NUM(GL_SOURCE1_ALPHA));
2291
2410
  rb_define_const(module, "GL_SOURCE1_ALPHA_ARB", INT2NUM(GL_SOURCE1_ALPHA_ARB));
2292
2411
  rb_define_const(module, "GL_SOURCE1_ALPHA_EXT", INT2NUM(GL_SOURCE1_ALPHA_EXT));
2293
- rb_define_const(module, "GL_SOURCE1_ALPHA", INT2NUM(GL_SOURCE1_ALPHA));
2412
+ rb_define_const(module, "GL_SOURCE1_RGB", INT2NUM(GL_SOURCE1_RGB));
2294
2413
  rb_define_const(module, "GL_SOURCE1_RGB_ARB", INT2NUM(GL_SOURCE1_RGB_ARB));
2295
2414
  rb_define_const(module, "GL_SOURCE1_RGB_EXT", INT2NUM(GL_SOURCE1_RGB_EXT));
2296
- rb_define_const(module, "GL_SOURCE1_RGB", INT2NUM(GL_SOURCE1_RGB));
2415
+ rb_define_const(module, "GL_SOURCE2_ALPHA", INT2NUM(GL_SOURCE2_ALPHA));
2297
2416
  rb_define_const(module, "GL_SOURCE2_ALPHA_ARB", INT2NUM(GL_SOURCE2_ALPHA_ARB));
2298
2417
  rb_define_const(module, "GL_SOURCE2_ALPHA_EXT", INT2NUM(GL_SOURCE2_ALPHA_EXT));
2299
- rb_define_const(module, "GL_SOURCE2_ALPHA", INT2NUM(GL_SOURCE2_ALPHA));
2418
+ rb_define_const(module, "GL_SOURCE2_RGB", INT2NUM(GL_SOURCE2_RGB));
2300
2419
  rb_define_const(module, "GL_SOURCE2_RGB_ARB", INT2NUM(GL_SOURCE2_RGB_ARB));
2301
2420
  rb_define_const(module, "GL_SOURCE2_RGB_EXT", INT2NUM(GL_SOURCE2_RGB_EXT));
2302
- rb_define_const(module, "GL_SOURCE2_RGB", INT2NUM(GL_SOURCE2_RGB));
2303
2421
  rb_define_const(module, "GL_SOURCE3_ALPHA_NV", INT2NUM(GL_SOURCE3_ALPHA_NV));
2304
2422
  rb_define_const(module, "GL_SOURCE3_RGB_NV", INT2NUM(GL_SOURCE3_RGB_NV));
2305
2423
  rb_define_const(module, "GL_SPARE0_NV", INT2NUM(GL_SPARE0_NV));
@@ -2326,32 +2444,33 @@ void gl_init_enums(VALUE module)
2326
2444
  rb_define_const(module, "GL_SRC_ALPHA", INT2NUM(GL_SRC_ALPHA));
2327
2445
  rb_define_const(module, "GL_SRC_ALPHA_SATURATE", INT2NUM(GL_SRC_ALPHA_SATURATE));
2328
2446
  rb_define_const(module, "GL_SRC_COLOR", INT2NUM(GL_SRC_COLOR));
2329
- rb_define_const(module, "GL_SRGB8_ALPHA8_EXT", INT2NUM(GL_SRGB8_ALPHA8_EXT));
2447
+ rb_define_const(module, "GL_SRGB", INT2NUM(GL_SRGB));
2448
+ rb_define_const(module, "GL_SRGB8", INT2NUM(GL_SRGB8));
2330
2449
  rb_define_const(module, "GL_SRGB8_ALPHA8", INT2NUM(GL_SRGB8_ALPHA8));
2450
+ rb_define_const(module, "GL_SRGB8_ALPHA8_EXT", INT2NUM(GL_SRGB8_ALPHA8_EXT));
2331
2451
  rb_define_const(module, "GL_SRGB8_EXT", INT2NUM(GL_SRGB8_EXT));
2332
- rb_define_const(module, "GL_SRGB8", INT2NUM(GL_SRGB8));
2333
- rb_define_const(module, "GL_SRGB_ALPHA_EXT", INT2NUM(GL_SRGB_ALPHA_EXT));
2334
2452
  rb_define_const(module, "GL_SRGB_ALPHA", INT2NUM(GL_SRGB_ALPHA));
2453
+ rb_define_const(module, "GL_SRGB_ALPHA_EXT", INT2NUM(GL_SRGB_ALPHA_EXT));
2335
2454
  rb_define_const(module, "GL_SRGB_EXT", INT2NUM(GL_SRGB_EXT));
2336
- rb_define_const(module, "GL_SRGB", INT2NUM(GL_SRGB));
2337
2455
  rb_define_const(module, "GL_STACK_OVERFLOW", INT2NUM(GL_STACK_OVERFLOW));
2338
2456
  rb_define_const(module, "GL_STACK_UNDERFLOW", INT2NUM(GL_STACK_UNDERFLOW));
2339
2457
  rb_define_const(module, "GL_STATIC_ATI", INT2NUM(GL_STATIC_ATI));
2340
- rb_define_const(module, "GL_STATIC_COPY_ARB", INT2NUM(GL_STATIC_COPY_ARB));
2341
2458
  rb_define_const(module, "GL_STATIC_COPY", INT2NUM(GL_STATIC_COPY));
2342
- rb_define_const(module, "GL_STATIC_DRAW_ARB", INT2NUM(GL_STATIC_DRAW_ARB));
2459
+ rb_define_const(module, "GL_STATIC_COPY_ARB", INT2NUM(GL_STATIC_COPY_ARB));
2343
2460
  rb_define_const(module, "GL_STATIC_DRAW", INT2NUM(GL_STATIC_DRAW));
2344
- rb_define_const(module, "GL_STATIC_READ_ARB", INT2NUM(GL_STATIC_READ_ARB));
2461
+ rb_define_const(module, "GL_STATIC_DRAW_ARB", INT2NUM(GL_STATIC_DRAW_ARB));
2345
2462
  rb_define_const(module, "GL_STATIC_READ", INT2NUM(GL_STATIC_READ));
2463
+ rb_define_const(module, "GL_STATIC_READ_ARB", INT2NUM(GL_STATIC_READ_ARB));
2464
+ rb_define_const(module, "GL_STENCIL", INT2NUM(GL_STENCIL));
2346
2465
  rb_define_const(module, "GL_STENCIL_ATTACHMENT_EXT", INT2NUM(GL_STENCIL_ATTACHMENT_EXT));
2347
- rb_define_const(module, "GL_STENCIL_BACK_FAIL_ATI", INT2NUM(GL_STENCIL_BACK_FAIL_ATI));
2348
2466
  rb_define_const(module, "GL_STENCIL_BACK_FAIL", INT2NUM(GL_STENCIL_BACK_FAIL));
2349
- rb_define_const(module, "GL_STENCIL_BACK_FUNC_ATI", INT2NUM(GL_STENCIL_BACK_FUNC_ATI));
2467
+ rb_define_const(module, "GL_STENCIL_BACK_FAIL_ATI", INT2NUM(GL_STENCIL_BACK_FAIL_ATI));
2350
2468
  rb_define_const(module, "GL_STENCIL_BACK_FUNC", INT2NUM(GL_STENCIL_BACK_FUNC));
2351
- rb_define_const(module, "GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI", INT2NUM(GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI));
2469
+ rb_define_const(module, "GL_STENCIL_BACK_FUNC_ATI", INT2NUM(GL_STENCIL_BACK_FUNC_ATI));
2352
2470
  rb_define_const(module, "GL_STENCIL_BACK_PASS_DEPTH_FAIL", INT2NUM(GL_STENCIL_BACK_PASS_DEPTH_FAIL));
2353
- rb_define_const(module, "GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI", INT2NUM(GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI));
2471
+ rb_define_const(module, "GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI", INT2NUM(GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI));
2354
2472
  rb_define_const(module, "GL_STENCIL_BACK_PASS_DEPTH_PASS", INT2NUM(GL_STENCIL_BACK_PASS_DEPTH_PASS));
2473
+ rb_define_const(module, "GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI", INT2NUM(GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI));
2355
2474
  rb_define_const(module, "GL_STENCIL_BACK_REF", INT2NUM(GL_STENCIL_BACK_REF));
2356
2475
  rb_define_const(module, "GL_STENCIL_BACK_VALUE_MASK", INT2NUM(GL_STENCIL_BACK_VALUE_MASK));
2357
2476
  rb_define_const(module, "GL_STENCIL_BACK_WRITEMASK", INT2NUM(GL_STENCIL_BACK_WRITEMASK));
@@ -2361,12 +2480,11 @@ void gl_init_enums(VALUE module)
2361
2480
  rb_define_const(module, "GL_STENCIL_CLEAR_VALUE", INT2NUM(GL_STENCIL_CLEAR_VALUE));
2362
2481
  rb_define_const(module, "GL_STENCIL_FAIL", INT2NUM(GL_STENCIL_FAIL));
2363
2482
  rb_define_const(module, "GL_STENCIL_FUNC", INT2NUM(GL_STENCIL_FUNC));
2483
+ rb_define_const(module, "GL_STENCIL_INDEX", INT2NUM(GL_STENCIL_INDEX));
2364
2484
  rb_define_const(module, "GL_STENCIL_INDEX16_EXT", INT2NUM(GL_STENCIL_INDEX16_EXT));
2365
2485
  rb_define_const(module, "GL_STENCIL_INDEX1_EXT", INT2NUM(GL_STENCIL_INDEX1_EXT));
2366
2486
  rb_define_const(module, "GL_STENCIL_INDEX4_EXT", INT2NUM(GL_STENCIL_INDEX4_EXT));
2367
2487
  rb_define_const(module, "GL_STENCIL_INDEX8_EXT", INT2NUM(GL_STENCIL_INDEX8_EXT));
2368
- rb_define_const(module, "GL_STENCIL_INDEX", INT2NUM(GL_STENCIL_INDEX));
2369
- rb_define_const(module, "GL_STENCIL", INT2NUM(GL_STENCIL));
2370
2488
  rb_define_const(module, "GL_STENCIL_PASS_DEPTH_FAIL", INT2NUM(GL_STENCIL_PASS_DEPTH_FAIL));
2371
2489
  rb_define_const(module, "GL_STENCIL_PASS_DEPTH_PASS", INT2NUM(GL_STENCIL_PASS_DEPTH_PASS));
2372
2490
  rb_define_const(module, "GL_STENCIL_REF", INT2NUM(GL_STENCIL_REF));
@@ -2378,25 +2496,26 @@ void gl_init_enums(VALUE module)
2378
2496
  rb_define_const(module, "GL_STEREO", INT2NUM(GL_STEREO));
2379
2497
  rb_define_const(module, "GL_STORAGE_CACHED_APPLE", INT2NUM(GL_STORAGE_CACHED_APPLE));
2380
2498
  rb_define_const(module, "GL_STORAGE_SHARED_APPLE", INT2NUM(GL_STORAGE_SHARED_APPLE));
2381
- rb_define_const(module, "GL_STREAM_COPY_ARB", INT2NUM(GL_STREAM_COPY_ARB));
2382
2499
  rb_define_const(module, "GL_STREAM_COPY", INT2NUM(GL_STREAM_COPY));
2383
- rb_define_const(module, "GL_STREAM_DRAW_ARB", INT2NUM(GL_STREAM_DRAW_ARB));
2500
+ rb_define_const(module, "GL_STREAM_COPY_ARB", INT2NUM(GL_STREAM_COPY_ARB));
2384
2501
  rb_define_const(module, "GL_STREAM_DRAW", INT2NUM(GL_STREAM_DRAW));
2385
- rb_define_const(module, "GL_STREAM_READ_ARB", INT2NUM(GL_STREAM_READ_ARB));
2502
+ rb_define_const(module, "GL_STREAM_DRAW_ARB", INT2NUM(GL_STREAM_DRAW_ARB));
2386
2503
  rb_define_const(module, "GL_STREAM_READ", INT2NUM(GL_STREAM_READ));
2504
+ rb_define_const(module, "GL_STREAM_READ_ARB", INT2NUM(GL_STREAM_READ_ARB));
2387
2505
  rb_define_const(module, "GL_STRICT_DEPTHFUNC_HINT_PGI", INT2NUM(GL_STRICT_DEPTHFUNC_HINT_PGI));
2388
2506
  rb_define_const(module, "GL_STRICT_LIGHTING_HINT_PGI", INT2NUM(GL_STRICT_LIGHTING_HINT_PGI));
2389
2507
  rb_define_const(module, "GL_STRICT_SCISSOR_HINT_PGI", INT2NUM(GL_STRICT_SCISSOR_HINT_PGI));
2390
- rb_define_const(module, "GL_SUB_ATI", INT2NUM(GL_SUB_ATI));
2391
2508
  rb_define_const(module, "GL_SUBPIXEL_BITS", INT2NUM(GL_SUBPIXEL_BITS));
2392
- rb_define_const(module, "GL_SUBTRACT_ARB", INT2NUM(GL_SUBTRACT_ARB));
2393
2509
  rb_define_const(module, "GL_SUBTRACT", INT2NUM(GL_SUBTRACT));
2510
+ rb_define_const(module, "GL_SUBTRACT_ARB", INT2NUM(GL_SUBTRACT_ARB));
2511
+ rb_define_const(module, "GL_SUB_ATI", INT2NUM(GL_SUB_ATI));
2394
2512
  rb_define_const(module, "GL_SWIZZLE_STQ_ATI", INT2NUM(GL_SWIZZLE_STQ_ATI));
2395
2513
  rb_define_const(module, "GL_SWIZZLE_STQ_DQ_ATI", INT2NUM(GL_SWIZZLE_STQ_DQ_ATI));
2396
- rb_define_const(module, "GL_SWIZZLE_STR_ATI", INT2NUM(GL_SWIZZLE_STR_ATI));
2397
- rb_define_const(module, "GL_SWIZZLE_STR_DR_ATI", INT2NUM(GL_SWIZZLE_STR_DR_ATI));
2398
2514
  rb_define_const(module, "GL_SWIZZLE_STRQ_ATI", INT2NUM(GL_SWIZZLE_STRQ_ATI));
2399
2515
  rb_define_const(module, "GL_SWIZZLE_STRQ_DQ_ATI", INT2NUM(GL_SWIZZLE_STRQ_DQ_ATI));
2516
+ rb_define_const(module, "GL_SWIZZLE_STR_ATI", INT2NUM(GL_SWIZZLE_STR_ATI));
2517
+ rb_define_const(module, "GL_SWIZZLE_STR_DR_ATI", INT2NUM(GL_SWIZZLE_STR_DR_ATI));
2518
+ rb_define_const(module, "GL_T", INT2NUM(GL_T));
2400
2519
  rb_define_const(module, "GL_T2F_C3F_V3F", INT2NUM(GL_T2F_C3F_V3F));
2401
2520
  rb_define_const(module, "GL_T2F_C4F_N3F_V3F", INT2NUM(GL_T2F_C4F_N3F_V3F));
2402
2521
  rb_define_const(module, "GL_T2F_C4UB_V3F", INT2NUM(GL_T2F_C4UB_V3F));
@@ -2408,8 +2527,8 @@ void gl_init_enums(VALUE module)
2408
2527
  rb_define_const(module, "GL_T2F_V3F", INT2NUM(GL_T2F_V3F));
2409
2528
  rb_define_const(module, "GL_T4F_C4F_N3F_V4F", INT2NUM(GL_T4F_C4F_N3F_V4F));
2410
2529
  rb_define_const(module, "GL_T4F_V4F", INT2NUM(GL_T4F_V4F));
2411
- rb_define_const(module, "GL_TABLE_TOO_LARGE_EXT", INT2NUM(GL_TABLE_TOO_LARGE_EXT));
2412
2530
  rb_define_const(module, "GL_TABLE_TOO_LARGE", INT2NUM(GL_TABLE_TOO_LARGE));
2531
+ rb_define_const(module, "GL_TABLE_TOO_LARGE_EXT", INT2NUM(GL_TABLE_TOO_LARGE_EXT));
2413
2532
  rb_define_const(module, "GL_TANGENT_ARRAY_EXT", INT2NUM(GL_TANGENT_ARRAY_EXT));
2414
2533
  rb_define_const(module, "GL_TANGENT_ARRAY_POINTER_EXT", INT2NUM(GL_TANGENT_ARRAY_POINTER_EXT));
2415
2534
  rb_define_const(module, "GL_TANGENT_ARRAY_STRIDE_EXT", INT2NUM(GL_TANGENT_ARRAY_STRIDE_EXT));
@@ -2418,106 +2537,114 @@ void gl_init_enums(VALUE module)
2418
2537
  rb_define_const(module, "GL_TEXCOORD2_BIT_PGI", INT2NUM(GL_TEXCOORD2_BIT_PGI));
2419
2538
  rb_define_const(module, "GL_TEXCOORD3_BIT_PGI", INT2NUM(GL_TEXCOORD3_BIT_PGI));
2420
2539
  rb_define_const(module, "GL_TEXCOORD4_BIT_PGI", INT2NUM(GL_TEXCOORD4_BIT_PGI));
2421
- rb_define_const(module, "GL_TEXT_FRAGMENT_SHADER_ATI", INT2NUM(GL_TEXT_FRAGMENT_SHADER_ATI));
2422
- rb_define_const(module, "GL_TEXTURE0_ARB", INT2NUM(GL_TEXTURE0_ARB));
2540
+ rb_define_const(module, "GL_TEXTURE", INT2NUM(GL_TEXTURE));
2423
2541
  rb_define_const(module, "GL_TEXTURE0", INT2NUM(GL_TEXTURE0));
2424
- rb_define_const(module, "GL_TEXTURE10_ARB", INT2NUM(GL_TEXTURE10_ARB));
2542
+ rb_define_const(module, "GL_TEXTURE0_ARB", INT2NUM(GL_TEXTURE0_ARB));
2543
+ rb_define_const(module, "GL_TEXTURE1", INT2NUM(GL_TEXTURE1));
2425
2544
  rb_define_const(module, "GL_TEXTURE10", INT2NUM(GL_TEXTURE10));
2426
- rb_define_const(module, "GL_TEXTURE11_ARB", INT2NUM(GL_TEXTURE11_ARB));
2545
+ rb_define_const(module, "GL_TEXTURE10_ARB", INT2NUM(GL_TEXTURE10_ARB));
2427
2546
  rb_define_const(module, "GL_TEXTURE11", INT2NUM(GL_TEXTURE11));
2428
- rb_define_const(module, "GL_TEXTURE12_ARB", INT2NUM(GL_TEXTURE12_ARB));
2547
+ rb_define_const(module, "GL_TEXTURE11_ARB", INT2NUM(GL_TEXTURE11_ARB));
2429
2548
  rb_define_const(module, "GL_TEXTURE12", INT2NUM(GL_TEXTURE12));
2430
- rb_define_const(module, "GL_TEXTURE13_ARB", INT2NUM(GL_TEXTURE13_ARB));
2549
+ rb_define_const(module, "GL_TEXTURE12_ARB", INT2NUM(GL_TEXTURE12_ARB));
2431
2550
  rb_define_const(module, "GL_TEXTURE13", INT2NUM(GL_TEXTURE13));
2432
- rb_define_const(module, "GL_TEXTURE14_ARB", INT2NUM(GL_TEXTURE14_ARB));
2551
+ rb_define_const(module, "GL_TEXTURE13_ARB", INT2NUM(GL_TEXTURE13_ARB));
2433
2552
  rb_define_const(module, "GL_TEXTURE14", INT2NUM(GL_TEXTURE14));
2434
- rb_define_const(module, "GL_TEXTURE15_ARB", INT2NUM(GL_TEXTURE15_ARB));
2553
+ rb_define_const(module, "GL_TEXTURE14_ARB", INT2NUM(GL_TEXTURE14_ARB));
2435
2554
  rb_define_const(module, "GL_TEXTURE15", INT2NUM(GL_TEXTURE15));
2436
- rb_define_const(module, "GL_TEXTURE16_ARB", INT2NUM(GL_TEXTURE16_ARB));
2555
+ rb_define_const(module, "GL_TEXTURE15_ARB", INT2NUM(GL_TEXTURE15_ARB));
2437
2556
  rb_define_const(module, "GL_TEXTURE16", INT2NUM(GL_TEXTURE16));
2438
- rb_define_const(module, "GL_TEXTURE17_ARB", INT2NUM(GL_TEXTURE17_ARB));
2557
+ rb_define_const(module, "GL_TEXTURE16_ARB", INT2NUM(GL_TEXTURE16_ARB));
2439
2558
  rb_define_const(module, "GL_TEXTURE17", INT2NUM(GL_TEXTURE17));
2440
- rb_define_const(module, "GL_TEXTURE18_ARB", INT2NUM(GL_TEXTURE18_ARB));
2559
+ rb_define_const(module, "GL_TEXTURE17_ARB", INT2NUM(GL_TEXTURE17_ARB));
2441
2560
  rb_define_const(module, "GL_TEXTURE18", INT2NUM(GL_TEXTURE18));
2442
- rb_define_const(module, "GL_TEXTURE19_ARB", INT2NUM(GL_TEXTURE19_ARB));
2561
+ rb_define_const(module, "GL_TEXTURE18_ARB", INT2NUM(GL_TEXTURE18_ARB));
2443
2562
  rb_define_const(module, "GL_TEXTURE19", INT2NUM(GL_TEXTURE19));
2563
+ rb_define_const(module, "GL_TEXTURE19_ARB", INT2NUM(GL_TEXTURE19_ARB));
2444
2564
  rb_define_const(module, "GL_TEXTURE1_ARB", INT2NUM(GL_TEXTURE1_ARB));
2445
- rb_define_const(module, "GL_TEXTURE_1D_BINDING_EXT", INT2NUM(GL_TEXTURE_1D_BINDING_EXT));
2446
- rb_define_const(module, "GL_TEXTURE_1D", INT2NUM(GL_TEXTURE_1D));
2447
- rb_define_const(module, "GL_TEXTURE_1D_STACK_BINDING_MESAX", INT2NUM(GL_TEXTURE_1D_STACK_BINDING_MESAX));
2448
- rb_define_const(module, "GL_TEXTURE_1D_STACK_MESAX", INT2NUM(GL_TEXTURE_1D_STACK_MESAX));
2449
- rb_define_const(module, "GL_TEXTURE1", INT2NUM(GL_TEXTURE1));
2450
- rb_define_const(module, "GL_TEXTURE20_ARB", INT2NUM(GL_TEXTURE20_ARB));
2565
+ rb_define_const(module, "GL_TEXTURE2", INT2NUM(GL_TEXTURE2));
2451
2566
  rb_define_const(module, "GL_TEXTURE20", INT2NUM(GL_TEXTURE20));
2452
- rb_define_const(module, "GL_TEXTURE21_ARB", INT2NUM(GL_TEXTURE21_ARB));
2567
+ rb_define_const(module, "GL_TEXTURE20_ARB", INT2NUM(GL_TEXTURE20_ARB));
2453
2568
  rb_define_const(module, "GL_TEXTURE21", INT2NUM(GL_TEXTURE21));
2454
- rb_define_const(module, "GL_TEXTURE22_ARB", INT2NUM(GL_TEXTURE22_ARB));
2569
+ rb_define_const(module, "GL_TEXTURE21_ARB", INT2NUM(GL_TEXTURE21_ARB));
2455
2570
  rb_define_const(module, "GL_TEXTURE22", INT2NUM(GL_TEXTURE22));
2456
- rb_define_const(module, "GL_TEXTURE23_ARB", INT2NUM(GL_TEXTURE23_ARB));
2571
+ rb_define_const(module, "GL_TEXTURE22_ARB", INT2NUM(GL_TEXTURE22_ARB));
2457
2572
  rb_define_const(module, "GL_TEXTURE23", INT2NUM(GL_TEXTURE23));
2458
- rb_define_const(module, "GL_TEXTURE24_ARB", INT2NUM(GL_TEXTURE24_ARB));
2573
+ rb_define_const(module, "GL_TEXTURE23_ARB", INT2NUM(GL_TEXTURE23_ARB));
2459
2574
  rb_define_const(module, "GL_TEXTURE24", INT2NUM(GL_TEXTURE24));
2460
- rb_define_const(module, "GL_TEXTURE25_ARB", INT2NUM(GL_TEXTURE25_ARB));
2575
+ rb_define_const(module, "GL_TEXTURE24_ARB", INT2NUM(GL_TEXTURE24_ARB));
2461
2576
  rb_define_const(module, "GL_TEXTURE25", INT2NUM(GL_TEXTURE25));
2462
- rb_define_const(module, "GL_TEXTURE26_ARB", INT2NUM(GL_TEXTURE26_ARB));
2577
+ rb_define_const(module, "GL_TEXTURE25_ARB", INT2NUM(GL_TEXTURE25_ARB));
2463
2578
  rb_define_const(module, "GL_TEXTURE26", INT2NUM(GL_TEXTURE26));
2464
- rb_define_const(module, "GL_TEXTURE27_ARB", INT2NUM(GL_TEXTURE27_ARB));
2579
+ rb_define_const(module, "GL_TEXTURE26_ARB", INT2NUM(GL_TEXTURE26_ARB));
2465
2580
  rb_define_const(module, "GL_TEXTURE27", INT2NUM(GL_TEXTURE27));
2466
- rb_define_const(module, "GL_TEXTURE28_ARB", INT2NUM(GL_TEXTURE28_ARB));
2581
+ rb_define_const(module, "GL_TEXTURE27_ARB", INT2NUM(GL_TEXTURE27_ARB));
2467
2582
  rb_define_const(module, "GL_TEXTURE28", INT2NUM(GL_TEXTURE28));
2468
- rb_define_const(module, "GL_TEXTURE29_ARB", INT2NUM(GL_TEXTURE29_ARB));
2583
+ rb_define_const(module, "GL_TEXTURE28_ARB", INT2NUM(GL_TEXTURE28_ARB));
2469
2584
  rb_define_const(module, "GL_TEXTURE29", INT2NUM(GL_TEXTURE29));
2585
+ rb_define_const(module, "GL_TEXTURE29_ARB", INT2NUM(GL_TEXTURE29_ARB));
2470
2586
  rb_define_const(module, "GL_TEXTURE2_ARB", INT2NUM(GL_TEXTURE2_ARB));
2471
- rb_define_const(module, "GL_TEXTURE_2D_BINDING_EXT", INT2NUM(GL_TEXTURE_2D_BINDING_EXT));
2472
- rb_define_const(module, "GL_TEXTURE_2D", INT2NUM(GL_TEXTURE_2D));
2473
- rb_define_const(module, "GL_TEXTURE_2D_STACK_BINDING_MESAX", INT2NUM(GL_TEXTURE_2D_STACK_BINDING_MESAX));
2474
- rb_define_const(module, "GL_TEXTURE_2D_STACK_MESAX", INT2NUM(GL_TEXTURE_2D_STACK_MESAX));
2475
- rb_define_const(module, "GL_TEXTURE2", INT2NUM(GL_TEXTURE2));
2476
- rb_define_const(module, "GL_TEXTURE30_ARB", INT2NUM(GL_TEXTURE30_ARB));
2587
+ rb_define_const(module, "GL_TEXTURE3", INT2NUM(GL_TEXTURE3));
2477
2588
  rb_define_const(module, "GL_TEXTURE30", INT2NUM(GL_TEXTURE30));
2478
- rb_define_const(module, "GL_TEXTURE31_ARB", INT2NUM(GL_TEXTURE31_ARB));
2589
+ rb_define_const(module, "GL_TEXTURE30_ARB", INT2NUM(GL_TEXTURE30_ARB));
2479
2590
  rb_define_const(module, "GL_TEXTURE31", INT2NUM(GL_TEXTURE31));
2591
+ rb_define_const(module, "GL_TEXTURE31_ARB", INT2NUM(GL_TEXTURE31_ARB));
2480
2592
  rb_define_const(module, "GL_TEXTURE3_ARB", INT2NUM(GL_TEXTURE3_ARB));
2481
- rb_define_const(module, "GL_TEXTURE_3D_BINDING_EXT", INT2NUM(GL_TEXTURE_3D_BINDING_EXT));
2482
- rb_define_const(module, "GL_TEXTURE_3D_EXT", INT2NUM(GL_TEXTURE_3D_EXT));
2483
- rb_define_const(module, "GL_TEXTURE_3D", INT2NUM(GL_TEXTURE_3D));
2484
- rb_define_const(module, "GL_TEXTURE3", INT2NUM(GL_TEXTURE3));
2485
- rb_define_const(module, "GL_TEXTURE4_ARB", INT2NUM(GL_TEXTURE4_ARB));
2486
- rb_define_const(module, "GL_TEXTURE_4D_BINDING_SGIS", INT2NUM(GL_TEXTURE_4D_BINDING_SGIS));
2487
- rb_define_const(module, "GL_TEXTURE_4D_SGIS", INT2NUM(GL_TEXTURE_4D_SGIS));
2488
- rb_define_const(module, "GL_TEXTURE_4DSIZE_SGIS", INT2NUM(GL_TEXTURE_4DSIZE_SGIS));
2489
2593
  rb_define_const(module, "GL_TEXTURE4", INT2NUM(GL_TEXTURE4));
2490
- rb_define_const(module, "GL_TEXTURE5_ARB", INT2NUM(GL_TEXTURE5_ARB));
2594
+ rb_define_const(module, "GL_TEXTURE4_ARB", INT2NUM(GL_TEXTURE4_ARB));
2491
2595
  rb_define_const(module, "GL_TEXTURE5", INT2NUM(GL_TEXTURE5));
2492
- rb_define_const(module, "GL_TEXTURE6_ARB", INT2NUM(GL_TEXTURE6_ARB));
2596
+ rb_define_const(module, "GL_TEXTURE5_ARB", INT2NUM(GL_TEXTURE5_ARB));
2493
2597
  rb_define_const(module, "GL_TEXTURE6", INT2NUM(GL_TEXTURE6));
2494
- rb_define_const(module, "GL_TEXTURE7_ARB", INT2NUM(GL_TEXTURE7_ARB));
2598
+ rb_define_const(module, "GL_TEXTURE6_ARB", INT2NUM(GL_TEXTURE6_ARB));
2495
2599
  rb_define_const(module, "GL_TEXTURE7", INT2NUM(GL_TEXTURE7));
2496
- rb_define_const(module, "GL_TEXTURE8_ARB", INT2NUM(GL_TEXTURE8_ARB));
2600
+ rb_define_const(module, "GL_TEXTURE7_ARB", INT2NUM(GL_TEXTURE7_ARB));
2497
2601
  rb_define_const(module, "GL_TEXTURE8", INT2NUM(GL_TEXTURE8));
2498
- rb_define_const(module, "GL_TEXTURE9_ARB", INT2NUM(GL_TEXTURE9_ARB));
2602
+ rb_define_const(module, "GL_TEXTURE8_ARB", INT2NUM(GL_TEXTURE8_ARB));
2499
2603
  rb_define_const(module, "GL_TEXTURE9", INT2NUM(GL_TEXTURE9));
2500
- rb_define_const(module, "GL_TEXTURE_ALPHA_SIZE_EXT", INT2NUM(GL_TEXTURE_ALPHA_SIZE_EXT));
2604
+ rb_define_const(module, "GL_TEXTURE9_ARB", INT2NUM(GL_TEXTURE9_ARB));
2605
+ rb_define_const(module, "GL_TEXTURE_1D", INT2NUM(GL_TEXTURE_1D));
2606
+ rb_define_const(module, "GL_TEXTURE_1D_ARRAY_EXT", INT2NUM(GL_TEXTURE_1D_ARRAY_EXT));
2607
+ rb_define_const(module, "GL_TEXTURE_1D_BINDING_EXT", INT2NUM(GL_TEXTURE_1D_BINDING_EXT));
2608
+ rb_define_const(module, "GL_TEXTURE_1D_STACK_BINDING_MESAX", INT2NUM(GL_TEXTURE_1D_STACK_BINDING_MESAX));
2609
+ rb_define_const(module, "GL_TEXTURE_1D_STACK_MESAX", INT2NUM(GL_TEXTURE_1D_STACK_MESAX));
2610
+ rb_define_const(module, "GL_TEXTURE_2D", INT2NUM(GL_TEXTURE_2D));
2611
+ rb_define_const(module, "GL_TEXTURE_2D_ARRAY_EXT", INT2NUM(GL_TEXTURE_2D_ARRAY_EXT));
2612
+ rb_define_const(module, "GL_TEXTURE_2D_BINDING_EXT", INT2NUM(GL_TEXTURE_2D_BINDING_EXT));
2613
+ rb_define_const(module, "GL_TEXTURE_2D_STACK_BINDING_MESAX", INT2NUM(GL_TEXTURE_2D_STACK_BINDING_MESAX));
2614
+ rb_define_const(module, "GL_TEXTURE_2D_STACK_MESAX", INT2NUM(GL_TEXTURE_2D_STACK_MESAX));
2615
+ rb_define_const(module, "GL_TEXTURE_3D", INT2NUM(GL_TEXTURE_3D));
2616
+ rb_define_const(module, "GL_TEXTURE_3D_BINDING_EXT", INT2NUM(GL_TEXTURE_3D_BINDING_EXT));
2617
+ rb_define_const(module, "GL_TEXTURE_3D_EXT", INT2NUM(GL_TEXTURE_3D_EXT));
2618
+ rb_define_const(module, "GL_TEXTURE_4DSIZE_SGIS", INT2NUM(GL_TEXTURE_4DSIZE_SGIS));
2619
+ rb_define_const(module, "GL_TEXTURE_4D_BINDING_SGIS", INT2NUM(GL_TEXTURE_4D_BINDING_SGIS));
2620
+ rb_define_const(module, "GL_TEXTURE_4D_SGIS", INT2NUM(GL_TEXTURE_4D_SGIS));
2501
2621
  rb_define_const(module, "GL_TEXTURE_ALPHA_SIZE", INT2NUM(GL_TEXTURE_ALPHA_SIZE));
2622
+ rb_define_const(module, "GL_TEXTURE_ALPHA_SIZE_EXT", INT2NUM(GL_TEXTURE_ALPHA_SIZE_EXT));
2502
2623
  rb_define_const(module, "GL_TEXTURE_ALPHA_TYPE_ARB", INT2NUM(GL_TEXTURE_ALPHA_TYPE_ARB));
2503
2624
  rb_define_const(module, "GL_TEXTURE_APPLICATION_MODE_EXT", INT2NUM(GL_TEXTURE_APPLICATION_MODE_EXT));
2504
2625
  rb_define_const(module, "GL_TEXTURE_BASE_LEVEL", INT2NUM(GL_TEXTURE_BASE_LEVEL));
2505
2626
  rb_define_const(module, "GL_TEXTURE_BASE_LEVEL_SGIS", INT2NUM(GL_TEXTURE_BASE_LEVEL_SGIS));
2506
2627
  rb_define_const(module, "GL_TEXTURE_BINDING_1D", INT2NUM(GL_TEXTURE_BINDING_1D));
2628
+ rb_define_const(module, "GL_TEXTURE_BINDING_1D_ARRAY_EXT", INT2NUM(GL_TEXTURE_BINDING_1D_ARRAY_EXT));
2507
2629
  rb_define_const(module, "GL_TEXTURE_BINDING_2D", INT2NUM(GL_TEXTURE_BINDING_2D));
2630
+ rb_define_const(module, "GL_TEXTURE_BINDING_2D_ARRAY_EXT", INT2NUM(GL_TEXTURE_BINDING_2D_ARRAY_EXT));
2508
2631
  rb_define_const(module, "GL_TEXTURE_BINDING_3D", INT2NUM(GL_TEXTURE_BINDING_3D));
2632
+ rb_define_const(module, "GL_TEXTURE_BINDING_BUFFER_EXT", INT2NUM(GL_TEXTURE_BINDING_BUFFER_EXT));
2633
+ rb_define_const(module, "GL_TEXTURE_BINDING_CUBE_MAP", INT2NUM(GL_TEXTURE_BINDING_CUBE_MAP));
2509
2634
  rb_define_const(module, "GL_TEXTURE_BINDING_CUBE_MAP_ARB", INT2NUM(GL_TEXTURE_BINDING_CUBE_MAP_ARB));
2510
2635
  rb_define_const(module, "GL_TEXTURE_BINDING_CUBE_MAP_EXT", INT2NUM(GL_TEXTURE_BINDING_CUBE_MAP_EXT));
2511
- rb_define_const(module, "GL_TEXTURE_BINDING_CUBE_MAP", INT2NUM(GL_TEXTURE_BINDING_CUBE_MAP));
2512
2636
  rb_define_const(module, "GL_TEXTURE_BINDING_RECTANGLE_ARB", INT2NUM(GL_TEXTURE_BINDING_RECTANGLE_ARB));
2513
2637
  rb_define_const(module, "GL_TEXTURE_BINDING_RECTANGLE_NV", INT2NUM(GL_TEXTURE_BINDING_RECTANGLE_NV));
2514
2638
  rb_define_const(module, "GL_TEXTURE_BIT", INT2NUM(GL_TEXTURE_BIT));
2515
- rb_define_const(module, "GL_TEXTURE_BLUE_SIZE_EXT", INT2NUM(GL_TEXTURE_BLUE_SIZE_EXT));
2516
2639
  rb_define_const(module, "GL_TEXTURE_BLUE_SIZE", INT2NUM(GL_TEXTURE_BLUE_SIZE));
2640
+ rb_define_const(module, "GL_TEXTURE_BLUE_SIZE_EXT", INT2NUM(GL_TEXTURE_BLUE_SIZE_EXT));
2517
2641
  rb_define_const(module, "GL_TEXTURE_BLUE_TYPE_ARB", INT2NUM(GL_TEXTURE_BLUE_TYPE_ARB));
2518
- rb_define_const(module, "GL_TEXTURE_BORDER_COLOR", INT2NUM(GL_TEXTURE_BORDER_COLOR));
2519
2642
  rb_define_const(module, "GL_TEXTURE_BORDER", INT2NUM(GL_TEXTURE_BORDER));
2643
+ rb_define_const(module, "GL_TEXTURE_BORDER_COLOR", INT2NUM(GL_TEXTURE_BORDER_COLOR));
2520
2644
  rb_define_const(module, "GL_TEXTURE_BORDER_VALUES_NV", INT2NUM(GL_TEXTURE_BORDER_VALUES_NV));
2645
+ rb_define_const(module, "GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT", INT2NUM(GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT));
2646
+ rb_define_const(module, "GL_TEXTURE_BUFFER_EXT", INT2NUM(GL_TEXTURE_BUFFER_EXT));
2647
+ rb_define_const(module, "GL_TEXTURE_BUFFER_FORMAT_EXT", INT2NUM(GL_TEXTURE_BUFFER_FORMAT_EXT));
2521
2648
  rb_define_const(module, "GL_TEXTURE_CLIPMAP_CENTER_SGIX", INT2NUM(GL_TEXTURE_CLIPMAP_CENTER_SGIX));
2522
2649
  rb_define_const(module, "GL_TEXTURE_CLIPMAP_DEPTH_SGIX", INT2NUM(GL_TEXTURE_CLIPMAP_DEPTH_SGIX));
2523
2650
  rb_define_const(module, "GL_TEXTURE_CLIPMAP_FRAME_SGIX", INT2NUM(GL_TEXTURE_CLIPMAP_FRAME_SGIX));
@@ -2532,66 +2659,67 @@ void gl_init_enums(VALUE module)
2532
2659
  rb_define_const(module, "GL_TEXTURE_COMPARE_OPERATOR_SGIX", INT2NUM(GL_TEXTURE_COMPARE_OPERATOR_SGIX));
2533
2660
  rb_define_const(module, "GL_TEXTURE_COMPARE_SGIX", INT2NUM(GL_TEXTURE_COMPARE_SGIX));
2534
2661
  rb_define_const(module, "GL_TEXTURE_COMPONENTS", INT2NUM(GL_TEXTURE_COMPONENTS));
2662
+ rb_define_const(module, "GL_TEXTURE_COMPRESSED", INT2NUM(GL_TEXTURE_COMPRESSED));
2535
2663
  rb_define_const(module, "GL_TEXTURE_COMPRESSED_ARB", INT2NUM(GL_TEXTURE_COMPRESSED_ARB));
2536
- rb_define_const(module, "GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB", INT2NUM(GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB));
2537
2664
  rb_define_const(module, "GL_TEXTURE_COMPRESSED_IMAGE_SIZE", INT2NUM(GL_TEXTURE_COMPRESSED_IMAGE_SIZE));
2538
- rb_define_const(module, "GL_TEXTURE_COMPRESSED", INT2NUM(GL_TEXTURE_COMPRESSED));
2539
- rb_define_const(module, "GL_TEXTURE_COMPRESSION_HINT_ARB", INT2NUM(GL_TEXTURE_COMPRESSION_HINT_ARB));
2665
+ rb_define_const(module, "GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB", INT2NUM(GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB));
2540
2666
  rb_define_const(module, "GL_TEXTURE_COMPRESSION_HINT", INT2NUM(GL_TEXTURE_COMPRESSION_HINT));
2667
+ rb_define_const(module, "GL_TEXTURE_COMPRESSION_HINT_ARB", INT2NUM(GL_TEXTURE_COMPRESSION_HINT_ARB));
2541
2668
  rb_define_const(module, "GL_TEXTURE_CONSTANT_DATA_SUNX", INT2NUM(GL_TEXTURE_CONSTANT_DATA_SUNX));
2542
- rb_define_const(module, "GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB", INT2NUM(GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB));
2669
+ rb_define_const(module, "GL_TEXTURE_COORD_ARRAY", INT2NUM(GL_TEXTURE_COORD_ARRAY));
2543
2670
  rb_define_const(module, "GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING", INT2NUM(GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING));
2671
+ rb_define_const(module, "GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB", INT2NUM(GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB));
2544
2672
  rb_define_const(module, "GL_TEXTURE_COORD_ARRAY_COUNT_EXT", INT2NUM(GL_TEXTURE_COORD_ARRAY_COUNT_EXT));
2545
2673
  rb_define_const(module, "GL_TEXTURE_COORD_ARRAY_EXT", INT2NUM(GL_TEXTURE_COORD_ARRAY_EXT));
2546
- rb_define_const(module, "GL_TEXTURE_COORD_ARRAY", INT2NUM(GL_TEXTURE_COORD_ARRAY));
2547
2674
  rb_define_const(module, "GL_TEXTURE_COORD_ARRAY_LIST_IBM", INT2NUM(GL_TEXTURE_COORD_ARRAY_LIST_IBM));
2548
2675
  rb_define_const(module, "GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM", INT2NUM(GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM));
2549
2676
  rb_define_const(module, "GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL", INT2NUM(GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL));
2550
- rb_define_const(module, "GL_TEXTURE_COORD_ARRAY_POINTER_EXT", INT2NUM(GL_TEXTURE_COORD_ARRAY_POINTER_EXT));
2551
2677
  rb_define_const(module, "GL_TEXTURE_COORD_ARRAY_POINTER", INT2NUM(GL_TEXTURE_COORD_ARRAY_POINTER));
2552
- rb_define_const(module, "GL_TEXTURE_COORD_ARRAY_SIZE_EXT", INT2NUM(GL_TEXTURE_COORD_ARRAY_SIZE_EXT));
2678
+ rb_define_const(module, "GL_TEXTURE_COORD_ARRAY_POINTER_EXT", INT2NUM(GL_TEXTURE_COORD_ARRAY_POINTER_EXT));
2553
2679
  rb_define_const(module, "GL_TEXTURE_COORD_ARRAY_SIZE", INT2NUM(GL_TEXTURE_COORD_ARRAY_SIZE));
2554
- rb_define_const(module, "GL_TEXTURE_COORD_ARRAY_STRIDE_EXT", INT2NUM(GL_TEXTURE_COORD_ARRAY_STRIDE_EXT));
2680
+ rb_define_const(module, "GL_TEXTURE_COORD_ARRAY_SIZE_EXT", INT2NUM(GL_TEXTURE_COORD_ARRAY_SIZE_EXT));
2555
2681
  rb_define_const(module, "GL_TEXTURE_COORD_ARRAY_STRIDE", INT2NUM(GL_TEXTURE_COORD_ARRAY_STRIDE));
2556
- rb_define_const(module, "GL_TEXTURE_COORD_ARRAY_TYPE_EXT", INT2NUM(GL_TEXTURE_COORD_ARRAY_TYPE_EXT));
2682
+ rb_define_const(module, "GL_TEXTURE_COORD_ARRAY_STRIDE_EXT", INT2NUM(GL_TEXTURE_COORD_ARRAY_STRIDE_EXT));
2557
2683
  rb_define_const(module, "GL_TEXTURE_COORD_ARRAY_TYPE", INT2NUM(GL_TEXTURE_COORD_ARRAY_TYPE));
2684
+ rb_define_const(module, "GL_TEXTURE_COORD_ARRAY_TYPE_EXT", INT2NUM(GL_TEXTURE_COORD_ARRAY_TYPE_EXT));
2685
+ rb_define_const(module, "GL_TEXTURE_COORD_NV", INT2NUM(GL_TEXTURE_COORD_NV));
2686
+ rb_define_const(module, "GL_TEXTURE_CUBE_MAP", INT2NUM(GL_TEXTURE_CUBE_MAP));
2558
2687
  rb_define_const(module, "GL_TEXTURE_CUBE_MAP_ARB", INT2NUM(GL_TEXTURE_CUBE_MAP_ARB));
2559
2688
  rb_define_const(module, "GL_TEXTURE_CUBE_MAP_EXT", INT2NUM(GL_TEXTURE_CUBE_MAP_EXT));
2560
- rb_define_const(module, "GL_TEXTURE_CUBE_MAP", INT2NUM(GL_TEXTURE_CUBE_MAP));
2689
+ rb_define_const(module, "GL_TEXTURE_CUBE_MAP_NEGATIVE_X", INT2NUM(GL_TEXTURE_CUBE_MAP_NEGATIVE_X));
2561
2690
  rb_define_const(module, "GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB", INT2NUM(GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB));
2562
2691
  rb_define_const(module, "GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT", INT2NUM(GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT));
2563
- rb_define_const(module, "GL_TEXTURE_CUBE_MAP_NEGATIVE_X", INT2NUM(GL_TEXTURE_CUBE_MAP_NEGATIVE_X));
2692
+ rb_define_const(module, "GL_TEXTURE_CUBE_MAP_NEGATIVE_Y", INT2NUM(GL_TEXTURE_CUBE_MAP_NEGATIVE_Y));
2564
2693
  rb_define_const(module, "GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB", INT2NUM(GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB));
2565
2694
  rb_define_const(module, "GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT", INT2NUM(GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT));
2566
- rb_define_const(module, "GL_TEXTURE_CUBE_MAP_NEGATIVE_Y", INT2NUM(GL_TEXTURE_CUBE_MAP_NEGATIVE_Y));
2695
+ rb_define_const(module, "GL_TEXTURE_CUBE_MAP_NEGATIVE_Z", INT2NUM(GL_TEXTURE_CUBE_MAP_NEGATIVE_Z));
2567
2696
  rb_define_const(module, "GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB", INT2NUM(GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB));
2568
2697
  rb_define_const(module, "GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT", INT2NUM(GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT));
2569
- rb_define_const(module, "GL_TEXTURE_CUBE_MAP_NEGATIVE_Z", INT2NUM(GL_TEXTURE_CUBE_MAP_NEGATIVE_Z));
2698
+ rb_define_const(module, "GL_TEXTURE_CUBE_MAP_POSITIVE_X", INT2NUM(GL_TEXTURE_CUBE_MAP_POSITIVE_X));
2570
2699
  rb_define_const(module, "GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB", INT2NUM(GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB));
2571
2700
  rb_define_const(module, "GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT", INT2NUM(GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT));
2572
- rb_define_const(module, "GL_TEXTURE_CUBE_MAP_POSITIVE_X", INT2NUM(GL_TEXTURE_CUBE_MAP_POSITIVE_X));
2701
+ rb_define_const(module, "GL_TEXTURE_CUBE_MAP_POSITIVE_Y", INT2NUM(GL_TEXTURE_CUBE_MAP_POSITIVE_Y));
2573
2702
  rb_define_const(module, "GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB", INT2NUM(GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB));
2574
2703
  rb_define_const(module, "GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT", INT2NUM(GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT));
2575
- rb_define_const(module, "GL_TEXTURE_CUBE_MAP_POSITIVE_Y", INT2NUM(GL_TEXTURE_CUBE_MAP_POSITIVE_Y));
2704
+ rb_define_const(module, "GL_TEXTURE_CUBE_MAP_POSITIVE_Z", INT2NUM(GL_TEXTURE_CUBE_MAP_POSITIVE_Z));
2576
2705
  rb_define_const(module, "GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB", INT2NUM(GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB));
2577
2706
  rb_define_const(module, "GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT", INT2NUM(GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT));
2578
- rb_define_const(module, "GL_TEXTURE_CUBE_MAP_POSITIVE_Z", INT2NUM(GL_TEXTURE_CUBE_MAP_POSITIVE_Z));
2579
2707
  rb_define_const(module, "GL_TEXTURE_DEFORMATION_BIT_SGIX", INT2NUM(GL_TEXTURE_DEFORMATION_BIT_SGIX));
2580
2708
  rb_define_const(module, "GL_TEXTURE_DEFORMATION_SGIX", INT2NUM(GL_TEXTURE_DEFORMATION_SGIX));
2581
- rb_define_const(module, "GL_TEXTURE_DEPTH_EXT", INT2NUM(GL_TEXTURE_DEPTH_EXT));
2582
2709
  rb_define_const(module, "GL_TEXTURE_DEPTH", INT2NUM(GL_TEXTURE_DEPTH));
2583
- rb_define_const(module, "GL_TEXTURE_DEPTH_SIZE_ARB", INT2NUM(GL_TEXTURE_DEPTH_SIZE_ARB));
2710
+ rb_define_const(module, "GL_TEXTURE_DEPTH_EXT", INT2NUM(GL_TEXTURE_DEPTH_EXT));
2584
2711
  rb_define_const(module, "GL_TEXTURE_DEPTH_SIZE", INT2NUM(GL_TEXTURE_DEPTH_SIZE));
2712
+ rb_define_const(module, "GL_TEXTURE_DEPTH_SIZE_ARB", INT2NUM(GL_TEXTURE_DEPTH_SIZE_ARB));
2585
2713
  rb_define_const(module, "GL_TEXTURE_DEPTH_TYPE_ARB", INT2NUM(GL_TEXTURE_DEPTH_TYPE_ARB));
2586
2714
  rb_define_const(module, "GL_TEXTURE_DS_SIZE_NV", INT2NUM(GL_TEXTURE_DS_SIZE_NV));
2587
2715
  rb_define_const(module, "GL_TEXTURE_DT_SIZE_NV", INT2NUM(GL_TEXTURE_DT_SIZE_NV));
2716
+ rb_define_const(module, "GL_TEXTURE_ENV", INT2NUM(GL_TEXTURE_ENV));
2588
2717
  rb_define_const(module, "GL_TEXTURE_ENV_BIAS_SGIX", INT2NUM(GL_TEXTURE_ENV_BIAS_SGIX));
2589
2718
  rb_define_const(module, "GL_TEXTURE_ENV_COLOR", INT2NUM(GL_TEXTURE_ENV_COLOR));
2590
- rb_define_const(module, "GL_TEXTURE_ENV", INT2NUM(GL_TEXTURE_ENV));
2591
2719
  rb_define_const(module, "GL_TEXTURE_ENV_MODE", INT2NUM(GL_TEXTURE_ENV_MODE));
2592
2720
  rb_define_const(module, "GL_TEXTURE_FILTER4_SIZE_SGIS", INT2NUM(GL_TEXTURE_FILTER4_SIZE_SGIS));
2593
- rb_define_const(module, "GL_TEXTURE_FILTER_CONTROL_EXT", INT2NUM(GL_TEXTURE_FILTER_CONTROL_EXT));
2594
2721
  rb_define_const(module, "GL_TEXTURE_FILTER_CONTROL", INT2NUM(GL_TEXTURE_FILTER_CONTROL));
2722
+ rb_define_const(module, "GL_TEXTURE_FILTER_CONTROL_EXT", INT2NUM(GL_TEXTURE_FILTER_CONTROL_EXT));
2595
2723
  rb_define_const(module, "GL_TEXTURE_FLOAT_COMPONENTS_NV", INT2NUM(GL_TEXTURE_FLOAT_COMPONENTS_NV));
2596
2724
  rb_define_const(module, "GL_TEXTURE_GEN_MODE", INT2NUM(GL_TEXTURE_GEN_MODE));
2597
2725
  rb_define_const(module, "GL_TEXTURE_GEN_Q", INT2NUM(GL_TEXTURE_GEN_Q));
@@ -2599,28 +2727,27 @@ void gl_init_enums(VALUE module)
2599
2727
  rb_define_const(module, "GL_TEXTURE_GEN_S", INT2NUM(GL_TEXTURE_GEN_S));
2600
2728
  rb_define_const(module, "GL_TEXTURE_GEN_T", INT2NUM(GL_TEXTURE_GEN_T));
2601
2729
  rb_define_const(module, "GL_TEXTURE_GEQUAL_R_SGIX", INT2NUM(GL_TEXTURE_GEQUAL_R_SGIX));
2602
- rb_define_const(module, "GL_TEXTURE_GREEN_SIZE_EXT", INT2NUM(GL_TEXTURE_GREEN_SIZE_EXT));
2603
2730
  rb_define_const(module, "GL_TEXTURE_GREEN_SIZE", INT2NUM(GL_TEXTURE_GREEN_SIZE));
2731
+ rb_define_const(module, "GL_TEXTURE_GREEN_SIZE_EXT", INT2NUM(GL_TEXTURE_GREEN_SIZE_EXT));
2604
2732
  rb_define_const(module, "GL_TEXTURE_GREEN_TYPE_ARB", INT2NUM(GL_TEXTURE_GREEN_TYPE_ARB));
2605
2733
  rb_define_const(module, "GL_TEXTURE_HEIGHT", INT2NUM(GL_TEXTURE_HEIGHT));
2606
2734
  rb_define_const(module, "GL_TEXTURE_HI_SIZE_NV", INT2NUM(GL_TEXTURE_HI_SIZE_NV));
2607
2735
  rb_define_const(module, "GL_TEXTURE_INDEX_SIZE_EXT", INT2NUM(GL_TEXTURE_INDEX_SIZE_EXT));
2608
- rb_define_const(module, "GL_TEXTURE", INT2NUM(GL_TEXTURE));
2609
- rb_define_const(module, "GL_TEXTURE_INTENSITY_SIZE_EXT", INT2NUM(GL_TEXTURE_INTENSITY_SIZE_EXT));
2610
2736
  rb_define_const(module, "GL_TEXTURE_INTENSITY_SIZE", INT2NUM(GL_TEXTURE_INTENSITY_SIZE));
2737
+ rb_define_const(module, "GL_TEXTURE_INTENSITY_SIZE_EXT", INT2NUM(GL_TEXTURE_INTENSITY_SIZE_EXT));
2611
2738
  rb_define_const(module, "GL_TEXTURE_INTENSITY_TYPE_ARB", INT2NUM(GL_TEXTURE_INTENSITY_TYPE_ARB));
2612
2739
  rb_define_const(module, "GL_TEXTURE_INTERNAL_FORMAT", INT2NUM(GL_TEXTURE_INTERNAL_FORMAT));
2613
2740
  rb_define_const(module, "GL_TEXTURE_LEQUAL_R_SGIX", INT2NUM(GL_TEXTURE_LEQUAL_R_SGIX));
2614
- rb_define_const(module, "GL_TEXTURE_LIGHT_EXT", INT2NUM(GL_TEXTURE_LIGHT_EXT));
2615
2741
  rb_define_const(module, "GL_TEXTURE_LIGHTING_MODE_HP", INT2NUM(GL_TEXTURE_LIGHTING_MODE_HP));
2616
- rb_define_const(module, "GL_TEXTURE_LOD_BIAS_EXT", INT2NUM(GL_TEXTURE_LOD_BIAS_EXT));
2742
+ rb_define_const(module, "GL_TEXTURE_LIGHT_EXT", INT2NUM(GL_TEXTURE_LIGHT_EXT));
2617
2743
  rb_define_const(module, "GL_TEXTURE_LOD_BIAS", INT2NUM(GL_TEXTURE_LOD_BIAS));
2744
+ rb_define_const(module, "GL_TEXTURE_LOD_BIAS_EXT", INT2NUM(GL_TEXTURE_LOD_BIAS_EXT));
2618
2745
  rb_define_const(module, "GL_TEXTURE_LOD_BIAS_R_SGIX", INT2NUM(GL_TEXTURE_LOD_BIAS_R_SGIX));
2619
2746
  rb_define_const(module, "GL_TEXTURE_LOD_BIAS_S_SGIX", INT2NUM(GL_TEXTURE_LOD_BIAS_S_SGIX));
2620
2747
  rb_define_const(module, "GL_TEXTURE_LOD_BIAS_T_SGIX", INT2NUM(GL_TEXTURE_LOD_BIAS_T_SGIX));
2621
2748
  rb_define_const(module, "GL_TEXTURE_LO_SIZE_NV", INT2NUM(GL_TEXTURE_LO_SIZE_NV));
2622
- rb_define_const(module, "GL_TEXTURE_LUMINANCE_SIZE_EXT", INT2NUM(GL_TEXTURE_LUMINANCE_SIZE_EXT));
2623
2749
  rb_define_const(module, "GL_TEXTURE_LUMINANCE_SIZE", INT2NUM(GL_TEXTURE_LUMINANCE_SIZE));
2750
+ rb_define_const(module, "GL_TEXTURE_LUMINANCE_SIZE_EXT", INT2NUM(GL_TEXTURE_LUMINANCE_SIZE_EXT));
2624
2751
  rb_define_const(module, "GL_TEXTURE_LUMINANCE_TYPE_ARB", INT2NUM(GL_TEXTURE_LUMINANCE_TYPE_ARB));
2625
2752
  rb_define_const(module, "GL_TEXTURE_MAG_FILTER", INT2NUM(GL_TEXTURE_MAG_FILTER));
2626
2753
  rb_define_const(module, "GL_TEXTURE_MAG_SIZE_NV", INT2NUM(GL_TEXTURE_MAG_SIZE_NV));
@@ -2642,105 +2769,132 @@ void gl_init_enums(VALUE module)
2642
2769
  rb_define_const(module, "GL_TEXTURE_NORMAL_EXT", INT2NUM(GL_TEXTURE_NORMAL_EXT));
2643
2770
  rb_define_const(module, "GL_TEXTURE_POST_SPECULAR_HP", INT2NUM(GL_TEXTURE_POST_SPECULAR_HP));
2644
2771
  rb_define_const(module, "GL_TEXTURE_PRE_SPECULAR_HP", INT2NUM(GL_TEXTURE_PRE_SPECULAR_HP));
2645
- rb_define_const(module, "GL_TEXTURE_PRIORITY_EXT", INT2NUM(GL_TEXTURE_PRIORITY_EXT));
2646
2772
  rb_define_const(module, "GL_TEXTURE_PRIORITY", INT2NUM(GL_TEXTURE_PRIORITY));
2773
+ rb_define_const(module, "GL_TEXTURE_PRIORITY_EXT", INT2NUM(GL_TEXTURE_PRIORITY_EXT));
2647
2774
  rb_define_const(module, "GL_TEXTURE_RECTANGLE_ARB", INT2NUM(GL_TEXTURE_RECTANGLE_ARB));
2648
2775
  rb_define_const(module, "GL_TEXTURE_RECTANGLE_NV", INT2NUM(GL_TEXTURE_RECTANGLE_NV));
2649
- rb_define_const(module, "GL_TEXTURE_RED_SIZE_EXT", INT2NUM(GL_TEXTURE_RED_SIZE_EXT));
2650
2776
  rb_define_const(module, "GL_TEXTURE_RED_SIZE", INT2NUM(GL_TEXTURE_RED_SIZE));
2777
+ rb_define_const(module, "GL_TEXTURE_RED_SIZE_EXT", INT2NUM(GL_TEXTURE_RED_SIZE_EXT));
2651
2778
  rb_define_const(module, "GL_TEXTURE_RED_TYPE_ARB", INT2NUM(GL_TEXTURE_RED_TYPE_ARB));
2652
- rb_define_const(module, "GL_TEXTURE_RESIDENT_EXT", INT2NUM(GL_TEXTURE_RESIDENT_EXT));
2653
2779
  rb_define_const(module, "GL_TEXTURE_RESIDENT", INT2NUM(GL_TEXTURE_RESIDENT));
2780
+ rb_define_const(module, "GL_TEXTURE_RESIDENT_EXT", INT2NUM(GL_TEXTURE_RESIDENT_EXT));
2654
2781
  rb_define_const(module, "GL_TEXTURE_SHADER_NV", INT2NUM(GL_TEXTURE_SHADER_NV));
2782
+ rb_define_const(module, "GL_TEXTURE_SHARED_SIZE_EXT", INT2NUM(GL_TEXTURE_SHARED_SIZE_EXT));
2655
2783
  rb_define_const(module, "GL_TEXTURE_STACK_DEPTH", INT2NUM(GL_TEXTURE_STACK_DEPTH));
2656
2784
  rb_define_const(module, "GL_TEXTURE_STENCIL_SIZE_EXT", INT2NUM(GL_TEXTURE_STENCIL_SIZE_EXT));
2657
2785
  rb_define_const(module, "GL_TEXTURE_TOO_LARGE_EXT", INT2NUM(GL_TEXTURE_TOO_LARGE_EXT));
2658
2786
  rb_define_const(module, "GL_TEXTURE_UNSIGNED_REMAP_MODE_NV", INT2NUM(GL_TEXTURE_UNSIGNED_REMAP_MODE_NV));
2659
2787
  rb_define_const(module, "GL_TEXTURE_WIDTH", INT2NUM(GL_TEXTURE_WIDTH));
2660
2788
  rb_define_const(module, "GL_TEXTURE_WRAP_Q_SGIS", INT2NUM(GL_TEXTURE_WRAP_Q_SGIS));
2661
- rb_define_const(module, "GL_TEXTURE_WRAP_R_EXT", INT2NUM(GL_TEXTURE_WRAP_R_EXT));
2662
2789
  rb_define_const(module, "GL_TEXTURE_WRAP_R", INT2NUM(GL_TEXTURE_WRAP_R));
2790
+ rb_define_const(module, "GL_TEXTURE_WRAP_R_EXT", INT2NUM(GL_TEXTURE_WRAP_R_EXT));
2663
2791
  rb_define_const(module, "GL_TEXTURE_WRAP_S", INT2NUM(GL_TEXTURE_WRAP_S));
2664
2792
  rb_define_const(module, "GL_TEXTURE_WRAP_T", INT2NUM(GL_TEXTURE_WRAP_T));
2793
+ rb_define_const(module, "GL_TEXT_FRAGMENT_SHADER_ATI", INT2NUM(GL_TEXT_FRAGMENT_SHADER_ATI));
2665
2794
  rb_define_const(module, "GL_TIME_ELAPSED_EXT", INT2NUM(GL_TIME_ELAPSED_EXT));
2666
- rb_define_const(module, "GL_T", INT2NUM(GL_T));
2667
2795
  rb_define_const(module, "GL_TRACK_MATRIX_NV", INT2NUM(GL_TRACK_MATRIX_NV));
2668
2796
  rb_define_const(module, "GL_TRACK_MATRIX_TRANSFORM_NV", INT2NUM(GL_TRACK_MATRIX_TRANSFORM_NV));
2669
2797
  rb_define_const(module, "GL_TRANSFORM_BIT", INT2NUM(GL_TRANSFORM_BIT));
2798
+ rb_define_const(module, "GL_TRANSFORM_FEEDBACK_ATTRIBS_NV", INT2NUM(GL_TRANSFORM_FEEDBACK_ATTRIBS_NV));
2799
+ rb_define_const(module, "GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_NV", INT2NUM(GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_NV));
2800
+ rb_define_const(module, "GL_TRANSFORM_FEEDBACK_BUFFER_MODE_NV", INT2NUM(GL_TRANSFORM_FEEDBACK_BUFFER_MODE_NV));
2801
+ rb_define_const(module, "GL_TRANSFORM_FEEDBACK_BUFFER_NV", INT2NUM(GL_TRANSFORM_FEEDBACK_BUFFER_NV));
2802
+ rb_define_const(module, "GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_NV", INT2NUM(GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_NV));
2803
+ rb_define_const(module, "GL_TRANSFORM_FEEDBACK_BUFFER_START_NV", INT2NUM(GL_TRANSFORM_FEEDBACK_BUFFER_START_NV));
2804
+ rb_define_const(module, "GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV", INT2NUM(GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV));
2805
+ rb_define_const(module, "GL_TRANSFORM_FEEDBACK_RECORD_NV", INT2NUM(GL_TRANSFORM_FEEDBACK_RECORD_NV));
2806
+ rb_define_const(module, "GL_TRANSFORM_FEEDBACK_VARYINGS_NV", INT2NUM(GL_TRANSFORM_FEEDBACK_VARYINGS_NV));
2670
2807
  rb_define_const(module, "GL_TRANSFORM_HINT_APPLE", INT2NUM(GL_TRANSFORM_HINT_APPLE));
2671
- rb_define_const(module, "GL_TRANSPOSE_COLOR_MATRIX_ARB", INT2NUM(GL_TRANSPOSE_COLOR_MATRIX_ARB));
2672
2808
  rb_define_const(module, "GL_TRANSPOSE_COLOR_MATRIX", INT2NUM(GL_TRANSPOSE_COLOR_MATRIX));
2809
+ rb_define_const(module, "GL_TRANSPOSE_COLOR_MATRIX_ARB", INT2NUM(GL_TRANSPOSE_COLOR_MATRIX_ARB));
2673
2810
  rb_define_const(module, "GL_TRANSPOSE_CURRENT_MATRIX_ARB", INT2NUM(GL_TRANSPOSE_CURRENT_MATRIX_ARB));
2674
- rb_define_const(module, "GL_TRANSPOSE_MODELVIEW_MATRIX_ARB", INT2NUM(GL_TRANSPOSE_MODELVIEW_MATRIX_ARB));
2675
2811
  rb_define_const(module, "GL_TRANSPOSE_MODELVIEW_MATRIX", INT2NUM(GL_TRANSPOSE_MODELVIEW_MATRIX));
2812
+ rb_define_const(module, "GL_TRANSPOSE_MODELVIEW_MATRIX_ARB", INT2NUM(GL_TRANSPOSE_MODELVIEW_MATRIX_ARB));
2676
2813
  rb_define_const(module, "GL_TRANSPOSE_NV", INT2NUM(GL_TRANSPOSE_NV));
2677
- rb_define_const(module, "GL_TRANSPOSE_PROJECTION_MATRIX_ARB", INT2NUM(GL_TRANSPOSE_PROJECTION_MATRIX_ARB));
2678
2814
  rb_define_const(module, "GL_TRANSPOSE_PROJECTION_MATRIX", INT2NUM(GL_TRANSPOSE_PROJECTION_MATRIX));
2679
- rb_define_const(module, "GL_TRANSPOSE_TEXTURE_MATRIX_ARB", INT2NUM(GL_TRANSPOSE_TEXTURE_MATRIX_ARB));
2815
+ rb_define_const(module, "GL_TRANSPOSE_PROJECTION_MATRIX_ARB", INT2NUM(GL_TRANSPOSE_PROJECTION_MATRIX_ARB));
2680
2816
  rb_define_const(module, "GL_TRANSPOSE_TEXTURE_MATRIX", INT2NUM(GL_TRANSPOSE_TEXTURE_MATRIX));
2817
+ rb_define_const(module, "GL_TRANSPOSE_TEXTURE_MATRIX_ARB", INT2NUM(GL_TRANSPOSE_TEXTURE_MATRIX_ARB));
2818
+ rb_define_const(module, "GL_TRIANGLES", INT2NUM(GL_TRIANGLES));
2819
+ rb_define_const(module, "GL_TRIANGLES_ADJACENCY_EXT", INT2NUM(GL_TRIANGLES_ADJACENCY_EXT));
2681
2820
  rb_define_const(module, "GL_TRIANGLE_FAN", INT2NUM(GL_TRIANGLE_FAN));
2682
2821
  rb_define_const(module, "GL_TRIANGLE_LIST_SUN", INT2NUM(GL_TRIANGLE_LIST_SUN));
2683
2822
  rb_define_const(module, "GL_TRIANGLE_MESH_SUN", INT2NUM(GL_TRIANGLE_MESH_SUN));
2684
- rb_define_const(module, "GL_TRIANGLES", INT2NUM(GL_TRIANGLES));
2685
2823
  rb_define_const(module, "GL_TRIANGLE_STRIP", INT2NUM(GL_TRIANGLE_STRIP));
2824
+ rb_define_const(module, "GL_TRIANGLE_STRIP_ADJACENCY_EXT", INT2NUM(GL_TRIANGLE_STRIP_ADJACENCY_EXT));
2686
2825
  rb_define_const(module, "GL_TRUE", INT2NUM(GL_TRUE));
2687
2826
  rb_define_const(module, "GL_TYPE_RGBA_FLOAT_ATI", INT2NUM(GL_TYPE_RGBA_FLOAT_ATI));
2827
+ rb_define_const(module, "GL_UNIFORM_BUFFER_BINDING_EXT", INT2NUM(GL_UNIFORM_BUFFER_BINDING_EXT));
2828
+ rb_define_const(module, "GL_UNIFORM_BUFFER_EXT", INT2NUM(GL_UNIFORM_BUFFER_EXT));
2688
2829
  rb_define_const(module, "GL_UNPACK_ALIGNMENT", INT2NUM(GL_UNPACK_ALIGNMENT));
2689
2830
  rb_define_const(module, "GL_UNPACK_CLIENT_STORAGE_APPLE", INT2NUM(GL_UNPACK_CLIENT_STORAGE_APPLE));
2690
2831
  rb_define_const(module, "GL_UNPACK_CMYK_HINT_EXT", INT2NUM(GL_UNPACK_CMYK_HINT_EXT));
2691
2832
  rb_define_const(module, "GL_UNPACK_CONSTANT_DATA_SUNX", INT2NUM(GL_UNPACK_CONSTANT_DATA_SUNX));
2692
2833
  rb_define_const(module, "GL_UNPACK_IMAGE_DEPTH_SGIS", INT2NUM(GL_UNPACK_IMAGE_DEPTH_SGIS));
2693
- rb_define_const(module, "GL_UNPACK_IMAGE_HEIGHT_EXT", INT2NUM(GL_UNPACK_IMAGE_HEIGHT_EXT));
2694
2834
  rb_define_const(module, "GL_UNPACK_IMAGE_HEIGHT", INT2NUM(GL_UNPACK_IMAGE_HEIGHT));
2835
+ rb_define_const(module, "GL_UNPACK_IMAGE_HEIGHT_EXT", INT2NUM(GL_UNPACK_IMAGE_HEIGHT_EXT));
2695
2836
  rb_define_const(module, "GL_UNPACK_LSB_FIRST", INT2NUM(GL_UNPACK_LSB_FIRST));
2696
2837
  rb_define_const(module, "GL_UNPACK_RESAMPLE_OML", INT2NUM(GL_UNPACK_RESAMPLE_OML));
2697
2838
  rb_define_const(module, "GL_UNPACK_RESAMPLE_SGIX", INT2NUM(GL_UNPACK_RESAMPLE_SGIX));
2698
2839
  rb_define_const(module, "GL_UNPACK_ROW_LENGTH", INT2NUM(GL_UNPACK_ROW_LENGTH));
2699
- rb_define_const(module, "GL_UNPACK_SKIP_IMAGES_EXT", INT2NUM(GL_UNPACK_SKIP_IMAGES_EXT));
2700
2840
  rb_define_const(module, "GL_UNPACK_SKIP_IMAGES", INT2NUM(GL_UNPACK_SKIP_IMAGES));
2841
+ rb_define_const(module, "GL_UNPACK_SKIP_IMAGES_EXT", INT2NUM(GL_UNPACK_SKIP_IMAGES_EXT));
2701
2842
  rb_define_const(module, "GL_UNPACK_SKIP_PIXELS", INT2NUM(GL_UNPACK_SKIP_PIXELS));
2702
2843
  rb_define_const(module, "GL_UNPACK_SKIP_ROWS", INT2NUM(GL_UNPACK_SKIP_ROWS));
2703
2844
  rb_define_const(module, "GL_UNPACK_SKIP_VOLUMES_SGIS", INT2NUM(GL_UNPACK_SKIP_VOLUMES_SGIS));
2704
2845
  rb_define_const(module, "GL_UNPACK_SUBSAMPLE_RATE_SGIX", INT2NUM(GL_UNPACK_SUBSAMPLE_RATE_SGIX));
2705
2846
  rb_define_const(module, "GL_UNPACK_SWAP_BYTES", INT2NUM(GL_UNPACK_SWAP_BYTES));
2706
- rb_define_const(module, "GL_UNSIGNED_BYTE_2_3_3_REV_EXT", INT2NUM(GL_UNSIGNED_BYTE_2_3_3_REV_EXT));
2847
+ rb_define_const(module, "GL_UNSIGNED_BYTE", INT2NUM(GL_UNSIGNED_BYTE));
2707
2848
  rb_define_const(module, "GL_UNSIGNED_BYTE_2_3_3_REV", INT2NUM(GL_UNSIGNED_BYTE_2_3_3_REV));
2708
- rb_define_const(module, "GL_UNSIGNED_BYTE_3_3_2_EXT", INT2NUM(GL_UNSIGNED_BYTE_3_3_2_EXT));
2849
+ rb_define_const(module, "GL_UNSIGNED_BYTE_2_3_3_REV_EXT", INT2NUM(GL_UNSIGNED_BYTE_2_3_3_REV_EXT));
2709
2850
  rb_define_const(module, "GL_UNSIGNED_BYTE_3_3_2", INT2NUM(GL_UNSIGNED_BYTE_3_3_2));
2710
- rb_define_const(module, "GL_UNSIGNED_BYTE", INT2NUM(GL_UNSIGNED_BYTE));
2851
+ rb_define_const(module, "GL_UNSIGNED_BYTE_3_3_2_EXT", INT2NUM(GL_UNSIGNED_BYTE_3_3_2_EXT));
2711
2852
  rb_define_const(module, "GL_UNSIGNED_IDENTITY_NV", INT2NUM(GL_UNSIGNED_IDENTITY_NV));
2712
- rb_define_const(module, "GL_UNSIGNED_INT_10_10_10_2_EXT", INT2NUM(GL_UNSIGNED_INT_10_10_10_2_EXT));
2853
+ rb_define_const(module, "GL_UNSIGNED_INT", INT2NUM(GL_UNSIGNED_INT));
2854
+ rb_define_const(module, "GL_UNSIGNED_INT_10F_11F_11F_REV_EXT", INT2NUM(GL_UNSIGNED_INT_10F_11F_11F_REV_EXT));
2713
2855
  rb_define_const(module, "GL_UNSIGNED_INT_10_10_10_2", INT2NUM(GL_UNSIGNED_INT_10_10_10_2));
2714
- rb_define_const(module, "GL_UNSIGNED_INT_2_10_10_10_REV_EXT", INT2NUM(GL_UNSIGNED_INT_2_10_10_10_REV_EXT));
2715
- rb_define_const(module, "GL_UNSIGNED_INT_2_10_10_10_REV", INT2NUM(GL_UNSIGNED_INT_2_10_10_10_REV));
2856
+ rb_define_const(module, "GL_UNSIGNED_INT_10_10_10_2_EXT", INT2NUM(GL_UNSIGNED_INT_10_10_10_2_EXT));
2716
2857
  rb_define_const(module, "GL_UNSIGNED_INT_24_8_EXT", INT2NUM(GL_UNSIGNED_INT_24_8_EXT));
2717
2858
  rb_define_const(module, "GL_UNSIGNED_INT_24_8_NV", INT2NUM(GL_UNSIGNED_INT_24_8_NV));
2718
- rb_define_const(module, "GL_UNSIGNED_INT_8_8_8_8_EXT", INT2NUM(GL_UNSIGNED_INT_8_8_8_8_EXT));
2859
+ rb_define_const(module, "GL_UNSIGNED_INT_2_10_10_10_REV", INT2NUM(GL_UNSIGNED_INT_2_10_10_10_REV));
2860
+ rb_define_const(module, "GL_UNSIGNED_INT_2_10_10_10_REV_EXT", INT2NUM(GL_UNSIGNED_INT_2_10_10_10_REV_EXT));
2861
+ rb_define_const(module, "GL_UNSIGNED_INT_5_9_9_9_REV_EXT", INT2NUM(GL_UNSIGNED_INT_5_9_9_9_REV_EXT));
2719
2862
  rb_define_const(module, "GL_UNSIGNED_INT_8_8_8_8", INT2NUM(GL_UNSIGNED_INT_8_8_8_8));
2720
- rb_define_const(module, "GL_UNSIGNED_INT_8_8_8_8_REV_EXT", INT2NUM(GL_UNSIGNED_INT_8_8_8_8_REV_EXT));
2863
+ rb_define_const(module, "GL_UNSIGNED_INT_8_8_8_8_EXT", INT2NUM(GL_UNSIGNED_INT_8_8_8_8_EXT));
2721
2864
  rb_define_const(module, "GL_UNSIGNED_INT_8_8_8_8_REV", INT2NUM(GL_UNSIGNED_INT_8_8_8_8_REV));
2865
+ rb_define_const(module, "GL_UNSIGNED_INT_8_8_8_8_REV_EXT", INT2NUM(GL_UNSIGNED_INT_8_8_8_8_REV_EXT));
2722
2866
  rb_define_const(module, "GL_UNSIGNED_INT_8_8_S8_S8_REV_NV", INT2NUM(GL_UNSIGNED_INT_8_8_S8_S8_REV_NV));
2723
- rb_define_const(module, "GL_UNSIGNED_INT", INT2NUM(GL_UNSIGNED_INT));
2724
2867
  rb_define_const(module, "GL_UNSIGNED_INT_S8_S8_8_8_NV", INT2NUM(GL_UNSIGNED_INT_S8_S8_8_8_NV));
2868
+ rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT", INT2NUM(GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT));
2869
+ rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_1D_EXT", INT2NUM(GL_UNSIGNED_INT_SAMPLER_1D_EXT));
2870
+ rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT", INT2NUM(GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT));
2871
+ rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_2D_EXT", INT2NUM(GL_UNSIGNED_INT_SAMPLER_2D_EXT));
2872
+ rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT", INT2NUM(GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT));
2873
+ rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_3D_EXT", INT2NUM(GL_UNSIGNED_INT_SAMPLER_3D_EXT));
2874
+ rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT", INT2NUM(GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT));
2875
+ rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_CUBE_EXT", INT2NUM(GL_UNSIGNED_INT_SAMPLER_CUBE_EXT));
2876
+ rb_define_const(module, "GL_UNSIGNED_INT_VEC2_EXT", INT2NUM(GL_UNSIGNED_INT_VEC2_EXT));
2877
+ rb_define_const(module, "GL_UNSIGNED_INT_VEC3_EXT", INT2NUM(GL_UNSIGNED_INT_VEC3_EXT));
2878
+ rb_define_const(module, "GL_UNSIGNED_INT_VEC4_EXT", INT2NUM(GL_UNSIGNED_INT_VEC4_EXT));
2725
2879
  rb_define_const(module, "GL_UNSIGNED_INVERT_NV", INT2NUM(GL_UNSIGNED_INVERT_NV));
2726
2880
  rb_define_const(module, "GL_UNSIGNED_NORMALIZED_ARB", INT2NUM(GL_UNSIGNED_NORMALIZED_ARB));
2727
- rb_define_const(module, "GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT", INT2NUM(GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT));
2881
+ rb_define_const(module, "GL_UNSIGNED_SHORT", INT2NUM(GL_UNSIGNED_SHORT));
2728
2882
  rb_define_const(module, "GL_UNSIGNED_SHORT_1_5_5_5_REV", INT2NUM(GL_UNSIGNED_SHORT_1_5_5_5_REV));
2729
- rb_define_const(module, "GL_UNSIGNED_SHORT_4_4_4_4_EXT", INT2NUM(GL_UNSIGNED_SHORT_4_4_4_4_EXT));
2883
+ rb_define_const(module, "GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT", INT2NUM(GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT));
2730
2884
  rb_define_const(module, "GL_UNSIGNED_SHORT_4_4_4_4", INT2NUM(GL_UNSIGNED_SHORT_4_4_4_4));
2731
- rb_define_const(module, "GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT", INT2NUM(GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT));
2885
+ rb_define_const(module, "GL_UNSIGNED_SHORT_4_4_4_4_EXT", INT2NUM(GL_UNSIGNED_SHORT_4_4_4_4_EXT));
2732
2886
  rb_define_const(module, "GL_UNSIGNED_SHORT_4_4_4_4_REV", INT2NUM(GL_UNSIGNED_SHORT_4_4_4_4_REV));
2733
- rb_define_const(module, "GL_UNSIGNED_SHORT_5_5_5_1_EXT", INT2NUM(GL_UNSIGNED_SHORT_5_5_5_1_EXT));
2887
+ rb_define_const(module, "GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT", INT2NUM(GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT));
2734
2888
  rb_define_const(module, "GL_UNSIGNED_SHORT_5_5_5_1", INT2NUM(GL_UNSIGNED_SHORT_5_5_5_1));
2735
- rb_define_const(module, "GL_UNSIGNED_SHORT_5_6_5_EXT", INT2NUM(GL_UNSIGNED_SHORT_5_6_5_EXT));
2889
+ rb_define_const(module, "GL_UNSIGNED_SHORT_5_5_5_1_EXT", INT2NUM(GL_UNSIGNED_SHORT_5_5_5_1_EXT));
2736
2890
  rb_define_const(module, "GL_UNSIGNED_SHORT_5_6_5", INT2NUM(GL_UNSIGNED_SHORT_5_6_5));
2737
- rb_define_const(module, "GL_UNSIGNED_SHORT_5_6_5_REV_EXT", INT2NUM(GL_UNSIGNED_SHORT_5_6_5_REV_EXT));
2891
+ rb_define_const(module, "GL_UNSIGNED_SHORT_5_6_5_EXT", INT2NUM(GL_UNSIGNED_SHORT_5_6_5_EXT));
2738
2892
  rb_define_const(module, "GL_UNSIGNED_SHORT_5_6_5_REV", INT2NUM(GL_UNSIGNED_SHORT_5_6_5_REV));
2893
+ rb_define_const(module, "GL_UNSIGNED_SHORT_5_6_5_REV_EXT", INT2NUM(GL_UNSIGNED_SHORT_5_6_5_REV_EXT));
2739
2894
  rb_define_const(module, "GL_UNSIGNED_SHORT_8_8_APPLE", INT2NUM(GL_UNSIGNED_SHORT_8_8_APPLE));
2740
2895
  rb_define_const(module, "GL_UNSIGNED_SHORT_8_8_MESA", INT2NUM(GL_UNSIGNED_SHORT_8_8_MESA));
2741
2896
  rb_define_const(module, "GL_UNSIGNED_SHORT_8_8_REV_APPLE", INT2NUM(GL_UNSIGNED_SHORT_8_8_REV_APPLE));
2742
2897
  rb_define_const(module, "GL_UNSIGNED_SHORT_8_8_REV_MESA", INT2NUM(GL_UNSIGNED_SHORT_8_8_REV_MESA));
2743
- rb_define_const(module, "GL_UNSIGNED_SHORT", INT2NUM(GL_UNSIGNED_SHORT));
2744
2898
  rb_define_const(module, "GL_UPPER_LEFT", INT2NUM(GL_UPPER_LEFT));
2745
2899
  rb_define_const(module, "GL_V2F", INT2NUM(GL_V2F));
2746
2900
  rb_define_const(module, "GL_V3F", INT2NUM(GL_V3F));
@@ -2761,25 +2915,25 @@ void gl_init_enums(VALUE module)
2761
2915
  rb_define_const(module, "GL_VARIANT_VALUE_EXT", INT2NUM(GL_VARIANT_VALUE_EXT));
2762
2916
  rb_define_const(module, "GL_VECTOR_EXT", INT2NUM(GL_VECTOR_EXT));
2763
2917
  rb_define_const(module, "GL_VENDOR", INT2NUM(GL_VENDOR));
2918
+ rb_define_const(module, "GL_VERSION", INT2NUM(GL_VERSION));
2764
2919
  rb_define_const(module, "GL_VERSION_1_1", INT2NUM(GL_VERSION_1_1));
2765
2920
  rb_define_const(module, "GL_VERSION_1_2", INT2NUM(GL_VERSION_1_2));
2766
2921
  rb_define_const(module, "GL_VERSION_1_3", INT2NUM(GL_VERSION_1_3));
2767
2922
  rb_define_const(module, "GL_VERSION_1_4", INT2NUM(GL_VERSION_1_4));
2768
2923
  rb_define_const(module, "GL_VERSION_1_5", INT2NUM(GL_VERSION_1_5));
2769
- rb_define_const(module, "GL_VERSION", INT2NUM(GL_VERSION));
2770
2924
  rb_define_const(module, "GL_VERTEX23_BIT_PGI", INT2NUM(GL_VERTEX23_BIT_PGI));
2771
2925
  rb_define_const(module, "GL_VERTEX4_BIT_PGI", INT2NUM(GL_VERTEX4_BIT_PGI));
2926
+ rb_define_const(module, "GL_VERTEX_ARRAY", INT2NUM(GL_VERTEX_ARRAY));
2772
2927
  rb_define_const(module, "GL_VERTEX_ARRAY_BINDING_APPLE", INT2NUM(GL_VERTEX_ARRAY_BINDING_APPLE));
2773
- rb_define_const(module, "GL_VERTEX_ARRAY_BUFFER_BINDING_ARB", INT2NUM(GL_VERTEX_ARRAY_BUFFER_BINDING_ARB));
2774
2928
  rb_define_const(module, "GL_VERTEX_ARRAY_BUFFER_BINDING", INT2NUM(GL_VERTEX_ARRAY_BUFFER_BINDING));
2929
+ rb_define_const(module, "GL_VERTEX_ARRAY_BUFFER_BINDING_ARB", INT2NUM(GL_VERTEX_ARRAY_BUFFER_BINDING_ARB));
2775
2930
  rb_define_const(module, "GL_VERTEX_ARRAY_COUNT_EXT", INT2NUM(GL_VERTEX_ARRAY_COUNT_EXT));
2776
2931
  rb_define_const(module, "GL_VERTEX_ARRAY_EXT", INT2NUM(GL_VERTEX_ARRAY_EXT));
2777
- rb_define_const(module, "GL_VERTEX_ARRAY", INT2NUM(GL_VERTEX_ARRAY));
2778
2932
  rb_define_const(module, "GL_VERTEX_ARRAY_LIST_IBM", INT2NUM(GL_VERTEX_ARRAY_LIST_IBM));
2779
2933
  rb_define_const(module, "GL_VERTEX_ARRAY_LIST_STRIDE_IBM", INT2NUM(GL_VERTEX_ARRAY_LIST_STRIDE_IBM));
2780
2934
  rb_define_const(module, "GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL", INT2NUM(GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL));
2781
- rb_define_const(module, "GL_VERTEX_ARRAY_POINTER_EXT", INT2NUM(GL_VERTEX_ARRAY_POINTER_EXT));
2782
2935
  rb_define_const(module, "GL_VERTEX_ARRAY_POINTER", INT2NUM(GL_VERTEX_ARRAY_POINTER));
2936
+ rb_define_const(module, "GL_VERTEX_ARRAY_POINTER_EXT", INT2NUM(GL_VERTEX_ARRAY_POINTER_EXT));
2783
2937
  rb_define_const(module, "GL_VERTEX_ARRAY_RANGE_APPLE", INT2NUM(GL_VERTEX_ARRAY_RANGE_APPLE));
2784
2938
  rb_define_const(module, "GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE", INT2NUM(GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE));
2785
2939
  rb_define_const(module, "GL_VERTEX_ARRAY_RANGE_LENGTH_NV", INT2NUM(GL_VERTEX_ARRAY_RANGE_LENGTH_NV));
@@ -2788,13 +2942,13 @@ void gl_init_enums(VALUE module)
2788
2942
  rb_define_const(module, "GL_VERTEX_ARRAY_RANGE_POINTER_NV", INT2NUM(GL_VERTEX_ARRAY_RANGE_POINTER_NV));
2789
2943
  rb_define_const(module, "GL_VERTEX_ARRAY_RANGE_VALID_NV", INT2NUM(GL_VERTEX_ARRAY_RANGE_VALID_NV));
2790
2944
  rb_define_const(module, "GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV", INT2NUM(GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV));
2791
- rb_define_const(module, "GL_VERTEX_ARRAY_SIZE_EXT", INT2NUM(GL_VERTEX_ARRAY_SIZE_EXT));
2792
2945
  rb_define_const(module, "GL_VERTEX_ARRAY_SIZE", INT2NUM(GL_VERTEX_ARRAY_SIZE));
2946
+ rb_define_const(module, "GL_VERTEX_ARRAY_SIZE_EXT", INT2NUM(GL_VERTEX_ARRAY_SIZE_EXT));
2793
2947
  rb_define_const(module, "GL_VERTEX_ARRAY_STORAGE_HINT_APPLE", INT2NUM(GL_VERTEX_ARRAY_STORAGE_HINT_APPLE));
2794
- rb_define_const(module, "GL_VERTEX_ARRAY_STRIDE_EXT", INT2NUM(GL_VERTEX_ARRAY_STRIDE_EXT));
2795
2948
  rb_define_const(module, "GL_VERTEX_ARRAY_STRIDE", INT2NUM(GL_VERTEX_ARRAY_STRIDE));
2796
- rb_define_const(module, "GL_VERTEX_ARRAY_TYPE_EXT", INT2NUM(GL_VERTEX_ARRAY_TYPE_EXT));
2949
+ rb_define_const(module, "GL_VERTEX_ARRAY_STRIDE_EXT", INT2NUM(GL_VERTEX_ARRAY_STRIDE_EXT));
2797
2950
  rb_define_const(module, "GL_VERTEX_ARRAY_TYPE", INT2NUM(GL_VERTEX_ARRAY_TYPE));
2951
+ rb_define_const(module, "GL_VERTEX_ARRAY_TYPE_EXT", INT2NUM(GL_VERTEX_ARRAY_TYPE_EXT));
2798
2952
  rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY0_NV", INT2NUM(GL_VERTEX_ATTRIB_ARRAY0_NV));
2799
2953
  rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY10_NV", INT2NUM(GL_VERTEX_ATTRIB_ARRAY10_NV));
2800
2954
  rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY11_NV", INT2NUM(GL_VERTEX_ATTRIB_ARRAY11_NV));
@@ -2811,42 +2965,45 @@ void gl_init_enums(VALUE module)
2811
2965
  rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY7_NV", INT2NUM(GL_VERTEX_ATTRIB_ARRAY7_NV));
2812
2966
  rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY8_NV", INT2NUM(GL_VERTEX_ATTRIB_ARRAY8_NV));
2813
2967
  rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY9_NV", INT2NUM(GL_VERTEX_ATTRIB_ARRAY9_NV));
2814
- rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB));
2815
2968
  rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING));
2816
- rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB));
2969
+ rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB));
2817
2970
  rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_ENABLED", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_ENABLED));
2818
- rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB));
2971
+ rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB));
2972
+ rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV));
2819
2973
  rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_NORMALIZED", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_NORMALIZED));
2820
- rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB));
2974
+ rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB));
2821
2975
  rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_POINTER", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_POINTER));
2822
- rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB));
2976
+ rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB));
2823
2977
  rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_SIZE", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_SIZE));
2824
- rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB));
2978
+ rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB));
2825
2979
  rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_STRIDE", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_STRIDE));
2826
- rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB));
2980
+ rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB));
2827
2981
  rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_TYPE", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_TYPE));
2982
+ rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB));
2828
2983
  rb_define_const(module, "GL_VERTEX_BLEND_ARB", INT2NUM(GL_VERTEX_BLEND_ARB));
2829
2984
  rb_define_const(module, "GL_VERTEX_CONSISTENT_HINT_PGI", INT2NUM(GL_VERTEX_CONSISTENT_HINT_PGI));
2830
2985
  rb_define_const(module, "GL_VERTEX_DATA_HINT_PGI", INT2NUM(GL_VERTEX_DATA_HINT_PGI));
2986
+ rb_define_const(module, "GL_VERTEX_ID_NV", INT2NUM(GL_VERTEX_ID_NV));
2831
2987
  rb_define_const(module, "GL_VERTEX_PRECLIP_HINT_SGIX", INT2NUM(GL_VERTEX_PRECLIP_HINT_SGIX));
2832
2988
  rb_define_const(module, "GL_VERTEX_PRECLIP_SGIX", INT2NUM(GL_VERTEX_PRECLIP_SGIX));
2833
2989
  rb_define_const(module, "GL_VERTEX_PROGRAM_ARB", INT2NUM(GL_VERTEX_PROGRAM_ARB));
2834
2990
  rb_define_const(module, "GL_VERTEX_PROGRAM_BINDING_NV", INT2NUM(GL_VERTEX_PROGRAM_BINDING_NV));
2835
2991
  rb_define_const(module, "GL_VERTEX_PROGRAM_NV", INT2NUM(GL_VERTEX_PROGRAM_NV));
2836
- rb_define_const(module, "GL_VERTEX_PROGRAM_POINT_SIZE_ARB", INT2NUM(GL_VERTEX_PROGRAM_POINT_SIZE_ARB));
2992
+ rb_define_const(module, "GL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV", INT2NUM(GL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV));
2837
2993
  rb_define_const(module, "GL_VERTEX_PROGRAM_POINT_SIZE", INT2NUM(GL_VERTEX_PROGRAM_POINT_SIZE));
2994
+ rb_define_const(module, "GL_VERTEX_PROGRAM_POINT_SIZE_ARB", INT2NUM(GL_VERTEX_PROGRAM_POINT_SIZE_ARB));
2838
2995
  rb_define_const(module, "GL_VERTEX_PROGRAM_POINT_SIZE_NV", INT2NUM(GL_VERTEX_PROGRAM_POINT_SIZE_NV));
2839
- rb_define_const(module, "GL_VERTEX_PROGRAM_TWO_SIDE_ARB", INT2NUM(GL_VERTEX_PROGRAM_TWO_SIDE_ARB));
2840
2996
  rb_define_const(module, "GL_VERTEX_PROGRAM_TWO_SIDE", INT2NUM(GL_VERTEX_PROGRAM_TWO_SIDE));
2997
+ rb_define_const(module, "GL_VERTEX_PROGRAM_TWO_SIDE_ARB", INT2NUM(GL_VERTEX_PROGRAM_TWO_SIDE_ARB));
2841
2998
  rb_define_const(module, "GL_VERTEX_PROGRAM_TWO_SIDE_NV", INT2NUM(GL_VERTEX_PROGRAM_TWO_SIDE_NV));
2999
+ rb_define_const(module, "GL_VERTEX_SHADER", INT2NUM(GL_VERTEX_SHADER));
2842
3000
  rb_define_const(module, "GL_VERTEX_SHADER_ARB", INT2NUM(GL_VERTEX_SHADER_ARB));
2843
3001
  rb_define_const(module, "GL_VERTEX_SHADER_BINDING_EXT", INT2NUM(GL_VERTEX_SHADER_BINDING_EXT));
2844
3002
  rb_define_const(module, "GL_VERTEX_SHADER_EXT", INT2NUM(GL_VERTEX_SHADER_EXT));
2845
3003
  rb_define_const(module, "GL_VERTEX_SHADER_INSTRUCTIONS_EXT", INT2NUM(GL_VERTEX_SHADER_INSTRUCTIONS_EXT));
2846
- rb_define_const(module, "GL_VERTEX_SHADER", INT2NUM(GL_VERTEX_SHADER));
2847
3004
  rb_define_const(module, "GL_VERTEX_SHADER_INVARIANTS_EXT", INT2NUM(GL_VERTEX_SHADER_INVARIANTS_EXT));
2848
- rb_define_const(module, "GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT", INT2NUM(GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT));
2849
3005
  rb_define_const(module, "GL_VERTEX_SHADER_LOCALS_EXT", INT2NUM(GL_VERTEX_SHADER_LOCALS_EXT));
3006
+ rb_define_const(module, "GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT", INT2NUM(GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT));
2850
3007
  rb_define_const(module, "GL_VERTEX_SHADER_OPTIMIZED_EXT", INT2NUM(GL_VERTEX_SHADER_OPTIMIZED_EXT));
2851
3008
  rb_define_const(module, "GL_VERTEX_SHADER_VARIANTS_EXT", INT2NUM(GL_VERTEX_SHADER_VARIANTS_EXT));
2852
3009
  rb_define_const(module, "GL_VERTEX_SOURCE_ATI", INT2NUM(GL_VERTEX_SOURCE_ATI));
@@ -2859,46 +3016,44 @@ void gl_init_enums(VALUE module)
2859
3016
  rb_define_const(module, "GL_VERTEX_STREAM5_ATI", INT2NUM(GL_VERTEX_STREAM5_ATI));
2860
3017
  rb_define_const(module, "GL_VERTEX_STREAM6_ATI", INT2NUM(GL_VERTEX_STREAM6_ATI));
2861
3018
  rb_define_const(module, "GL_VERTEX_STREAM7_ATI", INT2NUM(GL_VERTEX_STREAM7_ATI));
3019
+ rb_define_const(module, "GL_VERTEX_WEIGHTING_EXT", INT2NUM(GL_VERTEX_WEIGHTING_EXT));
2862
3020
  rb_define_const(module, "GL_VERTEX_WEIGHT_ARRAY_EXT", INT2NUM(GL_VERTEX_WEIGHT_ARRAY_EXT));
2863
3021
  rb_define_const(module, "GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT", INT2NUM(GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT));
2864
3022
  rb_define_const(module, "GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT", INT2NUM(GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT));
2865
3023
  rb_define_const(module, "GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT", INT2NUM(GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT));
2866
3024
  rb_define_const(module, "GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT", INT2NUM(GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT));
2867
- rb_define_const(module, "GL_VERTEX_WEIGHTING_EXT", INT2NUM(GL_VERTEX_WEIGHTING_EXT));
2868
3025
  rb_define_const(module, "GL_VIBRANCE_BIAS_NV", INT2NUM(GL_VIBRANCE_BIAS_NV));
2869
3026
  rb_define_const(module, "GL_VIBRANCE_SCALE_NV", INT2NUM(GL_VIBRANCE_SCALE_NV));
2870
- rb_define_const(module, "GL_VIEWPORT_BIT", INT2NUM(GL_VIEWPORT_BIT));
2871
3027
  rb_define_const(module, "GL_VIEWPORT", INT2NUM(GL_VIEWPORT));
3028
+ rb_define_const(module, "GL_VIEWPORT_BIT", INT2NUM(GL_VIEWPORT_BIT));
2872
3029
  rb_define_const(module, "GL_WEIGHT_ARRAY_ARB", INT2NUM(GL_WEIGHT_ARRAY_ARB));
2873
- rb_define_const(module, "GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB", INT2NUM(GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB));
2874
3030
  rb_define_const(module, "GL_WEIGHT_ARRAY_BUFFER_BINDING", INT2NUM(GL_WEIGHT_ARRAY_BUFFER_BINDING));
3031
+ rb_define_const(module, "GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB", INT2NUM(GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB));
2875
3032
  rb_define_const(module, "GL_WEIGHT_ARRAY_POINTER_ARB", INT2NUM(GL_WEIGHT_ARRAY_POINTER_ARB));
2876
3033
  rb_define_const(module, "GL_WEIGHT_ARRAY_SIZE_ARB", INT2NUM(GL_WEIGHT_ARRAY_SIZE_ARB));
2877
3034
  rb_define_const(module, "GL_WEIGHT_ARRAY_STRIDE_ARB", INT2NUM(GL_WEIGHT_ARRAY_STRIDE_ARB));
2878
3035
  rb_define_const(module, "GL_WEIGHT_ARRAY_TYPE_ARB", INT2NUM(GL_WEIGHT_ARRAY_TYPE_ARB));
2879
3036
  rb_define_const(module, "GL_WEIGHT_SUM_UNITY_ARB", INT2NUM(GL_WEIGHT_SUM_UNITY_ARB));
2880
- rb_define_const(module, "GL_W_EXT", INT2NUM(GL_W_EXT));
2881
3037
  rb_define_const(module, "GL_WIDE_LINE_HINT_PGI", INT2NUM(GL_WIDE_LINE_HINT_PGI));
2882
3038
  rb_define_const(module, "GL_WRAP_BORDER_SUN", INT2NUM(GL_WRAP_BORDER_SUN));
2883
- rb_define_const(module, "GL_WRITE_ONLY_ARB", INT2NUM(GL_WRITE_ONLY_ARB));
2884
3039
  rb_define_const(module, "GL_WRITE_ONLY", INT2NUM(GL_WRITE_ONLY));
3040
+ rb_define_const(module, "GL_WRITE_ONLY_ARB", INT2NUM(GL_WRITE_ONLY_ARB));
2885
3041
  rb_define_const(module, "GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV", INT2NUM(GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV));
2886
3042
  rb_define_const(module, "GL_WRITE_PIXEL_DATA_RANGE_NV", INT2NUM(GL_WRITE_PIXEL_DATA_RANGE_NV));
2887
3043
  rb_define_const(module, "GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV", INT2NUM(GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV));
2888
- rb_define_const(module, "GL_X_EXT", INT2NUM(GL_X_EXT));
3044
+ rb_define_const(module, "GL_W_EXT", INT2NUM(GL_W_EXT));
2889
3045
  rb_define_const(module, "GL_XOR", INT2NUM(GL_XOR));
3046
+ rb_define_const(module, "GL_X_EXT", INT2NUM(GL_X_EXT));
2890
3047
  rb_define_const(module, "GL_YCBCR_422_APPLE", INT2NUM(GL_YCBCR_422_APPLE));
2891
3048
  rb_define_const(module, "GL_YCBCR_MESA", INT2NUM(GL_YCBCR_MESA));
3049
+ rb_define_const(module, "GL_YCRCBA_SGIX", INT2NUM(GL_YCRCBA_SGIX));
2892
3050
  rb_define_const(module, "GL_YCRCB_422_SGIX", INT2NUM(GL_YCRCB_422_SGIX));
2893
3051
  rb_define_const(module, "GL_YCRCB_444_SGIX", INT2NUM(GL_YCRCB_444_SGIX));
2894
- rb_define_const(module, "GL_YCRCBA_SGIX", INT2NUM(GL_YCRCBA_SGIX));
2895
3052
  rb_define_const(module, "GL_YCRCB_SGIX", INT2NUM(GL_YCRCB_SGIX));
2896
3053
  rb_define_const(module, "GL_Y_EXT", INT2NUM(GL_Y_EXT));
2897
- rb_define_const(module, "GL_ZERO_EXT", INT2NUM(GL_ZERO_EXT));
2898
3054
  rb_define_const(module, "GL_ZERO", INT2NUM(GL_ZERO));
2899
- rb_define_const(module, "GL_Z_EXT", INT2NUM(GL_Z_EXT));
3055
+ rb_define_const(module, "GL_ZERO_EXT", INT2NUM(GL_ZERO_EXT));
2900
3056
  rb_define_const(module, "GL_ZOOM_X", INT2NUM(GL_ZOOM_X));
2901
3057
  rb_define_const(module, "GL_ZOOM_Y", INT2NUM(GL_ZOOM_Y));
2902
- /**/
2903
- rb_define_const(module, "GL_ALL_CLIENT_ATTRIB_BITS", INT2NUM(GL_ALL_CLIENT_ATTRIB_BITS));
3058
+ rb_define_const(module, "GL_Z_EXT", INT2NUM(GL_Z_EXT));
2904
3059
  }