浏览代码

Merge pull request #2141 from courtney-g/bug_2140

Fix MSVC build issue - remove invalid character
John Kessenich 5 年之前
父节点
当前提交
9659831766
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      glslang/MachineIndependent/parseConst.cpp

+ 1 - 1
glslang/MachineIndependent/parseConst.cpp

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