mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
console: remove dpy_gfx_fill
Unused code. 'nuff said. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
9678aedd8e
commit
4dc6a39bbd
2 changed files with 0 additions and 20 deletions
7
ui/sdl.c
7
ui/sdl.c
|
@ -899,12 +899,6 @@ static void sdl_refresh(DisplayState *ds)
|
|||
}
|
||||
}
|
||||
|
||||
static void sdl_fill(DisplayState *ds, int x, int y, int w, int h, uint32_t c)
|
||||
{
|
||||
SDL_Rect dst = { x, y, w, h };
|
||||
SDL_FillRect(real_screen, &dst, c);
|
||||
}
|
||||
|
||||
static void sdl_mouse_warp(DisplayState *ds, int x, int y, int on)
|
||||
{
|
||||
if (on) {
|
||||
|
@ -1024,7 +1018,6 @@ void sdl_display_init(DisplayState *ds, int full_screen, int no_frame)
|
|||
dcl->dpy_gfx_resize = sdl_resize;
|
||||
dcl->dpy_refresh = sdl_refresh;
|
||||
dcl->dpy_gfx_setdata = sdl_setdata;
|
||||
dcl->dpy_gfx_fill = sdl_fill;
|
||||
dcl->dpy_mouse_set = sdl_mouse_warp;
|
||||
dcl->dpy_cursor_define = sdl_mouse_define;
|
||||
register_displaychangelistener(ds, dcl);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue