opengl-core 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 05964f13d0359fb02a9d64d0491de3cfd4886272
4
- data.tar.gz: a7104596d6a3047ea635c63d6095dd38a35254d3
3
+ metadata.gz: 162b6af567704b3023d1d505bfd4147e21602340
4
+ data.tar.gz: 46044113366b6a9c6a7786dba3d8c9c6a228ad77
5
5
  SHA512:
6
- metadata.gz: 70d646dea82adb574a7e01b7e3e46ae6892fb3b45a08b1fced247607670c2ce7ad7428eae259fe90a58103e63f2b4a1914aeb64466f25e0984f276d9a5729ea6
7
- data.tar.gz: 30113d11c0600670a585a4f21ea3874b2ccbae254b37cdde7621048aa45722a948dba3c76832d869d6ba8d11b9002d79f2a70475b16330eace255d0bd8c6418d
6
+ metadata.gz: 7b3364888aed97e5b7f0ec0613d19686ca82a871af41e0c90eb0005cd4af3c5edefdb8b2b0d7ec83a6794324e6d2582077569093b42df0d03ea200cd43a4f87b
7
+ data.tar.gz: 427c399af677b8d3d683c1e4b7169eb0f7bf537b3fb2c8da5ba076d90154ff6245e9bf42954e01f2f7195a90d517ffbf4505ce473287a5f54ff5914c6f43a959
data/README.md CHANGED
@@ -85,12 +85,15 @@ licensed under the same license as the rest of opengl-core.
85
85
  [GitHub]: https://github.com/nilium/ruby-opengl
86
86
 
87
87
 
88
- Contributors
88
+ Acknowledgmenets
89
89
  ------------
90
90
 
91
- Contributors listed in no particular order:
91
+ opengl-core has received contributions and other help from the following people:
92
92
 
93
93
  - [Noel Cower](https://github.com/nilium)
94
+ - [Nogbit](https://github.com/Nogbit)
95
+ - [Justin Scott](https://github.com/JScott)
96
+ - [John Woods](https://github.com/mohawkjohn)
94
97
 
95
98
 
96
99
  License
@@ -248,7 +248,7 @@ module GL
248
248
 
249
249
  # @api raw
250
250
  def glColorMask__(red_, green_, blue_, alpha_)
251
- GLSym.load_sym(:glColorMask).call(red_, green_, blue_, alpha_)
251
+ GLSym.load_sym(:glColorMask).call((red_.kind_of?(Integer) ? red_ : (red_ ? GL::GL_TRUE : GL::GL_FALSE)), (green_.kind_of?(Integer) ? green_ : (green_ ? GL::GL_TRUE : GL::GL_FALSE)), (blue_.kind_of?(Integer) ? blue_ : (blue_ ? GL::GL_TRUE : GL::GL_FALSE)), (alpha_.kind_of?(Integer) ? alpha_ : (alpha_ ? GL::GL_TRUE : GL::GL_FALSE)))
252
252
  end
253
253
 
254
254
  alias_method :'glColorMask', :'glColorMask__'
@@ -260,7 +260,7 @@ module GL
260
260
 
261
261
  # @api raw
262
262
  def glDepthMask__(flag_)
263
- GLSym.load_sym(:glDepthMask).call(flag_)
263
+ GLSym.load_sym(:glDepthMask).call((flag_.kind_of?(Integer) ? flag_ : (flag_ ? GL::GL_TRUE : GL::GL_FALSE)))
264
264
  end
265
265
 
266
266
  alias_method :'glDepthMask', :'glDepthMask__'
@@ -560,7 +560,7 @@ module GL
560
560
 
561
561
  # @api raw
562
562
  def glIsEnabled__(cap_)
563
- GLSym.load_sym(:glIsEnabled).call(cap_)
563
+ GLSym.load_sym(:glIsEnabled).call(cap_) == GL_TRUE
564
564
  end
565
565
 
566
566
  alias_method :'glIsEnabled', :'glIsEnabled__'
@@ -740,7 +740,7 @@ module GL
740
740
 
741
741
  # @api raw
742
742
  def glIsTexture__(texture_)
743
- GLSym.load_sym(:glIsTexture).call(texture_)
743
+ GLSym.load_sym(:glIsTexture).call(texture_) == GL_TRUE
744
744
  end
745
745
 
746
746
  alias_method :'glIsTexture', :'glIsTexture__'
@@ -812,7 +812,7 @@ module GL
812
812
 
813
813
  # @api raw
814
814
  def glSampleCoverage__(value_, invert_)
815
- GLSym.load_sym(:glSampleCoverage).call(value_, invert_)
815
+ GLSym.load_sym(:glSampleCoverage).call(value_, (invert_.kind_of?(Integer) ? invert_ : (invert_ ? GL::GL_TRUE : GL::GL_FALSE)))
816
816
  end
817
817
 
818
818
  alias_method :'glSampleCoverage', :'glSampleCoverage__'
@@ -1040,7 +1040,7 @@ module GL
1040
1040
 
1041
1041
  # @api raw
1042
1042
  def glIsQuery__(id_)
1043
- GLSym.load_sym(:glIsQuery).call(id_)
1043
+ GLSym.load_sym(:glIsQuery).call(id_) == GL_TRUE
1044
1044
  end
1045
1045
 
1046
1046
  alias_method :'glIsQuery', :'glIsQuery__'
@@ -1148,7 +1148,7 @@ module GL
1148
1148
 
1149
1149
  # @api raw
1150
1150
  def glIsBuffer__(buffer_)
1151
- GLSym.load_sym(:glIsBuffer).call(buffer_)
1151
+ GLSym.load_sym(:glIsBuffer).call(buffer_) == GL_TRUE
1152
1152
  end
1153
1153
 
1154
1154
  alias_method :'glIsBuffer', :'glIsBuffer__'
@@ -1208,7 +1208,7 @@ module GL
1208
1208
 
1209
1209
  # @api raw
1210
1210
  def glUnmapBuffer__(target_)
1211
- GLSym.load_sym(:glUnmapBuffer).call(target_)
1211
+ GLSym.load_sym(:glUnmapBuffer).call(target_) == GL_TRUE
1212
1212
  end
1213
1213
 
1214
1214
  alias_method :'glUnmapBuffer', :'glUnmapBuffer__'
@@ -1616,7 +1616,7 @@ module GL
1616
1616
 
1617
1617
  # @api raw
1618
1618
  def glIsProgram__(program_)
1619
- GLSym.load_sym(:glIsProgram).call(program_)
1619
+ GLSym.load_sym(:glIsProgram).call(program_) == GL_TRUE
1620
1620
  end
1621
1621
 
1622
1622
  alias_method :'glIsProgram', :'glIsProgram__'
@@ -1628,7 +1628,7 @@ module GL
1628
1628
 
1629
1629
  # @api raw
1630
1630
  def glIsShader__(shader_)
1631
- GLSym.load_sym(:glIsShader).call(shader_)
1631
+ GLSym.load_sym(:glIsShader).call(shader_) == GL_TRUE
1632
1632
  end
1633
1633
 
1634
1634
  alias_method :'glIsShader', :'glIsShader__'
@@ -1868,7 +1868,7 @@ module GL
1868
1868
 
1869
1869
  # @api raw
1870
1870
  def glUniformMatrix2fv__(location_, count_, transpose_, value_)
1871
- GLSym.load_sym(:glUniformMatrix2fv).call(location_, count_, transpose_, value_)
1871
+ GLSym.load_sym(:glUniformMatrix2fv).call(location_, count_, (transpose_.kind_of?(Integer) ? transpose_ : (transpose_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
1872
1872
  end
1873
1873
 
1874
1874
  alias_method :'glUniformMatrix2fv', :'glUniformMatrix2fv__'
@@ -1880,7 +1880,7 @@ module GL
1880
1880
 
1881
1881
  # @api raw
1882
1882
  def glUniformMatrix3fv__(location_, count_, transpose_, value_)
1883
- GLSym.load_sym(:glUniformMatrix3fv).call(location_, count_, transpose_, value_)
1883
+ GLSym.load_sym(:glUniformMatrix3fv).call(location_, count_, (transpose_.kind_of?(Integer) ? transpose_ : (transpose_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
1884
1884
  end
1885
1885
 
1886
1886
  alias_method :'glUniformMatrix3fv', :'glUniformMatrix3fv__'
@@ -1892,7 +1892,7 @@ module GL
1892
1892
 
1893
1893
  # @api raw
1894
1894
  def glUniformMatrix4fv__(location_, count_, transpose_, value_)
1895
- GLSym.load_sym(:glUniformMatrix4fv).call(location_, count_, transpose_, value_)
1895
+ GLSym.load_sym(:glUniformMatrix4fv).call(location_, count_, (transpose_.kind_of?(Integer) ? transpose_ : (transpose_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
1896
1896
  end
1897
1897
 
1898
1898
  alias_method :'glUniformMatrix4fv', :'glUniformMatrix4fv__'
@@ -2348,7 +2348,7 @@ module GL
2348
2348
 
2349
2349
  # @api raw
2350
2350
  def glVertexAttribPointer__(index_, size_, type_, normalized_, stride_, pointer_)
2351
- GLSym.load_sym(:glVertexAttribPointer).call(index_, size_, type_, normalized_, stride_, pointer_)
2351
+ GLSym.load_sym(:glVertexAttribPointer).call(index_, size_, type_, (normalized_.kind_of?(Integer) ? normalized_ : (normalized_ ? GL::GL_TRUE : GL::GL_FALSE)), stride_, pointer_)
2352
2352
  end
2353
2353
 
2354
2354
  alias_method :'glVertexAttribPointer', :'glVertexAttribPointer__'
@@ -2360,7 +2360,7 @@ module GL
2360
2360
 
2361
2361
  # @api raw
2362
2362
  def glUniformMatrix2x3fv__(location_, count_, transpose_, value_)
2363
- GLSym.load_sym(:glUniformMatrix2x3fv).call(location_, count_, transpose_, value_)
2363
+ GLSym.load_sym(:glUniformMatrix2x3fv).call(location_, count_, (transpose_.kind_of?(Integer) ? transpose_ : (transpose_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
2364
2364
  end
2365
2365
 
2366
2366
  alias_method :'glUniformMatrix2x3fv', :'glUniformMatrix2x3fv__'
@@ -2372,7 +2372,7 @@ module GL
2372
2372
 
2373
2373
  # @api raw
2374
2374
  def glUniformMatrix3x2fv__(location_, count_, transpose_, value_)
2375
- GLSym.load_sym(:glUniformMatrix3x2fv).call(location_, count_, transpose_, value_)
2375
+ GLSym.load_sym(:glUniformMatrix3x2fv).call(location_, count_, (transpose_.kind_of?(Integer) ? transpose_ : (transpose_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
2376
2376
  end
2377
2377
 
2378
2378
  alias_method :'glUniformMatrix3x2fv', :'glUniformMatrix3x2fv__'
@@ -2384,7 +2384,7 @@ module GL
2384
2384
 
2385
2385
  # @api raw
2386
2386
  def glUniformMatrix2x4fv__(location_, count_, transpose_, value_)
2387
- GLSym.load_sym(:glUniformMatrix2x4fv).call(location_, count_, transpose_, value_)
2387
+ GLSym.load_sym(:glUniformMatrix2x4fv).call(location_, count_, (transpose_.kind_of?(Integer) ? transpose_ : (transpose_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
2388
2388
  end
2389
2389
 
2390
2390
  alias_method :'glUniformMatrix2x4fv', :'glUniformMatrix2x4fv__'
@@ -2396,7 +2396,7 @@ module GL
2396
2396
 
2397
2397
  # @api raw
2398
2398
  def glUniformMatrix4x2fv__(location_, count_, transpose_, value_)
2399
- GLSym.load_sym(:glUniformMatrix4x2fv).call(location_, count_, transpose_, value_)
2399
+ GLSym.load_sym(:glUniformMatrix4x2fv).call(location_, count_, (transpose_.kind_of?(Integer) ? transpose_ : (transpose_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
2400
2400
  end
2401
2401
 
2402
2402
  alias_method :'glUniformMatrix4x2fv', :'glUniformMatrix4x2fv__'
@@ -2408,7 +2408,7 @@ module GL
2408
2408
 
2409
2409
  # @api raw
2410
2410
  def glUniformMatrix3x4fv__(location_, count_, transpose_, value_)
2411
- GLSym.load_sym(:glUniformMatrix3x4fv).call(location_, count_, transpose_, value_)
2411
+ GLSym.load_sym(:glUniformMatrix3x4fv).call(location_, count_, (transpose_.kind_of?(Integer) ? transpose_ : (transpose_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
2412
2412
  end
2413
2413
 
2414
2414
  alias_method :'glUniformMatrix3x4fv', :'glUniformMatrix3x4fv__'
@@ -2420,7 +2420,7 @@ module GL
2420
2420
 
2421
2421
  # @api raw
2422
2422
  def glUniformMatrix4x3fv__(location_, count_, transpose_, value_)
2423
- GLSym.load_sym(:glUniformMatrix4x3fv).call(location_, count_, transpose_, value_)
2423
+ GLSym.load_sym(:glUniformMatrix4x3fv).call(location_, count_, (transpose_.kind_of?(Integer) ? transpose_ : (transpose_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
2424
2424
  end
2425
2425
 
2426
2426
  alias_method :'glUniformMatrix4x3fv', :'glUniformMatrix4x3fv__'
@@ -2432,7 +2432,7 @@ module GL
2432
2432
 
2433
2433
  # @api raw
2434
2434
  def glColorMaski__(index_, r_, g_, b_, a_)
2435
- GLSym.load_sym(:glColorMaski).call(index_, r_, g_, b_, a_)
2435
+ GLSym.load_sym(:glColorMaski).call(index_, (r_.kind_of?(Integer) ? r_ : (r_ ? GL::GL_TRUE : GL::GL_FALSE)), (g_.kind_of?(Integer) ? g_ : (g_ ? GL::GL_TRUE : GL::GL_FALSE)), (b_.kind_of?(Integer) ? b_ : (b_ ? GL::GL_TRUE : GL::GL_FALSE)), (a_.kind_of?(Integer) ? a_ : (a_ ? GL::GL_TRUE : GL::GL_FALSE)))
2436
2436
  end
2437
2437
 
2438
2438
  alias_method :'glColorMaski', :'glColorMaski__'
@@ -2492,7 +2492,7 @@ module GL
2492
2492
 
2493
2493
  # @api raw
2494
2494
  def glIsEnabledi__(target_, index_)
2495
- GLSym.load_sym(:glIsEnabledi).call(target_, index_)
2495
+ GLSym.load_sym(:glIsEnabledi).call(target_, index_) == GL_TRUE
2496
2496
  end
2497
2497
 
2498
2498
  alias_method :'glIsEnabledi', :'glIsEnabledi__'
@@ -3128,7 +3128,7 @@ module GL
3128
3128
 
3129
3129
  # @api raw
3130
3130
  def glIsRenderbuffer__(renderbuffer_)
3131
- GLSym.load_sym(:glIsRenderbuffer).call(renderbuffer_)
3131
+ GLSym.load_sym(:glIsRenderbuffer).call(renderbuffer_) == GL_TRUE
3132
3132
  end
3133
3133
 
3134
3134
  alias_method :'glIsRenderbuffer', :'glIsRenderbuffer__'
@@ -3200,7 +3200,7 @@ module GL
3200
3200
 
3201
3201
  # @api raw
3202
3202
  def glIsFramebuffer__(framebuffer_)
3203
- GLSym.load_sym(:glIsFramebuffer).call(framebuffer_)
3203
+ GLSym.load_sym(:glIsFramebuffer).call(framebuffer_) == GL_TRUE
3204
3204
  end
3205
3205
 
3206
3206
  alias_method :'glIsFramebuffer', :'glIsFramebuffer__'
@@ -3428,7 +3428,7 @@ module GL
3428
3428
 
3429
3429
  # @api raw
3430
3430
  def glIsVertexArray__(array_)
3431
- GLSym.load_sym(:glIsVertexArray).call(array_)
3431
+ GLSym.load_sym(:glIsVertexArray).call(array_) == GL_TRUE
3432
3432
  end
3433
3433
 
3434
3434
  alias_method :'glIsVertexArray', :'glIsVertexArray__'
@@ -3656,7 +3656,7 @@ module GL
3656
3656
 
3657
3657
  # @api raw
3658
3658
  def glIsSync__(sync_)
3659
- GLSym.load_sym(:glIsSync).call(sync_)
3659
+ GLSym.load_sym(:glIsSync).call(sync_) == GL_TRUE
3660
3660
  end
3661
3661
 
3662
3662
  alias_method :'glIsSync', :'glIsSync__'
@@ -3764,7 +3764,7 @@ module GL
3764
3764
 
3765
3765
  # @api raw
3766
3766
  def glTexImage2DMultisample__(target_, samples_, internalformat_, width_, height_, fixedsamplelocations_)
3767
- GLSym.load_sym(:glTexImage2DMultisample).call(target_, samples_, internalformat_, width_, height_, fixedsamplelocations_)
3767
+ GLSym.load_sym(:glTexImage2DMultisample).call(target_, samples_, internalformat_, width_, height_, (fixedsamplelocations_.kind_of?(Integer) ? fixedsamplelocations_ : (fixedsamplelocations_ ? GL::GL_TRUE : GL::GL_FALSE)))
3768
3768
  end
3769
3769
 
3770
3770
  alias_method :'glTexImage2DMultisample', :'glTexImage2DMultisample__'
@@ -3776,7 +3776,7 @@ module GL
3776
3776
 
3777
3777
  # @api raw
3778
3778
  def glTexImage3DMultisample__(target_, samples_, internalformat_, width_, height_, depth_, fixedsamplelocations_)
3779
- GLSym.load_sym(:glTexImage3DMultisample).call(target_, samples_, internalformat_, width_, height_, depth_, fixedsamplelocations_)
3779
+ GLSym.load_sym(:glTexImage3DMultisample).call(target_, samples_, internalformat_, width_, height_, depth_, (fixedsamplelocations_.kind_of?(Integer) ? fixedsamplelocations_ : (fixedsamplelocations_ ? GL::GL_TRUE : GL::GL_FALSE)))
3780
3780
  end
3781
3781
 
3782
3782
  alias_method :'glTexImage3DMultisample', :'glTexImage3DMultisample__'
@@ -3860,7 +3860,7 @@ module GL
3860
3860
 
3861
3861
  # @api raw
3862
3862
  def glIsSampler__(sampler_)
3863
- GLSym.load_sym(:glIsSampler).call(sampler_)
3863
+ GLSym.load_sym(:glIsSampler).call(sampler_) == GL_TRUE
3864
3864
  end
3865
3865
 
3866
3866
  alias_method :'glIsSampler', :'glIsSampler__'
@@ -4052,7 +4052,7 @@ module GL
4052
4052
 
4053
4053
  # @api raw
4054
4054
  def glVertexAttribP1ui__(index_, type_, normalized_, value_)
4055
- GLSym.load_sym(:glVertexAttribP1ui).call(index_, type_, normalized_, value_)
4055
+ GLSym.load_sym(:glVertexAttribP1ui).call(index_, type_, (normalized_.kind_of?(Integer) ? normalized_ : (normalized_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
4056
4056
  end
4057
4057
 
4058
4058
  alias_method :'glVertexAttribP1ui', :'glVertexAttribP1ui__'
@@ -4064,7 +4064,7 @@ module GL
4064
4064
 
4065
4065
  # @api raw
4066
4066
  def glVertexAttribP1uiv__(index_, type_, normalized_, value_)
4067
- GLSym.load_sym(:glVertexAttribP1uiv).call(index_, type_, normalized_, value_)
4067
+ GLSym.load_sym(:glVertexAttribP1uiv).call(index_, type_, (normalized_.kind_of?(Integer) ? normalized_ : (normalized_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
4068
4068
  end
4069
4069
 
4070
4070
  alias_method :'glVertexAttribP1uiv', :'glVertexAttribP1uiv__'
@@ -4076,7 +4076,7 @@ module GL
4076
4076
 
4077
4077
  # @api raw
4078
4078
  def glVertexAttribP2ui__(index_, type_, normalized_, value_)
4079
- GLSym.load_sym(:glVertexAttribP2ui).call(index_, type_, normalized_, value_)
4079
+ GLSym.load_sym(:glVertexAttribP2ui).call(index_, type_, (normalized_.kind_of?(Integer) ? normalized_ : (normalized_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
4080
4080
  end
4081
4081
 
4082
4082
  alias_method :'glVertexAttribP2ui', :'glVertexAttribP2ui__'
@@ -4088,7 +4088,7 @@ module GL
4088
4088
 
4089
4089
  # @api raw
4090
4090
  def glVertexAttribP2uiv__(index_, type_, normalized_, value_)
4091
- GLSym.load_sym(:glVertexAttribP2uiv).call(index_, type_, normalized_, value_)
4091
+ GLSym.load_sym(:glVertexAttribP2uiv).call(index_, type_, (normalized_.kind_of?(Integer) ? normalized_ : (normalized_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
4092
4092
  end
4093
4093
 
4094
4094
  alias_method :'glVertexAttribP2uiv', :'glVertexAttribP2uiv__'
@@ -4100,7 +4100,7 @@ module GL
4100
4100
 
4101
4101
  # @api raw
4102
4102
  def glVertexAttribP3ui__(index_, type_, normalized_, value_)
4103
- GLSym.load_sym(:glVertexAttribP3ui).call(index_, type_, normalized_, value_)
4103
+ GLSym.load_sym(:glVertexAttribP3ui).call(index_, type_, (normalized_.kind_of?(Integer) ? normalized_ : (normalized_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
4104
4104
  end
4105
4105
 
4106
4106
  alias_method :'glVertexAttribP3ui', :'glVertexAttribP3ui__'
@@ -4112,7 +4112,7 @@ module GL
4112
4112
 
4113
4113
  # @api raw
4114
4114
  def glVertexAttribP3uiv__(index_, type_, normalized_, value_)
4115
- GLSym.load_sym(:glVertexAttribP3uiv).call(index_, type_, normalized_, value_)
4115
+ GLSym.load_sym(:glVertexAttribP3uiv).call(index_, type_, (normalized_.kind_of?(Integer) ? normalized_ : (normalized_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
4116
4116
  end
4117
4117
 
4118
4118
  alias_method :'glVertexAttribP3uiv', :'glVertexAttribP3uiv__'
@@ -4124,7 +4124,7 @@ module GL
4124
4124
 
4125
4125
  # @api raw
4126
4126
  def glVertexAttribP4ui__(index_, type_, normalized_, value_)
4127
- GLSym.load_sym(:glVertexAttribP4ui).call(index_, type_, normalized_, value_)
4127
+ GLSym.load_sym(:glVertexAttribP4ui).call(index_, type_, (normalized_.kind_of?(Integer) ? normalized_ : (normalized_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
4128
4128
  end
4129
4129
 
4130
4130
  alias_method :'glVertexAttribP4ui', :'glVertexAttribP4ui__'
@@ -4136,7 +4136,7 @@ module GL
4136
4136
 
4137
4137
  # @api raw
4138
4138
  def glVertexAttribP4uiv__(index_, type_, normalized_, value_)
4139
- GLSym.load_sym(:glVertexAttribP4uiv).call(index_, type_, normalized_, value_)
4139
+ GLSym.load_sym(:glVertexAttribP4uiv).call(index_, type_, (normalized_.kind_of?(Integer) ? normalized_ : (normalized_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
4140
4140
  end
4141
4141
 
4142
4142
  alias_method :'glVertexAttribP4uiv', :'glVertexAttribP4uiv__'
@@ -4688,7 +4688,7 @@ module GL
4688
4688
 
4689
4689
  # @api raw
4690
4690
  def glUniformMatrix2dv__(location_, count_, transpose_, value_)
4691
- GLSym.load_sym(:glUniformMatrix2dv).call(location_, count_, transpose_, value_)
4691
+ GLSym.load_sym(:glUniformMatrix2dv).call(location_, count_, (transpose_.kind_of?(Integer) ? transpose_ : (transpose_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
4692
4692
  end
4693
4693
 
4694
4694
  alias_method :'glUniformMatrix2dv', :'glUniformMatrix2dv__'
@@ -4700,7 +4700,7 @@ module GL
4700
4700
 
4701
4701
  # @api raw
4702
4702
  def glUniformMatrix3dv__(location_, count_, transpose_, value_)
4703
- GLSym.load_sym(:glUniformMatrix3dv).call(location_, count_, transpose_, value_)
4703
+ GLSym.load_sym(:glUniformMatrix3dv).call(location_, count_, (transpose_.kind_of?(Integer) ? transpose_ : (transpose_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
4704
4704
  end
4705
4705
 
4706
4706
  alias_method :'glUniformMatrix3dv', :'glUniformMatrix3dv__'
@@ -4712,7 +4712,7 @@ module GL
4712
4712
 
4713
4713
  # @api raw
4714
4714
  def glUniformMatrix4dv__(location_, count_, transpose_, value_)
4715
- GLSym.load_sym(:glUniformMatrix4dv).call(location_, count_, transpose_, value_)
4715
+ GLSym.load_sym(:glUniformMatrix4dv).call(location_, count_, (transpose_.kind_of?(Integer) ? transpose_ : (transpose_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
4716
4716
  end
4717
4717
 
4718
4718
  alias_method :'glUniformMatrix4dv', :'glUniformMatrix4dv__'
@@ -4724,7 +4724,7 @@ module GL
4724
4724
 
4725
4725
  # @api raw
4726
4726
  def glUniformMatrix2x3dv__(location_, count_, transpose_, value_)
4727
- GLSym.load_sym(:glUniformMatrix2x3dv).call(location_, count_, transpose_, value_)
4727
+ GLSym.load_sym(:glUniformMatrix2x3dv).call(location_, count_, (transpose_.kind_of?(Integer) ? transpose_ : (transpose_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
4728
4728
  end
4729
4729
 
4730
4730
  alias_method :'glUniformMatrix2x3dv', :'glUniformMatrix2x3dv__'
@@ -4736,7 +4736,7 @@ module GL
4736
4736
 
4737
4737
  # @api raw
4738
4738
  def glUniformMatrix2x4dv__(location_, count_, transpose_, value_)
4739
- GLSym.load_sym(:glUniformMatrix2x4dv).call(location_, count_, transpose_, value_)
4739
+ GLSym.load_sym(:glUniformMatrix2x4dv).call(location_, count_, (transpose_.kind_of?(Integer) ? transpose_ : (transpose_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
4740
4740
  end
4741
4741
 
4742
4742
  alias_method :'glUniformMatrix2x4dv', :'glUniformMatrix2x4dv__'
@@ -4748,7 +4748,7 @@ module GL
4748
4748
 
4749
4749
  # @api raw
4750
4750
  def glUniformMatrix3x2dv__(location_, count_, transpose_, value_)
4751
- GLSym.load_sym(:glUniformMatrix3x2dv).call(location_, count_, transpose_, value_)
4751
+ GLSym.load_sym(:glUniformMatrix3x2dv).call(location_, count_, (transpose_.kind_of?(Integer) ? transpose_ : (transpose_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
4752
4752
  end
4753
4753
 
4754
4754
  alias_method :'glUniformMatrix3x2dv', :'glUniformMatrix3x2dv__'
@@ -4760,7 +4760,7 @@ module GL
4760
4760
 
4761
4761
  # @api raw
4762
4762
  def glUniformMatrix3x4dv__(location_, count_, transpose_, value_)
4763
- GLSym.load_sym(:glUniformMatrix3x4dv).call(location_, count_, transpose_, value_)
4763
+ GLSym.load_sym(:glUniformMatrix3x4dv).call(location_, count_, (transpose_.kind_of?(Integer) ? transpose_ : (transpose_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
4764
4764
  end
4765
4765
 
4766
4766
  alias_method :'glUniformMatrix3x4dv', :'glUniformMatrix3x4dv__'
@@ -4772,7 +4772,7 @@ module GL
4772
4772
 
4773
4773
  # @api raw
4774
4774
  def glUniformMatrix4x2dv__(location_, count_, transpose_, value_)
4775
- GLSym.load_sym(:glUniformMatrix4x2dv).call(location_, count_, transpose_, value_)
4775
+ GLSym.load_sym(:glUniformMatrix4x2dv).call(location_, count_, (transpose_.kind_of?(Integer) ? transpose_ : (transpose_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
4776
4776
  end
4777
4777
 
4778
4778
  alias_method :'glUniformMatrix4x2dv', :'glUniformMatrix4x2dv__'
@@ -4784,7 +4784,7 @@ module GL
4784
4784
 
4785
4785
  # @api raw
4786
4786
  def glUniformMatrix4x3dv__(location_, count_, transpose_, value_)
4787
- GLSym.load_sym(:glUniformMatrix4x3dv).call(location_, count_, transpose_, value_)
4787
+ GLSym.load_sym(:glUniformMatrix4x3dv).call(location_, count_, (transpose_.kind_of?(Integer) ? transpose_ : (transpose_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
4788
4788
  end
4789
4789
 
4790
4790
  alias_method :'glUniformMatrix4x3dv', :'glUniformMatrix4x3dv__'
@@ -4964,7 +4964,7 @@ module GL
4964
4964
 
4965
4965
  # @api raw
4966
4966
  def glIsTransformFeedback__(id_)
4967
- GLSym.load_sym(:glIsTransformFeedback).call(id_)
4967
+ GLSym.load_sym(:glIsTransformFeedback).call(id_) == GL_TRUE
4968
4968
  end
4969
4969
 
4970
4970
  alias_method :'glIsTransformFeedback', :'glIsTransformFeedback__'
@@ -5228,7 +5228,7 @@ module GL
5228
5228
 
5229
5229
  # @api raw
5230
5230
  def glIsProgramPipeline__(pipeline_)
5231
- GLSym.load_sym(:glIsProgramPipeline).call(pipeline_)
5231
+ GLSym.load_sym(:glIsProgramPipeline).call(pipeline_) == GL_TRUE
5232
5232
  end
5233
5233
 
5234
5234
  alias_method :'glIsProgramPipeline', :'glIsProgramPipeline__'
@@ -5636,7 +5636,7 @@ module GL
5636
5636
 
5637
5637
  # @api raw
5638
5638
  def glProgramUniformMatrix2fv__(program_, location_, count_, transpose_, value_)
5639
- GLSym.load_sym(:glProgramUniformMatrix2fv).call(program_, location_, count_, transpose_, value_)
5639
+ GLSym.load_sym(:glProgramUniformMatrix2fv).call(program_, location_, count_, (transpose_.kind_of?(Integer) ? transpose_ : (transpose_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
5640
5640
  end
5641
5641
 
5642
5642
  alias_method :'glProgramUniformMatrix2fv', :'glProgramUniformMatrix2fv__'
@@ -5648,7 +5648,7 @@ module GL
5648
5648
 
5649
5649
  # @api raw
5650
5650
  def glProgramUniformMatrix3fv__(program_, location_, count_, transpose_, value_)
5651
- GLSym.load_sym(:glProgramUniformMatrix3fv).call(program_, location_, count_, transpose_, value_)
5651
+ GLSym.load_sym(:glProgramUniformMatrix3fv).call(program_, location_, count_, (transpose_.kind_of?(Integer) ? transpose_ : (transpose_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
5652
5652
  end
5653
5653
 
5654
5654
  alias_method :'glProgramUniformMatrix3fv', :'glProgramUniformMatrix3fv__'
@@ -5660,7 +5660,7 @@ module GL
5660
5660
 
5661
5661
  # @api raw
5662
5662
  def glProgramUniformMatrix4fv__(program_, location_, count_, transpose_, value_)
5663
- GLSym.load_sym(:glProgramUniformMatrix4fv).call(program_, location_, count_, transpose_, value_)
5663
+ GLSym.load_sym(:glProgramUniformMatrix4fv).call(program_, location_, count_, (transpose_.kind_of?(Integer) ? transpose_ : (transpose_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
5664
5664
  end
5665
5665
 
5666
5666
  alias_method :'glProgramUniformMatrix4fv', :'glProgramUniformMatrix4fv__'
@@ -5672,7 +5672,7 @@ module GL
5672
5672
 
5673
5673
  # @api raw
5674
5674
  def glProgramUniformMatrix2dv__(program_, location_, count_, transpose_, value_)
5675
- GLSym.load_sym(:glProgramUniformMatrix2dv).call(program_, location_, count_, transpose_, value_)
5675
+ GLSym.load_sym(:glProgramUniformMatrix2dv).call(program_, location_, count_, (transpose_.kind_of?(Integer) ? transpose_ : (transpose_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
5676
5676
  end
5677
5677
 
5678
5678
  alias_method :'glProgramUniformMatrix2dv', :'glProgramUniformMatrix2dv__'
@@ -5684,7 +5684,7 @@ module GL
5684
5684
 
5685
5685
  # @api raw
5686
5686
  def glProgramUniformMatrix3dv__(program_, location_, count_, transpose_, value_)
5687
- GLSym.load_sym(:glProgramUniformMatrix3dv).call(program_, location_, count_, transpose_, value_)
5687
+ GLSym.load_sym(:glProgramUniformMatrix3dv).call(program_, location_, count_, (transpose_.kind_of?(Integer) ? transpose_ : (transpose_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
5688
5688
  end
5689
5689
 
5690
5690
  alias_method :'glProgramUniformMatrix3dv', :'glProgramUniformMatrix3dv__'
@@ -5696,7 +5696,7 @@ module GL
5696
5696
 
5697
5697
  # @api raw
5698
5698
  def glProgramUniformMatrix4dv__(program_, location_, count_, transpose_, value_)
5699
- GLSym.load_sym(:glProgramUniformMatrix4dv).call(program_, location_, count_, transpose_, value_)
5699
+ GLSym.load_sym(:glProgramUniformMatrix4dv).call(program_, location_, count_, (transpose_.kind_of?(Integer) ? transpose_ : (transpose_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
5700
5700
  end
5701
5701
 
5702
5702
  alias_method :'glProgramUniformMatrix4dv', :'glProgramUniformMatrix4dv__'
@@ -5708,7 +5708,7 @@ module GL
5708
5708
 
5709
5709
  # @api raw
5710
5710
  def glProgramUniformMatrix2x3fv__(program_, location_, count_, transpose_, value_)
5711
- GLSym.load_sym(:glProgramUniformMatrix2x3fv).call(program_, location_, count_, transpose_, value_)
5711
+ GLSym.load_sym(:glProgramUniformMatrix2x3fv).call(program_, location_, count_, (transpose_.kind_of?(Integer) ? transpose_ : (transpose_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
5712
5712
  end
5713
5713
 
5714
5714
  alias_method :'glProgramUniformMatrix2x3fv', :'glProgramUniformMatrix2x3fv__'
@@ -5720,7 +5720,7 @@ module GL
5720
5720
 
5721
5721
  # @api raw
5722
5722
  def glProgramUniformMatrix3x2fv__(program_, location_, count_, transpose_, value_)
5723
- GLSym.load_sym(:glProgramUniformMatrix3x2fv).call(program_, location_, count_, transpose_, value_)
5723
+ GLSym.load_sym(:glProgramUniformMatrix3x2fv).call(program_, location_, count_, (transpose_.kind_of?(Integer) ? transpose_ : (transpose_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
5724
5724
  end
5725
5725
 
5726
5726
  alias_method :'glProgramUniformMatrix3x2fv', :'glProgramUniformMatrix3x2fv__'
@@ -5732,7 +5732,7 @@ module GL
5732
5732
 
5733
5733
  # @api raw
5734
5734
  def glProgramUniformMatrix2x4fv__(program_, location_, count_, transpose_, value_)
5735
- GLSym.load_sym(:glProgramUniformMatrix2x4fv).call(program_, location_, count_, transpose_, value_)
5735
+ GLSym.load_sym(:glProgramUniformMatrix2x4fv).call(program_, location_, count_, (transpose_.kind_of?(Integer) ? transpose_ : (transpose_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
5736
5736
  end
5737
5737
 
5738
5738
  alias_method :'glProgramUniformMatrix2x4fv', :'glProgramUniformMatrix2x4fv__'
@@ -5744,7 +5744,7 @@ module GL
5744
5744
 
5745
5745
  # @api raw
5746
5746
  def glProgramUniformMatrix4x2fv__(program_, location_, count_, transpose_, value_)
5747
- GLSym.load_sym(:glProgramUniformMatrix4x2fv).call(program_, location_, count_, transpose_, value_)
5747
+ GLSym.load_sym(:glProgramUniformMatrix4x2fv).call(program_, location_, count_, (transpose_.kind_of?(Integer) ? transpose_ : (transpose_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
5748
5748
  end
5749
5749
 
5750
5750
  alias_method :'glProgramUniformMatrix4x2fv', :'glProgramUniformMatrix4x2fv__'
@@ -5756,7 +5756,7 @@ module GL
5756
5756
 
5757
5757
  # @api raw
5758
5758
  def glProgramUniformMatrix3x4fv__(program_, location_, count_, transpose_, value_)
5759
- GLSym.load_sym(:glProgramUniformMatrix3x4fv).call(program_, location_, count_, transpose_, value_)
5759
+ GLSym.load_sym(:glProgramUniformMatrix3x4fv).call(program_, location_, count_, (transpose_.kind_of?(Integer) ? transpose_ : (transpose_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
5760
5760
  end
5761
5761
 
5762
5762
  alias_method :'glProgramUniformMatrix3x4fv', :'glProgramUniformMatrix3x4fv__'
@@ -5768,7 +5768,7 @@ module GL
5768
5768
 
5769
5769
  # @api raw
5770
5770
  def glProgramUniformMatrix4x3fv__(program_, location_, count_, transpose_, value_)
5771
- GLSym.load_sym(:glProgramUniformMatrix4x3fv).call(program_, location_, count_, transpose_, value_)
5771
+ GLSym.load_sym(:glProgramUniformMatrix4x3fv).call(program_, location_, count_, (transpose_.kind_of?(Integer) ? transpose_ : (transpose_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
5772
5772
  end
5773
5773
 
5774
5774
  alias_method :'glProgramUniformMatrix4x3fv', :'glProgramUniformMatrix4x3fv__'
@@ -5780,7 +5780,7 @@ module GL
5780
5780
 
5781
5781
  # @api raw
5782
5782
  def glProgramUniformMatrix2x3dv__(program_, location_, count_, transpose_, value_)
5783
- GLSym.load_sym(:glProgramUniformMatrix2x3dv).call(program_, location_, count_, transpose_, value_)
5783
+ GLSym.load_sym(:glProgramUniformMatrix2x3dv).call(program_, location_, count_, (transpose_.kind_of?(Integer) ? transpose_ : (transpose_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
5784
5784
  end
5785
5785
 
5786
5786
  alias_method :'glProgramUniformMatrix2x3dv', :'glProgramUniformMatrix2x3dv__'
@@ -5792,7 +5792,7 @@ module GL
5792
5792
 
5793
5793
  # @api raw
5794
5794
  def glProgramUniformMatrix3x2dv__(program_, location_, count_, transpose_, value_)
5795
- GLSym.load_sym(:glProgramUniformMatrix3x2dv).call(program_, location_, count_, transpose_, value_)
5795
+ GLSym.load_sym(:glProgramUniformMatrix3x2dv).call(program_, location_, count_, (transpose_.kind_of?(Integer) ? transpose_ : (transpose_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
5796
5796
  end
5797
5797
 
5798
5798
  alias_method :'glProgramUniformMatrix3x2dv', :'glProgramUniformMatrix3x2dv__'
@@ -5804,7 +5804,7 @@ module GL
5804
5804
 
5805
5805
  # @api raw
5806
5806
  def glProgramUniformMatrix2x4dv__(program_, location_, count_, transpose_, value_)
5807
- GLSym.load_sym(:glProgramUniformMatrix2x4dv).call(program_, location_, count_, transpose_, value_)
5807
+ GLSym.load_sym(:glProgramUniformMatrix2x4dv).call(program_, location_, count_, (transpose_.kind_of?(Integer) ? transpose_ : (transpose_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
5808
5808
  end
5809
5809
 
5810
5810
  alias_method :'glProgramUniformMatrix2x4dv', :'glProgramUniformMatrix2x4dv__'
@@ -5816,7 +5816,7 @@ module GL
5816
5816
 
5817
5817
  # @api raw
5818
5818
  def glProgramUniformMatrix4x2dv__(program_, location_, count_, transpose_, value_)
5819
- GLSym.load_sym(:glProgramUniformMatrix4x2dv).call(program_, location_, count_, transpose_, value_)
5819
+ GLSym.load_sym(:glProgramUniformMatrix4x2dv).call(program_, location_, count_, (transpose_.kind_of?(Integer) ? transpose_ : (transpose_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
5820
5820
  end
5821
5821
 
5822
5822
  alias_method :'glProgramUniformMatrix4x2dv', :'glProgramUniformMatrix4x2dv__'
@@ -5828,7 +5828,7 @@ module GL
5828
5828
 
5829
5829
  # @api raw
5830
5830
  def glProgramUniformMatrix3x4dv__(program_, location_, count_, transpose_, value_)
5831
- GLSym.load_sym(:glProgramUniformMatrix3x4dv).call(program_, location_, count_, transpose_, value_)
5831
+ GLSym.load_sym(:glProgramUniformMatrix3x4dv).call(program_, location_, count_, (transpose_.kind_of?(Integer) ? transpose_ : (transpose_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
5832
5832
  end
5833
5833
 
5834
5834
  alias_method :'glProgramUniformMatrix3x4dv', :'glProgramUniformMatrix3x4dv__'
@@ -5840,7 +5840,7 @@ module GL
5840
5840
 
5841
5841
  # @api raw
5842
5842
  def glProgramUniformMatrix4x3dv__(program_, location_, count_, transpose_, value_)
5843
- GLSym.load_sym(:glProgramUniformMatrix4x3dv).call(program_, location_, count_, transpose_, value_)
5843
+ GLSym.load_sym(:glProgramUniformMatrix4x3dv).call(program_, location_, count_, (transpose_.kind_of?(Integer) ? transpose_ : (transpose_ ? GL::GL_TRUE : GL::GL_FALSE)), value_)
5844
5844
  end
5845
5845
 
5846
5846
  alias_method :'glProgramUniformMatrix4x3dv', :'glProgramUniformMatrix4x3dv__'
@@ -6176,7 +6176,7 @@ module GL
6176
6176
 
6177
6177
  # @api raw
6178
6178
  def glBindImageTexture__(unit_, texture_, level_, layered_, layer_, access_, format_)
6179
- GLSym.load_sym(:glBindImageTexture).call(unit_, texture_, level_, layered_, layer_, access_, format_)
6179
+ GLSym.load_sym(:glBindImageTexture).call(unit_, texture_, level_, (layered_.kind_of?(Integer) ? layered_ : (layered_ ? GL::GL_TRUE : GL::GL_FALSE)), layer_, access_, format_)
6180
6180
  end
6181
6181
 
6182
6182
  alias_method :'glBindImageTexture', :'glBindImageTexture__'
@@ -6548,7 +6548,7 @@ module GL
6548
6548
 
6549
6549
  # @api raw
6550
6550
  def glTexStorage2DMultisample__(target_, samples_, internalformat_, width_, height_, fixedsamplelocations_)
6551
- GLSym.load_sym(:glTexStorage2DMultisample).call(target_, samples_, internalformat_, width_, height_, fixedsamplelocations_)
6551
+ GLSym.load_sym(:glTexStorage2DMultisample).call(target_, samples_, internalformat_, width_, height_, (fixedsamplelocations_.kind_of?(Integer) ? fixedsamplelocations_ : (fixedsamplelocations_ ? GL::GL_TRUE : GL::GL_FALSE)))
6552
6552
  end
6553
6553
 
6554
6554
  alias_method :'glTexStorage2DMultisample', :'glTexStorage2DMultisample__'
@@ -6560,7 +6560,7 @@ module GL
6560
6560
 
6561
6561
  # @api raw
6562
6562
  def glTexStorage3DMultisample__(target_, samples_, internalformat_, width_, height_, depth_, fixedsamplelocations_)
6563
- GLSym.load_sym(:glTexStorage3DMultisample).call(target_, samples_, internalformat_, width_, height_, depth_, fixedsamplelocations_)
6563
+ GLSym.load_sym(:glTexStorage3DMultisample).call(target_, samples_, internalformat_, width_, height_, depth_, (fixedsamplelocations_.kind_of?(Integer) ? fixedsamplelocations_ : (fixedsamplelocations_ ? GL::GL_TRUE : GL::GL_FALSE)))
6564
6564
  end
6565
6565
 
6566
6566
  alias_method :'glTexStorage3DMultisample', :'glTexStorage3DMultisample__'
@@ -6596,7 +6596,7 @@ module GL
6596
6596
 
6597
6597
  # @api raw
6598
6598
  def glVertexAttribFormat__(attribindex_, size_, type_, normalized_, relativeoffset_)
6599
- GLSym.load_sym(:glVertexAttribFormat).call(attribindex_, size_, type_, normalized_, relativeoffset_)
6599
+ GLSym.load_sym(:glVertexAttribFormat).call(attribindex_, size_, type_, (normalized_.kind_of?(Integer) ? normalized_ : (normalized_ ? GL::GL_TRUE : GL::GL_FALSE)), relativeoffset_)
6600
6600
  end
6601
6601
 
6602
6602
  alias_method :'glVertexAttribFormat', :'glVertexAttribFormat__'
@@ -6656,7 +6656,7 @@ module GL
6656
6656
 
6657
6657
  # @api raw
6658
6658
  def glDebugMessageControl__(source_, type_, severity_, count_, ids_, enabled_)
6659
- GLSym.load_sym(:glDebugMessageControl).call(source_, type_, severity_, count_, ids_, enabled_)
6659
+ GLSym.load_sym(:glDebugMessageControl).call(source_, type_, severity_, count_, ids_, (enabled_.kind_of?(Integer) ? enabled_ : (enabled_ ? GL::GL_TRUE : GL::GL_FALSE)))
6660
6660
  end
6661
6661
 
6662
6662
  alias_method :'glDebugMessageControl', :'glDebugMessageControl__'
@@ -94,6 +94,12 @@ class FiddleSymbolLoader
94
94
  # returned if load_sym is called for the same name again.
95
95
  def load_sym(name, types)
96
96
  if @opengl_lib.nil?
97
+ # Platform detection based on code by Thomas Enebo, written for this
98
+ # Stack Overflow answer: http://stackoverflow.com/a/13586108/457812. As
99
+ # such, this particular bit of code is also available under the same
100
+ # terms as content on Stack Overflow unless there's some licensing issue
101
+ # I'm unaware of, in which case I assume it'll eventually be brought to
102
+ # my attention so I can fix things up.
97
103
  host = RbConfig::CONFIG['host_os']
98
104
  lib_path =
99
105
  case host
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opengl-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Noel Raymond Cower
@@ -50,7 +50,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: '2'
53
+ version: '2.0'
54
54
  required_rubygems_version: !ruby/object:Gem::Requirement
55
55
  requirements:
56
56
  - - ">="