summaryrefslogtreecommitdiffstats
path: root/vl.c
diff options
context:
space:
mode:
authorpbrook2006-04-09 03:06:34 +0200
committerpbrook2006-04-09 03:06:34 +0200
commit95219897ff4e6d0502b920c521fccc612ad913dd (patch)
tree424549557f9c83364ac83feddf0120fee9d2abe9 /vl.c
parentFix incorrect return type. (diff)
downloadqemu-95219897ff4e6d0502b920c521fccc612ad913dd.tar.gz
qemu-95219897ff4e6d0502b920c521fccc612ad913dd.tar.xz
qemu-95219897ff4e6d0502b920c521fccc612ad913dd.zip
Allow multiple graphics devices.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1803 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/vl.c b/vl.c
index 3a99cbd795..ed59988d3c 100644
--- a/vl.c
+++ b/vl.c
@@ -137,7 +137,6 @@ int graphic_height = 600;
#endif
int graphic_depth = 15;
int full_screen = 0;
-TextConsole *vga_console;
CharDriverState *serial_hds[MAX_SERIAL_PORTS];
CharDriverState *parallel_hds[MAX_PARALLEL_PORTS];
#ifdef TARGET_I386
@@ -2994,7 +2993,7 @@ static void dumb_resize(DisplayState *ds, int w, int h)
static void dumb_refresh(DisplayState *ds)
{
- vga_update_display();
+ vga_hw_update();
}
void dumb_display_init(DisplayState *ds)
@@ -5123,8 +5122,6 @@ int main(int argc, char **argv)
#endif
}
- vga_console = graphic_console_init(ds);
-
monitor_hd = qemu_chr_open(monitor_device);
if (!monitor_hd) {
fprintf(stderr, "qemu: could not open monitor device '%s'\n", monitor_device);