aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-06-08 00:56:42 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-06-08 00:56:42 +0000
commitee38b4c8134caccffd62614579fe8befc7d100e6 (patch)
treec05b762c6e65ced4ea0565ee7aa9454e63139a52
parent3440557b6d979e0dddddb8c2440d7bf4375e80a7 (diff)
fixed full screen refresh
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@913 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--sdl.c2
-rw-r--r--vl.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/sdl.c b/sdl.c
index dce81e1205..ceb00ddf67 100644
--- a/sdl.c
+++ b/sdl.c
@@ -264,8 +264,8 @@ static void toggle_full_screen(DisplayState *ds)
if (!gui_saved_grab)
sdl_grab_end();
}
+ vga_invalidate_display();
vga_update_display();
- sdl_update(ds, 0, 0, screen->w, screen->h);
}
static void sdl_refresh(DisplayState *ds)
diff --git a/vl.h b/vl.h
index 50116e8f1e..dde4e5dfbd 100644
--- a/vl.h
+++ b/vl.h
@@ -542,6 +542,7 @@ int vga_initialize(DisplayState *ds, uint8_t *vga_ram_base,
unsigned long vga_ram_offset, int vga_ram_size,
int is_pci);
void vga_update_display(void);
+void vga_invalidate_display(void);
void vga_screen_dump(const char *filename);
/* cirrus_vga.c */