Now that all text console rendering uses pixman we can easily
switch the color tables to use pixman_color_t directly.
Signed-off-by: Gerd Hoffmann kra...@redhat.com
---
ui/console.c | 24
1 file changed, 8 insertions(+), 16 deletions(-)
diff --git a/ui/console.c
On 03/20/2013 01:43 PM, Gerd Hoffmann wrote:
Now that all text console rendering uses pixman we can easily
switch the color tables to use pixman_color_t directly.
Signed-off-by: Gerd Hoffmann kra...@redhat.com
---
ui/console.c | 24
1 file changed, 8
Gerd Hoffmann kra...@redhat.com writes:
@@ -255,7 +250,10 @@ enum color_names {
};
#endif
-static const uint32_t color_table_rgb[2][8] = {
+#define QEMU_RGB(r, g, b) \
+{ .red = r 8, .green = g 8, .blue = b 8, .alpha = 0 }
Are you