32bpp cursor fix.
This commit is contained in:
parent
c00fc5715f
commit
60ac63854c
@ -328,7 +328,7 @@ BOOL freerdp_image_copy_from_pointer_data(
|
||||
|
||||
if (xorBpp == 32)
|
||||
{
|
||||
pixelFormat = PIXEL_FORMAT_ARGB32;
|
||||
pixelFormat = PIXEL_FORMAT_BGRA32;
|
||||
xorPixel = ReadColor(xorBits, pixelFormat);
|
||||
|
||||
if (xorPixel & 0xFF000000)
|
||||
@ -346,7 +346,7 @@ BOOL freerdp_image_copy_from_pointer_data(
|
||||
}
|
||||
else
|
||||
{
|
||||
pixelFormat = PIXEL_FORMAT_RGB24;
|
||||
pixelFormat = PIXEL_FORMAT_BGR24;
|
||||
xorPixel = ReadColor(xorBits, pixelFormat);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user