diff options
-rw-r--r-- | sdl.c | 2 | ||||
-rw-r--r-- | vl.h | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -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) @@ -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 */ |