From: jinhyung.jo Date: Thu, 6 Mar 2014 05:12:55 +0000 (+0900) Subject: maru_sdl : Modified the logging function. X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~468^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e1e211e61e3ef270771d44f0f60eaa841e8f5816;p=sdk%2Femulator%2Fqemu.git maru_sdl : Modified the logging function. Replace the function, fprintf -> debug_ch macro(ERR). Remove unused code. Change-Id: Icdbb6e75dece2517210604fd83839e84ca955324 Signed-off-by: Jinhyung Jo --- diff --git a/tizen/src/maru_sdl.c b/tizen/src/maru_sdl.c index b3f1cff21b..efea0f4b61 100644 --- a/tizen/src/maru_sdl.c +++ b/tizen/src/maru_sdl.c @@ -188,12 +188,11 @@ static SDL_Surface *maru_do_pixman_rotate(SDL_Surface *rz_src, 0.0, (double)rz_dst->w); break; default: - fprintf(stdout, "not supported angle factor (angle=%d)\n", angle); + ERR("Not supported angle factor (angle=%d)\n", angle); break; } pixman_transform_from_pixman_f_transform(&matrix, &matrix_f); pixman_image_set_transform(src, &matrix); - //pixman_image_set_filter(src, PIXMAN_FILTER_BILINEAR, NULL, 0); pixman_image_composite(PIXMAN_OP_SRC, src, NULL, dst, 0, 0, 0, 0, 0, 0, rz_dst->w, rz_dst->h);