From ebacdc829f41e02148da9af98564c17a881dfafa Mon Sep 17 00:00:00 2001 From: John Tsiombikas Date: Sat, 25 Aug 2018 07:49:57 +0300 Subject: [PATCH] fixed bug in meshload. it would always expect it's loading obj files with quads. --- src/meshload.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meshload.c b/src/meshload.c index 7e3bd29..493af78 100644 --- a/src/meshload.c +++ b/src/meshload.c @@ -200,7 +200,7 @@ int load_mesh(struct g3d_mesh *mesh, const char *fname) } } } - if(i >= 3) found_quad = 1; + if(i > 3) found_quad = 1; } break; -- 1.7.10.4