mirror of
https://github.com/syoyo/tinygltf.git
synced 2026-07-04 13:08:50 +00:00
Remove validator example scine it requires nlohmann's json.hpp
Embed json11.cpp/json11.hpp into `tiny_gltf.h`
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user