From 50d107f27c8ee8980693f54d0fadbdd641516e2a Mon Sep 17 00:00:00 2001 From: rodri Date: Fri, 27 Sep 2024 10:48:47 +0000 Subject: remove pointless warning. it's a leftover from a previous version of the parser. --- marshal.c | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'marshal.c') diff --git a/marshal.c b/marshal.c index 4e7cacd..db6487c 100644 --- a/marshal.c +++ b/marshal.c @@ -227,24 +227,6 @@ rmmtltab(Mtltab *t) } } -/* - * TODO if materials are inserted between primitive declarations - * references to those materials from early primitives can cause - * out-of-bounds accesses. find a solution. - * - * example: - * - * mtl A { - * diffuse: 1 0 0 - * } - * prim ... A - * mtl B { - * diffuse: 1 0 0 - * } - * prim ... B - * - * now the reference to A is probably wrong because of realloc. - */ Model * readmodel(int fd) { -- cgit v1.2.3