mirror of
https://github.com/thisistherk/fast_obj.git
synced 2025-04-04 21:15:04 +00:00
demo fix for breaking api changes in tinyobj v1.3
This commit is contained in:
parent
c32ce4ac6b
commit
b1f8f1b17f
2 changed files with 665 additions and 227 deletions
|
@ -48,7 +48,8 @@ static
|
||||||
bool read_tiny_obj(const char* path, tinyObj* o)
|
bool read_tiny_obj(const char* path, tinyObj* o)
|
||||||
{
|
{
|
||||||
std::string err;
|
std::string err;
|
||||||
return LoadObj(&o->attrib, &o->shapes, &o->materials, &err, path, 0, false);
|
std::string warn;
|
||||||
|
return LoadObj(&o->attrib, &o->shapes, &o->materials, &warn, &err, path, 0, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue