forked from old/legacy-imlib2
Fix imlib_render_image_part_on_drawable_at_size() ...
... when using color modifier and not scaling (ticket 576). SVN revision: 51846
This commit is contained in:
parent
43def7af7b
commit
9daceb518d
|
@ -436,7 +436,7 @@ __imlib_RenderImage(Display * d, ImlibImage * im,
|
||||||
}
|
}
|
||||||
memcpy(buf, im->data + ((y + sy) * im->w),
|
memcpy(buf, im->data + ((y + sy) * im->w),
|
||||||
im->w * hh * sizeof(DATA32));
|
im->w * hh * sizeof(DATA32));
|
||||||
__imlib_DataCmodApply(buf, dw, hh, im->w - dw, NULL, cmod);
|
__imlib_DataCmodApply(buf, im->w, hh, 0, NULL, cmod);
|
||||||
pointer = buf + sx;
|
pointer = buf + sx;
|
||||||
jump = im->w - sw;
|
jump = im->w - sw;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue