diff options
Diffstat (limited to 'hw/pxa2xx_template.h')
-rw-r--r-- | hw/pxa2xx_template.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pxa2xx_template.h b/hw/pxa2xx_template.h index 341be12e5e..ad3799df2c 100644 --- a/hw/pxa2xx_template.h +++ b/hw/pxa2xx_template.h @@ -14,7 +14,7 @@ # define COPY_PIXEL(to, from) *to = from; SKIP_PIXEL(to) #elif BITS == 15 || BITS == 16 # define COPY_PIXEL(to, from) *(uint16_t *) to = from; SKIP_PIXEL(to) -#elif BITS == 24 +#elif BITS == 24 # define COPY_PIXEL(to, from) \ *(uint16_t *) to = from; *(to + 2) = (from) >> 16; SKIP_PIXEL(to) #elif BITS == 32 |