qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 1/2] tcx: fix cut/paste error in update_palette_entr


From: Mark Cave-Ayland
Subject: [Qemu-devel] [PATCH 1/2] tcx: fix cut/paste error in update_palette_entries()
Date: Mon, 1 May 2017 08:39:34 +0100

Commit ee72bed0 "tcx: remove primitives for non-32-bit surfaces" accidentally
left a trailing break in update_palette_entries() causing the palette update
routine to exit after just one iteration. Remove it.

Signed-off-by: Mark Cave-Ayland <address@hidden>
---
 hw/display/tcx.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/hw/display/tcx.c b/hw/display/tcx.c
index 5a1115c..0e66dcd 100644
--- a/hw/display/tcx.c
+++ b/hw/display/tcx.c
@@ -145,7 +145,6 @@ static void update_palette_entries(TCXState *s, int start, 
int end)
         } else {
             s->palette[i] = rgb_to_pixel32(s->r[i], s->g[i], s->b[i]);
         }
-        break;
     }
     tcx_set_dirty(s, 0, memory_region_size(&s->vram_mem));
 }
-- 
1.7.10.4




reply via email to

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