fixed full screen refresh

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@913 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2004-06-08 00:56:42 +00:00
parent 3440557b6d
commit ee38b4c813
2 changed files with 2 additions and 1 deletions

2
sdl.c
View File

@ -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)

1
vl.h
View File

@ -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 */