Tweak the debug output to make it more readable.

svn path=/branches/KDE/4.6/kdebase/workspace/; revision=1213845
icc-effect-5.14.5
Fredrik Höglund 2011-01-11 20:22:45 +00:00
parent 1efeb2bf35
commit f94e5b29d6
1 changed files with 2 additions and 8 deletions

View File

@ -749,14 +749,8 @@ void GLPlatform::printResults() const
print("Direct rendering:", m_directRendering ? "yes" : "no");
print("Requires strict binding:", !m_looseBinding ? "yes" : "no");
print("GLSL shaders:", m_supportsGLSL ? "yes" : "no");
if (m_supportsGLSL)
print("Limited GLSL support:", m_limitedGLSL ? "yes" : "no");
print("Texture NPOT support:", m_textureNPOT ? "yes" : "no");
if (m_textureNPOT)
print("Limited NPOT support:", m_limitedNPOT ? "yes" : "no");
print("GLSL shaders:", m_supportsGLSL ? (m_limitedGLSL ? "limited" : "yes") : "no");
print("Texture NPOT support:", m_textureNPOT ? (m_limitedNPOT ? "limited" : "yes") : "no");
}
bool GLPlatform::supports(GLFeature feature) const