[Title] cancel the 'rollback blank'
authorgiwoong.kim <giwoong.kim@samsung.com>
Thu, 6 Sep 2012 10:17:53 +0000 (19:17 +0900)
committergiwoong.kim <giwoong.kim@samsung.com>
Thu, 6 Sep 2012 11:22:30 +0000 (20:22 +0900)
[Type] enhancement
[Module] Emulator / sdl
[Priority] major
[Jira#]
[Redmine#]
[Problem]
[Cause]
[Solution] 8fe88e0
[TestCase]

tizen/src/maru_sdl.c [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
index a8857ba..9f61b85
@@ -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);