diff --git a/Tutorial29/Source.cpp b/Tutorial29/Source.cpp index 08c403b..2dcf28c 100644 --- a/Tutorial29/Source.cpp +++ b/Tutorial29/Source.cpp @@ -993,8 +993,8 @@ class HelloTriangleApplication { std::vector shapes; std::vector materials; std::string err; - std::string warn;//warn and err log both necessary! - if (!tinyobj::LoadObj(&attrib, &shapes, &materials, &warn, &err, MODEL_PATH.c_str())) { + + if (!tinyobj::LoadObj(&attrib, &shapes, &materials, &err, MODEL_PATH.c_str())) { throw std::runtime_error(err); } @@ -1589,4 +1589,4 @@ int main() { } return EXIT_SUCCESS; -} +} \ No newline at end of file