Merge remote-tracking branch 'origin/NDK' into NDK-ShadowMapping
Former-commit-id: 0c302477d672346eb50c12f8fa7e2b6a19d60779
This commit is contained in:
@@ -104,7 +104,8 @@ unsigned int NzBitset<Block, Allocator>::FindNext(unsigned int bit) const
|
||||
{
|
||||
NazaraAssert(bit < m_bitCount, "Bit index out of range");
|
||||
|
||||
bit++;
|
||||
if (++bit >= m_bitCount)
|
||||
return npos;
|
||||
|
||||
// Le bloc du bit, l'indice du bit
|
||||
unsigned int blockIndex = GetBlockIndex(bit);
|
||||
|
||||
Reference in New Issue
Block a user