[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 2/2] ui/sdl: clean up dead code
From: |
Serge Ziryukin |
Subject: |
[Qemu-devel] [PATCH 2/2] ui/sdl: clean up dead code |
Date: |
Thu, 19 Aug 2010 18:44:13 +0300 |
Signed-off-by: Serge Ziryukin <address@hidden>
---
ui/sdl.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/ui/sdl.c b/ui/sdl.c
index f599d42..a1458ce 100644
--- a/ui/sdl.c
+++ b/ui/sdl.c
@@ -87,12 +87,6 @@ static void sdl_update(DisplayState *ds, int x, int y, int
w, int h)
static void sdl_setdata(DisplayState *ds)
{
- SDL_Rect rec;
- rec.x = 0;
- rec.y = 0;
- rec.w = real_screen->w;
- rec.h = real_screen->h;
-
if (guest_screen != NULL) SDL_FreeSurface(guest_screen);
guest_screen = SDL_CreateRGBSurfaceFrom(ds_get_data(ds), ds_get_width(ds),
ds_get_height(ds),
--
1.7.2.1