From ee38b4c8134caccffd62614579fe8befc7d100e6 Mon Sep 17 00:00:00 2001 From: bellard Date: Tue, 8 Jun 2004 00:56:42 +0000 Subject: [PATCH] fixed full screen refresh git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@913 c046a42c-6fe2-441c-8c8c-71466251a162 --- sdl.c | 2 +- vl.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 */