comparison Framework/OpenGL/SdlOpenGLContext.cpp @ 1147:bc27c199eefe broker

qt
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 14 Nov 2019 15:53:49 +0100
parents efc5b62b9539
children 0ca50d275b9a
comparison
equal deleted inserted replaced
1146:5035354b1369 1147:bc27c199eefe
66 LOG(INFO) << "Initializing glew"; 66 LOG(INFO) << "Initializing glew";
67 67
68 GLenum err = glewInit(); 68 GLenum err = glewInit();
69 if (GLEW_OK != err) 69 if (GLEW_OK != err)
70 { 70 {
71 LOG(ERROR) << glewGetErrorString(err);
71 throw Orthanc::OrthancException(Orthanc::ErrorCode_InternalError, 72 throw Orthanc::OrthancException(Orthanc::ErrorCode_InternalError,
72 "Cannot initialize glew"); 73 "Cannot initialize glew");
73 } 74 }
74 75
75 isGlewInitialized_ = true; 76 isGlewInitialized_ = true;