summaryrefslogtreecommitdiff
path: root/hw/display/vga_int.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-06-22 11:00:50 +1000
committerGerd Hoffmann <kraxel@redhat.com>2014-09-30 13:34:09 +0200
commitd3c2343af09b2e1a568ccac608b8b3d10a36c20c (patch)
tree707983bfcb70a26fd0987750a402938ee1a531f5 /hw/display/vga_int.h
parent46c3a8c8ebe2966cc1f7af12626f89c83d547bfb (diff)
downloadqemu-d3c2343af09b2e1a568ccac608b8b3d10a36c20c.tar.gz
vga: Remove rgb_to_pixel indirection
We always use rgb_to_pixel32 nowadays. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/display/vga_int.h')
-rw-r--r--hw/display/vga_int.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/display/vga_int.h b/hw/display/vga_int.h
index bbc0cb2ad8..9073370a84 100644
--- a/hw/display/vga_int.h
+++ b/hw/display/vga_int.h
@@ -154,8 +154,6 @@ typedef struct VGACommonState {
bool cursor_visible_phase;
int64_t cursor_blink_time;
uint32_t cursor_offset;
- unsigned int (*rgb_to_pixel)(unsigned int r,
- unsigned int g, unsigned b);
const GraphicHwOps *hw_ops;
bool full_update_text;
bool full_update_gfx;