Fix MSVC build issue - remove invalid character
authorCourtney Goeltzenleuchter <courtneygo@google.com>
Thu, 19 Mar 2020 21:31:31 +0000 (15:31 -0600)
committerCourtney Goeltzenleuchter <courtneygo@google.com>
Thu, 19 Mar 2020 21:31:31 +0000 (15:31 -0600)
On Windows the single quote used in a comment was showing up as some
special character that the Microsoft compiler didn't like.

Bug #2140

glslang/MachineIndependent/parseConst.cpp

index e4f04d9a41ec3ba23263ed8ee5e1bceac32e93ed..7c04743ba68a4f81d0dbf563242cf130497510d5 100644 (file)
@@ -175,7 +175,7 @@ void TConstTraverser::visitConstantUnion(TIntermConstantUnion* node)
                     if (nodeComps == 1) {
                         // If there is a single scalar parameter to a matrix
                         // constructor, it is used to initialize all the
-                        // components on the matrix\92s diagonal, with the
+                        // components on the matrix's diagonal, with the
                         // remaining components initialized to 0.0.
                         if (i == startIndex || (i - startIndex) % (matrixRows + 1) == 0 )
                             leftUnionArray[i] = rightUnionArray[count];