Fix more undefined behavior in tangent space computation

Ref D6677
This commit is contained in:
Brecht Van Lommel 2020-01-29 15:06:25 +01:00
parent 14ccda75f6
commit a075f45526

@ -1392,7 +1392,7 @@ static void QuickSort(int *pSortBuffer, int iLeft, int iRight, unsigned int uSee
// Random
unsigned int t = uSeed & 31;
t = (uSeed << t) | (uSeed >> (32 - t));
t = rotl(uSeed, t);
uSeed = uSeed + t + 3;
// Random end