mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
winex11: Fix 16-bpp cursor conversions.
This commit is contained in:
parent
ea1d71c7a4
commit
6ef5ccb90e
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user