forked from enlightenment/efl
parent
4b24545c3c
commit
ddf7f8d49f
|
@ -400,7 +400,9 @@ evas_common_scale_rgba_mipmap_down_1x2_mmx(DATA32 *src, DATA32 *dst, int src_w,
|
|||
if (dst_w < 1) dst_w = 1;
|
||||
if (dst_h < 1) dst_h = 1;
|
||||
|
||||
src_ptr = src;
|
||||
/* NB: Dead assignment (gets reassigned later) */
|
||||
// src_ptr = src;
|
||||
|
||||
src_ptr2 = src + src_w;
|
||||
dst_ptr = dst;
|
||||
for (y = 0; y < dst_h; y++)
|
||||
|
|
|
@ -137,8 +137,9 @@ SCALE_FUNC(RGBA_Image *src, RGBA_Image *dst,
|
|||
}
|
||||
if (dst_clip_h <= 0) return;
|
||||
|
||||
/* figure out dst jump */
|
||||
dst_jump = dst_w - dst_clip_w;
|
||||
/* figure out dst jump
|
||||
* NB: Unused currently, so commented out */
|
||||
// dst_jump = dst_w - dst_clip_w;
|
||||
|
||||
/* figure out dest start ptr */
|
||||
dst_ptr = dst->image.data + dst_clip_x + (dst_clip_y * dst_w);
|
||||
|
|
Loading…
Reference in New Issue