1 |
/* -*- c-basic-offset: 8 -*- |
/* -*- c-basic-offset: 8 -*- |
2 |
rdesktop: A Remote Desktop Protocol client. |
rdesktop: A Remote Desktop Protocol client. |
3 |
User interface services - X Window System |
User interface services - X Window System |
4 |
Copyright (C) Matthew Chapman 1999-2002 |
Copyright (C) Matthew Chapman 1999-2005 |
5 |
|
|
6 |
This program is free software; you can redistribute it and/or modify |
This program is free software; you can redistribute it and/or modify |
7 |
it under the terms of the GNU General Public License as published by |
it under the terms of the GNU General Public License as published by |
662 |
} |
} |
663 |
else |
else |
664 |
{ |
{ |
665 |
|
while (out < end) |
666 |
{ |
{ |
667 |
pixel = *(data++); |
pixel = *(data++); |
668 |
SPLITCOLOUR16(pixel, pc); |
SPLITCOLOUR16(pixel, pc); |
765 |
if (g_arch_match) |
if (g_arch_match) |
766 |
{ |
{ |
767 |
/* *INDENT-OFF* */ |
/* *INDENT-OFF* */ |
768 |
|
#ifdef NEED_ALIGN |
769 |
REPEAT4 |
REPEAT4 |
770 |
( |
( |
|
#ifdef NEED_ALIGN |
|
771 |
*(out++) = *(data++); |
*(out++) = *(data++); |
772 |
*(out++) = *(data++); |
*(out++) = *(data++); |
773 |
*(out++) = *(data++); |
*(out++) = *(data++); |
774 |
*(out++) = 0; |
*(out++) = 0; |
775 |
|
) |
776 |
#else |
#else |
777 |
|
REPEAT4 |
778 |
|
( |
779 |
*((uint32 *) out) = *((uint32 *) data); |
*((uint32 *) out) = *((uint32 *) data); |
780 |
out += 4; |
out += 4; |
781 |
data += 3; |
data += 3; |
|
#endif |
|
782 |
) |
) |
783 |
|
#endif |
784 |
/* *INDENT-ON* */ |
/* *INDENT-ON* */ |
785 |
} |
} |
786 |
else if (g_xserver_be) |
else if (g_xserver_be) |