From 82742fece30861f45fc9ae685434c1dabe406f10 Mon Sep 17 00:00:00 2001 From: heitaoflower Date: Sun, 30 Jun 2019 21:48:12 +0800 Subject: [PATCH] Revert "Update Source.cpp" --- Tutorial29/Source.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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