Skip to content

Commit

Permalink
Fix OpenGL::GeometryGroup (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
cbldev authored Dec 5, 2024
1 parent a694348 commit ae7d6e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mittsu/opengl_implementation/core/geometry.rb
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ def make_groups(uses_face_material = false)
group_hash = "#{hash_map[material_index][:hash]}_#{hash_map[material_index][:counter]}"

if !groups.include? group_hash
group = OpenGLGeometryGroup.new(material_index, num_morph_targets, num_morph_normals, @renderer)
group = OpenGL::GeometryGroup.new(material_index, num_morph_targets, num_morph_normals, @renderer)

groups[group_hash] = group
groups_list << group
Expand Down

0 comments on commit ae7d6e5

Please sign in to comment.