fixed bug in meshload. it would always expect it's loading obj files with quads.
authorJohn Tsiombikas <nuclear@member.fsf.org>
Sat, 25 Aug 2018 04:49:57 +0000 (07:49 +0300)
committerJohn Tsiombikas <nuclear@member.fsf.org>
Sat, 25 Aug 2018 04:49:57 +0000 (07:49 +0300)
src/meshload.c

index 7e3bd29..493af78 100644 (file)
@@ -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;