roglew 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/roglew/texture_context.rb +2 -2
- data/lib/roglew.rb +1 -1
- metadata +6 -5
@@ -30,8 +30,8 @@ module Roglew
|
|
30
30
|
make_call(:tex_parameter, @target, GL::TEXTURE_BORDER_COLOR, r, g, b, a)
|
31
31
|
end
|
32
32
|
|
33
|
-
def tex_image_2d(width, height,
|
34
|
-
make_call(:glTexImage2D, @target, 0, internalFormat, width, height,
|
33
|
+
def tex_image_2d(width, height, internalFormat, format, type, data)
|
34
|
+
make_call(:glTexImage2D, @target, 0, internalFormat, width, height, 0, format, type, data)
|
35
35
|
end
|
36
36
|
|
37
37
|
private
|
data/lib/roglew.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: roglew
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -608,10 +608,11 @@ files:
|
|
608
608
|
homepage: https://github.com/SilverPhoenix99/roglew
|
609
609
|
licenses: []
|
610
610
|
post_install_message: ! "+---------------------------------------------------+\n Thanks
|
611
|
-
for choosing Roglew.\n\n =================================================\n 0.2.
|
612
|
-
Changes:\n -
|
613
|
-
\ If you like what you see,
|
614
|
-
|
611
|
+
for choosing Roglew.\n\n =================================================\n 0.2.3
|
612
|
+
Changes:\n - Removed parameter `border` from\n TextureContext#tex_image_2d.\n
|
613
|
+
\ =================================================\n\n If you like what you see,
|
614
|
+
support us on Pledgie:\n http://www.pledgie.com/campaigns/18830\n\n If you find
|
615
|
+
any bugs, please report them on\n https://github.com/SilverPhoenix99/roglew/issues\n\n+---------------------------------------------------+\n"
|
615
616
|
rdoc_options: []
|
616
617
|
require_paths:
|
617
618
|
- lib
|