roglew 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -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, border, internalFormat, format, type, data)
34
- make_call(:glTexImage2D, @target, 0, internalFormat, width, height, border, format, type, data)
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
@@ -10,7 +10,7 @@
10
10
  '.each { |f| require f }
11
11
 
12
12
  module Roglew
13
- VERSION = '0.2.2'
13
+ VERSION = '0.2.3'
14
14
 
15
15
  PLATFORM = case
16
16
  when Platform.local.windows? then 'windows'
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.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.2
612
- Changes:\n - Added missing references to texture2d.rb.\n =================================================\n\n
613
- \ If you like what you see, support us on Pledgie:\n http://www.pledgie.com/campaigns/18830\n\n
614
- \ If you find any bugs, please report them on\n https://github.com/SilverPhoenix99/roglew/issues\n\n+---------------------------------------------------+\n"
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