Mercurial > hg > orthanc-stone
diff Framework/StoneInitialization.cpp @ 612:ba72bffceb7d
Removed "core" from shader version spec + removed useless code from StoneInitialize
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Tue, 30 Apr 2019 16:18:46 +0200 |
parents | e3f21a265be5 |
children | 412a2d01a189 |
line wrap: on
line diff
--- a/Framework/StoneInitialization.cpp Tue Apr 30 16:07:48 2019 +0200 +++ b/Framework/StoneInitialization.cpp Tue Apr 30 16:18:46 2019 +0200 @@ -51,15 +51,6 @@ { const char* error = reinterpret_cast<const char*>(glewGetErrorString(err)); - if (strcmp(error, "Missing GL version") != 0) - { - std::stringstream msg; - msg << "Error while initializing OpenGL through GLEW: " << error; - throw Orthanc::OrthancException( - Orthanc::ErrorCode_InternalError,msg.str()); - } - } - { std::stringstream message; message << "Using GLEW version " << reinterpret_cast<const char*>( glewGetString(GLEW_VERSION));