Fix padding of encoded scan-line for XOR mask of pointer.

This commit is contained in:
Raphaël ZHOU 2019-11-07 10:12:22 +01:00
parent 48d9e0ac51
commit 31962b2fa6

View File

@ -421,6 +421,7 @@ BOOL freerdp_image_copy_from_pointer_data(
{
UINT32 xorBytesPerPixel = xorBpp >> 3;
xorStep = nWidth * xorBytesPerPixel;
xorStep += (xorStep % 2);
if (xorBpp == 8 && !palette)
{