]> git.tdb.fi Git - libs/gl.git/blobdiff - tools/glslcompiler.cpp
Colorize the debug output of the GLSL compiler
[libs/gl.git] / tools / glslcompiler.cpp
index ee9c2d3ca6ec895574213589db91f09f70f2c447..f7bb2de9af1b8b090341d34383e0cde66cb7a204 100644 (file)
@@ -168,7 +168,7 @@ int GlslCompiler::main()
        {
                vector<GL::SL::Stage::Type> stages = compiler.get_stages();
                for(vector<GL::SL::Stage::Type>::const_iterator i=stages.begin(); i!=stages.end(); ++i)
-                       IO::print("%s\n", compiler.get_stage_debug(*i));
+                       IO::print("%s\n", compiler.get_stage_debug(*i, true));
        }
 
        IO::Base *out = &IO::cout;