Show OpenGL profile in troubleshoot dialog (#14464)
This commit is contained in:
@@ -807,7 +807,11 @@ wxString TroubleshootDialog::GetRAMinfo()
|
||||
wxString TroubleshootDialog::GetGPUinfo()
|
||||
{
|
||||
auto gl_info = OpenGLManager::get_gl_info();
|
||||
return gl_info.get_renderer()+ " GLSL:" + gl_info.get_glsl_version();
|
||||
#if !SLIC3R_OPENGL_ES
|
||||
return gl_info.get_renderer() + " GLSL:" + gl_info.get_glsl_version() + (gl_info.is_core_profile() ? " Core" : " Compatibility");
|
||||
#else
|
||||
return gl_info.get_renderer() + " GLSL:" + gl_info.get_glsl_version() + " ES";
|
||||
#endif
|
||||
}
|
||||
|
||||
wxString TroubleshootDialog::GetMONinfo()
|
||||
|
||||
Reference in New Issue
Block a user