Core/Bitset:

This commit is contained in:
Lynix
2018-03-06 20:25:29 +01:00
parent 464419db73
commit 3036c32d9d
5 changed files with 19 additions and 16 deletions

View File

@@ -839,7 +839,7 @@ namespace Nz
if (pixelCount == 0)
return false;
auto seq = workingBitset.Read(GetConstPixels(), info.bitsPerPixel);
auto seq = workingBitset.Write(GetConstPixels(), info.bitsPerPixel);
do
{
workingBitset &= info.alphaMask;
@@ -847,7 +847,7 @@ namespace Nz
return true;
workingBitset.Clear();
workingBitset.Read(seq, info.bitsPerPixel);
workingBitset.Write(seq, info.bitsPerPixel);
}
while (--pixelCount > 0);