From d128181d6b24b05c9f5db407b65435a1fa44e52e Mon Sep 17 00:00:00 2001 From: cinnaboot Date: Thu, 22 Jul 2021 19:47:58 -0400 Subject: [PATCH] add FIXME for mesh_group diffuse texture storage --- include/mesh.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/mesh.h b/include/mesh.h index 7dbd2e7..44e697f 100644 --- a/include/mesh.h +++ b/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; };