From 62d937b98a9ef762849df026a1896af71c9edddf Mon Sep 17 00:00:00 2001 From: Sungtaek Hong Date: Tue, 20 Sep 2016 14:17:24 +0900 Subject: [PATCH] evas_scale: remove unnecessary check for clip coords. @tizen_fix Change-Id: I32c0e96fc5f80ea9509af1474d9413a615391e57 Signed-off-by: Sungtaek Hong --- src/lib/evas/common/evas_scale_sample.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/lib/evas/common/evas_scale_sample.c b/src/lib/evas/common/evas_scale_sample.c index 61f071f..8f61e09 100644 --- a/src/lib/evas/common/evas_scale_sample.c +++ b/src/lib/evas/common/evas_scale_sample.c @@ -553,7 +553,10 @@ scale_rgba_in_to_out_clip_sample_internal(RGBA_Image *src, RGBA_Image *dst, } if (dst_region_w <= 0) return EINA_FALSE; if (src_region_w <= 0) return EINA_FALSE; + /* TIZEN_ONLY(20160920): remove unnecessary check for clip coords. if (dst_clip_w <= 0) return EINA_FALSE; + */ + /* END */ if (dst_clip_x >= dst_w) return EINA_FALSE; if (dst_clip_x < dst_region_x) { @@ -582,7 +585,10 @@ scale_rgba_in_to_out_clip_sample_internal(RGBA_Image *src, RGBA_Image *dst, } if (dst_region_h <= 0) return EINA_FALSE; if (src_region_h <= 0) return EINA_FALSE; + /* TIZEN_ONLY(20160920): remove unnecessary check for clip coords. if (dst_clip_h <= 0) return EINA_FALSE; + */ + /* END */ if (dst_clip_y >= dst_h) return EINA_FALSE; if (dst_clip_y < dst_region_y) { -- 2.7.4