Fix MSVC build issue - remove invalid character
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
This commit is contained in:
@@ -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 matrix<EFBFBD>s 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];
|
||||||
|
|||||||
Reference in New Issue
Block a user