Revision 5fafdf24 hw/pxa2xx_template.h

b/hw/pxa2xx_template.h
14 14
# define COPY_PIXEL(to, from)	*to = from; SKIP_PIXEL(to)
15 15
#elif BITS == 15 || BITS == 16
16 16
# define COPY_PIXEL(to, from)	*(uint16_t *) to = from; SKIP_PIXEL(to)
17
#elif BITS == 24 
17
#elif BITS == 24
18 18
# define COPY_PIXEL(to, from)	\
19 19
	*(uint16_t *) to = from; *(to + 2) = (from) >> 16; SKIP_PIXEL(to)
20 20
#elif BITS == 32

Also available in: Unified diff