Fix RandR 1.2 conversion of two colour to ARGB cursor on MSB first platforms.
Doesn't seem necessary to do anything here...
This commit is contained in:
parent
5b424b562e
commit
0f057ebb27
|
@ -137,8 +137,6 @@ cursor_bitpos (int flags, int x, Bool mask)
|
||||||
mask = !mask;
|
mask = !mask;
|
||||||
if (flags & HARDWARE_CURSOR_NIBBLE_SWAPPED)
|
if (flags & HARDWARE_CURSOR_NIBBLE_SWAPPED)
|
||||||
x = (x & ~3) | (3 - (x & 3));
|
x = (x & ~3) | (3 - (x & 3));
|
||||||
if (flags & HARDWARE_CURSOR_BIT_ORDER_MSBFIRST)
|
|
||||||
x = (x & ~7) | (7 - (x & 7));
|
|
||||||
if (flags & HARDWARE_CURSOR_SOURCE_MASK_INTERLEAVE_1)
|
if (flags & HARDWARE_CURSOR_SOURCE_MASK_INTERLEAVE_1)
|
||||||
x = (x << 1) + mask;
|
x = (x << 1) + mask;
|
||||||
else if (flags & HARDWARE_CURSOR_SOURCE_MASK_INTERLEAVE_8)
|
else if (flags & HARDWARE_CURSOR_SOURCE_MASK_INTERLEAVE_8)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user