mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 00:52:04 +00:00
Fix thumbnail rendering in CLI (#12129)
* Fix thumbnail rendering in CLI * Remove OSMesa context flag * Add stringified error message for glfwInit and glewInit * micro refactor --------- Co-authored-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
@@ -253,7 +253,7 @@ bool OpenGLManager::init_gl(bool popup_error)
|
||||
glewExperimental = true;
|
||||
GLenum result = glewInit();
|
||||
if (result != GLEW_OK) {
|
||||
BOOST_LOG_TRIVIAL(error) << "Unable to init glew library";
|
||||
BOOST_LOG_TRIVIAL(error) << "Unable to init glew library, Error: " << glewGetErrorString(result);
|
||||
return false;
|
||||
}
|
||||
//BOOST_LOG_TRIVIAL(info) << "glewInit Success."<< std::endl;
|
||||
|
||||
Reference in New Issue
Block a user