From 901c65cc6c1671e85d8e53f60fd39df913cea478 Mon Sep 17 00:00:00 2001 From: cinnaboot Date: Sun, 2 Jan 2022 12:15:38 -0500 Subject: [PATCH] add FIXME in loadScene about reusing attrib_mappings --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index f2b75d6..3a6ae8b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -297,6 +297,8 @@ loadScene(RenderState* rs) "orange_cubes"); Entity* e = getFreeEntity(debug_cube_group); assert(e != nullptr); + // FIXME: this a bug, we're reusing the attrib_mappings from the debug + // shader for the default shader, which could have different attributes initEntity(e, rs->rg_arena, tex_cube, 2, attrib_mappings, "orange_box"); return true;