Skip to content

Commit

Permalink
Fix MSVC build issue - remove invalid character
Browse files Browse the repository at this point in the history
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
  • Loading branch information
courtney-g committed Mar 19, 2020
1 parent 3bf1dab commit d42c6ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glslang/MachineIndependent/parseConst.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 matrixs 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];
Expand Down

0 comments on commit d42c6ab

Please sign in to comment.