imgui-bindings 0.1.7 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
data/lib/imgui.x86_64.so CHANGED
Binary file
@@ -55,7 +55,7 @@ module ImGui
55
55
 
56
56
  # Render command lists
57
57
  draw_data[:CmdListsCount].times do |n|
58
- cmd_list = ImDrawList.new((draw_data[:CmdLists].pointer + 8 * n).read_pointer) # 8 == const ImDrawList*
58
+ cmd_list = ImDrawList.new((draw_data[:CmdLists][:Data] + 8 * n).read_pointer) # 8 == const ImDrawList*
59
59
  vtx_buffer = ImDrawVert.new(cmd_list[:VtxBuffer][:Data]) # const ImDrawVert*
60
60
  idx_buffer = cmd_list[:IdxBuffer][:Data] # const ImDrawIdx*
61
61
  GL.VertexPointer(2, GL::FLOAT, ImDrawVert.size, Fiddle::Pointer.new((cmd_list[:VtxBuffer][:Data] + vtx_buffer.offset_of(:pos))) )
@@ -139,7 +139,7 @@ module ImGui
139
139
  # Render command lists
140
140
  draw_data[:CmdListsCount].times do |n|
141
141
 
142
- cmd_list = ImDrawList.new((draw_data[:CmdLists].pointer + 8 * n).read_pointer) # 8 == const ImDrawList*
142
+ cmd_list = ImDrawList.new((draw_data[:CmdLists][:Data] + 8 * n).read_pointer) # 8 == const ImDrawList*
143
143
  # vtx_buffer = ImDrawVert.new(cmd_list[:VtxBuffer][:Data]) # const ImDrawVert*
144
144
  # idx_buffer = cmd_list[:IdxBuffer][:Data] # const ImDrawIdx*
145
145
 
@@ -393,7 +393,7 @@ module ImGui
393
393
 
394
394
  clip_offset = draw_data[:DisplayPos]
395
395
  draw_data[:CmdListsCount].times do |n|
396
- cmd_list = ImDrawList.new((draw_data[:CmdLists].pointer + FFI.type_size(:pointer) * n).read_pointer)
396
+ cmd_list = ImDrawList.new((draw_data[:CmdLists][:Data] + FFI.type_size(:pointer) * n).read_pointer)
397
397
  vtx_buffer = cmd_list[:VtxBuffer][:Data] # const ImDrawVert*
398
398
  idx_buffer = cmd_list[:IdxBuffer][:Data] # const ImDrawIdx*
399
399
 
@@ -99,7 +99,7 @@ module ImGui
99
99
  # Render command lists
100
100
  ImplSDLRenderer_SetupRenderState()
101
101
  draw_data[:CmdListsCount].times do |n|
102
- cmd_list = ImDrawList.new((draw_data[:CmdLists].pointer + FFI.type_size(:pointer) * n).read_pointer)
102
+ cmd_list = ImDrawList.new((draw_data[:CmdLists][:Data] + FFI.type_size(:pointer) * n).read_pointer)
103
103
  vtx_buffer = cmd_list[:VtxBuffer][:Data] # const ImDrawVert*
104
104
  idx_buffer = cmd_list[:IdxBuffer][:Data] # const ImDrawIdx*
105
105
 
Binary file
data/lib/imnodes.dll CHANGED
Binary file
data/lib/imnodes.dylib CHANGED
Binary file
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: imgui-bindings
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - vaiorabbit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-29 00:00:00.000000000 Z
11
+ date: 2023-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -86,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
86
86
  - !ruby/object:Gem::Version
87
87
  version: '0'
88
88
  requirements: []
89
- rubygems_version: 3.4.14
89
+ rubygems_version: 3.4.20
90
90
  signing_key:
91
91
  specification_version: 4
92
92
  summary: Bindings for Dear ImGui