Commit 6ef5ccb9 authored by Alexandre Julliard's avatar Alexandre Julliard

winex11: Fix 16-bpp cursor conversions.

parent ea1d71c7
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment