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:
Michel Dänzer 2007-07-25 17:04:04 +02:00
parent 5b424b562e
commit 0f057ebb27

View File

@ -137,8 +137,6 @@ cursor_bitpos (int flags, int x, Bool mask)
mask = !mask;
if (flags & HARDWARE_CURSOR_NIBBLE_SWAPPED)
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)
x = (x << 1) + mask;
else if (flags & HARDWARE_CURSOR_SOURCE_MASK_INTERLEAVE_8)