Commit 248ab65f authored by Fredrik Höglund's avatar Fredrik Höglund Committed by Martin Flöser
Browse files

Tweak the debug output to make it more readable.

svn path=/branches/KDE/4.6/kdebase/workspace/; revision=1213845
parent 4ac466b7
...@@ -755,14 +755,8 @@ void GLPlatform::printResults() const ...@@ -755,14 +755,8 @@ void GLPlatform::printResults() const
print("Direct rendering:", m_directRendering ? "yes" : "no"); print("Direct rendering:", m_directRendering ? "yes" : "no");
print("Requires strict binding:", !m_looseBinding ? "yes" : "no"); print("Requires strict binding:", !m_looseBinding ? "yes" : "no");
print("GLSL shaders:", m_supportsGLSL ? "yes" : "no"); print("GLSL shaders:", m_supportsGLSL ? (m_limitedGLSL ? "limited" : "yes") : "no");
print("Texture NPOT support:", m_textureNPOT ? (m_limitedNPOT ? "limited" : "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");
} }
bool GLPlatform::supports(GLFeature feature) const bool GLPlatform::supports(GLFeature feature) const
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment