From: giwoong.kim Date: Thu, 6 Sep 2012 10:17:53 +0000 (+0900) Subject: [Title] cancel the 'rollback blank' X-Git-Tag: TizenStudio_2.0_p2.3~1336 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=865705123483d132c2947c76d5a68b50b321f80d;p=sdk%2Femulator%2Fqemu.git [Title] cancel the 'rollback blank' [Type] enhancement [Module] Emulator / sdl [Priority] major [Jira#] [Redmine#] [Problem] [Cause] [Solution] 8fe88e0 [TestCase] --- diff --git a/tizen/src/maru_sdl.c b/tizen/src/maru_sdl.c old mode 100755 new mode 100644 index a8857ba..9f61b85 --- a/tizen/src/maru_sdl.c +++ b/tizen/src/maru_sdl.c @@ -108,7 +108,7 @@ void qemu_ds_sdl_resize(DisplayState *ds) } /* create surface_qemu */ - //if (w == get_emul_lcd_width() && h == get_emul_lcd_height()) { + if (w == get_emul_lcd_width() && h == get_emul_lcd_height()) { surface_qemu = SDL_CreateRGBSurfaceFrom(ds_get_data(ds), w, h, ds_get_bits_per_pixel(ds), ds_get_linesize(ds), @@ -116,13 +116,11 @@ void qemu_ds_sdl_resize(DisplayState *ds) ds->surface->pf.gmask, ds->surface->pf.bmask, ds->surface->pf.amask); -#if 0 } else { INFO("create blank screen = (%d, %d)\n", get_emul_lcd_width(), get_emul_lcd_height()); surface_qemu = SDL_CreateRGBSurface(SDL_SWSURFACE, w, h, ds_get_bits_per_pixel(ds), 0, 0, 0, 0); } -#endif #ifdef SDL_THREAD pthread_mutex_unlock(&sdl_mutex);