Browse Source

add FIXME for mesh_group diffuse texture storage

render_group_fix
cinnaboot 5 years ago
parent
commit
d128181d6b
  1. 2
      include/mesh.h

2
include/mesh.h

@ -22,6 +22,8 @@ struct mesh_info
glm::vec3* texture_coords; // NOTE: stay aligned with other buffers
uint num_indices;
uint* indices;
// FIXME: WTF? why are we storing a copy of the texture on each mesh_info
// instead of once per mesh_group?
util_image diffuse_texture;
node_animation* node_anim;
};

Loading…
Cancel
Save