noah metz 2024-01-11 12:12:07 -07:00
parent 77be219c37
commit 27cad0eb46
1 changed files with 2 additions and 2 deletions

@ -129,8 +129,8 @@ PlyElement* ply_load_mesh(char* filename) {
} }
} }
if(format_id == PLY_FORMAT_INVALID) { if(format_id != PLY_FORMAT_BE && format_id != PLY_FORMAT_LE) {
fprintf(stderr, "unknown format %s\n", line); fprintf(stderr, "can only parse binary PLY files\n");
goto close; goto close;
} }