Fixed CID 1197332

This commit is contained in:
AlexVinS
2016-12-05 06:00:32 +03:00
parent 45ae1ef165
commit 8f7b0dac45
+1 -1
View File
@@ -49,7 +49,7 @@ namespace Channels
{
Uint16 * const pixel = (Uint16*)ptr;
Uint8 subpx = value >> (8 - bits);
*pixel = (*pixel & !mask) | ((subpx << shift) & mask );
*pixel = (*pixel & ~mask) | ((subpx << shift) & mask );
}
static Uint8 STRONG_INLINE get(const Uint8 *ptr)