diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2016-07-04 01:32:02 +0300 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2016-07-04 01:32:02 +0300 |
commit | 46538761c536f7a38a59245b7fc2310be779a10f (patch) | |
tree | a171e3c4f4078ae94030ce1ee4adbda8838ea156 | |
parent | 09b143c5b00c6836b6ad97783ea4283ea69afda4 (diff) |
work on painter
-rw-r--r-- | src/painter.c | 2 | ||||
-rw-r--r-- | src/painter_utils.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/painter.c b/src/painter.c index a3f7b96..bad89b1 100644 --- a/src/painter.c +++ b/src/painter.c @@ -277,7 +277,7 @@ painter_copy(void *handle, struct painter_bitmap *dst, if (src->format == dst->format) { bpp = src->format >> 24; - if (painter_warp_coords(pt, &x, &y, &cx, &cy, &srcx, &srcy)) + if (painter_warp_coords(pt, &x, &y, &cx, &cy, &srcx, &srcy)) { /* straight right or down */ if ((srcy < y) || ((srcy == y) && (srcx < x))) diff --git a/src/painter_utils.h b/src/painter_utils.h index fd4a366..a0dcd62 100644 --- a/src/painter_utils.h +++ b/src/painter_utils.h @@ -106,6 +106,7 @@ struct painter int bgcolor; int pattern_mode; int clip_valid; + int pad0; struct painter_rect clip; int origin_x; int origin_y; |