From 46538761c536f7a38a59245b7fc2310be779a10f Mon Sep 17 00:00:00 2001 From: Jay Sorg Date: Sun, 3 Jul 2016 15:32:02 -0700 Subject: work on painter --- src/painter.c | 2 +- src/painter_utils.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3