forked from enlightenment/efl
evas: remove unnecessary check for clip coords.
Summary: (dst_clip_w <= 0 || dst_clip_h <= 0) is already checked. Reviewers: jpeg, cedric, Hermet Reviewed By: Hermet Subscribers: conr2d Differential Revision: https://phab.enlightenment.org/D4303
This commit is contained in:
parent
3689a803db
commit
57c4d83b2e
|
@ -553,7 +553,6 @@ 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;
|
||||
if (dst_clip_w <= 0) return EINA_FALSE;
|
||||
if (dst_clip_x >= dst_w) return EINA_FALSE;
|
||||
if (dst_clip_x < dst_region_x)
|
||||
{
|
||||
|
@ -582,7 +581,6 @@ 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;
|
||||
if (dst_clip_h <= 0) return EINA_FALSE;
|
||||
if (dst_clip_y >= dst_h) return EINA_FALSE;
|
||||
if (dst_clip_y < dst_region_y)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue