Parent Directory | Revision Log | Patch
revision 691 by astrand, Thu May 6 08:17:47 2004 UTC | revision 695 by stargo, Tue May 11 07:34:03 2004 UTC | |
---|---|---|
# | Line 252 translate8to16(uint8 * data, uint8 * out | Line 252 translate8to16(uint8 * data, uint8 * out |
252 | uint16 value; | uint16 value; |
253 | ||
254 | if (g_arch_match) | if (g_arch_match) |
255 | REPEAT(*(((uint16 *) out)++) = g_colmap[*(data++)]; | REPEAT(*((uint16*)out) = g_colmap[*(data++)]; out += 2; |
256 | ) | ) |
257 | else if (g_xserver_be) | else if (g_xserver_be) |
258 | { | { |
# | Line 308 translate8to32(uint8 * data, uint8 * out | Line 308 translate8to32(uint8 * data, uint8 * out |
308 | uint32 value; | uint32 value; |
309 | ||
310 | if (g_arch_match) | if (g_arch_match) |
311 | REPEAT(*(((uint32 *) out)++) = g_colmap[*(data++)]; | REPEAT(*((uint32 *)out) = g_colmap[*(data++)]; out += 4; |
312 | ) | ) |
313 | else if (g_xserver_be) | else if (g_xserver_be) |
314 | { | { |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |