Merge pull request #5704 from XiaopengZHOU/cursor-xor-padding
Fix padding of encoded scan-line for XOR mask of pointer.
This commit is contained in:
commit
d32e7f12e2
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user