We don't care which box contained the point, so don't pass one in.
Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
Reviewed-by: Bryce Harrington <b.harrington@samsung.com>
for (y = 0; y < height; y++) {
for (x = 0; x < width; x++) {
int i = y * stride / 4 + x;
- pixman_box32_t box;
- if (pixman_region32_contains_point (opaque_region, x, y, &box)) {
+ if (pixman_region32_contains_point (opaque_region, x, y, NULL)) {
dst[i] = src[i] | 0xff000000;
} else {
dst[i] = src[i];