winex11: Fix 16-bpp cursor conversions.

This commit is contained in:
Alexandre Julliard 2010-04-16 16:23:59 +02:00
parent ea1d71c7a4
commit 6ef5ccb90e

View File

@ -538,7 +538,7 @@ static XcursorImage *create_cursor_image( CURSORICONINFO *ptr )
tmp = (*xor_ptr++ & 0xe0) >> 5;
tmp |= (*xor_ptr & 0x07) << 3;
*pixel_ptr |= convert_6to8[tmp] << 16;
*pixel_ptr |= convert_5to8[*xor_ptr & 0xf8] << 24;
*pixel_ptr |= convert_5to8[*xor_ptr++ >> 3] << 24;
break;
case 1: