mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 23:53:26 +02:00
one more shot at these warnings
This commit is contained in:
parent
d92d2d57a0
commit
ac27c36c3d
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ public:
|
|||
|
||||
_runningSum = 0;
|
||||
_index = 0;
|
||||
_indexMask = ((uint16_t)1 << _randomRows) - (uint16_t)1;
|
||||
_indexMask = (uint16_t)((1 << _randomRows) - 1);
|
||||
_scale = 1.0f / ((_randomRows + 1) * (1 << (_randomBits - 1)));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue