diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2012-09-28 15:31:33 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-11-01 13:10:06 +0100 |
commit | 4dc6a39bbd1a03f86797e0df2db285318f086aee (patch) | |
tree | 39f71f6833142abb5421ed0e40d34a66501ed02f /ui | |
parent | 9678aedd8e76978465698b9edeb069ccee15e975 (diff) | |
download | qemu-4dc6a39bbd1a03f86797e0df2db285318f086aee.zip qemu-4dc6a39bbd1a03f86797e0df2db285318f086aee.tar.gz qemu-4dc6a39bbd1a03f86797e0df2db285318f086aee.tar.bz2 |
console: remove dpy_gfx_fill
Unused code. 'nuff said.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/sdl.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -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); |