Error handling

This commit is contained in:
Sascha Willems 2020-04-19 18:55:51 +02:00
parent 55243e6773
commit 9fc8b0032c

View file

@ -520,10 +520,7 @@ public:
} }
} }
else { else {
std::cerr << "Could not load gltf file: " << error << std::endl; vks::tools::exitFatal("Could not open the glTF file\n\nThe file is part of the additional asset pack.\n\nRun \"download_assets.py\" in the repository root to download the latest version.", -1);
#ifdef VK_USE_PLATFORM_ANDROID_KHR
LOGE("Could not load glTF file from %s: %s", filename.c_str(), error.c_str());
#endif
return; return;
} }