mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 09:56:04 +08:00
Fix into OpenGLManager::GLInfo::to_string()
This commit is contained in:
parent
17293056d5
commit
6cb860ba50
@ -217,6 +217,7 @@ std::string OpenGLManager::GLInfo::to_string(bool for_github) const
|
|||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
const std::string extensions_str = gl_get_string_safe(GL_EXTENSIONS, "");
|
const std::string extensions_str = gl_get_string_safe(GL_EXTENSIONS, "");
|
||||||
|
boost::split(extensions_list, extensions_str, boost::is_any_of(" "), boost::token_compress_on);
|
||||||
#endif // ENABLE_GL_CORE_PROFILE
|
#endif // ENABLE_GL_CORE_PROFILE
|
||||||
|
|
||||||
if (!extensions_list.empty()) {
|
if (!extensions_list.empty()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user