Remove validator example scine it requires nlohmann's json.hpp

Embed json11.cpp/json11.hpp into `tiny_gltf.h`
This commit is contained in:
Syoyo Fujita
2019-02-15 17:40:07 +09:00
parent 9e4a4d5b94
commit 06f93c859d
19 changed files with 1053 additions and 15592 deletions

View File

@@ -312,7 +312,11 @@ int main(int argc, char **argv) {
glewExperimental = GL_TRUE;
#endif
glewInit();
if (glewInit() != GLEW_OK) {
std::cerr << "glew init error." << std::endl;
return EXIT_FAILURE;
}
std::cout << glGetString(GL_RENDERER) << ", " << glGetString(GL_VERSION)
<< std::endl;