Don't print the GLSL version when GLSL isn't supported.
svn path=/branches/KDE/4.6/kdebase/workspace/; revision=1213843
This commit is contained in:
parent
f6a37f91ee
commit
1efeb2bf35
1 changed files with 3 additions and 1 deletions
|
@ -734,7 +734,9 @@ void GLPlatform::printResults() const
|
|||
print("GPU class:", chipClassToString(m_chipClass));
|
||||
|
||||
print("OpenGL version:", versionToString(m_glVersion));
|
||||
print("GLSL version:", versionToString(m_glslVersion));
|
||||
|
||||
if (m_supportsGLSL)
|
||||
print("GLSL version:", versionToString(m_glslVersion));
|
||||
|
||||
if (isMesaDriver())
|
||||
print("Mesa version:", versionToString(mesaVersion()));
|
||||
|
|
Loading…
Reference in a new issue