Fix printing of GLSL version in supportInformation
If GLSL was supported, but not limited the information did not get added to the output.
This commit is contained in:
parent
561a4f437a
commit
1446fd6a38
1 changed files with 2 additions and 2 deletions
|
@ -1517,7 +1517,7 @@ QString Workspace::supportInformation() const
|
|||
support.append("OpenGL renderer string: " % platform->glRendererString() % '\n');
|
||||
support.append("OpenGL version string: " % platform->glVersionString() % '\n');
|
||||
|
||||
if (platform->supports(LimitedGLSL))
|
||||
if (platform->supports(LimitedGLSL) || platform->supports(GLSL))
|
||||
support.append("OpenGL shading language version string: " % platform->glShadingLanguageVersionString() % '\n');
|
||||
|
||||
support.append("Driver: " % GLPlatform::driverToString(platform->driver()) % '\n');
|
||||
|
@ -1528,7 +1528,7 @@ QString Workspace::supportInformation() const
|
|||
|
||||
support.append("OpenGL version: " % GLPlatform::versionToString(platform->glVersion()) % '\n');
|
||||
|
||||
if (platform->supports(LimitedGLSL))
|
||||
if (platform->supports(LimitedGLSL) || platform->supports(GLSL))
|
||||
support.append("GLSL version: " % GLPlatform::versionToString(platform->glslVersion()) % '\n');
|
||||
|
||||
if (platform->isMesaDriver())
|
||||
|
|
Loading…
Reference in a new issue