Skip to contentSkip to conversation

[5605] Fix RGBT 5:5:5 drawing on pxa2xx lcd (Lars Munch)

Qemu-devel Andrzej Zaborowski 1 participant 1 message Nov 3, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 5605

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5605
Author:   balrog
Date:     2008-11-03 01:08:14 +0000 (Mon, 03 Nov 2008)

Log Message:
-----------
Fix RGBT 5:5:5 drawing on pxa2xx lcd (Lars Munch)

This patch fixes the misinterpretaion of the transparency bit for RGBT 5:5:5 mode on pxa2xx LCDC.

Modified Paths:
--------------
trunk/hw/pxa2xx_template.h

Modified: trunk/hw/pxa2xx_template.h
===================================================================

hw/pxa2xx_template.h +1 -0
@@ -156,6 +156,7 @@
         g = (data & 0x1f) << 3;
         data >>= 5;
         r = (data & 0x1f) << 3;
+        data >>= 5;
         if (data & 1)
             SKIP_PIXEL(dest);
         else