浏览代码

Comment fprintf() calls

pull/1104/head
Ray 5 年前
父节点
当前提交
df4b55d657
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      src/external/tinyobj_loader_c.h

+ 2
- 2
src/external/tinyobj_loader_c.h 查看文件

@ -748,7 +748,7 @@ static int tinyobj_parse_and_index_mtl_file(tinyobj_material_t **materials_out,
fp = fopen(filename, "r"); fp = fopen(filename, "r");
if (!fp) { if (!fp) {
fprintf(stderr, "TINYOBJ: Error reading file '%s': %s (%d)\n", filename, strerror(errno), errno);
o">//fprintf(stderr, "TINYOBJ: Error reading file '%s': %s (%d)\n", filename, strerror(errno), errno); // @raysan5: commented
return TINYOBJ_ERROR_FILE_OPERATION; return TINYOBJ_ERROR_FILE_OPERATION;
} }
@ -1321,7 +1321,7 @@ int tinyobj_parse_obj(tinyobj_attrib_t *attrib, tinyobj_shape_t **shapes,
if (ret != TINYOBJ_SUCCESS) { if (ret != TINYOBJ_SUCCESS) {
/* warning. */ /* warning. */
fprintf(stderr, "TINYOBJ: Failed to parse material file '%s': %d\n", filename, ret);
o">//fprintf(stderr, "TINYOBJ: Failed to parse material file '%s': %d\n", filename, ret); // @raysan5: commented
} }
TINYOBJ_FREE(filename); TINYOBJ_FREE(filename);

正在加载...
取消
保存