Refactored InfoSink. I have replaced most instances of sprintf with std::ostringstream to make it safer. I have made sure that everything still compiles and passes conformance tests.
Review URL: http://codereview.appspot.com/1391041

git-svn-id: https://angleproject.googlecode.com/svn/trunk@322 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/src/compiler/OutputGLSL.cpp b/src/compiler/OutputGLSL.cpp
index 66ff473..4209b40 100644
--- a/src/compiler/OutputGLSL.cpp
+++ b/src/compiler/OutputGLSL.cpp
@@ -183,12 +183,7 @@
             {
                 case EbtFloat: out << pConstUnion->getFConst(); break;
                 case EbtInt: out << pConstUnion->getIConst(); break;
-                case EbtBool:
-                    if (pConstUnion->getBConst())
-                        out << "true";
-                    else
-                        out << "false";
-                    break;
+                case EbtBool: out << pConstUnion->getBConst(); break;
                 default: UNREACHABLE();
             }
             if (i != size - 1) out << ", ";