Show line number for some warning and error message.

This commit is contained in:
Syoyo Fujita
2018-10-10 13:33:11 +09:00
parent e07a835f02
commit 934788785e
2 changed files with 18 additions and 10 deletions

View File

@@ -385,7 +385,7 @@ static bool TestStreamLoadObj() {
std::string* err) {
(void)err;
(void)matId;
LoadMtl(matMap, materials, &m_matSStream, warn);
LoadMtl(matMap, materials, &m_matSStream, warn, err);
return true;
}