qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [6898] musicpal: Fix regression caused by 6839 (Jan Kiszka)


From: Anthony Liguori
Subject: [Qemu-devel] [6898] musicpal: Fix regression caused by 6839 (Jan Kiszka)
Date: Sat, 28 Mar 2009 17:28:54 +0000

Revision: 6898
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6898
Author:   aliguori
Date:     2009-03-28 17:28:53 +0000 (Sat, 28 Mar 2009)
Log Message:
-----------
musicpal: Fix regression caused by 6839 (Jan Kiszka)

Pass correct DisplayState field to is_surface_bgr().

Signed-off-by: Jan Kiszka <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>

Modified Paths:
--------------
    trunk/hw/musicpal.c

Modified: trunk/hw/musicpal.c
===================================================================
--- trunk/hw/musicpal.c 2009-03-28 17:28:49 UTC (rev 6897)
+++ trunk/hw/musicpal.c 2009-03-28 17:28:53 UTC (rev 6898)
@@ -831,7 +831,8 @@
         break;
     LCD_REFRESH(8, rgb_to_pixel8)
     LCD_REFRESH(16, rgb_to_pixel16)
-    LCD_REFRESH(32, (is_surface_bgr(s->ds) ? rgb_to_pixel32bgr : 
rgb_to_pixel32))
+    LCD_REFRESH(32, (is_surface_bgr(s->ds->surface) ?
+                     rgb_to_pixel32bgr : rgb_to_pixel32))
     default:
         cpu_abort(cpu_single_env, "unsupported colour depth %i\n",
                   ds_get_bits_per_pixel(s->ds));





reply via email to

[Prev in Thread] Current Thread [Next in Thread]